📄 findstep2.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<HTML>
<HEAD>
<TITLE>取回密码-第二步</TITLE>
<jsp:useBean id="findstep" class="MyFly.Bean.findstep" scope="request"/>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../image/buyok_shop.css" type="text/css">
</HEAD>
<%
String str=(String)session.getAttribute("username");
findstep.getUserfind(str);
String question=findstep.getUser_ques();
String answer=findstep.getUser_answ();
%>
<script language="JavaScript">
function checkform(){
if (document.getpsw.UserAnswer.value.length ==0){
alert("出错了,您没有回答问题的答案");
document.getpsw.UserAnswer.focus();
return false;
}
if (document.getpsw.UserAnswer.value!="<%=answer%>"){
alert("出错了,您的回答出错了");
document.getpsw.UserAnswer.focus();
return false;
}
return true;
}
</script>
<title>星海网上书店</title>
<body>
<TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center
bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD width=760>
<TABLE class=4l borderColor=#ebebeb cellSpacing=0 cellPadding=0
width="100%" align=center border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center
border=0>
<TBODY>
<TR>
<TD colSpan=2 height=13></TD>
</TR>
<TR>
<TD width=260>
<DIV align=center><IMG height=45
src="../image/logo.gif" width=200></DIV></TD>
<TD align=right width=500>
<TABLE cellSpacing=0 cellPadding=0 width=500 align=right
border=0>
<TBODY>
<TR>
<TD align=right width=22><IMG height=67
src="../image/top_1.gif" width=7></TD>
<TD align=right width=82><A onfocus=this.blur()
href="../default.jsp"><IMG
height=67 src="../image/home.gif" width=82
border=0></A></TD>
<TD align=right width=74><A onfocus=this.blur()
href="../newbook.jsp?pageNum=1"><IMG
height=67 src="../image/newbook.gif"
width=74 border=0></A></TD>
<TD align=right width=79><A onfocus=this.blur()
href="../tuibook.jsp?pageNum=1"><IMG
height=67 src="../image/jptj.gif" width=79
border=0></A></TD>
<TD align=right width=75><A onfocus=this.blur()
href="../upload_show.jsp"><IMG
height=67 src="../image/tejia.gif"
width=75 border=0></A></TD>
<TD align=right width=78><a onFocus=this.blur()
href="../messagebox/indexme.jsp"><img
height=67 src="../image/guest.gif"
width=78 border=0></a></TD>
<TD align=right width=90><A onfocus=this.blur()
href="../contactus.jsp"><IMG
height=67 src="../image/link_wo.gif"
width=90
border=0></A></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
<TABLE width=760 border=0 cellpadding=3 cellspacing=1 align=center bgcolor=#FFFFFF height=300 class="grayline">
<tr><td width="45" height=30 align="right"><img src="../image/jt_2.gif" width="11" height="11"></td>
<td width="698">当前位置:<a href=default.asp>首页</a> > 取回密码</td>
</tr>
<tr><td height="1" colspan="2" background="images/small/bgline.gif"></td></tr>
<tr>
<td colspan="2">
<form name="getpsw" action="findstep3.jsp" onsubmit="return checkform();" method="post">
<table border=0 width=547 align=center cellpadding=0 cellspacing=0 background=images/small/regbg2.gif>
<tr><td width=100% height=60 valign=middle bgcolor=#FFFFFF class="new">
· 不要尝试获取他人的密码,本系统有严格的检测和监视机制 <br>
· 请如实填写以下资料,以便系统为您重设密码
</td></tr>
<tr><td width=547 height=12><img src=../image/regbg1.gif border=0></td></tr>
<tr><td width=547 height=150 align=center background=../image/regbg2.gif>
<table border="0" width="84%" height="126">
<tr>
<td height="31" colspan=2><b><font color="#f47d0c">第二步:请回答问题</font></b></td>
</tr>
<tr>
<td width=80 height="31"> 1. 问题:</td>
<td height="31"><%=question%></td>
</tr>
<tr>
<td height="32"> 2. 答案:</td>
<td height="32"><input type="text" name="UserAnswer" size="20" maxlength=50></td></tr>
<tr>
<td height="32" colspan=2> 3. 点击“下一步”继续</td>
</tr>
</table>
<tr><td width=547 height=12 bgcolor="#FFFFFF"><img src=../image/regbg3.gif border=0></td></tr>
</table>
<table border=0 width=547 align=center cellpadding=0 cellspacing=0>
<tr><td height="100" align="center">
<input type=hidden name=userid value="qazw">
<input type="image" src="../image/next.gif" alt="下一步">
<a href=../default.jsp><img border=0 src="../image/exit.gif" alt="离开"></a>
</td></tr></table>
</form>
</td>
</tr>
</table>
<%@ include file="foot.jsp" %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -