📄 lostpass.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="common/include/taglibs.jsp" %>
<html:html>
<head>
<title><lybbs:web key="forumName"/></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="bookmark" href="favicon.ico" type="image/x-icon">
<%@ include file="common/include/header.jsp" %>
<script language="JavaScript">
function check() {
if (document.lostPass.userName.value=="") {
alert("<bean:message key="error.user.login.usernameblank"/>");
document.lostPass.userName.focus();
return false;
}
return true;
}
function check2() {
if (document.lostPass.lostAnswer.value=="") {
alert("Lost Answer can not be blank.");
document.lostPass.lostAnswer.focus();
return false;
}
return true;
}
</script>
</head>
<body topmargin=0 leftmargin=0>
<TABLE class=tableCommonStyle cellSpacing=1 cellPadding=3 border=0 align=center>
<TR>
<TD height=4 class=bgStyle></TD>
</TR>
<TR>
<TD class=noBgStyle>
<lybbs:typeAdTag/>
</TD>
</TR>
<TR>
<TD height=4 class=bgStyle></TD>
</TR>
<tr>
<td class=menuStyle height=22>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td align=left>
<lybbs:typeUserHeaderTag forumID="0"/>
</td>
<td align=right>
<lybbs:web key="returnHomeLink"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center>
<tr>
<td class=navStyle vAlign=center height=25>
<img src="lybbs/images/forum_nav.gif" width="9" height="9" align="absMiddle"> <a href="bbs_index.do"><lybbs:web key="forumName"/></a> <bean:message key="common.lybbs.arrow"/> <bean:message key="jsp.lostpass.title"/>
</td>
</tr>
</table>
<br>
<logic:equal name="action" value="step1">
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center>
<form method=post name="lostPass" action="bbs_lostPass.do" onsubmit="return check()">
<input type=hidden name="action" value="<bean:write name="action"/>">
<tr>
<td class=catStyle valign=middle colspan=2 align=center>
<b><bean:message key="jsp.lostpass.title"/></b>
</td>
</tr>
<tr>
<td class=forumColorOne valign=middle width=30%><bean:message key="jsp.login.inputname"/></td>
<td class=forumColorTwo valign=middle>
<input type=text name="userName" value="">
</td>
</tr>
<logic:equal name="validateCodeEnabled" value="true">
<tr>
<td class=forumColorOne valign=middle><bean:message key="jsp.login.inputvalidatecode"/></td>
<td class=forumColorTwo valign=middle>
<input type=text name="validateCode" value="">
<lybbs:web key="validateCode"/>
</td>
</tr>
</logic:equal>
<tr>
<td class=forumColorTwo colspan=2>
<bean:message key="jsp.lostpass.comment"/><br>
<bean:message key="jsp.lostpass.comment2"/>
</td>
</tr>
<tr>
<td class=forumColorTwo valign=middle colspan=2 align=center>
<html:submit><bean:message key="common.lybbs.submit"/></html:submit>
</td>
</tr>
</form>
</table>
</logic:equal>
<logic:equal name="action" value="step2">
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center>
<form method=post name="lostPass" action="bbs_lostPass.do" onsubmit="return check2()">
<input type=hidden name="action" value="<bean:write name="action"/>">
<input type=hidden name="userID" value="<bean:write name="userID"/>">
<tr>
<td class=catStyle valign=middle colspan=2 align=center>
<b><bean:message key="jsp.lostpass.title"/></b>
</td>
</tr>
<tr>
<td class=forumColorOne valign=middle width=30%>
<b><bean:message key="jsp.register.lostquestion"/>: </b>
</td>
<td class=forumColorTwo valign=middle>
<b><bean:write name="lostQuestion"/></b>
</td>
</tr>
<tr>
<td class=forumColorOne valign=middle>
<b><bean:message key="jsp.register.lostanswer"/>: </b>
</td>
<td class=forumColorTwo valign=middle>
<input type=text name="lostAnswer" value="">
</td>
</tr>
<logic:equal name="validateCodeEnabled" value="true">
<tr>
<td class=forumColorOne valign=middle><b><bean:message key="jsp.login.inputvalidatecode"/>:</b></td>
<td class=forumColorTwo valign=middle>
<input type=text name="validateCode" value="">
<lybbs:web key="validateCode"/>
</td>
</tr>
</logic:equal>
<tr>
<td class=forumColorOne valign=middle>
<b><bean:message key="jsp.register.emailaddress"/>: </b><br>The address that the password will be sent to.
</td>
<td class=forumColorTwo valign=middle>
<b><bean:write name="email"/></b>
</td>
</tr>
<tr>
<td class=forumColorTwo colspan=2>
<bean:message key="jsp.lostpass.comment"/><br>
<bean:message key="jsp.lostpass.comment2"/>
</td>
</tr>
<tr>
<td class=forumColorTwo valign=middle colspan=2 align=center>
<html:submit><bean:message key="common.lybbs.submit"/></html:submit>
</td>
</tr>
</form>
</table>
</logic:equal>
<logic:equal name="action" value="success">
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center>
<tr>
<td class=catStyle valign=middle align=center>
<b><bean:message key="jsp.lostpass.title"/></b>
</td>
</tr>
<tr>
<td class=forumColorTwo valign=middle>
<bean:message key="jsp.lostpass.success"/> <bean:write name="email"/>
</td>
</tr>
</table>
</logic:equal>
<lybbs:web key="foot"/>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -