<!--<?php
defined('W_P') or exit('Forbidden');print <<<EOT
-->
<div class="page_title" id="reg"><strong>歡迎注冊$db_bbsname!</strong><br />
</div>
<div class="page_content">
  <div class="block">
    <form id="form1" method="post" action="index.php?a=register">
   <input type="hidden" value="$forward" name="forward" />
						<input type="hidden" value="2" name="step" />
						<input type="hidden" value="$tmpVerify" name="_hexie" />

        請填寫以下必填信息完成注冊<br />
        <strong>用戶名︰</strong>（{$rg_regminname}-{$rg_regmaxname}字節以內）
        <br />
        <input class="input" type="text" size="20" maxlength="$rg_regmaxname" name="regname" id="regname" />
        <br />

<strong>密碼:</strong>（{$rg_regminpwd}-{$rg_regmaxpwd}位）<br />
<input class="input" type="password" size="20" maxlength="$rg_regmaxpwd" name="regpwd" id="regpwd"  />
<br />
<strong>再次輸入密碼:</strong><br />
<input class="input" type="password" size="20" maxlength="$rg_regmaxpwd" name="regpwdrepeat" id="regpwdrepeat"  />
<br />
<strong>email地址︰</strong><br />
	<input class="input" type="text" size="20" maxlength="75" name="regemail" value="" id="regemail"/>
    <br/>
<!--
EOT;
if($regq && $db_question){
    $qkey = array_rand($db_question);
    $db_question[$qkey] = addcslashes($db_question[$qkey], '"');
    print <<<EOT
-->
 <strong>論壇防惡意注冊</strong>    <br />
問題:$db_question[$qkey]<br />
  &lt;正確答案︰$db_answer[$qkey]&gt;<br />
<input class="input" type="text" name="qanswer" id="qanswer" />
<input type="hidden" id="regqkey" name="qkey" value="$qkey" />
      <br />
<!--
EOT;
    }
if($db_gdcheck & 1){
    print <<<EOT
-->

								<img src="{$index_url}/ck.php?nowtime=$timestamp" align="absmiddle"  style="cursor:pointer;" id="ckcode" alt="checkcode" /><br/>
								<strong>認證碼:</strong>	<input class="input" type="text" id="gdcode" name="gdcode" size="6" /><br/>

<!--
EOT;
    }
print <<<EOT
-->

      <label>
  <input type="checkbox" name="agreergpermit" id="checkbox" checked />
    </label>
    <em>我已閱讀並完全同意<a href="index.php?a=items">條款內容</a></em><br />
    <label>
        <input type="submit" name="button" id="button" value="　注冊　" />
      </label>
  </form>
  </div>
  <div class="return"><a href="$returnUrl">&laquo;返回</a></div>
</div>
<!--
EOT;
?>-->