//³»¿ë ºÒ·¯¿À±â
$sql = "select * from $board
where code='$code' and main_no=$main_no and dep_no='$dep_no' and add_no=0";
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
//listÀÇ echo_lineÇÔ¼ö·Î º¸³»±â À§ÇÑ º¯¼ö »ý¼º
$d_main = $row[main_no];
$d_dep = $row[dep_no];
//$read_key°¡ aÀÌ¸é ³»¿ëÀ» º¸Áö ¸øÇϰí bÀÌ¸é ³»¿ëÀ» º¼¼ö ÀÖ´Ù.
$read_only = $row[read_only];
//read_pass´Â Àǰߴޱ⸦ ÇÒ ¶§ save¿¡¼ º¸³»¿Â º¯¼ö´Ù.
if($read_pass==a or $mode==modify or $mode==add_del or $mode==reply) $read_only=b;
if($read_key==a or $read_only==a) include('../../system/login/login-inc.php');
//Ä«¿îÆ® Áõ°¡
$sql = "update $board set view = view+1
where code='$code' and main_no=$main_no and dep_no='$dep_no' and add_no=0";
mysql_query($sql);
echo mysql_error();
?>
$board_title | \n"; } else { echo "
|
$keyword=urlencode("$keyword"); ?>
$url = "code=$code&mode=new&page=$page&link_url=$link_url&keyword=$keyword&cafe_url=$cafe_url&write_key=$write_key";?>
![]() ![]() ![]() ![]() ![]() |