📄 site_admininfo.asp
字号:
<!--#include file="conn.asp" -->
<!--#include file="admin_dn.asp" -->
<!--#include file="md5.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<link href="image/css.css" rel="stylesheet" type="text/css">
</head>
<%
ms=""
if Trim(Request.QueryString("w"))="save" then
if Trim(Request.Form("password1"))=Trim(Request.Form("password2")) and request("userid")<>"" then
sql="update admin set userid='"&request("userid")&"',password='"&md5(request("password1"))&"'"
conn.execute(sql)
ms="恭喜您,更改成功"
else
ms="对不起。。。更改失败。。请检查您两次输入的密码不同或是用户名为空"
end if
end if
%>
<body leftmargin=5 topmargin=5>
<p><strong>管理员账号管理</strong></p>
<p> </p>
<p> </p>
<p> </p>
<form name="form1" method="post" action="site_admininfo.asp?w=save">
<table width="50%" height="107" border="0" align="center" cellpadding="0" cellspacing="0">
<tr bgcolor="#FAFAFA">
<td colspan="2">管理员密码更改</td>
</tr>
<tr>
<td width="28%">用户名:</td>
<td width="72%"><input name="userid" type="text" id="userid"></td>
</tr>
<tr>
<td height="17">密 码:</td>
<td><input name="password1" type="text" id="password1"></td>
</tr>
<tr>
<td>重复密码:</td>
<td><input name="password2" type="text" id="password2"></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="确定更改"></td>
</tr>
</table>
</form>
<p> </p>
<p> </p>
<div align="center"><font color="#FF0000"><%= ms %></font> </div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -