<%@page contentType="text/html;charset=GBK" %>

<jsp:useBean id="searchPwdForm" class="com.keyshop.shop.user.controller.SearchPasswordForm" scope="request"/>
<%
	User user = (User)request.getAttribute("User");
%>
<script>	
function submitForm() {
	searchPasswordForm.submit();
}
</script>
<%if (user!=null){%>
<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="10" height="10"><img src="<%=CONTEXT%>/img/QQ/i01.gif" width="10" height="10"></td>
    <td  background="<%=CONTEXT%>/img/QQ/i03.gif"></td>
    <td width="10" height="10"><img src="<%=CONTEXT%>/img/QQ/i02.gif" width="10" height="10"></td>
  </tr>
  <tr>
    <td  background="<%=CONTEXT%>/img/QQ/i04.gif">&nbsp;</td>
    <td>
    	<!--内容填写处-->
    	<html:form  method="post" action="/fg/user/searchPwd">
			<html:hidden property="channelId" value="<%=currentChannel.getId()%>"/>
			<html:hidden property="actionType" value="getpwdsetp3"/>
			<html:hidden property="bean.password"/>
			<html:hidden property="bean.userName"/>
			<html:hidden property="bean.question"/>
			<html:hidden property="bean.answer"/>
			<html:hidden property="bean.email"/>
			<html:hidden property="bean.idcard"/>
			<html:hidden property="bean.shortName"/>	
			<table width="565" border="0" align="center" cellspacing="0" cellpadding="0">
				
			  <tr>
			    <td valign="top">
			    	<table width="565" border="0" cellpadding="0" cellspacing="0" class="">
			        <tr>
			          <td align="center" class="Process09_product_navtext">找回密码</td>
			        </tr>
			      </table>
			      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="Process09_product_navimg02">
			        <tr>
			          <td align="center" valign="top">
			          	<table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolorlight="#D4D4D4" bordercolordark="white">
			              <tr> 
			                <td width="100%" valign="top" class="Process09_product_bgcolor01">
			                	<table width="100%"  border="0" align="center" cellpadding="1" cellspacing="1">
			                     <% if(("true").equals((String)request.getAttribute("answer_error"))){%>
						              <tr > 
						            		<td colspan=2>
						            			<font color="red">
												  		问题答案不正确。
												  		</font>
											  		</td>
						              </tr>
						              <%
						              }
						              %>
						            	</table>      
						              <table width="70%"  border="0" cellspacing="0" cellpadding="0">
						                <tr>
						                  <td>
						                  	<table width="100%" border="0" cellspacing="0" cellpadding="0">
							                		<tr> 
										            		<td colspan=2> 
										            			<b>
																  			确认您的身份
																  		<b>
															  		</td>
										              </tr>
							                    <tr> 
										                <td width="122" align="right">密码问题：</td>
										                <td width="181"> 
										                	<%=user.getQuestion()%>
										                </td>
										              </tr>
										              <tr> 
										                <td width="122" align="right">问题答案：</td>
										                <td width="181"> 
										                	<input name="answer" type="text" size="30" maxlength="30">
										                	<input value="获取新密码" type="button" onclick="javascript:submitForm()">
										                </td>
										              </tr>
							                  </table>
							                </td>
						                </tr>
						              </table>
						            </td>
						          </tr>
						        </table>
						      </td>
						    </tr>
						  </table>
						</td>
					</tr>
			</table>
			</html:form>
    	<!---->
    </td>
    <td background="<%=CONTEXT%>/img/QQ/i05.gif"></td>
  </tr>
  <tr>
    <td width="10" height="10"><img src="<%=CONTEXT%>/img/QQ/i06.gif" width="10" height="10"></td>
    <td background="<%=CONTEXT%>/img/QQ/i08.gif"></td>
    <td width="10" height="10"><img src="<%=CONTEXT%>/img/QQ/i07.gif" width="10" height="10"></td>
  </tr>
</table>

<%}%>