|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/www/schedule/ |
Upload File : |
<?
include "myclass.inc";
# ajax control
//echo $str;
if($str)
{
$qry = "
select * from board_schedule where is_delete = 'N' AND schedule_date LIKE '".$str."%'
";
$oci->query($qry);
while($oci->fetch_array())
{
$b_subject = $oci->field(subject);
$b_subject = addslashes($b_subject);
$b_content = $oci->field(contents);
$b_content = $oci->substr_utf8(addslashes($b_content),0,200);
//$b_wdate = $oci->field(schedule_date);
$b_wdate = $oci->field(schedule_date);
$b_wdate = substr($b_wdate,0,10);
$b_time = $oci->field(time);
echo "
<h4>$b_wdate</h4>
<div class='schedule_data'>
<p><span>$b_time</span></p>
<dl>
<dt>$b_subject</dt>
<dd>$b_content</dd>
</dl>
</div>
";
}
}
?>