📄 sk_crm_system_edit.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("quanxian")<"3" then
Response.Write("<script>alert(""对不起,你的权限不够!"");history.back();</script>")
response.end
end if
dim rs,sql
sql="select * from SK_mclass where mclass_id="&request("id")&" and user_id="&session("dd")&""
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>修改<%=rs("name")%>>资料</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")%>" style="color: #3366FF; text-decoration: none">用户管理</a> - <%=rs("name")%>的个人资料
-
<a target="main" href="vbscript:history.back()" style="text-decoration: none">
<font color="#3366FF">返回上页</font></a> </b></td>
</tr>
</table>
<form action="SK_CRM_system_regedit.asp" method="POST">
<TABLE borderColor=#ffffff cellSpacing=0 borderColorDark=#ffffff cellPadding=3 width="100%" borderColorLight=#dfdfdf border=1>
<tr>
<td height="25" colspan="2" bgcolor="#e6e6e6">
基本资料</td>
</tr>
<tr>
<td width="175" height="25" align="right">
用 户 名 </td>
<td height="25" width="786">
<input type=hidden name=mclass_id size=16 maxlength="12" value=<%=rs("mclass_id")%>><%=rs("name")%></td>
</tr>
<tr>
<td width="175" height="25" align="right">
管理密码 </td>
<td height="25" width="786">
<input type="password" name="pass" size="13" maxlength="10"><font size="2" class="c" value=<%=rs("pass")%>><font color="#CC0000">
</font></font>如不修改密码,请留空</td>
</tr>
<tr>
<td width="175" height="25" align="right">
密码确认 </td>
<td height="25" width="786">
<input type="password" name="rpass" size="13" maxlength="10"><font color="#CC0000"> </font></font>如不修改密码,请留空</td>
</tr>
<tr>
<td width="175" height="25" align="right">
用户权限
</font></td>
<td height="25" width="786">
<select size="1" name="quanxian">
<option value="1" <%if rs("quanxian")="1" then%>selected<%end if%>>只读权限</option>
<option value="2" <%if rs("quanxian")="2" then%>selected<%end if%>>读写权限</option>
<option value="3" <%if rs("quanxian")="3" then%>selected<%end if%>>超级管理</option>
<option value="0" <%if rs("quanxian")="0" then%>selected<%end if%>>账户停用</option>
</select></td>
</tr>
<tr>
<td width="175" height="25" align="right">
查阅权限 </td>
<td height="25" width="786">
<input type="checkbox" name="chayue" value="1" <%if rs("chayue")="1" then%>checked<%end if%>>该用户仅可查阅自己添加的客户(如选中该项,用户将无法修改分类) </td>
</tr>
<tr align="right">
<td height="25" colspan="2" align="left" bgcolor="e6e6e6">
详细资料</td>
</tr>
<tr>
<td width="175" height="25" align="right">
真实姓名 </td>
<td height="25" width="786">
<input name="ming" size="27" maxlength="100" value="<%=rs("ming")%>">
<font color="#CC0000"> *</font></td>
</tr>
<tr>
<td width="175" height="25" align="right">
性 别 </td>
<td height="25" width="786"><%
if rs("sex") ="0" then
response.write"<input type=radio value=0 name=sex checked>男"
response.write"<input type=radio value=1 name=sex >女"
else
response.write"<input type=radio value=0 name=sex >男"
response.write"<input type=radio value=1 name=sex checked>女"
end if
%></td>
</tr>
<tr>
<td width="175" height="25" align="right">
所属公司 </td>
<td height="25" width="786">
<input name="url" size="27" maxlength="100" value=<%=rs("url")%>></td>
</tr>
<tr>
<td width="175" height="25" align="right">
所属</font>部门 </td>
<td height="25" width="786">
<input name="bumen" size="27" maxlength="100" value="<%=rs("bumen")%>"></td>
</tr>
<tr>
<td width="175" height="25" align="right">
用户职务 </td>
<td height="25" width="786">
<input name="zhiwu" size="27" maxlength="100" value="<%=rs("zhiwu")%>"></td>
</tr>
<tr>
<td width="175" height="25" align="right">
用户电话 </td>
<td height="25" width="786">
<input name="phone" size="27" maxlength="100" value="<%=rs("phone")%>"></td>
</tr>
<tr>
<td width="175" height="25" align="right">
用户手机 </td>
<td height="25" width="786">
<input name="mobile" size="27" maxlength="100" value="<%=rs("mobile")%>"></td>
</tr>
<tr>
<td width="175" height="25" align="right">
电子邮件 </td>
<td height="25" width="786">
<input maxlength="50" name="email" size="27" value=<%=rs("email")%>>
<font color="#CC0000"> *</font></td>
</tr>
<tr>
<td width="175" height="25" align="right">
用户简介 </td>
<td height="25" width="786">
<textarea rows="6" name="show" cols="54"><%=rs("show")%></textarea></td>
</tr>
<tr>
<td height="25" align="right"> </td>
<td height="25"><input type="SUBMIT" name="Submit" value=" 修改 ">
<input type="RESET" name="Reset" value=" 还原 "></td>
</tr>
</table>
<input type="HIDDEN" name="action" value="RegSubmit">
</form>
</body>
</html>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -