<?php /* Smarty version 3.1.27, created on 2018-08-17 22:15:29
         compiled from "/home/hyipsou1/public_html/tmpl/user_signup.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:5602941175b774901cac220_06797933%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '05c969672f0c502490186d375615bea478212530' => 
    array (
      0 => '/home/hyipsou1/public_html/tmpl/user_signup.tpl',
      1 => 1519502058,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '5602941175b774901cac220_06797933',
  'variables' => 
  array (
    'frm' => 0,
    'errors' => 0,
    'ecs' => 0,
    'data' => 0,
    'theme' => 0,
    'id' => 0,
    'settings' => 0,
    'sesname' => 0,
    'sesid' => 0,
    'rand' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_5b774901dca961_95207085',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5b774901dca961_95207085')) {
function content_5b774901dca961_95207085 ($_smarty_tpl) {
if (!is_callable('smarty_block_t')) require_once '/home/hyipsou1/public_html/inc/libs/smarty3/plugins/block.t.php';
if (!is_callable('smarty_modifier_encurl')) require_once '/home/hyipsou1/public_html/inc/libs/smarty3/plugins/modifier.encurl.php';

$_smarty_tpl->properties['nocache_hash'] = '5602941175b774901cac220_06797933';
echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>


<h3><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
User Signup<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</h3>
<div class="signup">

<?php if ($_smarty_tpl->tpl_vars['frm']->value['display'] == 'confirmation') {?>
 <?php if ($_smarty_tpl->tpl_vars['frm']->value['say'] == 'confirmed') {?>
  <div class="ok"><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array('login_link'=>smarty_modifier_encurl("?a=login"))); $_block_repeat=true; echo smarty_block_t(array('login_link'=>smarty_modifier_encurl("?a=login")), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Thank you. Your account has been successfully confirmed. You can <a href="%login_link">login</a> now.<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array('login_link'=>smarty_modifier_encurl("?a=login")), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</div>
 <?php } else { ?>
  <div class="error"><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Sorry, confirmation code was not found. It means you have used broken link or your account was already confirmed.<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</div>
 <?php }?>
<?php } elseif ($_smarty_tpl->tpl_vars['frm']->value['display'] == 'added') {?>
<div class="ok"><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array('logn_link'=>smarty_modifier_encurl("?a=login"))); $_block_repeat=true; echo smarty_block_t(array('logn_link'=>smarty_modifier_encurl("?a=login")), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Thank you. Your account has been successfully created. You can <a href="%login_link">login</a> now.<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array('logn_link'=>smarty_modifier_encurl("?a=login")), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['frm']->value['display'] == 'confirm') {?>
<div class="ok">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Thank you. Your account has been successfully created.
You should confirm your e-mail address by following link we have sent to you.<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

</div>
<?php } else { ?>

<?php if ($_smarty_tpl->tpl_vars['errors']->value) {?>
<ul class="error">                                                                      
<?php if ($_smarty_tpl->tpl_vars['errors']->value['turing']) {?><li> <?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Invalid turing image provided<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</li><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['username']) {?><li> <?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Please, enter your Username<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</li><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['username_exists']) {?><li> <?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Username already exists. Please, enter another one<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</li><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['email']) {?><li> <?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Please, enter your email<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</li><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['email_exists']) {?><li> <?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Email is already registered. Please, use password reminder to restore your password<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</li><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['invalid_email']) {?><li> <?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Please, enter a valid E-mail address<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</li><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['password']) {?><li> <?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Please, define your password<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</li><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['password2']) {?><li> <?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Please, verify passwords you have entered. Both passwords should be equal<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</li><?php }?>
</ul>
<?php }?>

<form method="post" action="">
<input type="hidden" name="action" value="signup">
<table class="form">
<tr>
 <th><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Username:<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</th>
 <td><input type="text" name="username" value="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['username'], ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');?>
"></td>
</tr>
<tr>
 <th><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
E-mail<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</th>
 <td><input type="text" name="email" value="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['email'], ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');?>
"></td>
</tr>
<tr>
 <th><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Password:<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</th>
 <td><input type="password" name="password" value="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['password'], ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');?>
"></td>
</tr>
<tr>
 <th><?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Confirm Password:<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</th>
 <td><input type="password" name="password2" value="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['password2'], ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');?>
"></td>
</tr>
<?php
$_from = $_smarty_tpl->tpl_vars['ecs']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['data'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['data']->_loop = false;
$_smarty_tpl->tpl_vars['id'] = new Smarty_Variable;
foreach ($_from as $_smarty_tpl->tpl_vars['id']->value => $_smarty_tpl->tpl_vars['data']->value) {
$_smarty_tpl->tpl_vars['data']->_loop = true;
$foreach_data_Sav = $_smarty_tpl->tpl_vars['data'];
?>
<tr>
 <th><?php echo $_smarty_tpl->tpl_vars['data']->value['name'];?>
 <img src="<?php echo smarty_modifier_encurl(((string)$_smarty_tpl->tpl_vars['theme']->value)."images/".((string)$_smarty_tpl->tpl_vars['data']->value['name']).".gif");?>
" alt="<?php echo $_smarty_tpl->tpl_vars['data']->value['name'];?>
"></th>
 <td><input type="text" name="account[<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
]" value="<?php echo mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['account'][$_smarty_tpl->tpl_vars['id']->value], ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8');?>
"></td>
</tr>
<?php
$_smarty_tpl->tpl_vars['data'] = $foreach_data_Sav;
}
?>
<?php if ($_smarty_tpl->tpl_vars['settings']->value['use_turing']) {?>
<tr>
  <th><img src="<?php echo smarty_modifier_encurl("?a=turing&".((string)$_smarty_tpl->tpl_vars['sesname']->value)."=".((string)$_smarty_tpl->tpl_vars['sesid']->value)."&r=".((string)$_smarty_tpl->tpl_vars['rand']->value));?>
" alt="turing code"></th>
  <td><input type=text name="turing" maxlength=6 size=6></td>
</tr>
<?php }?>
<tr>
 <th></th>
 <td><input type="submit" value="<?php $_smarty_tpl->smarty->_tag_stack[] = array('t', array()); $_block_repeat=true; echo smarty_block_t(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
Signup<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_t(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
"></td>
</tr>
</table>
</form>

<?php }?>

</div>

<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);

}
}
?>