📄 adminuser_view.asp
字号:
<%@ Language=VBScript %>
<%
Response.Buffer=true
Response.Expires=0
%>
<!-- #include file="../dsn.asp" -->
<!-- #include file="../links.asp" -->
<%
if session("adminusername")="" then
session("xhy")=1
Response.Redirect linkwarn
end if
username=session("adminusername")
set cn = Server.CreateObject("ADODB.Connection")
cn.Open(mycnstr)
set rs = Server.CreateObject("ADODB.Recordset")
set rs2 = Server.CreateObject("ADODB.Recordset")
sqltext="select * from adminuser where username='"+username+"'"
rs.Open sqltext,cn,1,1
if not rs.EOF then
logincount=rs("logincount")
logindate=rs("logindate")
end if
rs.Close
%>
<html>
<head>
<title>您的信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {font-size: 12px; color: #000; font-family: 宋体}
td {font-size: 12px; color: #000; font-family: 宋体;}
.t1 {font:12px 宋体;color:#000000}
.t2 {font:12px 宋体;color:#ffffff}
.t3 {font:12px 宋体;color:#ffff00}
.t4 {font:12px 宋体;color:#800000}
.t5 {font:12px 宋体;color:#191970}
.font1 { font-family: "宋体"; font-size: 12px; color: #000000}
.font2 { font-family: "黑体"; font-size: 20px; font-weight: bold; color: #000000}
.font3 { font-family: "宋体"; font-size: 12px; color: #FFFFFF}
A.r1:link {font-size:12px;text-decoration:underline;color:#000000;}
A.r1:visited {font-size:12px;text-decoration:underline;color:#000000;}
A.r1:hover {font-size:12px;text-decoration:underline;color:#cc0000;}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="20">
<tr>
<td class="font1">你现在的位置:<b><%=Request.ServerVariables("Http_HOST")%> -> 管理中心</b></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="4" height="10"></td>
</tr>
<tr>
<td align="center" height="100" width="100"><img src="images/admin_p_home.gif"></td>
<td width="100"> </td>
<td width="406">
<table width="400" border="0" cellspacing="0" cellpadding="0" height="100">
<tr>
<td class="t5"><%=year(now())%>年<%=month(now())%>月<%=day(now())%>日<%=hour(now())%>:<%=minute(now())%></td>
</tr>
<tr>
<td class="font2"><%=realname%></td>
</tr>
<tr>
<td class="font1">欢迎进入 <font color=00008b><b><%=Request.ServerVariables("Http_HOST")%></b></font> 管理中心!</td>
</tr>
</table>
</td>
<td> </td>
</tr>
<tr>
<td colspan="4" height="10"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="180">
<tr bgcolor="#eeeeee">
<td colspan=2 height="12"></td>
</tr>
<tr>
<td colspan=2 width="390" bgcolor="#31615A" height="20" class="t2"> 您的相关信息</td>
</tr>
<tr>
<td width="10"></td>
<td valign="top" align="left">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="font1">
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td width="80" height="20" align=right>用户名: </td>
<td class=t4><%=Session("adminusername")%></td>
</tr>
<tr>
<td width="80" height="20" align=right>当前IP地址: </td>
<td class=t4><%=Request.ServerVariables("Remote_HOST")%></td>
</tr>
<tr>
<td width="80" height="20" align=right>上线次数: </td>
<td class=t4><%=logincount%></td>
</tr>
<tr>
<td width="80" height="20" align=right>上线时间: </td>
<td class=t4><%=logindate%></td>
</tr>
<tr>
<td width="80" height="20" align=right>网址: </td>
<td class=t4><%=Request.ServerVariables("Http_HOST")%></td>
</tr>
<tr>
<td width="80" height="20" align=right>浏览器版本: </td>
<td class=t4><%=Request.ServerVariables("Http_User_Agent")%></td>
</tr>
<tr>
<td width="80" height="20" align=right>WEB服务器: </td>
<td class=t4><%=Request.ServerVariables("Server_Software")%></td>
</tr>
<tr>
<td width="80" height="20" align=right>身份过期: </td>
<td class=t4><%=Session.timeout%>分钟</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -