"); exit; } if(!$code) { echo(" "); exit; } if(!$kind) { echo(" "); exit; } ?> window.alert('°¶·¯¸®°¡ Á¸ÀçÇÏÁö ¾Ê½À´Ï´Ù. °¶·¯¸® CODE ¸¦ È®ÀÎÇϼ¼¿ä') history.go(-1) "); exit; } //°Ô ½Ã ÆÇ Á¤º¸ °¡Á®¿À±â $que3="select id, code, kind, DATE_FORMAT(date,'Y.m.d'), name, title, head, foot, width, height, t_width, t_height, col, line, page_scale, admin_id, admin_pw from gallery_info where code='$code' and kind='$kind'" ; $result3=mysql_query($que3,$connect ); $row=mysql_fetch_array($result3); $row[date]=$row[3] ; $row[head]=stripslashes($row[head]); $row[head] = eregi_replace("
","",$row[head]); $row[foot]=stripslashes($row[foot]); $row[foot] = eregi_replace("
","",$row[foot]); echo("
$row[name] CODE: $row[code] Á¾·ù : $row[kind]
À̸§
ŸÀÌÆ²
COLUMN LINE
WIDTH HEIGHT
T_WIDTH T_HEIGHT
µî·ÏÀÏ $row[date] Page/È­¸é
Admin ID Admin ¾ÏÈ£
Header
Footer

"); // °¶·¯¸® ¼³Á¤ º¯°æ if($mode=='update'){ $head=addslashes($head); $head=nl2br($head); $foot=addslashes($foot); $foot=nl2br($foot); $que4="update gallery_info set name = '$name', title = '$title', head = '$head', foot = '$foot', width = $width, height = $height, t_width = $t_width, t_height = $t_height, col = $col, line = $line, page_scale = $page_scale, admin_id = '$admin_id', admin_pw = '$admin_pw' where code='$code' and kind='$kind'"; $result4=mysql_query($que4,$connect); if($result4){ echo(" "); exit; } else { echo("