📄 changepass.asp
字号:
<script language=javascript>
function CheckFormUserPass()
{
if(document.change.OldPass.value=="")
{
alert("Please input the old password!");
document.OldPass.UserID.focus();
return false;
}
if(document.change.NewPass.value == "")
{
alert("Please input new password");
document.change.NewPass.focus();
return false;
}
if(document.change.ConfirmPass.value == "")
{
alert("Confirm new password");
document.change.ConfirmPass.focus();
return false;
}
if(document.change.ConfirmPass.value!=document.change.NewPass.value)
{
alert("two new password is incorrect!");
document.change.ConfirmPass.focus();
return false;
}
return true;
}
</script>
<html><head>
<meta http-equiv="Content-Type" content="text/html;">
<LINK href=css/site.css rel=stylesheet>
<title>Shoes Store</title>
</head>
<body bgcolor="#c1d2eb" topmargin="0" marginheight="0">
<br>
<p> </p>
<table cellpadding="3" cellspacing="0" width="100%" id="AutoNumber1">
<tr >
<td height="67" colspan="2">
</td>
</tr>
<tr>
<td height="37" colspan="2" align="center" class="TDtop">
<span ><font color=red>┊ <strong>Change Password</strong> ┊</font></span>
</td>
</tr>
</table>
<table border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#C0C0C0" width="100%" id="AutoNumber1">
<form method="POST" action="savepass.asp" name="change" onSubmit="return CheckFormUserPass();">
<tr>
<td align="right">Old Password:</td>
<td align="left">
<input type="password" name="OldPass" size="15" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
</td>
</tr>
<tr>
<td align="right">New Password:</td>
<td align="left">
<input type="password" name="NewPass" size="15" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
</td>
</tr>
<tr>
<td align="right">Confirm New Password:</td>
<td align="left">
<input type="password" name="ConfirmPass" size="15" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'">
</td>
</tr>
<tr>
<td colspan="2" align="center">
<p>
<input type="hidden" name="changepass" />
<input type="submit" name="Submit" value="Change My Password" style="font-size: 9pt; color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#EAEAF4'" >
</p>
</td>
</tr>
</form>
</table>
<table cellpadding="3" cellspacing="0" width="100%" id="AutoNumber1">
<tr>
<td colspan="2" align="center" background="images/top2.gif"> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -