📄 updwsdfdsf.asp
字号:
<%
Response.ExpiresAbsolute=now()-1
Response.CacheControl="no-cache"
%>
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers=""
MM_authFailedURL="../adminlogin666.asp"
MM_grantAccess=false
If Session("MM_Usernamesyslogin") <> "" Then
If (true Or CStr(Session("MM_UserAuthorization"))="") Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then
MM_grantAccess = true
End If
End If
If Not MM_grantAccess Then
MM_qsChar = "?"
If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
MM_referrer = Request.ServerVariables("URL")
if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer)
Response.Redirect(MM_authFailedURL)
End If
%>
<html>
<head>
<script language="JavaScript">
<!--
function check() {
if (document.form1.oldpd.value=="") {
window.alert ("请输入旧密码 !")
document.form1.oldpd.focus()
return false
}
if (document.form1.oldpd.value.length<10) {
window.alert ("请输入10位以上旧密码 !")
document.form1.oldpd.focus()
return false
}
if (document.form1.newpd.value=="") {
window.alert ("请输入新密码 !")
document.form1.newpd.focus()
return false
}
if (document.form1.newpd.value.length<10) {
window.alert ("请输入10位以上新密码 !")
document.form1.newpd.focus()
return false
}
if (document.form1.conpd.value=="") {
window.alert ("请输入确认密码 !")
document.form1.conpd.focus()
return false
}
if (document.form1.conpd.value.length<10) {
window.alert ("请输入10位以上确认密码!")
document.form1.conpd.focus()
return false
}
if(document.form1.conpd.value!=document.form1.newpd.value) {
window.alert ("两次输入的密码不一样 !")
document.form1.conpd.focus()
return false
}
if ((document.form1.oldpd.value.indexOf(",")>-1)||(document.form1.newpd.value.indexOf("=")>-1)||(document.form1.oldpd.value.indexOf("=")>-1)||(document.form1.newpd.value.indexOf(".")>-1)||(document.form1.oldpd.value.indexOf(".")>-1)||(document.form1.newpd.value.indexOf(",")>-1)||(document.form1.oldpd.value.indexOf("'")>-1)||(document.form1.newpd.value.indexOf("'")>-1)||(document.form1.oldpd.value.indexOf("'")>-1)||(document.form1.newpd.value.indexOf("'")>-1)||(document.form1.newpd.value.indexOf("?")>-1)||(document.form1.oldpd.value.indexOf("?")>-1)||(document.form1.newpd.value.indexOf(";")>-1)||(document.form1.oldpd.value.indexOf(";")>-1)||(document.form1.newpd.value.indexOf("=")>-1)||(document.form1.oldpd.value.indexOf("=")>-1)||(document.form1.newpd.value.indexOf("+")>-1)||(document.form1.oldpd.value.indexOf("+")>-1)||(document.form1.newpd.value.indexOf("-")>-1)||(document.form1.oldpd.value.indexOf("-")>-1)||(document.form1.newpd.value.indexOf("&")>-1)||(document.form1.oldpd.value.indexOf("&")>-1)||(document.form1.newpd.value.indexOf("/")>-1))
{
alert("请勿输入非法字符!")
return false;
}
return true
}
-->
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>管理员密码修改</title>
<style type="text/css">
<!--
.style1 {font-size: 12px}
.style2 { color: #FFFFFF;
font-size: 12px;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style3 {
font-size: 13px;
font-weight: bold;
}
.style4 {color: #FF0000}
-->
</style>
</head>
<body>
<p></p>
<form name="form1" method="post" action="post.asp" onSubmit="return check()">
<div align="center"><br>
<br>
<table width="446" height="21" border="0" cellpadding="0" cellspacing="0" background="../../f/asp/filesupadmin/img/1.jpg">
<tr>
<td><div align="center" class="style2 style3">管理员密码修改</div></td>
</tr>
</table>
<table width="446" border="0" cellpadding="0" cellspacing="1" bgcolor="#5EAE19">
<tr>
<td bgcolor="#FFFFFF"><table width="99%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td height="8" colspan="2"></td>
</tr>
<tr>
<td width="16%"><div align="right"><span class="style1">旧密码:</span></div></td>
<td width="84%"><input name="oldpd" type="password" class="style1" id="oldpd" size="28" maxlength="50">
<span class="style4">*</span> </td>
</tr>
<tr>
<td><div align="right"><span class="style1">新密码:</span></div></td>
<td><input name="newpd" type="password" class="style1" id="newpd" size="28" maxlength="50">
<span class="style4">*</span> </td>
</tr>
<tr>
<td><div align="right"><span class="style1">确认密码:</span></div></td>
<td><input name="conpd" type="password" class="style1" id="conpd" size="28" maxlength="50">
<span class="style4">*</span> </td>
</tr>
<tr>
<td height="10" colspan="2"></td>
</tr>
<tr>
<td><span class="style1"></span></td>
<td><span class="style1"> <span class="bg"><span class="bg style2"><STRONG><FONT color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff>
<input name="提交" type=submit style="FONT-SIZE: 12px; HEIGHT: 27px" value= "保存修改" >
<STRONG><FONT color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff>
<input name="重置" type=reset style="FONT-SIZE: 12px; HEIGHT: 27px" value= " 重 填 " >
<STRONG><FONT color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff>
<input name="按钮" type=button style="FONT-SIZE: 12px; HEIGHT: 27px" onClick="location.href='../adcencetyerdfghf.asp'" value= " 返 回 " >
</font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></FONT></STRONG> </font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></font></strong></font></strong></font></strong></FONT></STRONG></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></font></strong></font></strong></font></strong></FONT></STRONG></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></FONT></STRONG></span></span> </span></td>
</tr>
<tr>
<td></td>
<td height="8"></td>
</tr>
</table></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -