📄 usereditstep1.jsp
字号:
<html:option value="10">10</html:option>
<html:option value="11">11</html:option>
<html:option value="12">12</html:option>
<html:option value="13">13</html:option>
<html:option value="14">14</html:option>
<html:option value="15">15</html:option>
<html:option value="16">16</html:option>
<html:option value="17">17</html:option>
<html:option value="18">18</html:option>
<html:option value="19">19</html:option>
<html:option value="20">20</html:option>
<html:option value="21">21</html:option>
<html:option value="22">22</html:option>
<html:option value="23">23</html:option>
<html:option value="24">24</html:option>
<html:option value="25">25</html:option>
<html:option value="26">26</html:option>
<html:option value="27">27</html:option>
<html:option value="28">28</html:option>
<html:option value="29">29</html:option>
<html:option value="30">30</html:option>
<html:option value="31">31</html:option>
</html:select><bean:message key="jsp.register.day"/>
</td>
</tr>
<tr>
<SCRIPT language=javascript>
function showsx() {
if(document.userEditForm.usersx.selectedIndex==0) {
document.images.usersxs.src="lybbs/sx/blank.gif";
}
else {
document.images.usersxs.src="lybbs/sx/"+document.userEditForm.usersx.options[document.userEditForm.usersx.selectedIndex].value+".gif";
}
}
</SCRIPT>
<td class=forumColorOne vAlign=top>
<b><bean:message key="jsp.register.usersx"/></b>
</td>
<td class=forumColorTwo>
<html:select property="usersx" onchange="showsx()" size="1">
<html:option value="secret" key="common.lybbs.secret"/>
<html:option value="sx1" key="jsp.register.usersx.sx1"/>
<html:option value="sx2" key="jsp.register.usersx.sx2"/>
<html:option value="sx3" key="jsp.register.usersx.sx3"/>
<html:option value="sx4" key="jsp.register.usersx.sx4"/>
<html:option value="sx5" key="jsp.register.usersx.sx5"/>
<html:option value="sx6" key="jsp.register.usersx.sx6"/>
<html:option value="sx7" key="jsp.register.usersx.sx7"/>
<html:option value="sx8" key="jsp.register.usersx.sx8"/>
<html:option value="sx9" key="jsp.register.usersx.sx9"/>
<html:option value="sx10" key="jsp.register.usersx.sx10"/>
<html:option value="sx11" key="jsp.register.usersx.sx11"/>
<html:option value="sx12" key="jsp.register.usersx.sx12"/>
</html:select>
<IMG border=0 name=usersxs src="lybbs/sx/blank.gif" align="absmiddle">
</TD>
</tr>
<tr>
<SCRIPT language=javascript>
function showxz() {
if(document.userEditForm.astro.selectedIndex==0) {
document.images.userxzs.src="lybbs/star/blank.gif";
}
else {
document.images.userxzs.src="lybbs/star/"+document.userEditForm.astro.options[document.userEditForm.astro.selectedIndex].value+".gif";
}
}
</SCRIPT>
<td class=forumColorOne vAlign=top>
<b><bean:message key="jsp.register.userastro"/></b>
</td>
<td class=forumColorTwo>
<html:select property="astro" onchange="showxz()" size="1">
<html:option value="secret" key="common.lybbs.secret"/>
<html:option value="z1" key="jsp.register.userastro.z1"/>
<html:option value="z2" key="jsp.register.userastro.z2"/>
<html:option value="z3" key="jsp.register.userastro.z3"/>
<html:option value="z4" key="jsp.register.userastro.z4"/>
<html:option value="z5" key="jsp.register.userastro.z5"/>
<html:option value="z6" key="jsp.register.userastro.z6"/>
<html:option value="z7" key="jsp.register.userastro.z7"/>
<html:option value="z8" key="jsp.register.userastro.z8"/>
<html:option value="z9" key="jsp.register.userastro.z9"/>
<html:option value="z10" key="jsp.register.userastro.z10"/>
<html:option value="z11" key="jsp.register.userastro.z11"/>
<html:option value="z12" key="jsp.register.userastro.z12"/>
</html:select>
<IMG border=0 name=userxzs src="lybbs/star/blank.gif" width=15 height=15 align="absmiddle">
</TD>
</TR>
<tr>
<td class=forumColorOne>
<b><bean:message key="jsp.register.homepage"/></b>
</td>
<td class=forumColorTwo><html:text property="homePage" size="40"/></td>
</tr>
<tr>
<td class=forumColorOne>
<b><bean:message key="jsp.register.qq"/></b>
</td>
<td class=forumColorTwo><html:text property="qq" maxlength="16"/></td>
</tr>
<tr>
<td class=forumColorOne>
<b><bean:message key="jsp.register.icq"/></b>
</td>
<td class=forumColorTwo><html:text property="icq" maxlength="16"/></td>
</tr>
<tr>
<td class=forumColorOne>
<b><bean:message key="jsp.register.from"/></b>
</td>
<td class=forumColorTwo>
<bean:message key="jsp.register.country"/> <html:text property="country" maxlength="6" size="6"/>
<bean:message key="jsp.register.province"/> <html:select property="province" onchange="select()"></html:select>
<bean:message key="jsp.register.city"/> <html:select property="city"></html:select>
</td>
</tr>
<script language=JavaScript>
var currentProvince="<bean:write name="userEditForm" property="province"/>";
var currentCity="<bean:write name="userEditForm" property="city"/>";
init();
</script>
<html:hidden property="timeDifference" value="0"/>
<tr>
<td class=forumColorOne>
<b><bean:message key="jsp.register.introduce"/>: </b><BR><bean:message key="jsp.register.introduce.comment1"/><bean:write name="publicStyleBean" property="maxInsLine"/><bean:message key="jsp.register.introduce.comment2"/><bean:write name="publicStyleBean" property="maxInsLength"/><bean:message key="jsp.register.introduce.comment3"/>
</td>
<td class=forumColorTwo><html:textarea property="introdution" cols="60" rows="5"></html:textarea></td>
</tr>
<tr>
<td class=forumColorOne>
<b><bean:message key="jsp.register.signature"/>: </b><br><bean:message key="jsp.register.introduce.comment1"/><bean:write name="publicStyleBean" property="maxSignLine"/><bean:message key="jsp.register.introduce.comment2"/><bean:write name="publicStyleBean" property="maxSignLength"/><bean:message key="jsp.register.signature.comment3"/>
</td>
<td class=forumColorTwo><html:textarea property="signature" cols="60" rows="5"></html:textarea></td>
</tr>
<logic:equal name="statusBean" property="avatarEnabled" value="true">
<tr>
<td class=forumColorOne valign=top>
<b><bean:message key="jsp.register.personalimage"/>: <bean:message key="jsp.register.personalimage.comment"/>
</td>
<td class=forumColorTwo valign=top>
<div id="myavatar" style="display:none"></div>
<table width=100% border=0>
<tr>
<td width=5% valign=top>
<input type="radio" name="headChoice" onClick="headChoice2()" value="forum">
</td>
<td>
<bean:message key="jsp.register.personalimage.preset"/>:
<html:select property="imageName" size="1" onchange="showimage()">
<html:option value="noavatar.gif" key="jsp.register.personalimage.noimage"/>
<%@ include file="common/include/boardavatars.jsp"%>
</html:select>
<img src="lybbs/avatars/noavatar.gif" name="userAvatars" align="top"/><br><br><br><br>
</td>
</tr>
<tr>
<td valign=top>
<input type="radio" name="headChoice" onClick="headChoice2()" value="customize">
</td>
<td>
<logic:equal name="publicStyleBean" property="arrowAvaUpload" value="1">
<bean:message key="jsp.register.personalimage.upload"/>: <html:file size="20" property="addMe"/><br>
</logic:equal>
<br><bean:message key="jsp.register.personalimage.position"/>: <html:text property="imageUrl" size="30"/> <bean:message key="jsp.register.personalimage.position.comment"/><br>
<br><bean:message key="jsp.register.personalimage.width"/>: <html:text property="imageWidth" size="2" maxlength="3"/> 20 -- <bean:write name="publicStyleBean" property="maxPostIconWidth"/><br>
<br><bean:message key="jsp.register.personalimage.height"/>: <html:text property="imageHeight" size="2" maxlength="3"/> 20 -- <bean:write name="publicStyleBean" property="maxPostIconHeight"/><br></td>
</td>
</tr>
</table>
</td>
</tr>
<script language="javascript">
function headChoice2() {
myavatar.innerHTML="";
if (document.userEditForm.headChoice[0].checked==true) {
document.userEditForm.imageName.disabled=false;
if(document.userEditForm.addMe==null) {
document.userEditForm.imageWidth.disabled=true;
document.userEditForm.imageHeight.disabled=true;
document.userEditForm.imageUrl.disabled=true;
}
else {
document.userEditForm.addMe.disabled=true;
document.userEditForm.imageWidth.disabled=true;
document.userEditForm.imageHeight.disabled=true;
document.userEditForm.imageUrl.disabled=true;
}
myavatar.innerHTML="<input type=file name=addMe value=''><input type=hidden name=imageWidth value='100'><input type=hidden name=imageHeight value='100'><input type=hidden name=imageUrl value=''>";
}
else if (document.userEditForm.headChoice[1].checked==true) {
if(document.userEditForm.addMe==null) {
myavatar.innerHTML="<input type=file name=addMe value=''><input type=hidden name=imageWidth value='100'><input type=hidden name=imageHeight value='100'><input type=hidden name=imageUrl value=''>";
}
else {
document.userEditForm.imageName.disabled=true;
document.userEditForm.addMe.disabled=false;
document.userEditForm.imageWidth.disabled=false;
document.userEditForm.imageHeight.disabled=false;
document.userEditForm.imageUrl.disabled=false;
myavatar.innerHTML="<input type=hidden name=imageName value='noavatar.gif'>";
}
}
}
function showimage() {
document.images.userAvatars.src="lybbs/avatars/"+document.userEditForm.imageName.options[document.userEditForm.imageName.selectedIndex].value;
}
function initAvatars() {
var currentAvatars="<bean:write name="userEditForm" property="imageName"/>";
document.userEditForm.imageName.options[document.userEditForm.imageName.selectedIndex].text = currentAvatars;
document.userEditForm.imageName.options[document.userEditForm.imageName.selectedIndex].value = currentAvatars;
document.images.userAvatars.src="lybbs/avatars/"+currentAvatars;
}
initAvatars();
if(document.userEditForm.imageUrl!=null && document.userEditForm.imageUrl.value!='') {
document.userEditForm.headChoice[1].checked=true;
}
else {
document.userEditForm.headChoice[0].checked=true;
}
headChoice2();
</script>
</logic:equal>
</table>
<table><tr><td height=4></td></tr></table><BR>
<table class=tableNoBgStyle cellpadding=0 cellspacing=0 border=0 align=center>
<tr>
<td width=50%>
<INPUT id=advcheck name=advshow type=checkbox value=1 checked onclick=showadv()>
<span id="advance"><bean:message key="jsp.register.option.close"/></span>
</td>
<td width=50%>
<html:submit property="submit"><bean:message key="common.lybbs.edit"/></html:submit>
</td>
</tr>
</table>
</html:form>
<script language="JavaScript">
function showadv() {
if (document.userEditForm.advshow.checked == true) {
adv.style.display = "";
advance.innerText="<bean:message key="jsp.register.option.close"/>"
}
else{
adv.style.display = "none";
advance.innerText="<bean:message key="jsp.register.option.open"/>"
}
}
</script>
<lybbs:web key="foot"/>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -