admin_log.asp
来自「网页酷吧全站系统在此之前提供了一个新闻系统V1.0,反应十分热烈,并有不少网友提」· ASP 代码 · 共 25 行
ASP
25 行
<%@ 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 + =
减小字号Ctrl + -
显示快捷键?