session_start(); @require_once("../lib/mysql.php"); $db = new Fasdab("localhost", "cwit", "5]YxvPVm^{Vqf;nnb*(QvTt/.Z&w%&z2U6s", "cwit_site"); ?> include '../board4_head.htm'?>
mysql_query("update board4 set c_hit=(c_hit+1) where c_idx=$t_idx");
$db->query("select * from board4 where c_idx=$t_idx");
$row = $db->row();
?>
|
||||||||||||||||||||
| =$row->c_title?> | ||||||||||||||||||||
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"){ $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_content1 != NULL){ $content1 = $row->c_content1; $content1 = stripslashes($content1); $content1 = nl2br($content1); echo $content1." "; } ?> |
||||||||||||||||||||
|
||||||||||||||||||||