change_pwd.asp
上传用户:shxinnian
上传日期:2013-01-14
资源大小:155k
文件大小:5k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

Windows_Unix

  1. <%
  2. If request.cookies("member")="" Then
  3. 'Response.redirect"../"
  4. End If
  5. %>
  6. <html>
  7. <head>
  8. <meta http-equiv="Content-Language" content="zh-cn">
  9. <title> 会员控制面板</title>
  10. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  11. <meta name="Description" content="全国计算机等级考试,鄂州大学考点,网上报名系统">
  12. <meta name="Keywords" content="全国计算机等级考试,鄂州大学考点,网上报名系统">
  13. <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
  14. <meta name="ProgId" content="FrontPage.Editor.Document">
  15. <style type="text/css">
  16. <!---a:link      { color: #000080; font-family: Arial; text-decoration: underline }
  17. a:visited    { color: #680090; font-family: Arial; text-decoration: underline }
  18. a:active     { color: red; font-family: Arial; text-decoration: none }
  19. a:hover      { color: red; text-decoration: none }
  20. body         { color: #000000; font-size: 9pt; line-height: 12pt; font-family: Arial }
  21. th           { font-size: 9pt; line-height: 14pt }
  22. td           { font-size: 9pt; line-height: 14pt }
  23. a.1:link     { font-family: Arial; text-decoration: none; color: black }
  24. a.1:visited  { font-family: Arial; text-decoration: none; color: black }
  25. a.1:active   { font-family: Arial; text-decoration: none; color: white }
  26. a.1:hover    { font-family: Arial; text-decoration: none; color: white }
  27. .line        { line-height: 10pt }
  28. .il          { line-height: 12pt }
  29. .form        { font-size: 9pt }
  30. ---></style>
  31. <script language="javascript">
  32. <!--
  33. if (parent.frames.length > 0) {
  34. parent.location.href = location.href;
  35. }
  36. function help(){
  37. window.open("help.htm","","width=440,height=480,top=30,left=180,resizable=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
  38. }
  39. function login_onsubmit() {
  40. if (document.form1.pwd.value=="")
  41. {
  42.   alert("请您设定一个新的密码!")
  43.   document.form1.pwd.focus()
  44.   return false
  45.  }
  46. else if(document.form1.cpwd.value=="")
  47. {
  48.   alert("请确认密码!")
  49.   document.form1.cpwd.focus()
  50.   return false
  51.  }
  52. }
  53. // --></script>
  54. </head>
  55. <body topmargin="11" leftmargin="0" bgcolor="#303430">
  56. <form method="POST" name="form1" language="javascript" onsubmit="return login_onsubmit()" action="change_pwd_save.asp">
  57. <div align="center">
  58. <table border="0" cellpadding="0" cellspacing="0" width="750" bgcolor="#FFA800" height="420">
  59. <tr>
  60.         <td height="55" width="150"> 
  61.           <p align="center"><img src="images/home.gif" width="27" height="25" usemap="#Map" border="0"><map name="Map"><area shape="rect" coords="2,1,47,33" href="logout.asp"></map>
  62.         </td>
  63. <center>
  64. <td height="420" width="600" bgcolor="#F6F6F6" rowspan="4" valign="top"></center>
  65. <div align="center">
  66. <center>
  67. <table border="0" cellspacing="1" width="90%" height="390">
  68. <tr>
  69. <td width="100%" height="70" colspan="2"></td>
  70. </tr>
  71. <tr>
  72. <td width="100%" height="14" colspan="2">更改登陆密码:</td>
  73. </tr>
  74. </center>
  75. <tr>
  76. <td width="41%" height="14">
  77. <p align="right">设定新密码:</td>
  78. <center>
  79. <td width="59%" height="14"><input type="password" name="pwd" size="20" class="form"></td>
  80. </tr>
  81. </center>
  82. <tr>
  83. <td width="41%" height="17">
  84. <p align="right">确认新密码:</td>
  85. <center>
  86. <td width="59%" height="17"><input type="password" name="cpwd" size="20" class="form" maxlength="15"></td>
  87. </tr>
  88. <tr>
  89. <td width="100%" height="26" colspan="2">
  90. <p align="center"><input type="submit" value=" 更改密码 " name="submit" class="form" maxlength="15"></td>
  91. </tr>
  92. <tr>
  93. <td width="100%" height="214" colspan="2"></td>
  94. </tr>
  95. </table>
  96. </center>
  97. </div>
  98. </td>
  99. </tr>
  100. <center></center><center></center><center></center><center>
  101. <tr>
  102. <td height="18" width="150" bgcolor="#FFCD71">
  103. <p align="center">当前用户:<%=request.cookies("rname")%></td>
  104. </tr>
  105. <tr>
  106. <td height="17" width="150"> </td>
  107. </tr>
  108. </center>
  109. <tr>
  110. <td height="330" width="150" valign="top">
  111. <div align="center">
  112. <table border="0" cellpadding="3" width="100%" height="157">
  113. <tr>
  114.                 <td width="100%" height="77" valign="top"> 
  115.                   <p align="center"><a href="user_ctrl_panel.asp">返回</a><br>
  116.                     <a href="change_pwd.asp" class="1">更改登陆密码</a><br>
  117.                     <a href="change_info.asp" class="1">修改会员资料</a><br>
  118.                     <a href="javascript:help()" class="1">使用帮助信息</a><br>
  119.                     <br>
  120.                     <a href="logout.asp" class="1">退出登陆</a>                </td>
  121. </tr>
  122. </table>
  123. </div>
  124. </td>
  125. </tr>
  126. </table>
  127. </div>
  128. <div align="center">
  129. <table border="0" cellpadding="0" cellspacing="0" width="750">
  130. <tr>
  131. <td></td>
  132. </tr>
  133. <center>
  134. <tr>
  135. <td></td>
  136. </tr>
  137. </table>
  138. </center>
  139. </div>
  140. </form>
  141. </body>
  142. </html>