📄 loguser.asp
字号:
<!--#include file="../inc/function.asp"-->
<!--#include file="../inc/md5.asp"-->
<!--#include file="../inc/ChkPurview.asp"-->
<%
Dim id
id = Request("ID")
if id="" then
Call Msg("非法参数",1,"")
else
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用户资料</title>
<link href="../css/mobile_sale.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border">
<tr class="topbg">
<td height="22" colspan="2" align="center"><strong>用 户 管 理</strong></td>
</tr>
<tr class="tdbg">
<td width="70" height="30"><strong>管理导航:</strong></td>
<td height="30"> <a href="ShowUser.asp?ID=<%=ID%>">个人资料</a> | <a href="Mpwd.asp?ID=<%=ID%>">修改资料</a> | <a href="LogUser.asp?ID=<%=ID%>">访问日志</a> </td>
</tr>
</table>
<br>
<%
Sql = "Select * from T_User_Log where UserID="&Cstr(ID)&""
Call Sql_Open(Rs,Sql,Conn,1,1)
if Rs.eof and Rs.bof then
Response.write"此用户没有登录过本系统"
else
%>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border" >
<tr class="title">
<td height="22">访问IP</td>
<td>访问时间</td>
</tr>
<%Do while not Rs.eof%>
<tr class="tdbg">
<td class="tdbg"><%=Rs("VisitIP")%></td>
<td class="tdbg"><%=Rs("VisitTime")%></td>
</tr>
<%
Rs.movenext
Loop
%>
</table>
<%
end if
Call Rs_end(Rs)
end if
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -