reg.ftl
资源名称:Myblog.rar [点击查看]
上传用户:wlfwy2004
上传日期:2016-12-12
资源大小:33978k
文件大小:11k
源码类别:
Jsp/Servlet
开发平台:
Java
- <#assign html=JspTaglibs["/WEB-INF/struts-html.tld"]>
- <#assign bean=JspTaglibs["/WEB-INF/struts-bean.tld"]>
- <@html.html locale=true>
- <head>
- <title><@bean.message key="reg.title"/></title>
- <link href="css/css.css" rel="stylesheet" type="text/css">
- </head>
- <body bgcolor="#F5F5F5" topmargin="0">
- <table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td> </td>
- </tr>
- </table>
- <table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td width="564" height="385" background="images/pt.gif">
- <table width="563" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <tr>
- <td height="341"> <table width="95%" border="0" align="center" cellpadding="1" cellspacing="1">
- <tr>
- <td height="29" class="FONT1"> <div align="center"><strong><@bean.message key="reg.main"/></strong></div></td>
- </tr>
- <tr>
- <td> <div align="center"><@html.errors/></div></td>
- </tr>
- <tr>
- <td height="353" class="FONT1"> <div align="center">
- <@html.form action="/reg" focus="username" onsubmit="return validateRegForm(this);">
- <@html.hidden property="action"/>
- <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
- <tr class="TD1">
- <td width="18%"> <div align="right"><@bean.message key="reg.username"/>:</div></td>
- <td colspan="3"> <@html.text property="username" styleClass="INPUT1" maxlength="20"/>
- <font color="#FF0000">*</font><@bean.message key="reg.username.note"/></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.nickname"/>:</div></td>
- <td colspan="3"> <@html.text property="nickname" styleClass="INPUT1"/>
- <font color="#FF0000">*</font><@bean.message key="reg.nickname.note"/></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.passwd"/>:</div></td>
- <td colspan="3"> <@html.password property="passwd" maxlength="25" styleClass="INPUT1" redisplay=false/>
- <font color="#FF0000">*</font><@bean.message key="reg.passwd.note"/></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.passwdre"/>:</div></td>
- <td colspan="3"> <@html.password property="passwdre" maxlength="25" styleClass="INPUT1" redisplay=false/>
- <font color="#FF0000">*</font><@bean.message key="reg.passwdre.note"/></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.cansee"/>:</div></td>
- <td colspan="3"> <@html.select property="cansee">
- <@html.options collection="canseeValues" property="value" labelProperty="label"/>
- </@html.select> <@bean.message key="reg.cansee.note"/></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.question"/>:</div></td>
- <td colspan="3"> <@html.text property="question" styleClass="INPUT1"/>
- <font color="#FF0000">*</font><@bean.message key="reg.question.note"/></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.answer"/>:</div></td>
- <td colspan="3"> <@html.text property="answer" styleClass="INPUT1"/>
- <font color="#FF0000">*</font><@bean.message key="reg.answer.note"/></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.email"/>:</div></td>
- <td colspan="3"> <@html.text property="email" styleClass="INPUT1" maxlength="50"/>
- <font color="#FF0000">*</font><@bean.message key="reg.email.note"/></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.sex"/>:</div></td>
- <td width="28%"> <@html.radio property="sex" value="0"/>
- <@bean.message key="reg.man"/>
- <@html.radio property="sex" value="1"/>
- <@bean.message key="reg.woman"/> <font color="#FF0000">*</font></td>
- <td width="12%"> <div align="right"><@bean.message key="reg.age"/>:</div></td>
- <td width="42%"> <@html.select property="age">
- <@html.options collection="ageValues" property="value" labelProperty="label"/>
- </@html.select> <font color="#FF0000">*</font></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.pro"/>:</div></td>
- <td> <@html.select property="pro">
- <@html.options collection="proValues" property="value" labelProperty="label"/>
- </@html.select> <font color="#FF0000">*</font></td>
- <td> <div align="right"><@bean.message key="reg.city"/>:</div></td>
- <td> <@html.text property="city" styleClass="INPUT1" size="5"/>
- <@bean.message key="reg.city.note"/></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.work"/>:</div></td>
- <td> <@html.select property="work">
- <@html.options collection="workValues" property="value" labelProperty="label"/>
- </@html.select> <font color="#FF0000">*</font></td>
- <td> <div align="right"><@bean.message key="reg.income"/>:</div></td>
- <td> <@html.select property="income">
- <@html.options collection="incomeValues" property="value" labelProperty="label"/>
- </@html.select> <font color="#FF0000">*</font></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.sort"/>:</div></td>
- <td> <@html.select property="sort">
- <@html.options collection="sortValues" property="value" labelProperty="label"/>
- </@html.select> <font color="#FF0000">*</font></td>
- <td> <div align="right"><@bean.message key="reg.industry"/>:</div></td>
- <td> <@html.select property="industry">
- <@html.options collection="industryValues" property="value" labelProperty="label"/>
- </@html.select> <font color="#FF0000">*</font></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.mb"/>:</div></td>
- <td> <@html.text property="mb" styleClass="INPUT1"/></td>
- <td> <div align="right"><@bean.message key="reg.edulevel"/>:</div></td>
- <td> <@html.select property="edulevel">
- <@html.options collection="edulevelValues" property="value" labelProperty="label"/>
- </@html.select> <font color="#FF0000">*</font></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.address"/>:</div></td>
- <td colspan="3"> <@html.text property="address" styleClass="INPUT1" size="40"/></td>
- </tr>
- <tr class="TD1">
- <td> <div align="right"><@bean.message key="reg.blogname"/>:</div></td>
- <td colspan="3"> <@html.text property="blogname" styleClass="INPUT1"/>
- <font color="#FF0000">*</font><@bean.message key="reg.blogname.note"/></td>
- </tr>
- <tr>
- <td><div align="right"><@bean.message key="reg.blogdesp"/>:</div></td>
- <td colspan="3"><@html.textarea property="description" cols="30" rows="5" styleClass="INPUT1"/>
- <br><font color="#FF0000">*</font><@bean.message key="reg.blogdesp.note"/></td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td colspan="4">
- <table width="95%" border="0" align="center" cellpadding="1" cellspacing="1">
- <tr>
- <td height="14" colspan="3"><@bean.message key="reg.skin"/></td>
- </tr>
- <tr>
- <td><@html.radio property="skin" value="0"/>
- Skin No.1</td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td colspan="4"><div align="center">
- <@html.submit><@bean.message key="blog.submit"/></@html.submit>
- <@html.reset><@bean.message key="blog.reset"/></@html.reset>
- </div></td>
- </tr>
- </table>
- </@html.form>
- </div></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- <td width="214" bgcolor="#FFFFFF"> </td>
- </tr>
- </table>
- </body>
- </@html.html>