home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
221.214.14.186
/
221.214.14.186.tar
/
221.214.14.186
/
zb
/
see.asp
< prev
next >
Wrap
Text File
|
2003-10-07
|
6KB
|
169 lines
<!--#include file="config.asp"-->
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<%
source = Request.ServerVariables("PATH_INFO")
set rs=server.createobject("adodb.recordset")
sql="select * from count order by time desc"
rs.open sql,conn,1,1
if rs.eof then
response.write "<p align=center>╗╣├╗╙╨╚╬║╬└┤╖├╝╟┬╝"
response.end
end if
set rsfirst=server.createobject("adodb.recordset")
sql="select * from count"
rsfirst.open sql,conn,1,1
firstday=datevalue(rsfirst("time"))
%>
<title><%=webname%>└┤╖├╝╞╩²═│╝╞</title>
</head>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="760" height="20">
<tr>
<td width="760" height="20" style="border-left: 1 solid #008000; border-right: 1 solid #008000; border-top: 1 solid #008000" bgcolor="#DDDDE1"><%=webname%>╙├╗º╖├╬╩╟Θ┐÷ú║</td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="650" height="1">
<tr>
<td width="659" height="1">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; text-align: center" bordercolor="#008000" width="760" height="1">
<tr>
<td width="150" bgcolor="#B5CFFB" align="center" height="1">╖├╬╩╫┼IP</td>
<td width="200" bgcolor="#B5CFFB" align="center" height="1">╖├╬╩╩▒╝Σ</td>
<td width="130" bgcolor="#B5CFFB" align="center" height="1">IE└α╨═</td>
<td width="130" bgcolor="#B5CFFB" align="center" height="1">▓┘╫≈╧╡═│</td>
<td width="200" bgcolor="#B5CFFB" align="center" height="1">└┤╖├╡╪╟°</td>
</tr>
<%if not rs.eof then
rs.PageSize = perpagenumber
Page = CLng(Request("Page"))
If Page < 1 Then Page = 1
If Page > rs.PageCount Then Page = rs.PageCount%>
<%
rs.AbsolutePage = Page
For iPage = 1 To rs.PageSize
%><%if not rs.eof then%>
<tr>
<td width="150" align="center" height="1"><%=rs("ip")%></td>
<td width="200" align="center" height="1"><%=rs("time")%></td>
<td width="100" align="center" height="1"><%=rs("browser")%></td>
<td width="110" align="center" height="1"><%=rs("system")%></td>
<td width="200" align="center" height="1"><%=rs("address")%></td>
</tr>
<%else%><%end if%>
<%
if not rs.eof then
rs.MoveNext
end if
Next
end if
%>
</table>
</td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="760" height="1" style="border-left: 1 solid #008000; border-right: 1 solid #008000; border-bottom: 1 solid #008000">
<%dim visitday1,visitday2,visitday3,visitmonth,visittotal,visitaverage,fromtime
visitday1=0
visitday2=0
visitday3=0
visitmonth=0
set rscount=server.createobject("adodb.recordset")
sql="select * from count"
rscount.open sql,conn,1,1
visittotal=rscount.recordcount
visitaverage=int(visittotal/(datediff("d",datevalue(firstday),datevalue(now)+1)))
do while not rscount.eof
fromtime=rscount("time")
if datevalue(fromtime)=date then
visitday1=visitday1+1
end if
if datevalue(fromtime)=date-1 then
visitday2=visitday2+1
end if
if datevalue(fromtime)=date-2 then
visitday3=visitday3+1
end if
if year(fromtime)=year(now) and month(fromtime)=month(now) then
visitmonth=visitmonth+1
end if
rscount.movenext
loop
rscount.close
set rscount=nothing
%>
<tr>
<td height="1" width="252" align="center">╟░╠∞╖├╬╩ú║<%=visitday3%></td>
<td height="1" width="253" align="center">╫≥╠∞╖├╬╩ú║<%=visitday2%></td>
<td height="1" width="253" align="center">╜±╠∞╖├╬╩ú║<%=visitday1%></td>
</tr>
<tr>
<td height="1" width="252" align="center" style="border-top: 1 solid #008000">▒╛╘┬╖├╬╩ú║<%=visitmonth%></td>
<td height="1" width="253" align="center" style="border-top: 1 solid #008000">╞╜╛∙╖├╬╩ú║<%=visitaverage%></td>
<td height="1" width="253" align="center" style="border-top: 1 solid #008000">╫▄╣▓╖├╬╩ú║<%=visittotal%></td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table width="760" border="0" cellspacing="0" height="1">
<tr>
<td height="1" bgcolor="#DDDDE1" style="border-left: 1 solid #008000; border-right: 1 solid #008000; border-bottom: 1 solid #008000">
<div align="center">íí <%If Page <> 1 Then ' ╚τ╣√▓╗╩╟╬╗╙┌╡┌╥╗╥│%><a href=<%=source%>?Page=1>╩╫╥│</a>í@
<a href=<%=source%>?Page=<%=(Page-1)%>>╔╧╥╗╥│</a>í@
<%End If
If Page <> rs.PageCount Then ' ╚τ╣√▓╗╩╟╬╗╙┌╫ε║≤╥╗╥│ñ@¡╢
%>
<a href=<%=source%>?Page=<%=(Page+1)%>>╧┬╥╗╥│</a>í@
<a href=<%=source%>?Page=<%=rs.PageCount%>>╬▓╥│</a>í@
<%End If%>
<% response.write "╥│┤╬: <font color=red>"&page&"</font>/"&rs.PageCount&"╥│"%>
╥│╩²ú║
<%for ipage=1 to rs.pagecount
if ipage<>page then%>
<a href=<%=source%>?page=<%=ipage%>>
<% response.write ipage%>
</a>
<%
else
%>
<font color="#999999"><%=ipage%></font>
<%
end if
%>
<%next%>
</div>
</td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="760" height="7">
<tr>
<td height="7" align="center"><br>
░µ╚¿╦∙╙╨ú║╓≥╣Γ╣ñ╫≈╩╥
░µ▒╛ú║count1.0<br>
Copyright©2002-2008 Candelaboy.net All Rights
Reserved</td>
</tr>
</table>
</center>
</div>