📄 admin_user_update.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn_fj16.asp" -->
<!--#include file="admin_qx.asp" -->
<% isgjgl %>
<%
ID=trim(request("ID"))
sql="select * from admin156 where ID="&ID&""
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,2
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="Images/Style.css" rel="stylesheet" type="text/css">
<title>修改用户</title>
<style type="text/css">
<!--
.STYLE5 {color: #000000}
-->
</style>
</head>
<body>
<br>
<table class=tableBorder width="95%" border=0 align="center" cellpadding=5 cellspacing=1>
<tbody>
<tr>
<th width="100%" height=21 sytle="line-height:150%"><span class="STYLE4">【修改用户资料】</span></th>
</tr>
<tr>
<td class=forumRow>
<form id="form1" name="form1" method="post" action="admin_user_update_save.asp">
<label></label>
<p>
<label>
<div align="center">
<table width="545" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#F3F3F3" style="border-collapse: collapse">
<tr>
<td width="112" class="STYLE5">用户名:</td>
<td width="407"><label>
<input name="yonghuming" type="text" id="yonghuming" value="<%=rs("yonghuming")%>" <%if session("xingming_zhengshu")<>"" then%>value="<%=session("xingming_zhengshu")%>"<%end if%> />
</label></td>
</tr>
<tr>
<td class="STYLE5">密码:</td>
<td><label>
<input name="pwd" type="password" id="pwd" value="<%=rs("pwd")%>" />
</label></td>
</tr>
<tr>
<td class="STYLE5">确认密码:</td>
<td><label>
<input name="pwd2" type="password" id="pwd2" value="<%=rs("pwd")%>" />
</label></td>
</tr>
<tr>
<td class="STYLE4">真实姓名</td>
<td><input name="xingming" type="text" id="xingming" value="<%=rs("xingming")%>" /></td>
</tr>
<tr>
<td class="STYLE5">访问级别</td>
<td><label>
<select name="jibie" id="jibie">
<option value="<%=rs("jibie")%>" selected><%if rs("jibie")="0" then response.Write "普通浏览用户(只读)"%><%if rs("jibie")="1" then response.Write "系统管理员(学员增删减)"%><%if rs("jibie")="2" then response.Write "最高级管理员(系统维护)"%></option>
<option value="0">普通浏览用户(只读)</option>
<option value="1">系统管理员(学员增删减)</option>
<option value="2">最高级管理员(系统维护)</option>
</select>
</label></td>
</tr>
<tr>
<td class="STYLE5">备注:</td>
<td><label>
<textarea name="beizhu" cols="50" rows="3" id="beizhu"><%=rs("beizhu")%></textarea>
</label></td>
</tr>
</table>
<p>
<input type="submit" name="Submit" value="修改用户" />
<input name="ID" type="hidden" id="ID" value="<%=rs("ID")%>">
</p>
</label>
</form>
</td>
</tr>
</tbody>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -