<!--#include file="conn.asp" -->
<%
Dim softid,AllHits,DayHits,WeekHits,MonthHits
Dim Rs,SQL
If Not IsNumeric(Request.querystring("ID")) And Request.querystring("ID") <> "" then
	Response.write"错误的系统参数!ID必须是数字"
	Response.end
Else
	softid = CLng(Request.querystring("ID"))
End If
set Rs=server.createobject("adodb.recordset")
SQL="select Hits,DayHits,WeekHits,MonthHits,HitsTime from NC_SoftInfo where softid = " & softid  
Rs.open SQL,conn,1,3
	AllHits = Rs("Hits")
	DayHits = Rs("DayHits")
	WeekHits = Rs("WeekHits")
	MonthHits = Rs("MonthHits")
Rs.close
set Rs=nothing
Response.Write "document.write (" & Chr(34) & " 本日：" & DayHits & "&nbsp;本周：" & WeekHits & "&nbsp;本月：" & MonthHits & "&nbsp;总计：" & AllHits & " " & Chr(34) & ");"
CloseConn
%>