📄 loginstep1.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.loginForm.userName.value=="") {
alert("<bean:message key="error.user.login.usernameblank"/>");
document.loginForm.userName.focus();
return false;
}
else if(document.loginForm.password.value=="") {
alert("<bean:message key="error.user.login.passwordblank"/>");
document.loginForm.password.focus();
return false;
}
return true;
}
function n_display(t_id) {
var t_id;t_id.style.display="";
}
function h_display(t_id) {
var t_id;t_id.style.display="none";
}
</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="common.lybbs.login"/>
</td>
</tr>
</table>
<br>
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center>
<html:form action="bbs_loginSubmit.do" onsubmit="return check()">
<tr>
<td class=catStyle valign=middle colspan=2 align=center>
<b><bean:message key="jsp.login.title"/></b>
</td>
</tr>
<tr>
<td class=forumColorOne valign=middle><bean:message key="jsp.login.inputname"/></td>
<td class=forumColorTwo valign=middle>
<html:text property="userName" value="" tabindex="1"/>
<a href="bbs_register.do"><bean:message key="jsp.login.haveyouregistered"/></a>
</td>
</tr>
<tr>
<td class=forumColorOne valign=middle><bean:message key="jsp.login.inputpassword"/></td>
<td class=forumColorTwo valign=middle>
<html:password property="password" tabindex="2"/>
<a href="bbs_lostPass.do"><bean:message key="jsp.login.lostpass"/></a>
</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>
<html:text property="validateCode" tabindex="3"/>
<lybbs:web key="validateCode"/>
</td>
</tr>
</logic:equal>
<tr>
<td class=forumColorTwo colspan=2 valign=middle><b><bean:message key="jsp.login.loginoption"/></b></td>
</tr>
<tr>
<td class=forumColorOne valign=top width=30%><b><bean:message key="jsp.login.hidden"/></b> <br><bean:message key="jsp.login.hidden.comment"/></td>
<td class=forumColorTwo valign=middle>
<input type=radio name="hidden" value="0" checked tabindex="4"/><bean:message key="jsp.login.hidden.normal"/><br>
<input type=radio name="hidden" value="1"/><bean:message key="jsp.login.hidden.hidden"/><br>
</td>
</tr>
<tr>
<td class=forumColorOne valign=top width=30%>
<b><bean:message key="jsp.login.cookie"/></b><BR> <bean:message key="jsp.login.cookie.comment"/>
</td>
<td class=forumColorTwo valign=middle>
<input type="radio" name="cookieDate" value="0" checked><bean:message key="common.lybbs.savedate.dontsave"/><br>
<input type="radio" name="cookieDate" value="1"><bean:message key="common.lybbs.savedate.oneday"/><br>
<input type="radio" name="cookieDate" value="2"><bean:message key="common.lybbs.savedate.onemonth"/><br>
<input type="radio" name="cookieDate" value="3"><bean:message key="common.lybbs.savedate.forever"/>
</td>
</tr>
<tr>
<td class=forumColorOne valign=top width=30%>
<b><bean:message key="jsp.login.msg"/></b><br><bean:message key="jsp.login.msg.comment"/>
</td>
<td class=forumColorTwo valign=middle>
<input type="radio" name="myInfo" value="0" checked onclick=h_display(mess),mess.value=""> <bean:message key="jsp.login.msg.accept"/><br>
<input type="radio" name="myInfo" value="1" onclick=n_display(mess),mess.value="<bean:message key='jsp.login.msg.deny.comment'/>"> <bean:message key="jsp.login.msg.deny"/> <input type="text" name="mess" size=40 maxlength=40 id=mess style="DISPLAY: none">
</td>
</tr>
<tr>
<td class=forumColorOne valign=top width=30%>
<b><bean:message key="common.lybbs.onlinelist"/></b> <br><bean:message key="common.lybbs.onlinelist.comment"/>
</td>
<td class=forumColorTwo valign=middle>
<input type="radio" name="onlineView" value="1"> <bean:message key="tag.typeonline.opendetailedlist"/><br>
<input type="radio" name="onlineView" value="0" checked> <bean:message key="tag.typeonline.closedetailedlist"/><br>
</td>
</tr>
<tr>
<td class=forumColorOne valign=top width=30%>
<b><bean:message key="jsp.login.defaultpost"/></b> <br><bean:message key="jsp.login.defaultpost.comment"/>
</td>
<td class=forumColorTwo valign=middle>
<input type="radio" name="advPost" value="1" checked> <bean:message key="jsp.login.defaultpost.advanced"/><br>
<input type="radio" name="advPost" value="0"> <bean:message key="jsp.login.defaultpost.simple"/><br>
</td>
</tr>
<td class=forumColorOne valign=top width=30%>
<b><bean:message key="jsp.login.msgpopup"/></b> <BR><bean:message key="jsp.login.msgpopup.comment"/>
</td>
<td class=forumColorTwo valign=middle>
<input type="radio" name="msgPopUp" value="1" checked> <bean:message key="jsp.login.msgpopup.popup"/><br>
<input type="radio" name="msgPopUp" value="0"> <bean:message key="jsp.login.msgpopup.dontpopup"/><br>
</td>
</tr>
<tr>
<td class=forumColorOne valign=top width=30%>
<b><bean:message key="jsp.login.refresh"/></b> <BR><bean:message key="jsp.login.refresh.comment"/>
</td>
<td class=forumColorTwo valign=middle>
<html:text property="freshTime" value="" maxlength="2" size="2"/> <bean:message key="jsp.login.refresh.minutes"/>
</td>
</tr>
<tr>
<td class=forumColorTwo valign=middle colspan=2 align=center>
<html:submit><bean:message key="common.lybbs.login"/></html:submit>
</td>
</tr>
</html:form>
</table>
<lybbs:web key="foot"/>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -