session_start(); @require_once("../lib/mysql.php"); $db = new Fasdab("localhost", "cwit", "5]YxvPVm^{Vqf;nnb*(QvTt/.Z&w%&z2U6s", "cwit_site"); ?> include '../event_head.htm'?>
mysql_query("update event set c_hit=(c_hit+1) where c_idx=$t_idx");
$db->query("select * from event where c_idx=$t_idx");
$row = $db->row();
?>
|
||||||||||||||||||||
| =$row->c_title?> | ||||||||||||||||||||
/* if($row->c_image1 != NULL){ $img=GetImageSize("upfile/".$row->c_image1); $img_w=$img[0]; //°¡·Î »çÀÌÁî $img_h=$img[1]; echo "c_image1."', 'popWin1', '".$img_w."', '".$img_h."')\" onMouseOver=\"window.status='Click to display picture'; return true;\" onMouseOut=\"window.status=''\"> "; } */ ?> if($row->c_image1 != NULL){ if(substr($row->c_image1,-3) == "jpg" || substr($row->c_image1,-3) == "jpeg" || substr($row->c_image1,-3) == "png" || substr($row->c_image1,-3) == "bmp" || substr($row->c_image1,-3) == "gif"){ echo " "; } } ?> if($row->c_image2 != NULL){ if(substr($row->c_image2,-3) == "jpg" || substr($row->c_image2,-3) == "jpeg" || substr($row->c_image2,-3) == "png" || substr($row->c_image2,-3) == "bmp" || substr($row->c_image2,-3) == "gif"){ echo " "; } } ?> if($row->c_image3 != NULL){ if(substr($row->c_image3,-3) == "jpg" || substr($row->c_image3,-3) == "jpeg" || substr($row->c_image3,-3) == "png" || substr($row->c_image3,-3) == "bmp" || substr($row->c_image3,-3) == "gif"){ echo " "; } } ?> if($row->c_image4 != NULL){ if(substr($row->c_image4,-3) == "jpg" || substr($row->c_image4,-3) == "jpeg" || substr($row->c_image4,-3) == "png" || substr($row->c_image4,-3) == "bmp" || substr($row->c_image4,-3) == "gif"){ echo " "; } } ?> if($row->c_image5 != NULL){ if(substr($row->c_image5,-3) == "jpg" || substr($row->c_image5,-3) == "jpeg" || substr($row->c_image5,-3) == "png" || substr($row->c_image5,-3) == "bmp" || substr($row->c_image5,-3) == "gif"){ echo " "; } } ?> if($row->c_content1 != NULL){ echo $row->c_content1." "; } ?> |
||||||||||||||||||||
|
||||||||||||||||||||