📄 admin_log.asp
字号:
<%@ Language=VBScript %>
<%Response.Buffer=True%>
<!--#include file="mozeenconn.asp"-->
<LINK href="/css/style.css" rel=stylesheet type=text/css>
<%
'===========================================================================
Set MyCount=Server.createobject("adodb.recordset")
'===========================================================================
Response.Write "<table align='center' width='95%'><tr class=info><td align=center colspan=3><font class=strong>最后20位访问统计</td></tr>"
MyCount.Open "Select * FROM log order by Date desc",Conn,1,1
If Not (MyCount.Eof And MyCount.Bof) Then
Do until MyCount.Eof
Online = "<Img Src=" & ImageLink & "/theme/default/online.gif align=absmiddle width=13 height=15>"
Response.Write "<tr class=rcontent><td height=22><nobr>" & MyCount("Date") & "</nobr></td><td><nobr>" & Online & " " & MyCount("IP") & "</td><td>" & MyCount("BC") & " " & MyCount("OS") & "</td></tr>"
MyCount.MoveNext
loop
Else
Response.Write "<tr class=rcontent><TD colspan=3 align=center>没有统计数据</TD></TR></table>"
End if
MyCount.Close
'===========================================================================
Set MyCount=nothing
conn.close
Set conn=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -