⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 records.asp

📁 进入后台
💻 ASP
字号:
<!--#include file="config.asp"--><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<!--#include file="head.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=Sitename%>-登录记录</title>
<LINK href="css.css" type=text/css rel=stylesheet>
</head>
<body>
<%sitehead%>
<table width="760"  border="0" align="center" cellpadding="0" cellspacing="0" class="border">
        <tr>
          <td height="291" valign="top">
            <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" class="border">
        <tr>
          <td height="25">  <img src="skins/1/xb3.gif">&nbsp;当前位置:<a href="index.asp">首页</a> &gt;&gt; 登录记录</td>
          </tr>
      </table>
            <br>

<table width="90%" border="0" align="center" cellpadding="1" cellspacing="2" class="border">
  <tr bgcolor="#F7F7F7">
    <td width="50%" height="20"><div align="center">最近登录50名名单</div></td>
    <td width="50%"><div align="center">登录次数前50名名单</div></td>
    </tr>
  <tr valign="top">
    <td height="300">
      <table width="97%"  border="0" align="center" cellspacing="0" cellpadding="0" class="border">
       <%rs.open "select top 50 id,realname,lastdate from [user] order by lastdate desc",conn,1,1
	If Rs.eof and Rs.bof Then
	Response.Write("暂无会员")
	else
	i=1
	Response.Write "<tr bgcolor=#F7F7F7><td height=25 width='35'><div align=center>序号</div></td><td>姓名</td><td width='120'><div align=center>登录时间</div></td></tr>"
	do while not rs.eof
			Response.Write "<tr><td height=20><div align=center>"&i&"</div></td><td><A href='datum.asp?userid="&rs("id")&"'>"&rs("realname")&"</a></td><td><div align=center>"&rs("lastdate")&"</div></td></tr>"
			i=i+1
			rs.movenext
			loop
			end if
		rs.close%>
      </table></td>
    <td>
      <table width="97%"  border="0" align="center" cellspacing="0" cellpadding="0" class="border">
       <%rs.open "select top 50 id,realname,lastdate,logins from [user] order by logins desc",conn,1,1
	If Rs.eof and Rs.bof Then
	Response.Write("暂无会员")
	else
	i=1
	Response.Write "<tr bgcolor=#F7F7F7><td height=25 width='35'><div align=center>序号</div></td><td>姓名</td><td width='80'><div align=center>次数</div></td><td width='120'><div align=center>登录时间</div></td></tr>"
	do while not rs.eof
			Response.Write "<tr><td height=20><div align=center>"&i&"</div></td><td><A href='datum.asp?userid="&rs("id")&"'>"&rs("realname")&"</a></td><td><div align=center>"&rs("logins")&"</div></td><td><div align=center>"&rs("lastdate")&"</div></td></tr>"
			i=i+1
			rs.movenext
			loop
			end if
		rs.close%>
      </table></td>
  </tr>
</table>
<br>

</td></tr>
</table>
<%sitebottom%>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -