Location: PHPKode > projects > l2jweb > skins/default/register.tpl
{literal}
<script language="javascript">
var popUpWin=0;

function popUpWindow(URLStr, left, top, width, height)

{

  if(popUpWin)

  {

    if(!popUpWin.closed) popUpWin.close();

  }

  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');

}
</script>
{/literal}

<link href="assets/styles/style.css" rel="stylesheet" type="text/css" />
<form id="register_form" name="register_form" method="post" action="">
  <table width="210" border="0" class="table">
  <tr>
    <td class="normal" bgcolor="#336699" colspan="2"><div align="center" class="normalwhite">Register</td>
  </tr>
    <tr>
      <td class="normal">Username:</td>
      <td><input name="username" type="text" class="input" id="username" value="{$reg_user}" /></td>
    </tr>
    <tr>
      <td class="normal">Passowrd:</td>
      <td><input name="passwd" type="password" class="input" id="passwd" value="{$reg_passwd1}" maxlength="64" /></td>
    </tr>
    <tr>
      <td class="normal">Confirm Password:</td>
      <td><input name="passwd2" type="password" class="input" id="passwd2" value="{$reg_passwd2}" maxlength="64" /></td>
    </tr>
    <tr>
      <td class="normal">Email:</td>
      <td><input name="email" type="text" class="input" id="email" value="{$reg_email}" maxlength="24" /></td>
    </tr>
    <tr>
      <td colspan="2"><div align="center"><img src="captcha.php" class="input" /></div></td>
    </tr>
    <tr>
      <td class="normal">Security code:</td>
      <td><input name="sec_code" type="text" class="input" id="sec_code" /></td>
    </tr>
    <tr>
      <td colspan="2" class="normal"><label>
        <input type="checkbox" name="TOS" id="radio" value="I agree" />
        I agree the <a onclick="popUpWindow('nomenu.php?page=TOS',0,0,500, 300);" href="#">terms of service</a>.
      </label></td>
    </tr>
    <tr>
      <td colspan="2"><label>
        <div align="center" class="normalred">{$REGMSG}</div>
      </label></td>
    </tr>
    <tr>
      <td colspan="2"><label>
        <div align="center">
          <input name="register" type="submit" class="button" id="register" value="Submit" />
        </div>
      </label></td>
    </tr>
  </table>
  <label></label>
</form>
Return current item: l2jweb