?? usereditstep1.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 setProvince() {
document.userEditForm.province.value="<bean:message key="common.lybbs.others"/>";
document.userEditForm.city.value="";
}
function checkData() {
var invalidError="<bean:message key="error.input.invalid"/>";
if(checkInputValue(document.userEditForm.password.value)) {
alert(invalidError);
document.userEditForm.password.focus();
return false;
}
else if(checkInputValue(document.userEditForm.email.value)) {
alert(invalidError);
document.userEditForm.email.focus();
return false;
}
else if(checkInputValue(document.userEditForm.homePage.value)) {
alert(invalidError);
document.userEditForm.homePage.focus();
return false;
}
else if(checkInputValue(document.userEditForm.imageUrl.value)) {
alert(invalidError);
document.userEditForm.imageUrl.focus();
return false;
}
else if(checkInputValue(document.userEditForm.qq.value)) {
alert(invalidError);
document.userEditForm.qq.focus();
return false;
}
else if(checkInputValue(document.userEditForm.icq.value)) {
alert(invalidError);
document.userEditForm.icq.focus();
return false;
}
else if(document.userEditForm.email.value.indexOf("@")==-1 || document.userEditForm.email.value.indexOf(".")==-1) {
alert("<bean:message key="error.user.register.emailinvalid"/>");
document.userEditForm.email.focus();
return false;
}
return true;
}
</script>
<script src="lybbs/common/js/comefrom2.js"></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.edit"/>
</td>
</tr>
</table>
<br>
<html:form action="bbs_userEditSubmit.do" method="post" enctype="multipart/form-data" onsubmit="return checkData()">
<input type=hidden name="sessionToken" value="<%=StringUtils.getSessionToken(request)%>">
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center>
<tr>
<td class=catStyle valign=middle colspan=2 align=center>
<bean:message key="jsp.userheader.edit.comment"/>
</td>
</tr>
<tr>
<td class=forumColorOne width=40%>
<b><bean:message key="common.lybbs.password"/>: </b><br><bean:message key="jsp.register.password.comment"/>
</td>
<td class=forumColorTwo width=60%>
<html:password property="password" maxlength="20"/> * <bean:message key="common.lybbs.mustinput"/>
</td>
</tr>
<tr>
<td class=forumColorOne>
<b><bean:message key="common.lybbs.password"/>: </b><br><bean:message key="jsp.register.password.confirm"/>
</td>
<td class=forumColorTwo>
<html:password property="password2" maxlength="20"/> * <bean:message key="common.lybbs.mustinput"/>
</td>
</tr>
</table>
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center id=adv style="display:">
<tr>
<td class=forumColorTwo valign=middle colspan=2 align=center>
<span class=highLight><b><bean:message key="msg.user.edit.prompt"/></b></span>
</td>
</tr>
<tr>
<td class=forumColorOne>
<b><bean:message key="jsp.register.emailaddress"/>: </b><br><bean:message key="jsp.register.emailaddress.comment"/>
</td>
<td class=forumColorTwo>
<html:text property="email" maxlength="40"/> * <bean:message key="common.lybbs.mustinput"/>
</td>
</tr>
<tr>
<td class=forumColorOne width=40%>
<b><bean:message key="jsp.register.viewemailaddress"/></b><br><bean:message key="jsp.register.viewemailaddress.comment"/>
</td>
<td class=forumColorTwo width=60%>
<html:radio property="showEmail" value="1"/> <bean:message key="common.lybbs.yes"/> <html:radio property="showEmail" value="0"/> <bean:message key="common.lybbs.no"/>
</td>
</tr>
<tr>
<td class=forumColorOne>
<b><bean:message key="jsp.register.lostquestion"/>: </b><br><bean:message key="jsp.register.lostquestion.comment"/>
</td>
<td class=forumColorTwo>
<html:text property="lostQuestion" maxlength="20"/>
</td>
</tr>
<tr>
<td class=forumColorOne>
<b><bean:message key="jsp.register.lostanswer"/>: </b><br><bean:message key="jsp.register.lostanswer.comment"/>
</td>
<td class=forumColorTwo>
<html:text property="lostAnswer" maxlength="20"/>
</td>
</tr>
<logic:equal name="publicStyleBean" property="editUserTitleSelf" value="1">
<tr>
<td class=forumColorOne><b><bean:message key="jsp.register.newmembertitle"/>: </b><BR><bean:message key="jsp.register.newmembertitle.comment"/></td>
<td class=forumColorTwo><html:text property="newMemberTitle" size="10" maxlength="30"/></td>
</tr>
</logic:equal>
<logic:equal name="publicStyleBean" property="editJhmpSelf" value="1">
<tr>
<td class=forumColorOne><b><bean:message key="jsp.register.newsocialpart"/>: </b><BR><bean:message key="jsp.register.newsocialpart.comment"/></td>
<td class=forumColorTwo><html:text property="newSocialPart" size="10" maxlength="40"/></td>
</tr>
</logic:equal>
<tr>
<td class=forumColorOne><b><bean:message key="jsp.register.sex"/></b></td>
<td class=forumColorTwo>
<html:select property="sex" size="1">
<html:option value="sect" key="common.lybbs.secret"/>
<html:option value="male" key="jsp.register.sex.male"/>
<html:option value="feml" key="jsp.register.sex.female"/>
</html:select>
</td>
</tr>
<tr>
<td class=forumColorOne><b><bean:message key="jsp.register.education"/></b></td>
<td class=forumColorTwo>
<html:select property="education" size="1">
<html:option value="secret" key="common.lybbs.secret"/>
<html:option value="primary" key="jsp.register.education.primaryschool"/>
<html:option value="middle" key="jsp.register.education.middleschool"/>
<html:option value="high" key="jsp.register.education.highschool"/>
<html:option value="higher" key="jsp.register.education.highereducation"/>
<html:option value="college" key="jsp.register.education.college"/>
<html:option value="master" key="jsp.register.education.master"/>
<html:option value="doctor" key="jsp.register.education.doctor"/>
<html:option value="postdoc" key="jsp.register.education.postdoctor"/>
</html:select>
</td>
</tr>
<tr>
<td class=forumColorOne><b><bean:message key="jsp.register.marry"/></b></td>
<td class=forumColorTwo>
<html:select property="marry" size="1">
<html:option value="secret" key="common.lybbs.secret"/>
<html:option value="single" key="jsp.register.marry.single"/>
<html:option value="married" key="jsp.register.marry.married"/>
<html:option value="divorce" key="jsp.register.marry.divorce"/>
<html:option value="lost" key="jsp.register.marry.lost"/>
</html:select>
</td>
</tr>
<tr>
<td class=forumColorOne><b><bean:message key="jsp.register.work"/></b></td>
<td class=forumColorTwo>
<html:select property="work" size="1">
<html:option value="secret" key="common.lybbs.secret"/>
<html:option value="computer" key="jsp.register.work.computer"/>
<html:option value="finance" key="jsp.register.work.finance"/>
<html:option value="commerce" key="jsp.register.work.commerce"/>
<html:option value="service" key="jsp.register.work.service"/>
<html:option value="education" key="jsp.register.work.education"/>
<html:option value="student" key="jsp.register.work.student"/>
<html:option value="engineer" key="jsp.register.work.engineer"/>
<html:option value="manager" key="jsp.register.work.manager"/>
<html:option value="government" key="jsp.register.work.government"/>
<html:option value="manufacture" key="jsp.register.work.manufacture"/>
<html:option value="sale" key="jsp.register.work.sale"/>
<html:option value="lost" key="jsp.register.work.lost"/>
</html:select>
</td>
</tr>
<tr>
<td class=forumColorOne><b><bean:message key="jsp.register.birthday"/>: </b><br><bean:message key="common.lybbs.blankifnone"/></td>
<td class=forumColorTwo>
<html:text property="b_year" size="4" maxlength="4"/> <bean:message key="jsp.register.year"/>
<html:select property="b_month">
<html:option value=""></html:option>
<html:option value="01">01</html:option>
<html:option value="02">02</html:option>
<html:option value="03">03</html:option>
<html:option value="04">04</html:option>
<html:option value="05">05</html:option>
<html:option value="06">06</html:option>
<html:option value="07">07</html:option>
<html:option value="08">08</html:option>
<html:option value="09">09</html:option>
<html:option value="10">10</html:option>
<html:option value="11">11</html:option>
<html:option value="12">12</html:option>
</html:select><bean:message key="jsp.register.month"/>
<html:select property="b_day">
<html:option value=""></html:option>
<html:option value="01">01</html:option>
<html:option value="02">02</html:option>
<html:option value="03">03</html:option>
<html:option value="04">04</html:option>
<html:option value="05">05</html:option>
<html:option value="06">06</html:option>
<html:option value="07">07</html:option>
<html:option value="08">08</html:option>
<html:option value="09">09</html:option>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -