<% dim num, pageno, count num = request.querystring("num") pageno = request.querystring("pageno") count = request.querystring("count") if num="" then alert "잘못된 접근 입니다." end if Open_DataBase() dim sql, rs, i sql = "update news_event set readnum=readnum+1 WHERE num="&num dbcon.execute(sql) dim datause, title, kind, startdate, enddate, content, filename, ing datause = false sql = "SELECT title, kind, startdate, enddate, content, filename, ing FROM news_event WHERE num="&num set rs = dbcon.execute(sql) if not rs.eof then datause = true title = rs("title") kind = rs("kind") startdate = rs("startdate") enddate = rs("enddate") Content = replace(rs("Content"),chr(13)&chr(10), "
") filename = rs("filename") ing = rs("ing") end if rs.close() set rs = nothing Close_DataBase() if datause=false then alert "존재하지 않는 글입니다." end if dim ingname select case ing case "1" ingname = "진행중" case "2" ingname = "종 료" end select %> + + + 정통 중국레스토랑 만강홍 + + +
  Home > Customer Board > BOARD  
 
 

<%if kind="E" then%> <%end if%>
번 호 <%=count%>
행사제목 <%=title%>
행사기간 <%=left(startdate,4)%>.<%=mid(startdate,5,2)%>.<%=mid(startdate,7,2)%> ~ <%=left(enddate,4)%>.<%=mid(enddate,5,2)%>.<%=mid(enddate,7,2)%>
행사유무 <%=ingname%>
내 용 <%if filename<>"" then%>
<%end if%> <%=content%>
  <%if session("admin")<>"" then%><%end if%> <%if session("admin")<>"" then%><%end if%>