<?php /* Smarty version 2.6.20, created on 2011-11-15 07:38:49
         compiled from register.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array('p' => 'general')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 

<br />
<table width="886" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
	<div id="registration_index">
	<h1 class="h1_default"><?php echo $this->_tpl_vars['lang']['create_account']; ?>
</h1>

<?php if ($this->_tpl_vars['success'] == 1): ?>
	<h2><?php echo $this->_tpl_vars['lang']['register_msg1']; ?>
</h2>
	<meta http-equiv="refresh" content="5;URL=<?php echo @_URL; ?>
" />
	<div class="confirm_send">
		<?php echo $this->_tpl_vars['lang']['register_msg2']; ?>
 <?php echo $this->_tpl_vars['inputs']['email']; ?>
. <br /><?php echo $this->_tpl_vars['msg']; ?>
<br />
	</div>
<?php else: ?>
<form name="register-form" method="post" action="<?php echo $this->_tpl_vars['form_action']; ?>
">
<table width="100%" border="0" cellspacing="1" cellpadding="5">
  <tr>
    <td colspan="2"><h2><?php echo $this->_tpl_vars['lang']['account_info']; ?>
</h2></td>
    </tr>
  <tr>
    <td width="14%" <?php if ($this->_tpl_vars['errors']['name'] != ''): ?> class="input-warning" <?php endif; ?>><?php echo $this->_tpl_vars['lang']['your_name']; ?>
:</td>
    <td width="86%"><input type="text" name="name" value="<?php echo $this->_tpl_vars['inputs']['name']; ?>
" class="inputtext" /><br /><span class="small-warning"><?php echo $this->_tpl_vars['errors']['name']; ?>
</span></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lang']['gender']; ?>
:</td>
    <td>
	<select name="gender">
	<option value="male" <?php if ($this->_tpl_vars['inputs']['gender'] == 'male'): ?>selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['lang']['male']; ?>
</option>
	<option value="female"<?php if ($this->_tpl_vars['inputs']['gender'] == 'female'): ?>selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['lang']['female']; ?>
</option>
	</select>
	</td>
  </tr>
  <tr>
    <td <?php if ($this->_tpl_vars['errors']['country'] != ''): ?> class="input-warning" <?php endif; ?>><?php echo $this->_tpl_vars['lang']['country']; ?>
:</td>
    <td>
		<?php if ($this->_tpl_vars['show_countries_list']): ?>
		<select name="country" size="1" >
		<option value="-1"><?php echo $this->_tpl_vars['lang']['select']; ?>
</option>
			<?php $_from = $this->_tpl_vars['countries_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
			<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['inputs']['country'] == $this->_tpl_vars['k']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
			<?php endforeach; endif; unset($_from); ?>
		</select>
		<br /><span class="small-warning"><?php echo $this->_tpl_vars['errors']['country']; ?>
</span>
		<?php endif; ?>	</td>
  </tr>
  <tr>
    <td <?php if ($this->_tpl_vars['errors']['username'] != ''): ?> class="input-warning" <?php endif; ?>><?php echo $this->_tpl_vars['lang']['username']; ?>
:</td>
    <td><input type="text" name="username" value="<?php echo $this->_tpl_vars['inputs']['username']; ?>
" maxlength="32" class="inputtext" /><br /><span class="small-warning"><?php echo $this->_tpl_vars['errors']['username']; ?>
</span></td>
  </tr>
  <tr>
    <td <?php if ($this->_tpl_vars['errors']['pass'] != ''): ?> class="input-warning" <?php endif; ?>><?php echo $this->_tpl_vars['lang']['password']; ?>
:</td>
    <td><input name="pass" type="password" maxlength="32" class="inputtext" /><br /><span class="small-warning"><?php echo $this->_tpl_vars['errors']['pass']; ?>
</span></td>
  </tr>
  <tr>
    <td <?php if ($this->_tpl_vars['errors']['pass'] != ''): ?> class="input-warning" <?php endif; ?>><?php echo $this->_tpl_vars['lang']['password_retype']; ?>
:</td>
    <td><input name="confirm_pass" type="password" maxlength="32" class="inputtext" /><br /><span class="small-warning"><?php echo $this->_tpl_vars['errors']['pass']; ?>
</span></td>
  </tr>
  <tr>
    <td <?php if ($this->_tpl_vars['errors']['email'] != ''): ?> class="input-warning" <?php endif; ?>><?php echo $this->_tpl_vars['lang']['your_email']; ?>
:</td>
    <td><input type="text" name="email" value="<?php echo $this->_tpl_vars['inputs']['email']; ?>
" class="inputtext" /><br /><span class="small-warning"><?php echo $this->_tpl_vars['errors']['email']; ?>
</span></td>
  </tr>
  <tr>
    <td colspan="2"><h2><?php echo $this->_tpl_vars['lang']['verify_registration']; ?>
</h2></td>
  </tr>
  <tr>
    <td <?php if ($this->_tpl_vars['errors']['capcha'] != ''): ?> class="input-warning" <?php endif; ?>><?php echo $this->_tpl_vars['lang']['enter_captcha']; ?>
:</td>
    <td>
		
	<img src="<?php echo @_URL; ?>
/include/securimage_show.php?sid=<?php  echo md5(uniqid(time()));  ?>" id="image" align="absmiddle" />
	<a href="#" onclick="document.getElementById('image').src = '<?php echo @_URL; ?>
/include/securimage_show.php?sid=' + Math.random(); return false"><img src="<?php echo @_URL; ?>
/templates/<?php echo $this->_tpl_vars['template_dir']; ?>
/images/reload.gif" border="0" align="absmiddle" /></a>
		
    <br />
<label for="imagetext"></label><input type="text" name="imagetext" maxlength="10" autocomplete="off" class="inputtext" /><br /><span class="small-warning"><?php echo $this->_tpl_vars['errors']['capcha']; ?>
</span></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="submit" name="Register" value="<?php echo $this->_tpl_vars['lang']['register']; ?>
" class="inputbutton" /></td>
  </tr>
</table>
</form>
<?php endif; ?>	</div>	</td>
  </tr>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 