📄 sk_crm_system_views.asp
字号:
<!--#include file="conn.asp" -->
<%
if session("name")="" or session("dd")="" then
Response.Write("<script>alert(""非法登陆,请确认密码的正确性!\n或者已经被管理员锁定!"");history.back();</script>")
response.end
end if
if session("super")="0" then
if session("quanxian")<"3" then
Response.Write("<script>alert(""对不起,你的权限不够!"");history.back();</script>")
response.end
end if
end if
dim rs,sql
if session("super")="0" then
sql="select * from SK_mclass where mclass_id="&request("id")&" and user_id="&session("dd")&""
else
sql="select * from SK_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
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<title>修改<%if rs("ming")<>"未填" then%><%=rs("ming")%><%else%><%=rs("name")%><%end if%>个人资料</title>
<META content="MSHTML 6.00.3790.2993" name=GENERATOR></HEAD>
<BODY leftMargin=0 topMargin=0 marginheight="0"><LINK
href="images/style.css" type=text/css rel=stylesheet>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD class=td>
<DIV
align=left> 您现在的位置:CRM >> 用户管理 >> 用户列表</DIV></TD></TR></TBODY></TABLE>
<TABLE borderColor=#ffffff cellSpacing=0 borderColorDark=#ffffff cellPadding=3 width="100%" borderColorLight=#dfdfdf border=1>
<tr>
<td height="30"><b>
<a target="main" href="SK_CRM_system_userlist.asp?SK_mclass=<%=session("dd")%>" text-decoration: none">用户管理</a> -
<%if rs("ming")<>"未填" then%><%=rs("ming")%><%else%><%=rs("name")%><%end if%>的个人资料 <a target="main" href="vbscript:history.back()">返回上页</a></b></td>
</tr>
</table>
<TABLE borderColor=#ffffff cellSpacing=0 borderColorDark=#ffffff cellPadding=3 width="100%" borderColorLight=#dfdfdf border=1>
<tr>
<td height="25" colspan="2">
基本资料</td>
</tr>
<tr>
<td width="167" height="25" align="right">
用 户 名</td>
<td height="25" width="794">
<input type=hidden name=mclass_id size=16 maxlength="12" value=<%=rs("mclass_id")%>> <%=rs("name")%></td>
</tr>
<tr>
<td width="167" height="25" align="right">
用户权限 </td>
<td height="25" width="794"><%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 width="167" height="25" align="right">
查阅权限</td>
<td height="25" width="794">
<%
if rs("chayue")="1" then%>该用户仅可查阅自己添加的客户<%end if%>
<%if rs("chayue")="0" then%><font color="#FF0000">该用户可查阅所有客户</font><%end if%></td>
</tr>
<tr>
<td height="25" colspan="2">
详细资料</td>
</tr><%
if rs("ming") ="未填" then
response.write""
else
%>
<tr>
<td width="167" height="25" align="right">
真实姓名 </td>
<td height="25" width="794">
<%=rs("ming")%></td>
</tr>
<%end if%>
<tr>
<td width="167" height="25" align="right">
性别 </td>
<td height="25" width="794">
<%
if rs("sex") ="0" then
response.write"男"
else
response.write"女"
end if
%></td>
</tr>
<%
if rs("url") ="未填" then
response.write""
else
%>
<tr>
<td width="167" height="25" align="right">
所属公司</td>
<td height="25" width="794">
<%=rs("url")%></td>
</tr><%end if%><%
if rs("bumen") ="未填" then
response.write""
else
%>
<tr>
<td width="167" height="25" align="right">
所属</font>部门 </td>
<td height="25" width="794">
<%=rs("bumen")%></td>
</tr><%end if
if rs("zhiwu") ="未填" then
response.write""
else
%>
<tr>
<td width="167" height="25" align="right">
用户职务 </td>
<td height="25" width="794">
<%=rs("zhiwu")%></td>
</tr><%end if
if rs("phone") ="未填" then
response.write""
else
%>
<tr>
<td width="167" height="25" align="right">
用户电话</td>
<td height="25" width="794">
<%=rs("mobile")%></td>
</tr><%end if
if rs("ming") ="未填" then
response.write""
else
%>
<tr>
<td width="167" height="25" align="right">
用户手机 </td>
<td height="25" width="794">
<%=rs("mobile")%></td>
</tr><%end if
if rs("email") ="未填" then
response.write""
else
%>
<tr>
<td width="167" height="25" align="right">
电子邮件 </td>
<td height="25" width="794">
<a href="mailto:<%=rs("email")%>"><%=rs("email")%></a> </td>
</tr><%end if
if rs("show") ="无简介" then
response.write""
else
%>
<tr>
<td width="167" height="25" align="right">
用户简介</td>
<td height="25" width="794">
<%=rs("show")%></td>
</tr>
</table> <%end if%>
<input type="HIDDEN" name="action" value="RegSubmit">
</body>
</html>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -