📄 main1.asp
字号:
<!--#include file="conn.asp" -->
<%set rs=server.createobject("adodb.recordset")
sql="select * from config"
rs.open sql,conn,3,1
%>
<HTML>
<HEAD>
<TITLE></TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #FFffff;
}
-->
</style>
<link href="style.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY bgcolor="#FF0000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<div align="center">
<table width="100%" border="0" cellspacing="5" cellpadding="5">
<tr>
<td>您好,<%=session("name") %> <% If session("admin")<>"yes" Then
response.write("系统超时,您需要<font color=red><b>重新登陆</font></b>。 ")
response.end
Else %>
您现在处于管理状态。 权限为:<font color="#FF0000"><strong><%=session("quanxian") %></strong></font>
<%end if%> </td>
</tr>
<tr>
<td>您的登陆时间:<%= now %></td>
</tr>
<tr>
<td>您的登陆机器:<%= Request.ServerVariables("REMOTE_ADDR")
%></td>
</tr>
<tr>
<td><font color="#FF0000">提示:</font>你的这次登陆将被系统记录下来,如果您是<font color="#FF0000">非法登陆</font>请马上退出,否则后果自负。</td>
</tr>
<tr>
<td bgcolor="#E8E8E8"><strong>近期 <font color="#FF0000">8 </font>次登陆:</strong></td>
</tr>
<tr>
<td>
<%rs.close%>
<%set rs=server.createobject("adodb.recordset")
sql="select top 8 * from login order by id desc"
rs.open sql,conn,3,1
do while not rs.eof
%>
帐号:<%=rs("uid")%> 尝试密码:**** 登陆时间:<%=rs("time")%> 登陆机器: <%=rs("ip")%>
<hr size="1" noshade><%rs.movenext
loop
rs.close%></td>
</tr>
</table>
</div>
</BODY>
</HTML> <%
conn.close%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -