-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuserinfo.asp
54 lines (54 loc) · 2.59 KB
/
userinfo.asp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/mysession.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>用户信息</title>
<link href="images/tab.css" rel="stylesheet" type="text/css" />
</head>
<%
sqlrank="select * from admin where admin_id='"&session("web_admin")&"'"
Set rsrank=conn.execute(sqlrank)
rank=rsrank("rank")
%>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="25" background="images/default_19.gif" style="border-left:solid 1px #aad5e6;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30"><div align="center"><img src="images/table.gif" width="16" height="14"></div></td>
<td width="15"><img src="images/jt.gif" width="5" height="6"></td>
<td style="height:1;font-size:9pt; color:#ffffff;filter:glow(color=#215970,strength=1);"><b>帐户信息</b></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#6298E1" style="table-layout:fixed;">
<tr bgcolor='#EBF2F9'>
<td width="12%" height="24" nowrap><div align="left">帐户名称:</div></td>
<td width="88%"><div align="left"><%=session("web_admin")%>(<%=session("uid")%>)</div></td>
</tr>
<tr bgcolor='#EBF2F9'>
<td height="24" nowrap><div align="left">帐户姓名:</div></td>
<td><div align="left"><%=session("cname")%></div></td>
</tr>
<tr bgcolor='#EBF2F9'>
<td height="24" nowrap><div align="left">上次登录时间:</div></td>
<td><div align="left"><%=session("lasttime")%> <font color="red">本次:<%=rsrank("lastlogin_time")%></font></div></td>
</tr>
<tr bgcolor='#EBF2F9'>
<td height="24" nowrap><div align="left">上次登录IP:</div></td>
<td><div align="left"><%=session("lastip")%> <font color="red">本次:<%=rsrank("lastlogin_ip")%></font></div></td>
</tr>
<tr bgcolor='#EBF2F9'>
<td height="24" nowrap><div align="left">帐户权限:</div></td>
<td style="word-wrap:break-word;"><div align="left"><%=session("rank")%></div></td>
</tr>
<tr bgcolor='#EBF2F9'>
<td height="24" nowrap><div align="left">帐户角色:</div></td>
<td style="word-wrap:break-word;"><%=session("juesemc")%>(<%=left(session("juese"),100)%>……)</td>
</tr>
</table>
</body>
</html>