📄 set_password.asp
字号:
<%@ LANGUAGE = VBScript.Encode %><!--#include file="../../inc/verify_user.inc" -->
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../../css/ads.css" type="text/css">
</head>
<script language=javascript>
function formCheck()
{
if (document.theform.original_password.value == "")
{
alert("请输入原密码")
document.theform.original_password.focus()
return false
}
if (document.theform.new_password1.value == "")
{
alert("请输入新密码")
document.theform.new_password1.focus()
return false
}
if (document.theform.new_password1.value.length < 3)
{
alert("新密码不能小于3位,请您重新输入")
document.theform.new_password1.focus()
return false
}
if (document.theform.new_password2.value == "")
{
alert("请输入确认密码")
document.theform.new_password2.focus()
return false
}
if (document.theform.new_password1.value != document.theform.new_password2.value)
{
alert("您输入密码和确认密码不一致,请您重新输入")
document.theform.new_password1.focus()
return false
}
return true
}
</script>
<body bgcolor="#FFFFFF" text="#000000">
<!--#include file="../../inc/top.inc" -->
<p> </p>
<p><b><img src="../../images/iico.gif" width="15" height="15" align="absmiddle">
<span class="px14">填写原密码和新密码:</span> </b></p>
<form method="post" action="get_set_password.asp" name="theform" onsubmit="return formCheck();">
<table width="380" border="0" cellspacing="1" cellpadding="2" class="px14" bgcolor="#eeeeee">
<tr>
<td width="126" bgcolor="#eeeeee">
<div align="right">原密码:</div>
</td>
<td width="243" bgcolor="#eeeeee">
<input type="password" name="original_password" size="20" maxlength="20">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="126">
<div align="right">新密码:</div>
</td>
<td width="243">
<input type="password" name="new_password1" size="20" maxlength="20">
</td>
</tr>
<tr>
<td width="126" bgcolor="#eeeeee">
<div align="right">新密码确认:</div>
</td>
<td width="243" bgcolor="#eeeeee">
<input type="password" name="new_password2" size="20" maxlength="20">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">
<input type="submit" name="Submit" value="修改密码">
</td>
</tr>
</table>
</form>
<p> </p>
<p> </p>
<p> </p>
<!--#include file="../../inc/bottom.inc" -->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -