reg.ftl
上传用户:wlfwy2004
上传日期:2016-12-12
资源大小:33978k
文件大小:11k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <#assign html=JspTaglibs["/WEB-INF/struts-html.tld"]>
  2. <#assign bean=JspTaglibs["/WEB-INF/struts-bean.tld"]>
  3. <@html.html locale=true>
  4. <head>
  5. <title><@bean.message key="reg.title"/></title>
  6. <link href="css/css.css" rel="stylesheet" type="text/css">
  7. </head>
  8. <body bgcolor="#F5F5F5" topmargin="0">
  9. <table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  10.   <tr>
  11.     <td>&nbsp;</td>
  12.   </tr>
  13. </table>
  14. <table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  15.   <tr>
  16.     <td width="564" height="385" background="images/pt.gif">
  17.       <table width="563" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  18.         <tr>
  19.           <td height="341"> <table width="95%" border="0" align="center" cellpadding="1" cellspacing="1">
  20.               <tr>
  21.                 <td height="29" class="FONT1"> <div align="center"><strong><@bean.message key="reg.main"/></strong></div></td>
  22.               </tr>
  23.               <tr>
  24.                 <td> <div align="center"><@html.errors/></div></td>
  25.               </tr>
  26.               <tr>
  27.                 <td height="353" class="FONT1"> <div align="center">
  28.                   <@html.form action="/reg" focus="username" onsubmit="return validateRegForm(this);">
  29.                     <@html.hidden property="action"/>
  30.                       <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
  31.                         <tr class="TD1">
  32.                           <td width="18%"> <div align="right"><@bean.message key="reg.username"/>:</div></td>
  33.                           <td colspan="3"> <@html.text property="username" styleClass="INPUT1" maxlength="20"/>
  34.                             <font color="#FF0000">*</font><@bean.message key="reg.username.note"/></td>
  35.                         </tr>
  36.                         <tr class="TD1">
  37.                           <td> <div align="right"><@bean.message key="reg.nickname"/>:</div></td>
  38.                           <td colspan="3"> <@html.text property="nickname" styleClass="INPUT1"/>
  39.                             <font color="#FF0000">*</font><@bean.message key="reg.nickname.note"/></td>
  40.                         </tr>
  41.                         <tr class="TD1">
  42.                           <td> <div align="right"><@bean.message key="reg.passwd"/>:</div></td>
  43.                           <td colspan="3"> <@html.password property="passwd" maxlength="25" styleClass="INPUT1" redisplay=false/>
  44.                           <font color="#FF0000">*</font><@bean.message key="reg.passwd.note"/></td>
  45.                         </tr>
  46.                         <tr class="TD1">
  47.                           <td> <div align="right"><@bean.message key="reg.passwdre"/>:</div></td>
  48.                           <td colspan="3"> <@html.password property="passwdre" maxlength="25" styleClass="INPUT1" redisplay=false/>
  49.                           <font color="#FF0000">*</font><@bean.message key="reg.passwdre.note"/></td>
  50.                         </tr>
  51.                         <tr class="TD1">
  52.                           <td> <div align="right"><@bean.message key="reg.cansee"/>:</div></td>
  53.                           <td colspan="3"> <@html.select property="cansee">
  54.                             <@html.options collection="canseeValues" property="value" labelProperty="label"/>
  55.                           </@html.select> <@bean.message key="reg.cansee.note"/></td>
  56.                         </tr>
  57.                         <tr class="TD1">
  58.                           <td> <div align="right"><@bean.message key="reg.question"/>:</div></td>
  59.                           <td colspan="3"> <@html.text property="question" styleClass="INPUT1"/>
  60.                           <font color="#FF0000">*</font><@bean.message key="reg.question.note"/></td>
  61.                         </tr>
  62.                         <tr class="TD1">
  63.                           <td> <div align="right"><@bean.message key="reg.answer"/>:</div></td>
  64.                           <td colspan="3"> <@html.text property="answer" styleClass="INPUT1"/>
  65.                           <font color="#FF0000">*</font><@bean.message key="reg.answer.note"/></td>
  66.                         </tr>
  67.                         <tr class="TD1">
  68.                           <td> <div align="right"><@bean.message key="reg.email"/>:</div></td>
  69.                           <td colspan="3"> <@html.text property="email" styleClass="INPUT1" maxlength="50"/>
  70.                           <font color="#FF0000">*</font><@bean.message key="reg.email.note"/></td>
  71.                         </tr>
  72.                         <tr class="TD1">
  73.                           <td> <div align="right"><@bean.message key="reg.sex"/>:</div></td>
  74.                           <td width="28%"> <@html.radio property="sex" value="0"/>
  75.                             <@bean.message key="reg.man"/>
  76.                             <@html.radio property="sex" value="1"/>
  77.                             <@bean.message key="reg.woman"/> <font color="#FF0000">*</font></td>
  78.                           <td width="12%"> <div align="right"><@bean.message key="reg.age"/>:</div></td>
  79.                           <td width="42%"> <@html.select property="age">
  80.                             <@html.options collection="ageValues" property="value" labelProperty="label"/>
  81.                           </@html.select> <font color="#FF0000">*</font></td>
  82.                         </tr>
  83.                         <tr class="TD1">
  84.                           <td> <div align="right"><@bean.message key="reg.pro"/>:</div></td>
  85.                           <td> <@html.select property="pro">
  86.                             <@html.options collection="proValues" property="value" labelProperty="label"/>
  87.                           </@html.select> <font color="#FF0000">*</font></td>
  88.                           <td> <div align="right"><@bean.message key="reg.city"/>:</div></td>
  89.                           <td> <@html.text property="city" styleClass="INPUT1" size="5"/>
  90.                           <@bean.message key="reg.city.note"/></td>
  91.                         </tr>
  92.                         <tr class="TD1">
  93.                           <td> <div align="right"><@bean.message key="reg.work"/>:</div></td>
  94.                           <td> <@html.select property="work">
  95.                             <@html.options collection="workValues" property="value" labelProperty="label"/>
  96.                           </@html.select> <font color="#FF0000">*</font></td>
  97.                           <td> <div align="right"><@bean.message key="reg.income"/>:</div></td>
  98.                           <td> <@html.select property="income">
  99.                             <@html.options collection="incomeValues" property="value" labelProperty="label"/>
  100.                           </@html.select> <font color="#FF0000">*</font></td>
  101.                         </tr>
  102.                         <tr class="TD1">
  103.                           <td> <div align="right"><@bean.message key="reg.sort"/>:</div></td>
  104.                           <td> <@html.select property="sort">
  105.                             <@html.options collection="sortValues" property="value" labelProperty="label"/>
  106.                           </@html.select> <font color="#FF0000">*</font></td>
  107.                           <td> <div align="right"><@bean.message key="reg.industry"/>:</div></td>
  108.                           <td> <@html.select property="industry">
  109.                             <@html.options collection="industryValues" property="value" labelProperty="label"/>
  110.                           </@html.select> <font color="#FF0000">*</font></td>
  111.                         </tr>
  112.                         <tr class="TD1">
  113.                           <td> <div align="right"><@bean.message key="reg.mb"/>:</div></td>
  114.                           <td> <@html.text property="mb" styleClass="INPUT1"/></td>
  115.                           <td> <div align="right"><@bean.message key="reg.edulevel"/>:</div></td>
  116.                           <td> <@html.select property="edulevel">
  117.                             <@html.options collection="edulevelValues" property="value" labelProperty="label"/>
  118.                           </@html.select> <font color="#FF0000">*</font></td>
  119.                         </tr>
  120.                         <tr class="TD1">
  121.                           <td> <div align="right"><@bean.message key="reg.address"/>:</div></td>
  122.                           <td colspan="3"> <@html.text property="address" styleClass="INPUT1" size="40"/></td>
  123.                         </tr>
  124.                         <tr class="TD1">
  125.                           <td> <div align="right"><@bean.message key="reg.blogname"/>:</div></td>
  126.                           <td colspan="3"> <@html.text property="blogname" styleClass="INPUT1"/>
  127.                           <font color="#FF0000">*</font><@bean.message key="reg.blogname.note"/></td>
  128.                         </tr>
  129.                         <tr>
  130.                           <td><div align="right"><@bean.message key="reg.blogdesp"/>:</div></td>
  131.                           <td colspan="3"><@html.textarea property="description" cols="30" rows="5" styleClass="INPUT1"/>
  132.                           <br><font color="#FF0000">*</font><@bean.message key="reg.blogdesp.note"/></td>
  133.                         </tr>
  134.                         <tr>
  135.                           <td>&nbsp;</td>
  136.                           <td>&nbsp;</td>
  137.                           <td>&nbsp;</td>
  138.                           <td>&nbsp;</td>
  139.                         </tr>
  140.                         <tr>
  141.                           <td colspan="4">
  142.                           <table width="95%" border="0" align="center" cellpadding="1" cellspacing="1">
  143.                               <tr>
  144.                                 <td height="14" colspan="3"><@bean.message key="reg.skin"/></td>
  145.                               </tr>
  146.                               <tr>
  147.                                 <td><@html.radio property="skin" value="0"/>
  148.                                   Skin No.1</td>
  149.                                 <td>&nbsp;</td>
  150.                                 <td>&nbsp;</td>
  151.                               </tr>
  152.                               <tr>
  153.                                 <td>&nbsp;</td>
  154.                                 <td>&nbsp;</td>
  155.                                 <td>&nbsp;</td>
  156.                               </tr>
  157.                               <tr>
  158.                                 <td>&nbsp;</td>
  159.                                 <td>&nbsp;</td>
  160.                                 <td>&nbsp;</td>
  161.                               </tr>
  162.                             </table>
  163.                           </td>
  164.                         </tr>
  165.                         <tr>
  166.                           <td>&nbsp;</td>
  167.                           <td>&nbsp;</td>
  168.                           <td>&nbsp;</td>
  169.                           <td>&nbsp;</td>
  170.                         </tr>
  171.                         <tr>
  172.                           <td colspan="4"><div align="center">
  173.                               <@html.submit><@bean.message key="blog.submit"/></@html.submit>
  174.                               <@html.reset><@bean.message key="blog.reset"/></@html.reset>
  175.                             </div></td>
  176.                         </tr>
  177.                       </table>
  178.                     </@html.form>
  179.                   </div></td>
  180.               </tr>
  181.             </table></td>
  182.         </tr>
  183.       </table></td>
  184.     <td width="214" bgcolor="#FFFFFF">&nbsp;</td>
  185.   </tr>
  186. </table>
  187. </body>
  188. </@html.html>