= now() "; $title= "진행중"; }else{ $where = " gu='C' and edate < now() "; $title= "종료된"; } $db->query("update notices set readcnt=readcnt+1 where id='".$id."'"); $row = $db->query("select * from notices where id='".$id."'")->row(); // open graph 태그 설정 if($id == "27428"){ $allow_select = "Y"; // 화면 셀렉트 허용 $og_info = " "; } include('../include/header.html'); $pagenum="event"; include('../include/leftmenu.html'); ?>
EVENT | 참다한 이벤트입니다.
$row->edate && $row->winner){?> winner) === false) && $row->winner && $row->winner !== "


"){?>
제 목 title?>
조회수 readcnt?>
bigo?>
당첨자 발표
winner?>
댓글달기
댓글작성은 로그인 후 이용하실 수 있습니다.
gu =="I"){ $nxtrow = $db->query("select * from notices where id < ".$id." and gu='I' and site='C' and topgu='Y' order by id desc limit 0,1")->row(); $prerow = $db->query("select * from notices where id > ".$id." and gu='I' and site='C' and topgu='Y' order by id asc limit 0,1")->row(); }else{ if($ggu =="" || $ggu == "ing"){ $where = " and gu='C' and sdate <= now() and edate >= now() "; $title= "진행중"; }else{ $where = "and gu='C' and edate < now() "; $title= "종료된"; } $nxtrow = $db->query("select * from notices where id < ".$id." and gu='".$gu."' ".$where." order by id desc limit 0,1")->row(); $prerow = $db->query("select * from notices where id > ".$id." and gu='".$gu."' ".$where." order by id asc limit 0,1")->row(); } ?>
다음글           title ==""){ echo "다음글이 없습니다"; }else{ ?>title?>
이전글           title ==""){ echo "이전글이 없습니다"; }else{?>title?>