<form action="<{:U('User/RegUser')}>" method="post">
<table style="margin-top:30px" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td class="inputs" height="55px" width="300px">用户名:</td>
<td width="280px">
<input name="name" class="pad8input width250" type="text">
</td>
<td>
<span class="field-validation-default">英文皆可(6~15位)</span>
</td>
</tr>
<tr>
<td class="inputs" height="55px" width="300px">邮箱:</td>
<td width="280px">
<input name="email" class="pad8input width250" type="text">
</td>
<td>
<span class="field-validation-default">请填写有效的邮箱地址,邮箱即是您的用户名</span>
</td>
</tr>
<tr>
<td class="inputs" height="55px">密码:</td>
<td>
<input name="password" class="pad8input width250" type="password">
</td>
<td>
<span class="field-validation-default">6~15位,区分大小写</span>
</td>
</tr>
<tr>
<td class="inputs" height="55px">确认密码:</td>
<td>
<input id="tb_repass" name="tb_repass" class="pad8input width250" type="password">
</td>
<td>
<span class="field-validation-default">请再次输入您的密码<span></span></span>
</td>
</tr>
<tr>
<td class="inputs" height="55px">验证码:</td>
<td>
<input name="vcode" class="pad8input width250" type="text">
</td>
<td><img src="<{:U('Public/verify')}>" style="cursor: pointer; vertical-align:middle;height:30px" id="valiCode" onclick='this.src=this.src+"?"+Math.random()' />
</td>
</tr>
<tr>
<td></td>
<td colspan="2" height="60px">
<input name="" value="立即注册" class="loginbut" type="submit">
</td>
</tr>
<tr>
<td height="20px"> </td>
</tr>
</tbody>
</table>
</form>
最佳答案