include "../include/head.html" ?> $search_kind=$_REQUEST["search_kind"]; $search_text=$_REQUEST["search_text"]; $uid=$_REQUEST["uid"]; $board_list_url="notice.html"; If (isset($_REQUEST["gotopage"])) { If (!empty($_REQUEST["gotopage"])) $gotopage = $_REQUEST["gotopage"]; else $gotopage = 1; } else { $gotopage = 1; } $board_list_basic_item="?search_kind=".urlencode($search_kind)."&search_text=".urlencode($search_text)."&gotopage=".urlencode($gotopage); $sql = "select * from tb_notice where viewtype='Y' and uid=".CheckWord($uid); $rs_row=mysqli_query($Conn,$sql); $rs_edit=mysqli_fetch_array($rs_row); if ($rs_edit==null) echo error_go("올바르지 않은 접근입니다.\\n\\n다시한번 확인해 주세요!!!","/"); if(isset($_COOKIE["tb_notice".$uid])){ if ($_COOKIE["tb_notice".$uid]!= session_id()) { setcookie("tb_notice".$uid,session_id()); $sql="update tb_notice set ref=ref+1 where viewtype='Y' and uid='".CheckWord($uid)."'"; mysqli_query($Conn,$sql); } } else { setcookie("tb_notice".$uid,session_id()); $sql="update tb_notice set ref=ref+1 where viewtype='Y' and uid='".CheckWord($uid)."'"; mysqli_query($Conn,$sql); } ?>
$P_dp1 = '2'; $P_dp2 = '1'; include "../include/meta.html" ?> include "../include/header.html" ?> include "../include/sub-visual.html" ?> include "../include/sub-nav.html" ?>