📄 agreereg.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="comm/header.jsp"%>
<%@ include file="comm/reg.jsp"%>
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改个人资料</title>
</head>
<body>
<div class="tabwidth">
<table align=center cellSpacing=0 cellPadding=0 width=100%>
<tr height=25px class=tr_2><td class=tab1>
<a href=index.htm>『<bean:write name="bbsname" />』</a> →
<logic:equal name="action" value="reg">用户注册</logic:equal>
<logic:equal name="action" value="edit">编辑个人信息</logic:equal>
</td></tr>
<tr><td height=3px colspan=3> </td></tr>
<tr><td>
<table class=tab1 align=center cellSpacing=0 cellPadding=0 width=100%>
<tr height=25px><td align=center colspan=2 class=tab_c width=100%>
<b><font color=#FFFFFF>
<logic:equal name="action" value="reg">用户注册</logic:equal>
<logic:equal name="action" value="edit">编辑个人信息</logic:equal>
</font></b>
</td></tr>
<tr><td class=td_t>
<html:form method="post" action="RegPost.htm" onsubmit="return CheckForm();" focus="code" enctype='multipart/form-data' >
<table align=center cellSpacing=0 cellPadding=0 width=100% >
<tr><td>
<table align=center cellSpacing=0 cellPadding=0 width=100% >
<tr height="28px"><td class=td_bg width="35%">
<b>系统验证码</b> :<br>
请填写右边正确的验证码!
</td><td class=td_l>
<input type=text id="code" name=code size=4 maxlength=4 onBlur="checkcode('checkUser.htm')" /> <img border=0 src='codenum'>
<span id="codeinfo"></span>
</td></tr>
<tr height="28px"><td class=td_tbg width="35%">
<logic:equal name="action" value="reg">
<b>用户名</b> :<br>
用户名长度范围:1-15 个字符!<br>
用户名不能够含有空字符和非法字符!
</td><td class=td_lt>
<input type=text id="username" name=username onblur="checkuser('checkUser.htm')" /> * 必填项<span id="nameinfo"></span>
</logic:equal>
<logic:equal name="action" value="edit">
<input type=hidden name=userid value=<bean:write name="curUser" property="id" /> >
</logic:equal>
<logic:equal name="action" value="edit">
<b>用户名</b> :<br>
</td><td class=td_lt>
<b><bean:write name="curUser" property="username" /></b>
</logic:equal>
<font color="red"><html:errors property="reg.upfile.fail" /> <html:errors property="reg.2pword.diff" /></font>
</td></tr>
<tr><td class=td_tbg width=35%>
<b>密码</b> :<br>
密码长度应该大于 1 !<br>
请不要以空字符或非法字符作为密码!<br>
</td><td class=td_lt >
<input type=password name=password1 onKeyUp=pwStrength(this.value) onBlur=pwStrength(this.value) /> * 必填项
密码强度
<table class=tab1 width=180px cellspacing=0 cellpadding=0 height=23 style='display:inline'>
<tr align=center class=tr_1>
<td width=33% id=strength_L >弱</td>
<td width=33% id=strength_M class=td_l>中</td>
<td width=33% id=strength_H class=td_l>强</td>
</tr>
</table>
</td></tr>
<tr><td class=td_tbg>
<b>密码确认</b> :<br>
再次输入密码,以此确认!<br>
</td><td class=td_lt>
<input type=password name=password2 /> * 必填项
</td></tr>
<logic:equal name="action" value="edit">
<tr><td class=td_t align="center" colspan="2" height="22px"><b>不修改密码,请保持以上两处密码为空!</b></td></tr>
</logic:equal>
<tr><td class=td_tbg>
<b>E_mail地址</b> :<br>
请输入你的E_mail地址,<br>
以便找回密码及管理员联系之用!<br>
</td><td class=td_lt>
<logic:equal name="action" value="reg">
<logic:equal name="mailcheck" value="1">
<input type=text name=email />
</logic:equal>
<logic:equal name="mailcheck" value="0">
<input type=text id="email" name=email onblur="checkmail('checkUser.htm')" />
</logic:equal> * 必填项<span id="mailinfo"></span>
</logic:equal>
<logic:equal name="action" value="edit">
<input type=text name=email value="<bean:write name="curUser" property="mail" />" >
</logic:equal>
</td></tr>
<tr><td class=td_tbg>
<b>密码提示问题</b> :<br>
请填写,以便找回密码时用!<br>
</td>
<td class=td_lt>
<input type=text name=question value="<bean:write name="curUser" property="question" />" >
</td></tr>
<tr><td class=td_tbg>
<b>密码问题答案</b> :<br>
请填写上面问题答案,务必一定要记住!
</td><td class=td_lt>
<input type=text name=answer value="<bean:write name="curUser" property="answer" />" />
</td></tr>
</table>
</td></tr>
<tr><td width="100%">
<table id="moretable" style="display:none" width="100%" cellSpacing=0 cellPadding=0 >
<tr><td class=td_tbg width="35%">
<b>是否显示E_mail</b> :<br>
是否希望查看你的个人信息时显示E_mail?
</td><td class=td_lt>
<logic:equal name="curUser" property="ismail" value="1">
<input type=radio name=isemail value=1 checked />是
<input type=radio name=isemail value=0 />否
</logic:equal>
<logic:equal name="curUser" property="ismail" value="0">
<input type=radio name=isemail value=1 />是
<input type=radio name=isemail value=0 checked/>否
</logic:equal>
</td></tr>
<tr><td class=td_tbg height=28px>
<b>性别</b> :
</td><td class=td_lt> <bean:define id="usex" name="curUser" property="sex" />
<html:select property="sex" value="<%=usex.toString()%>">
<html:option value="2">保密</html:option>
<html:option value="1">帅哥</html:option>
<html:option value="0">美女</html:option>
</html:select>
</td></tr>
<tr><td class=td_tbg height=28px>
<b>生日</b> :<br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -