register.tpl

来自「用php编写的一个BBS 小程序」· TPL 代码 · 共 49 行

TPL
49
字号
<div id="displayRegister" style="display:none;z-index:1;position:absolute;width:216px;height:230px;left:0px;top:0px;" onmousedown="emersion(this.id)">
<table id="dragTable5" class="dragTable" width="100%" height="100%">
  <tr class="dragBar" onMousedown="downMouse()" onMouseup="upMouse(this)" onMousemove="moveLayer(this.parentNode.parentNode)">
    <td width="18" height="18"></td>
    <td width="180" align="center" valign="bottom">注册</td>
    <td width="18" align="right" valign="top"><a href="javascript:hideDiv(4)" style="text-decoration:none;" title="关闭窗口">×</a></td>
  </tr>
  <tr>
    <td colspan="3">
      <table class="table2" width="100%" height="212">
        <form name="register" id="registerForm" action="javascript:void(null)" onsubmit="registerSubmit()" method="post">
        <tr valign="bottom">
          <td width="36%" height="30" align="right">用户名:</td>
          <td width="64%" style="padding-left:8px"><span id="regUnmStr" style="visibility:hidden" value=""></span><input type="text" name="username" maxlength="30" size="16" value="" class="input1" onfocus="this.select()" onfocusout="checkUsername(this, 'regUnmHint')" onPropertyChange="textCounter(this, 30, 'regUnmStr');checkUsername(this, 'regUnmHint')" /></td>
        </tr>
        <tr valign="top">
          <td id="regUnmHint" colspan="2" height="20" style="color:#cc3333;padding-top:2px;padding-left:46px">&nbsp;</td>
        </tr>
        <tr valign="bottom">
          <td height="22" align="right">密码:</td>
          <td style="padding-left:8px"><input type="password" name="password" maxlength="30" size="16" class="input1" onfocus="this.select()" onfocusout="checkPassword(this, 'regPwdHint')" onPropertyChange="checkPassword(this, 'regPwdHint')" /></td>
        </tr>
        <tr valign="top">
          <td id="regPwdHint" colspan="2" height="20" style="color:#cc3333;padding-top:2px;padding-left:46px">&nbsp;</td>
        </tr>
        <tr valign="bottom">
          <td height="22" align="right">确认密码:</td>
          <td style="padding-left:8px"><input type="password" name="rpassword" maxlength="30" size="16" class="input1" onfocus="this.select()" onfocusout="checkConfirmPassword(this, window.document.register.password)" onPropertyChange="checkConfirmPassword(this, window.document.register.password)" /></td>
        </tr>
        <tr valign="top">
          <td id="regRPwdHint" colspan="2" height="20" style="color:#cc3333;padding-top:2px;padding-left:46px">&nbsp;</td>
        </tr>
        <tr valign="bottom">
          <td height="22" align="right">E-mail:</td>
          <td style="padding-left:8px"><input type="text" name="email" maxlength="200" size="16" value="" class="input1" onfocus="this.select()" onfocusout="checkEmail(this)" onPropertyChange="checkEmail(this)" /></td>
        </tr>
        <tr valign="top">
          <td id="regEmlHint" colspan="2" height="20" style="color:#cc3333;padding-top:2px;padding-left:46px">&nbsp;</td>
        </tr>
        <tr>
          <td colspan="2" height="36" align="center"><input type="submit" value="注册" class="input2" name="bRegNext" alt="注册新用户" />&nbsp;&nbsp;<input type="button" value="清空" onclick="window.document.register.reset();window.document.register.username.focus()" class="input2" alt="清空表单" /></td>
        </tr>
        </form>
      </table>
    </td>
  </tr>
</table>
</div>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?