·Home > News Centre > News Centre
<% nid = Safe(Request("nid")) if nid = "" or isnull(nid) or not isnumeric(nid) then Response.redirect "index.html" end if nid = int(nid) set rs = new clsDB sqlquery = "SELECT * FROM fanta_enews WHERE news_id = " & nid rs.query(sqlquery) if rs.Eof then Response.redirect "index.html" else %>

<%=rs.Fields("news_title")%>

From:FANTAWILD published:<%=ChangeDate(rs.Fields("news_time"))%> view:<%=rs.Fields("news_click")%>

<%=rs.Fields("news_content")%>

<% end if %> <% sqlquery = "UPDATE fanta_news SET news_click = news_click + 1 WHERE news_id = " & nid rs.query(sqlquery) rs.close set rs = nothing %>