<!--#include file="Inc/conn.asp"-->
<!--#include file="Inc/ubb.asp"-->
<%
ID=Angel_aspRequest(request("id"))
page=Angel_aspRequest(Request("Page"))

If page = "" then
sqlaa="Update Angel_asp_Article set hits = hits + 1 where ID= "&ID
conn.execute(sqlaa)
End if

set rs=server.createobject("adodb.recordset")
sql="select * from Angel_asp_Article where ID="&ID
rs.open sql,conn,1,1
hits=rs("hits")
rs.close
conn.close
%>
document.write ("<%=hits%>");