<!-- BEGIN register -->
<div class="gadget users registerbox">
  <div class="gadget_header"><h2>{title}</h2></div>
  <div class="gadget_container">
  <div class="gadget_response"><div class="{type}">{text}</div></div>
  <form name="registerBox" action="{base_script}" method="post">
  <input type="hidden" name="gadget" value="Users" />
  <input type="hidden" name="action" value="DoRegister" />
  <div class="gadget_content content">
    <fieldset>
      <legend><span>{lbl_account_info}</span></legend>
      <p><label for="register_username">{lbl_username}:</label>
        <input name="username" id="register_username" maxlength="80" value="{username}" type="text" style="direction: ltr;" />
        <span><small>{validusernames}</small></span>
      </p>
      <p><label for="register_email">{lbl_email}:</label>
        <input name="email" id="register_email" value="{email}" type="text" style="direction: ltr;" />
      </p>
      <p><label for="register_nickname">{lbl_nickname}:</label>
        <input name="nickname" id="register_nickname" value="{nickname}" type="text" />
      </p>
      <p><label for="register_password">{lbl_password}:</label>
        <input name="password" id="register_password" type="password" value="" style="direction: ltr;" />
        <span><small>{sendpassword}</small></span>
      </p>
      <p><label for="register_chkpassword">{lbl_checkpassword}:</label>
        <input name="password_check" id="register_chkpassword" type="password" value="" style="direction: ltr;" />
      </p>
    </fieldset>
    <fieldset>
      <legend><span>{lbl_personal_info}</span></legend>
      <p><label for="register_fname">{lbl_fname}:</label>
        <input name="fname" id="register_fname" value="{fname}" type="text" />
      </p>
      <p><label for="register_lname">{lbl_lname}:</label>
        <input name="lname" id="register_lname" value="{lname}" type="text" />
      </p>
      <p><label for="user_gender">{lbl_gender}:</label>
        <select name="gender" id="user_gender">
          <option value="0" {selected_gender_0}>{gender_0}</option>
          <option value="1" {selected_gender_1}>{gender_1}</option>
          <option value="2" {selected_gender_2}>{gender_2}</option>
        </select>
      </p>
      <p><label for="register_ssn">{lbl_ssn}:</label>
        <input name="ssn" id="register_ssn" value="{ssn}" type="text" />
      </p>
      <p id="user_dob">
        <label for="user_dob_year">{lbl_dob}:</label>
        <input name="dob_year"  id="user_dob_year"  value="{dob_year}"  type="text" />
        <input name="dob_month" id="user_dob_month" value="{dob_month}" type="text" />
        <input name="dob_day"   id="user_dob_day"   value="{dob_day}"   type="text" />
        <span><small>{dob_sample}</small></span>
      </p>
      <p><label for="register_url">{lbl_url}:</label>
        <input name="url" id="register_url" value="{url}" type="text" style="direction: ltr;" />
      </p>
      <!-- INCLUDE Captcha.html gadgets/Policy/Templates -->
    </fieldset>
  </div>
  <div class="gadget_actions actions"><button type="submit" value="{register}">{register}</button></div>
  </form>
  </div>
  <div class="gadget_footer"></div>
</div>
<!-- END register -->