📄 system_views.asp
字号:
<!--#include file="conn.asp" -->
<%
if session("name")="" or session("dd")="" then
response.write "SORRY <br>"
response.write "数据在携带中出现意外!<br>"
response.write "<a href=login.asp>回去重来</a>"
response.end
end if
if session("super")="0" then
if session("quanxian")<"3" then
response.write "SORRY <br>"
response.write "您的权限不够!请勿尝试非法访问!<br>"
response.end
end if
end if
dim rs,sql
if session("super")="0" then
sql="select * from mclass where mclass_id="&request("id")&" and user_id="&session("dd")&""
else
sql="select * from mclass where mclass_id="&request("id")&" "
end if
set rs=server.createobject("adodb.recordset")
rs.Open sql,conn,1,3
if not rs.EOF then
%>
<html>
<head>
<title>修改<%if rs("ming")<>"未填" then%><%=rs("ming")%><%else%><%=rs("name")%><%end if%>个人资料</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body,table {font-size: 9pt; font-family: 宋体}
input { font-size: 9pt; color: #000000; padding-top: 3px}
.c { font-family: 宋体; font-size: 9pt; font-style: normal; line-height: 12pt; font-weight: normal; font-variant: normal; text-decoration: none}
--></style>
</head>
<body text="#000000" link="#3366FF" alink="#800000" vlink="#3366FF" topmargin="0" leftmargin="0">
<p align="center">
<br>
</p>
<div align="center">
<table border="0" width="514" id="table1" cellspacing="0" cellpadding="0">
<tr>
<td style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%"> </td>
</tr>
<tr>
<td style="font-family: 宋体,'Arial Narrow','Times New Roman'; font-size: 9pt; line-height: 150%">
<a target="mainFrame" href="system_userlist.asp?mclass=<%=session("dd")%>" style="color: #3366FF; text-decoration: none">用户管理</a> - <%if rs("ming")<>"未填" then%><%=rs("ming")%><%else%><%=rs("name")%><%end if%>的个人资料</td>
</tr>
</table>
</div>
<ul>
<div align="center">
<center>
<table border="0" cellspacing="1" cellpadding="0" width="554" height="1" bgcolor="#DADADA">
<tr>
<td height="25" bgcolor="#EBEBEB" colspan="2">
基本资料</td>
</tr>
<tr>
<td width="143" height="25" bgcolor="#EBEBEB">
<p align="right"><font size="2" class="c">用 户 名 </font></p>
</td>
<td height="25" bgcolor="#FFFFFF" width="408">
<input type=hidden name=mclass_id size=16 maxlength="12" value=<%=rs("mclass_id")%>> <%=rs("name")%></td>
</tr>
<tr>
<td height="25" bgcolor="#EBEBEB" width="143">
<p align="right"><font size="2" class="c">用户权限
</font></td>
<td height="25" bgcolor="#FFFFFF" width="408"> <%if rs("quanxian")="1" then%>只读权限<%end if%><%if rs("quanxian")="2" then%>读写权限<%end if%><%if rs("quanxian")="3" then%>超级管理<%end if%>
</td>
</tr>
<tr>
<td height="25" bgcolor="#EBEBEB" width="143">
<p align="right">查阅权限 </td>
<td height="25" bgcolor="#FFFFFF" width="408">
<%
if rs("chayue")="1" then%>该用户仅可查阅自己添加的客户<%end if%>
<%if rs("chayue")="0" then%><font color="#FF0000">该用户可查阅所有客户</font><%end if%></td>
</tr>
<tr>
<td height="25" bgcolor="#EBEBEB" colspan="2">
详细资料</td>
</tr><%
if rs("ming") ="未填" then
response.write""
else
%>
<tr>
<td width="143" height="25" bgcolor="#EBEBEB">
<p align="right">真实姓名
</td>
<td height="25" bgcolor="#FFFFFF" width="408">
<%=rs("ming")%></td>
</tr>
<%end if%>
<tr>
<td width="143" height="25" bgcolor="#EBEBEB">
<p align="right">性 别
</td>
<td height="25" bgcolor="#FFFFFF" width="408"> <%
if rs("sex") ="0" then
response.write"男"
else
response.write"女"
end if
%></td>
</tr>
<%
if rs("url") ="未填" then
response.write""
else
%>
<tr>
<td width="143" height="25" bgcolor="#EBEBEB">
<p align="right">所<font size="2" class="c">属公司 </font></p>
</td>
<td height="25" bgcolor="#FFFFFF" width="408">
<%=rs("url")%></td>
</tr><%end if%><%
if rs("bumen") ="未填" then
response.write""
else
%>
<tr>
<td width="143" height="25" bgcolor="#EBEBEB">
<p align="right">所<font size="2" class="c">属</font>部门
</td>
<td height="25" bgcolor="#FFFFFF" width="408">
<%=rs("bumen")%></td>
</tr><%end if
if rs("zhiwu") ="未填" then
response.write""
else
%>
<tr>
<td width="143" height="25" bgcolor="#EBEBEB">
<p align="right">用户职务
</td>
<td height="25" bgcolor="#FFFFFF" width="408">
<%=rs("zhiwu")%></td>
</tr><%end if
if rs("phone") ="未填" then
response.write""
else
%>
<tr>
<td width="143" height="25" bgcolor="#EBEBEB">
<p align="right">用户电话 </td>
<td height="25" bgcolor="#FFFFFF" width="408">
<%=rs("mobile")%></td>
</tr><%end if
if rs("ming") ="未填" then
response.write""
else
%>
<tr>
<td width="143" height="25" bgcolor="#EBEBEB">
<p align="right">用户手机
</td>
<td height="25" bgcolor="#FFFFFF" width="408">
<%=rs("mobile")%></td>
</tr><%end if
if rs("email") ="未填" then
response.write""
else
%>
<tr>
<td width="143" height="25" bgcolor="#EBEBEB">
<p align="right">电子<font size="2" class="c">邮件
</font></p>
</td>
<td height="25" bgcolor="#FFFFFF" width="408">
<%=rs("email")%> <a href="mailto:<%=rs("email")%>">点此给该客户发送邮件</a>
</td>
</tr><%end if
if rs("show") ="无简介" then
response.write""
else
%>
<tr>
<td width="143" height="25" bgcolor="#EBEBEB">
<p align="right">用户<font size="2" class="c">简介 </font></p>
</td>
<td height="25" bgcolor="#FFFFFF" width="408">
<%=rs("show")%></td>
</tr> <%end if%>
</table>
<br>
<br>
<a target="mainFrame" href="vbscript:history.back()" style="color: #FF0000; text-decoration: none">返回上页</a></center>
</div>
</ul>
<p align="center">
<font size="3" class="c" color="#000000">
<input type="HIDDEN" name="action" value="RegSubmit"> </font>
<p align="center"> </p>
</body>
</html>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -