alert('·Î±×ÀÎÀ» ÇØÁÖ¼¼¿ä!'); location.href='../';");}
$savedir="../files";
$sql=mysql_query("select * from shower_board where kind='$kind'and no='$no' and thread='$thread'", $dbconn) or die(mysql_error());
$row=mysql_fetch_array($sql);
$row[note]=eregi_replace("{image}", "", $row[note]);
$sql=mysql_query("update shower_board set hit=hit+1 where kind='$kind' and no='$no'", $dbconn) or die(mysql_error());
$SQL=mysql_query("select * from shower_board where kind='$kind' and code='$code' and no2 < '$no' Order by no2 DESC limit 1", $dbconn);
if(mysql_num_rows($SQL)!=0) {
$pre=mysql_fetch_array($SQL);
}
$SQL=mysql_query("select * from shower_board where kind='$kind' and code='$code' and no2 > '$no2' Order by no ASC limit 1", $dbconn);
if(mysql_num_rows($SQL)!=0) {
$next=mysql_fetch_array($SQL);
}
?>