<%
if not isEmpty(request.QueryString("id")) then
id=ReqNum("id")
end if
if not isEmpty(request.QueryString("bigclassid")) then
bigclassid=ReqNum("bigclassid")
end if
if not isEmpty(request.QueryString("smallclassid")) then
smallclassid=ReqNum("smallclassid")
end if
Set rs = Server.CreateObject("ADODB.Recordset")
if id<>"" then
rs.Open "Select * From newscj where id="&id, conn,1,3
else
rs.Open "Select * From newscj where bigclassid=1", conn,1,3
end if
'纪录访问次数
'rs("hits")=rs("hits")+1
'rs.update
'nCounter=rs("hits")
'定义内容
title=rs("title")
content=rs("content")
%>
<%
rs.close
%>