<!--#include file="checkLogin.asp"--> 
<html>
<head>
<title>密码更改</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<script Language="JavaScript">
function CheckForm()
{
   if(document.form1.old.value.length<1){window.alert("请输入新密码");document.form1.old.focus();return (false);}
    
   if(document.form1.new1.value.length<1){window.alert("请输入新密码");document.form1.new1.focus();return (false);}
   if(document.form1.new1.value!=document.form1.new2.value){window.alert("新密码和第二次输入新密码不同");document.form1.new1.focus();return (false);}
   
  
  
}

</script>
<link rel="stylesheet" type="text/css" href="css/style.css" />

</head>


<body class="bodycolor" topmargin="5">
<br><br><br><br><br>
			<table width="60%" border="1" align="center" cellpadding="20" cellspacing="0" bgcolor="#F7FCFF" style="border-collapse:collapse">
      	<tr>  
       <td>
		<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
		<tr>
		<td class="Big">
		
		<p align="center">【<%=request.cookies("Sname")%>】请您更改密码</p>
		</td>
		</tr>
		</table>
		
		<br>
		

		<table border="0" width="420" cellpadding="2" cellspacing="1" align="center" class="small">
		<form action="savepassword.asp"  method="post" name="form1" onSubmit="return CheckForm();">
		<tr>
		<td width="120" height="38" nowrap class="STYLE1"><div align="right">旧密码</div></td>
		<td width="289" class="STYLE1"><!-------------- 时 ------------>
		<label>
		<input name="old" type="text" class="text" id="old">
		</label></td>
		</tr>
		<tr>
		<td height="38" nowrap class="STYLE1"><div align="right">新密码</div></td>
		<td class="STYLE1"><!-------------- 时 ------------>
		<input name="new1" type="password" class="text" id="new1"></td>
		</tr>
		<tr>
		<td nowrap class="STYLE1"><div align="right">输第二次新密码</div></td>
		<td align="center" class="STYLE1"><div align="left">
		<input name="new2" type="password" class="text" id="new2">
		</div></td>
		</tr>
		<tr>
		<td nowrap class="STYLE1">&nbsp;</td>
		<td align="center" class="STYLE1"><label for="SMS_REMIND"></label></td>
		</tr>
		
		<tr align="center" class="TableControl">
		<td colspan="2" nowrap class="STYLE1">
		
		
		
		<input type="submit" value="保存密码" class="topanniu"   >
		&nbsp;&nbsp;</td>
		</tr></form>
		</table>
		</td>
		</tr>
		</table>
</body>
</html>