📄 admin_mm.asp
字号:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%Session.CodePage=936%>
<!--#include file="setting.asp"-->
<!--#include file="../include/Conn.asp"-->
<!--#include file="../include/char.asp" -->
<!--#include file="../Include/check.asp"-->
<!--#include FILE="../Include/Admin_Function.asp"-->
<!--#include file="../other/zf11_md5.asp" -->
<link href="../other/Admin.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 {
color: #FFFFFF;
font-weight: bold;
}
.STYLE2 {color: #FFFFFF}
-->
</style>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="23"><div align="center">修改密码</div></td>
</tr>
</table>
<%
CheckAdmin1
if Request.QueryString("Action")="Modify" then
password=request("Password")
Md5_Pass=md5(password)
If password="" Then
Response.Write "<script>alert(""请输入密码!"");location.href=""javascript:history.back()"";</script>"
Response.end()
end if
ID=Session(zf11ManageAdminID)
UserName=Sessionzf11ManageUser
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from Admin where ID="&ID&""
rs.open sql,conn,1,3
If password<>"" Then
rs("Password")=Md5_Pass
end if
rs.update
rs.close
response.redirect "Admin_mm.asp?Action=ses"
end if
if Request.QueryString("Action")="ses" then
Response.Write "<br><br><div align='center'><font color='red'>修改成功!</font></div>"
end if
%>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#ff9933">
<form method="POST" action="Admin_mm.asp?Action=Modify" id="Manage" name="Manage">
<tr bgcolor="#ff9933">
<td width="100%" height="24" colspan=2 align=center><span class="STYLE1">修改本管理员密码</span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="30%" height="22" align="right">密码:</td>
<td width="70%">
<input type="password" name="password" size="20" class=input>
</td>
</tr>
<tr align="center" bgcolor="#ff9933" height="24">
<td height="24" colspan=2>
<input type="submit" value=" 修 改 " name="cmdok2" class="input">
</td>
</tr>
</form>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -