adminChangePassword.jsp
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:3k
源码类别:

企业管理

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <%@ page import="com.domain.UserForm"%>
  3. <%@ page import="com.tool.Chinese"%>
  4. <%UserForm form=(UserForm)session.getAttribute("form");%>
  5. <%session.setAttribute("form",form);%>
  6. <%session.setMaxInactiveInterval(3600);%>
  7. <html>
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  10. <title>添写原来的密码</title>
  11. <style type="text/css">
  12. <!--
  13. body {
  14. background-color: #000000;
  15. margin-left: 0px;
  16. margin-top: 0px;
  17. }
  18. td{
  19. font-size:9pt;
  20. }
  21. .style1 {font-size: 11pt}
  22. -->
  23. </style>
  24. </head>
  25. <script language="JavaScript">
  26. function RgTest(){
  27. if(document.form.password.value==""){
  28. window.alert("请输入原来的密码");
  29. return false;
  30. }
  31. if(document.form.password.value!=document.form.mm.value){
  32. window.alert("密码不正确,请重新输入");
  33. return false;
  34. }
  35. return true;
  36. }
  37. </script>
  38. <body> 
  39. <table width="579"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
  40.   <tr> 
  41.     <td>&nbsp;</td> 
  42.   </tr> 
  43. </table> 
  44. <table width="579" border="0" cellpadding="0" cellspacing="0"> 
  45.   <tr> 
  46.     <td align="left" valign="top" bgcolor="#FFFFFF"> <table width="579" height="487"  border="0" cellpadding="0" cellspacing="0"> 
  47.         <tr> 
  48.           <td align="left" valign="top" bgcolor="#FFFFFF"><table width="579" border="0" cellpadding="0" cellspacing="0"> 
  49.               <tr> 
  50.                 <td width="2%" height="28">&nbsp;</td> 
  51.                 <td width="9%" background="images/circle.jpg">&nbsp;</td> 
  52.                 <td width="89%" bgcolor="#FFFFFF"><span class="style1">输入原来的密码</span></td> 
  53.               </tr> 
  54.               <tr style="line-height:2px"> 
  55.                 <td width="2%" height="5">&nbsp;</td> 
  56.                 <td height="5" colspan="2" bgcolor="#D4D0C8">&nbsp;</td> 
  57.               </tr> 
  58.               <tr align="center" valign="top" bgcolor="#FFFFFF"> 
  59.                 <td height="454" colspan="3">
  60. <p>&nbsp;</p>
  61. <form name="form" method="post" action="jsp/information/manager/updatePassword.jsp?id=<%=form.getUser_id()%>" onSubmit="return RgTest()">
  62.                       <table width="57%"  border="1" cellspacing="0" cellpadding="0">
  63.                         <tr>
  64.                           <td width="31%" height="41"><div align="center">原来的密码</div></td>
  65.                           <td width="69%"><div  align="center"><input type="text" name="password"></div></td>
  66.                         </tr>
  67.                       </table>
  68.   <input type="hidden" name="mm" value="<%=request.getAttribute("mm")%>">
  69.   <p>
  70.   <input type="submit" name="Submit2" value="提交">
  71. &nbsp;&nbsp;&nbsp;&nbsp;
  72.         <input type="reset" name="Submit" value="重置">
  73.                       </p>
  74. </form>
  75.                 </table></td> 
  76.         </tr> 
  77.       </table></td> 
  78.   </tr> 
  79. </table> 
  80. </body>
  81. </html>