?? changepw.asp
字號:
<html>
<head>
<title>具體產品管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
<link href="../css/main.css" rel="stylesheet" type="text/css">
<link href="../images/style.css" rel="stylesheet" type="text/css">
</head>
<!--#include file=conn.asp-->
<!--#include file=refuse.asp-->
<%dim message
message=request.QueryString("message")
if message="" then message="為了數據的安全,請你仔細填寫各項(加*為必填)"
%>
<body>
<table width="500" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#6B8FC8">
<!--DWLayoutTable-->
<tr>
<td width="496" height="29" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="496" height="27" valign="middle">
<div align="center" ><font color="red" size="3"><%=message%></font></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="236" valign="top" bgcolor="#E8F1FF"><div align="center">
<form name="form1" id="form1" method="post" action="changepw2.asp">
<table >
<!--DWLayoutTable-->
<tr>
<td width="124" height="21"> </td>
<td width="153"> </td>
</tr>
<tr>
<td height="22" valign="top" class="boxcontent">請輸入原密碼:</td>
<td valign="top"> <div align="left">
<input name="password0" type="password" class="INPUT" id="password0" size="13">
*</div></td>
</tr>
<tr>
<td height="22" valign="top" class="boxcontent">請輸入新密碼:</td>
<td valign="top"><input name="password" type="password" class="INPUT" id="password" size="13">
*</td>
</tr>
<tr>
<td height="22" valign="top" class="boxcontent">確認新密碼:</td>
<td valign="top"><input name="password1" type="password" class="INPUT" id="password1" size="13">
*</td>
</tr>
<tr>
<td height="47"> </td>
<td></td>
</tr>
<tr>
<td height="30" valign="top"><div align="center">
<input type="submit" name="Submit" value="提交" onClick="return check();">
</div></td>
<td valign="top"><input type="reset" name="Submit2" value="重置"></td>
</tr>
<tr>
<td height="28" colspan="2" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
</table>
</form>
</div>
</td>
</tr>
</table>
<br>
<SCRIPT LANGUAGE="JavaScript">
<!--
function check()
{
if(checkspace(document.form1.password0.value)) {
document.form1.password0.focus();
alert("原密碼不能為空,請重新輸入!");
return false;
}
if(checkspace(document.form1.password.value)) {
document.form1.password.focus();
alert("新密碼不能為空,請重新輸入!");
return false;
}
if(document.form1.password.value != document.form1.password1.value) {
document.form1.password.focus();
document.form1.password.value = '';
document.form1.password1.value = '';
alert("兩次輸入的密碼不同,請重新輸入!");
return false;
}
}
function checkspace(checkstr) {
var str = '';
for(i = 0; i < checkstr.length; i++) {
str = str + ' ';
}
return (str == checkstr);
}
//-->
</script>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -