📄 admin_edit.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="chkmanage.asp"-->
<!--#include file="inc/const1.asp"-->
<!--#include file="inc/const2.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sql="select username,password from admin where id=1"
rs.open sql,conn,1,3
%>
<html>
<head>
<title>修改管理员资料</title>
<!--#include file="css.asp"-->
</head>
<body topmargin="1" bgcolor="<%=bodybgcolor%>">
<div align="center"> <!--#include file="menu.asp"-->
<form method="POST" action="update_editadmin.asp">
<center>
<table width="350" border="1" style="border-collapse: collapse" cellspacing="0" height="19" bgcolor="<%=tablebgcolor%>" align="center" bordercolor="<%=bordercolor%>" >
<tr>
<td width="100%" colspan="2" height="20" bgcolor="<%=add_leftbg%>">
<p align="center"><b><font color="#FFFFFF">修改管理员资料</font></b></td>
</tr> <tr> <td width="32%" height="1"> <b>姓名:</b></td>
<td width="68%" height="1">
<p><input type="text" name="name" size="20" value="<%=rs.fields("username")%>"></p>
</td> </tr> <tr> <td width="32%" height="9"> <b>密码:</b></td>
<td width="68%" height="9">
<input type="text" name="pass" size="20" value="<%=rs.fields("password")%>"></td>
</tr> <tr> <td width="100%" height="12" colspan="2">
<p align="center"><input type="submit" value="更新" name="B1">
<input type="reset" value="重写" name="B2"></p> </td> </tr> </table>
</center>
</form>
</body>
</html>
<%
rs.close
set rs=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -