findstep2.jsp
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:6k
源码类别:

Applet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <HTML>
  3. <HEAD>
  4. <TITLE>取回密码-第二步</TITLE>
  5. <jsp:useBean id="findstep" class="MyFly.Bean.findstep" scope="request"/>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  7. <link rel="stylesheet" href="../image/buyok_shop.css" type="text/css">
  8. </HEAD>
  9. <%
  10. String str=(String)session.getAttribute("username");
  11. findstep.getUserfind(str);
  12. String question=findstep.getUser_ques();
  13. String answer=findstep.getUser_answ();
  14. %>
  15. <script language="JavaScript">
  16. function checkform(){
  17. if (document.getpsw.UserAnswer.value.length ==0){
  18. alert("出错了,您没有回答问题的答案");
  19. document.getpsw.UserAnswer.focus();
  20. return false;
  21. }
  22. if (document.getpsw.UserAnswer.value!="<%=answer%>"){
  23. alert("出错了,您的回答出错了");
  24. document.getpsw.UserAnswer.focus();
  25. return false;
  26. }
  27. return true;
  28. }
  29. </script>
  30. <title>星海网上书店</title>
  31. <body>
  32. <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center 
  33. bgColor=#ffffff border=0>
  34.   <TBODY>
  35.     <TR>
  36.       <TD width=760>
  37.         <TABLE class=4l borderColor=#ebebeb cellSpacing=0 cellPadding=0 
  38.       width="100%" align=center border=0>
  39.           <TBODY>
  40.             <TR>
  41.               <TD>
  42.                 <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center 
  43.             border=0>
  44.                   <TBODY>
  45.                     <TR>
  46.                       <TD colSpan=2 height=13></TD>
  47.                     </TR>
  48.                     <TR>
  49.                       <TD width=260>
  50.                         <DIV align=center><IMG height=45 
  51.                   src="../image/logo.gif" width=200></DIV></TD>
  52.                       <TD align=right width=500>
  53.                         <TABLE cellSpacing=0 cellPadding=0 width=500 align=right 
  54.                   border=0>
  55.                           <TBODY>
  56.                             <TR>
  57.                               <TD align=right width=22><IMG height=67 
  58.                         src="../image/top_1.gif" width=7></TD>
  59.                               <TD align=right width=82><A onfocus=this.blur() 
  60.                         href="../default.jsp"><IMG 
  61.                         height=67 src="../image/home.gif" width=82 
  62.                         border=0></A></TD>
  63.                               <TD align=right width=74><A onfocus=this.blur() 
  64.                         href="../newbook.jsp?pageNum=1"><IMG 
  65.                         height=67 src="../image/newbook.gif" 
  66.                         width=74 border=0></A></TD>
  67.                               <TD align=right width=79><A onfocus=this.blur() 
  68.                         href="../tuibook.jsp?pageNum=1"><IMG 
  69.                         height=67 src="../image/jptj.gif" width=79 
  70.                         border=0></A></TD>
  71.                               <TD align=right width=75><A onfocus=this.blur() 
  72.                         href="../upload_show.jsp"><IMG 
  73.                         height=67 src="../image/tejia.gif" 
  74.                         width=75 border=0></A></TD>
  75.                               <TD align=right width=78><a onFocus=this.blur() 
  76.                         href="../messagebox/indexme.jsp"><img 
  77.                         height=67 src="../image/guest.gif" 
  78.                         width=78 border=0></a></TD>
  79.                               <TD align=right width=90><A onfocus=this.blur() 
  80.                         href="../contactus.jsp"><IMG 
  81.                         height=67 src="../image/link_wo.gif" 
  82.                         width=90 
  83.             border=0></A></TD>
  84.                             </TR>
  85.                           </TBODY>
  86.                       </TABLE></TD>
  87.                     </TR>
  88.                   </TBODY>
  89.               </TABLE></TD>
  90.             </TR>
  91.           </TBODY>
  92.       </TABLE></TD>
  93.     </TR>
  94.   </TBODY>
  95. </TABLE>
  96. <TABLE width=760 border=0 cellpadding=3 cellspacing=1 align=center  bgcolor=#FFFFFF height=300    class="grayline">
  97. <tr><td width="45" height=30 align="right"><img src="../image/jt_2.gif" width="11" height="11"></td>
  98.   <td width="698">当前位置:<a href=default.asp>首页</a> > 取回密码</td>
  99. </tr> 
  100. <tr><td height="1" colspan="2" background="images/small/bgline.gif"></td></tr>
  101. <tr>
  102. <td colspan="2">
  103. <form  name="getpsw" action="findstep3.jsp" onsubmit="return checkform();" method="post">
  104. <table border=0 width=547 align=center cellpadding=0 cellspacing=0  background=images/small/regbg2.gif>
  105. <tr><td width=100% height=60 valign=middle bgcolor=#FFFFFF class="new">
  106. · 不要尝试获取他人的密码,本系统有严格的检测和监视机制&nbsp;<br>
  107. · 请如实填写以下资料,以便系统为您重设密码 
  108. </td></tr>
  109. <tr><td width=547 height=12><img src=../image/regbg1.gif border=0></td></tr>
  110. <tr><td width=547 height=150 align=center  background=../image/regbg2.gif>
  111. <table border="0" width="84%" height="126">
  112.   <tr>
  113.     <td  height="31" colspan=2><b><font color="#f47d0c">第二步:请回答问题</font></b></td>
  114.   </tr>
  115.   <tr>
  116.     <td width=80 height="31">&nbsp; 1. 问题:</td>
  117.     <td  height="31"><%=question%></td>
  118.   </tr>
  119.   <tr>
  120.     <td  height="32">&nbsp; 2. 答案:</td>
  121.     <td  height="32"><input type="text" name="UserAnswer" size="20" maxlength=50></td></tr>
  122.   <tr>
  123.     <td  height="32" colspan=2>&nbsp; 3. 点击“下一步”继续</td>
  124.   </tr>
  125. </table>
  126. <tr><td width=547 height=12 bgcolor="#FFFFFF"><img src=../image/regbg3.gif border=0></td></tr>
  127. </table>
  128. <table border=0 width=547 align=center cellpadding=0 cellspacing=0>
  129. <tr><td height="100" align="center">
  130. <input type=hidden name=userid value="qazw">
  131. <input type="image" src="../image/next.gif" alt="下一步">&nbsp;&nbsp;&nbsp;&nbsp; 
  132. <a href=../default.jsp><img border=0 src="../image/exit.gif" alt="离开"></a>
  133. </td></tr></table>
  134. </form>
  135. </td>
  136. </tr>
  137. </table>
  138. <%@ include file="foot.jsp" %>