|
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/ |
Upload File : |
<?
include "./schedule/myclass.inc";
# ajax control
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);
echo "
<div style='background-color: #eeeeee; border: 1px solid #cccccc; padding: 5px 5px 5px 5px;'> $b_subject <!--($b_wdate)--> </div>
<div style='background-color: #ffffff; border: 1px solid #cccccc; padding: 5px 5px 5px 5px;'> $b_content </div>
<div style='height:20px;'></div>
";
}
}
?>