
<script language='javascript' type="text/javascript">
<!--
function Validate() {
	// Check for Empty fields
	if (document.REG.UserName.value == "" || document.REG.PassWord.value == "" || document.REG.PassWord_Check.value == "" || document.REG.EmailAddress.value == "") {
		alert ("{$ibforums->lang['js_blanks']}");
		return false;
	}

	// Have we checked the checkbox?

	if (document.REG.agree.checked == true) {
		return true;
	} else {
		alert ("{$ibforums->lang['js_no_check']}");
		return false;
	}
}
//-->
</script>
<!-- Borderline skin by InvisionSkins.com - copyright 2003 Goof Muilwijk [Roadkill71] -->
<form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}" method="post" name='REG' onsubmit='return Validate()'>
<input type='hidden' name='act' value='Reg' />
<input type='hidden' name='CODE' value='02' />
<input type='hidden' name='coppa_user' value='{$data['coppa_user']}' />
<div style='padding: 7px;'><strong>&raquo; {$ibforums->lang['reg_header']}</strong><br /><br />{$data['TEXT']}</div>
<div class='border'>
<div class='tableborder'>
<div style='float: right;padding:3px;'><{CAT_IMG}></div>
<div class='maintitle'><{CAT_IMG}>&nbsp;{$ibforums->lang['registration_form']}</div>
<div class='titlemedium'>{$ibforums->lang['complete_form']}</div>
<table class='content' width='100%' cellpadding='3' cellspacing='0' border='0'>
  <tr>
    <td class='content' width='50%'>{$ibforums->lang['user_name']}</td>
    <td class='content' width='50%'><input type='text' size='32' maxlength='64' value='{$ibforums->input['UserName']}' name='UserName' class='forminput' /></td>
  </tr>
  <tr>
    <td class='content'>{$ibforums->lang['pass_word']}</td>
    <td class='content'><input type='password' size='32' maxlength='32' value='{$ibforums->input['PassWord']}' name='PassWord' class='forminput' /></td>
  </tr>
  <tr>
    <td class='content'>{$ibforums->lang['re_enter_pass']}</td>
    <td class='content'><input type='password' size='32' maxlength='32' value='{$ibforums->input['PassWord_Check']}'  name='PassWord_Check' class='forminput' /></td>
  </tr>
  <tr>
    <td class='content'>{$ibforums->lang['email_address']}</td>
    <td class='content'><input type='text' size='32' maxlength='50' value='{$ibforums->input['EmailAddress']}'  name='EmailAddress' class='forminput' /></td>
  </tr>
  <tr>
    <td class='content'>{$ibforums->lang['email_address_two']}</td>
    <td class='content'><input type='text' size='32' maxlength='50'  value='{$ibforums->input['EmailAddress_two']}' name='EmailAddress_two' class='forminput' /></td>
  </tr>
  <!--{REQUIRED.FIELDS}-->
  <!--{OPTIONAL.FIELDS}-->
  <!--IBF.MODULES.EXTRA-->
</table>
<!--{REG.ANTISPAM}-->
<div class='titlemedium'>{$ibforums->lang['terms_service']}</div>
<div class='content' style='padding: 3px; text-align: center;'><strong>{$ibforums->lang['terms_service_text']}</strong><br /><br />
<textarea cols='75' rows='9' readonly="readonly" name='Post' class='textinput' style='width: 95%;'>{$data[RULES]}</textarea><br /><br />
<strong>{$ibforums->lang['agree_submit']}</strong>&nbsp;<input type='checkbox' name='agree' value='1' /></div>
<div class='titlemedium' style='text-align: center;'><input type="submit" value="{$ibforums->lang['submit_form']}" class='forminput' /></div>
</div>
</div>
</form>
