📄 admin_admin_view.asp
字号:
<!--#include file = admin_chk.asp -->
<%
If Not ChkAdmin("AdminUser") Then
Call ArtErr("","")
End If
%><head>
<link rel="stylesheet" type="text/css" href="../images/admin/style.css">
</head>
<%
dim sql
dim rs
sql = "select * from [admin] where id="&request("id")
Set rs = Server.CreateObject("ADODB.RecordSet")
rs.Open sql,conn,1,1
photo=trim(rs("photo"))
%>
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="tableBorder" align=center>
<tr>
<th height="25"><font color="red"><%=rs("user")%></font> <strong><%=rs("sex")%>的资料</strong></th>
</tr>
<tr>
<td align="right">编号:<%=rs("id")%> <%if rs("dateandtime")<>"" then%>注册日期:<%=rs("dateandtime")%><%end if%>
<table width="100%" border=0 align=center cellPadding=3 cellSpacing=1 bordercolor="#FFFFFF" bgcolor="#C4D8ED">
<tr bgcolor="#E9EAF3" onMouseOut="this.style.backgroundColor='#E9EAF3';this.style.color='black';" onMouseOver="this.style.backgroundColor='#6188D7';this.style.color='white';">
<td width=29% align=left height="25"><b><u>用 户 名:</u></b></td>
<td > <%=rs("user")%></td>
<td width="26%" rowspan="6" align="center" class="forumRaw">
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><img src=<%if not isnull(photo) and photo<>"" then response.write "../"&photo&"" else response.write "../images/pic.gif" end if%> border=1 width=120 height=150></td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF" onMouseOut="this.style.backgroundColor='#FFFFFF'" onMouseOver="this.style.backgroundColor='#D7E3F3'">
<td width=29% align=left height="25"><b><u>性 别:</u></b></td>
<td ><%=rs("sex")%></div></td>
</tr>
<tr bgcolor="#F7F7F7" onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'">
<td width=29% align=left height="25"><b><u>真实姓名:</u></b></td>
<td><%=rs("fullname")%></td>
</tr>
<tr bgcolor="#FFFFFF" onMouseOut="this.style.backgroundColor='#FFFFFF'" onMouseOver="this.style.backgroundColor='#D7E3F3'">
<td width=29% align=left height="25"><b><u>生 日:</u></b></td>
<td ><%if rs("birthyear")<>"" then%><%=rs("birthyear")%>年<%=rs("birthmonth")%>月<%=rs("birthday")%>日<%end if%></td>
</tr>
<tr bgcolor="#F7F7F7" onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'">
<td width=29% align=left height="25"><b><u>电子邮件:</u></b></td>
<td ><a href=mailto:<%=rs("email")%>><%=rs("email")%></a></td>
</tr>
<tr bgcolor="#FFFFFF" onMouseOut="this.style.backgroundColor='#FFFFFF'" onMouseOver="this.style.backgroundColor='#D7E3F3'">
<td width=29% align=left height="25"><b><u>联系电话:</u></b></td>
<td ><%=rs("tel")%></td>
</tr>
<tr bgcolor="#F7F7F7" onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'">
<td width=29% align=left height="25"><b><u>权 限:</u></b></td>
<td colspan="2"><%if rs("dj")=1 then%><font color="red">超级管理员</font><%end if%><%if rs("dj")=2 then%>普通管理员<%end if%><%if rs("dj")=3 then%>只读管理员<%end if%></td>
</tr>
<tr bgcolor="#FFFFFF" onMouseOut="this.style.backgroundColor='#FFFFFF'" onMouseOver="this.style.backgroundColor='#D7E3F3'">
<td width=29% align=left height="25"><b><u>工作单位:</u></b></td>
<td colspan="2"><%=rs("depname")%></td>
</tr>
<tr bgcolor="#F7F7F7" onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'">
<td width=29% align=left height="25"><b><u>登录次数:</u></b></td>
<td colspan="2"><%=rs("logins")%>次 </td>
</tr>
<tr bgcolor="#FFFFFF" onMouseOut="this.style.backgroundColor='#FFFFFF'" onMouseOver="this.style.backgroundColor='#D7E3F3'">
<td width=29% align=left height="25"><b><u>文 章 数:</u></b></td>
<td colspan="2">已发表<%=rs("NewsSl")%>篇</td>
</tr>
<tr bgcolor="#F7F7F7" onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'">
<td width=29% align=left height="25"><b><u>最近地址:</u></b></td>
<td colspan="2"><%=rs("ip")%></td>
</tr>
<tr bgcolor="#FFFFFF" onMouseOut="this.style.backgroundColor='#FFFFFF'" onMouseOver="this.style.backgroundColor='#D7E3F3'">
<td width=29% align=left height="25"><b><u>最近登录:</u></b></td>
<td colspan="2"><%=rs("lastlogin")%></td>
</tr>
<tr bgcolor="#F7F7F7" onMouseOut="this.style.backgroundColor='#F7F7F7'" onMouseOver="this.style.backgroundColor='#D7E3F3'">
<td width=29% align=left ><b><u>自我介绍:</u></b></td>
<td colspan="2" valign="middle">
<textarea rows="5" name="content" cols="60" style="font-family: 宋体; font-size: 9pt" ><%=rs("content")%></textarea></td>
</tr>
</table></td></tr>
<tr>
<td align="center">
『<a href="admin_admin.asp?action=edit&id=<%=rs("id")%>" onMouseOver="window.status='修改用户“<%=rs("User")%>”的属性';return true;" onMouseOut="window.status='';return true;" title='修改用户“<%=rs("User")%>”的属性'>修改</a>』
『<a href="javascript:history.go(-1)">返回</a>』 </td>
</tr>
</table>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -