<br />
<form name="frmregister" id="frmregister" action="{?$form_action?}?do=submit" method="post">
<table class="grid" width="580" align="center">
<caption>新用户注册</caption>
<tr>
  <td class="odd" width="25%">用户名<span class="hottext">(必填)</span></td>
  <td class="even"><input type="text" class="text" name="username" id="username" size="25" maxlength="30" style="width:160px" value="" onBlur="Ajax.Update('{?$check_url?}?item=u&username='+this.value, {outid:'usermsg', tipid:'usermsg', onLoading:'<img border=\'0\' height=\'16\' width=\'16\' src=\'{?$jieqi_url?}/images/loading.gif\' /> Loading...'});" /> <span id="usermsg"></span></td>
</tr>
<tr>
  <td class="odd" width="25%">密码<span class="hottext">(必填)</span></td>
  <td class="even"><input type="password" class="text" name="password" id="password" size="25" maxlength="20" style="width:160px" value="" onBlur="Ajax.Update('{?$check_url?}?item=p&password='+this.value, {outid:'passmsg', tipid:'passmsg', onLoading:'<img border=\'0\' height=\'16\' width=\'16\' src=\'{?$jieqi_url?}/images/loading.gif\' /> Loading...'});" /> <span id="passmsg"></span></td>
</tr>
<tr>
  <td class="odd" width="25%">重复密码<span class="hottext">(必填)</span></td>
  <td class="even"><input type="password" class="text" name="repassword" id="repassword" size="25" maxlength="20" style="width:160px" value=""  onBlur="Ajax.Update('{?$check_url?}?item=r&password='+password.value+'&repassword='+this.value, {outid:'repassmsg', tipid:'repassmsg', onLoading:'<img border=\'0\' height=\'16\' width=\'16\' src=\'{?$jieqi_url?}/images/loading.gif\' /> Loading...'});" /> <span id="repassmsg"></span></td>
</tr>
<tr>
  <td class="odd" width="25%">Email<span class="hottext">(必填)</span></td>
  <td class="even"><input type="text" class="text" name="email" id="email" size="25" maxlength="60" style="width:160px" value="" onBlur="Ajax.Update('{?$check_url?}?item=m&email='+this.value, {outid:'mailmsg', tipid:'mailmsg', onLoading:'<img border=\'0\' height=\'16\' width=\'16\' src=\'{?$jieqi_url?}/images/loading.gif\' /> Loading...'});" /> <span id="mailmsg"></span><input type="checkbox" class="checkbox" name="viewemail" value="1" />公开邮箱</td>
</tr>
<tr>
  <td class="odd" width="25%">性别</td>
  <td class="even"><input type="radio" class="radio" name="sex" value="1" />男
<input type="radio" class="radio" name="sex" value="2" />女
<input type="radio" class="radio" name="sex" value="0" checked="checked" />保密</td>
</tr>
<tr>
  <td class="odd" width="25%">QQ</td>
  <td class="even"><input type="text" class="text" name="qq" id="qq" size="25" maxlength="15" style="width:160px" value="" /></td>
</tr>
<tr>
  <td class="odd" width="25%">个人网站</td>
  <td class="even"><input type="text" class="text" name="url" id="url" size="25" maxlength="100" style="width:160px" value="" /></td>
</tr>

{?if $show_checkcode == 1?}
<tr>
  <td class="odd" width="25%">请输入验证码</td>
  <td class="even"><input type="text" class="text" size="8" maxlength="8" name="checkcode">
&nbsp;<img src="{?$url_checkcode?}" style="cursor:pointer;" onclick="this.src='{?$url_checkcode?}?rand='+Math.random();"></td>
</tr>
{?/if?}
<tr>
  <td class="odd" width="25%">&nbsp;<input type="hidden" name="action" id="action" value="newuser" /></td>
  <td class="even"><input type="submit" class="button" name="submit"  id="submit" value="提 交" /></td>
</tr>
</table>
</form>
<br />