📄 admin_adminmodify.asp
字号:
<%PageName="admin_AdminModify"%>
<!--#include file="session.asp"-->
<%checkAdmin3%>
<!--#include file="conn.asp"-->
<!--#include file="const.asp"-->
<%
founderr=false
id=request.QueryString("id")
sql="select * from admin where id="&id
rs.open sql,conn,1,1
if rs.eof then
rs.Close
set rs=nothing
conn.close
set conn=nothing
errmsg=errmsg+"<li>服务器出错!请联系管理员"
call error()
else
Username=rs("Username")
Password=rs("Password")
oskey=rs("oskey")
rs.close
end if
%>
<!--#include file="top.asp"--><br>
<table border="1" width="80%" cellspacing="0" cellpadding="1" bgcolor="<%=MainBgColor%>">
<tr>
<td align=center valign=top>
<table border="1" width="100%" cellspacing="0" cellpadding="0" Class="TableLine" bordercolorlight="<%=MainBColor%>" bgcolor="<%=MainCColor%>">
<form method="POST" action="admin_AdminSave.asp?id=<%=id%>">
<tr>
<td width="100%" height="20" colspan=2 bgcolor="<%=MainTColor%>" align=center background="images/admin/b3.gif"><b>修 改 管 理 员 资 料</b></td>
</tr>
<tr>
<td width="30%" align="right" height="30">用户名:</td>
<td width="70%">
<input type="text" name="username" value="<%=Username%>" size="20"></td>
</tr>
<tr>
<td width="30%" align="right" valign="top" height="20">密码:</td>
<td width="70%">
<input type="password" name="password" value="<%=Password%>" size="20"></td>
</tr>
<tr>
<td width="30%" align="right" height="30">权限:</td>
<td width="70%" height="30">
<select name="oskey" style="font-size:9pt">
<option value=super<%if oskey="super" then%> selected<%end if%>>超级管理员</option>
<option value=senior<%if oskey="senior" then%> selected<%end if%>>高级管理员</option>
<option value=inter<%if oskey="inter" then%> selected<%end if%>>大类管理员</option>
<option value=check<%if oskey="check" then%> selected<%end if%>>小类审核员</option>
<option value=input<%if oskey="input" then%> selected<%end if%>>文章录入员</option>
</select>
</td>
</tr>
<tr align="center">
<td colspan=2>
<input type="hidden" value="edit" name="act">
<input type="submit" value=" 修 改 " name="cmdok2">
<input type="reset" value=" 清 除 " name="cmdcance2l">
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<%
set rs=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -