📄 editpwd.asp
字号:
<!--#include file="../inc/conn.asp"--><%
if session("loginid")="" then
response.redirect "login.asp"
response.end
end if
%><%If is_house_ot_user=1 then
Response.Redirect ""&house_ot_modIfypass1&""
end if%>
<html>
<head>
<title>修改密码</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../inc/style.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#D9F2D7" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form action="pwd_modi_ok.asp" method="post" name="theForm" id="theForm">
<script language="JavaScript">
function check(theForm)
{if (theForm.oldpwd.value == "")
{
alert("请输入旧密码!");
theForm.oldpwd.focus();
return (false);
}
if (theForm.pwd.value == "")
{
alert("请输入您的密码!");
theForm.pwd.focus();
return (false);
}
if (theForm.repwd.value == "")
{
alert("请在\"确认密码\"中输入值。");
theForm.repwd.focus();
return (false);
}
if (theForm.repwd.value != theForm.pwd.value)
{
alert("两次密码输入不一样请更改。");
theForm.pwd.focus();
return (false);
}
}
</script>
<div align="center">
<table width="295" border="0" cellpadding="2">
<tr class="black">
<td height="30" colspan="2" bgcolor="#E7F7E6"> <font color="#3333CC"><b>请输入您的旧密码及两次新密码</b></font>:</td>
</tr>
<tr class="black">
<td width="107" height="22" align="center" bgcolor="#E7F7E6">旧 密 码:</td>
<td width="180" height="22" bgcolor="#E7F7E6"> <input type="password" name="oldpwd" size="20" class="inputb">
</td>
</tr>
<tr class="black">
<td width="107" height="22" align="center" bgcolor="#E7F7E6">新 密 码:</td>
<td width="180" height="22" bgcolor="#E7F7E6"> <input type="password" name="pwd" size="20" class="inputb">
</td>
</tr>
<tr class="black">
<td width="107" height="22" align="center" bgcolor="#E7F7E6">密码确认:</td>
<td width="180" height="22" bgcolor="#E7F7E6"> <input type="password" name="repwd" size="20" class="inputb">
</td>
</tr>
<tr class="black">
<td height="35" colspan="2" align="center" bgcolor="#E7F7E6"> <input type="submit" name="Submit" value="保存修改" onclick="javascript:return check(theForm)">
<input type="button" name="Submit2" value="关闭窗口" onclick="window.close()">
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -