Contact Us
<%=content%>
%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <% newsId=request.QueryString("newsId") if newsid="" then newsid=3 if not isnumeric(newsId) then closeconn() ShowInfo 1,"参数错误!" response.End() end if sql="select classId,title,content,fbTime,hits from [news] where newsId="&newsId set rs=server.CreateObject("adodb.recordset") rs.open sql,conn,1,3 if not rs.eof then classId=rs(0) newstitle=rs("title") content=rs("content") fbTime=rs("fbTime") hits=rs("hits") if hits="" then hits=1 rs("hits")=hits+1 rs.update else rs.close closeconn() ShowInfo 1,"参数错误!" response.End() end if rs.close %>
<%=content%>