<?php /* Smarty version 3.1.27, created on 2025-07-04 13:14:25
         compiled from "/home/zeebng/tradex.jasminewrubel.com/tmpl/signup.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:16072601786867d3b1e1d8a4_14320401%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd53b98ee018ba164e1551ae07cacfcccabed92e0' => 
    array (
      0 => '/home/zeebng/tradex.jasminewrubel.com/tmpl/signup.tpl',
      1 => 1751631358,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '16072601786867d3b1e1d8a4_14320401',
  'variables' => 
  array (
    'deny_registration' => 0,
    'settings' => 0,
    'referer' => 0,
    'errors' => 0,
    'err' => 0,
    'frm' => 0,
    'countries' => 0,
    'pay_accounts' => 0,
    'ps' => 0,
    'mpay_accounts' => 0,
    'p' => 0,
    'ti' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_6867d3b1e56ff6_19370092',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_6867d3b1e56ff6_19370092')) {
function content_6867d3b1e56ff6_19370092 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/zeebng/tradex.jasminewrubel.com/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '16072601786867d3b1e1d8a4_14320401';
?>

<!DOCTYPE html>
<html lang="en" class="h-100">


<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Registration</title>
    <!-- Favicon icon -->
    <link rel="icon" type="image/png" sizes="16x16" href="logo.png">
    <link href="auth/assetsss/css/style.css" rel="stylesheet">
	<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&amp;family=Roboto:wght@100;300;400;500;700;900&amp;display=swap" rel="stylesheet">
</head>

<body class="h-100">
    <div class="authincation h-100">
        <div class="container h-100">
            <div class="row justify-content-center h-100 align-items-center">
                <div class="col-md-6">
					
					<div class="authincation-content">
                        <div class="row no-gutters">
                            <div class="col-xl-12">
                                <div class="auth-form">
									<div class="text-center mb-3">
										<a href="/"><img src="logo.png" width="200" alt=""></a>
									</div>
                                    <h4 class="text-center mb-4 text-white">Sign up your account</h4>
                                    
                                    
<?php if ($_smarty_tpl->tpl_vars['deny_registration']->value) {?>
 We are closed for new registrations now.
<?php } elseif ($_smarty_tpl->tpl_vars['settings']->value['use_referal_program'] && $_smarty_tpl->tpl_vars['settings']->value['force_upline'] && !$_smarty_tpl->tpl_vars['referer']->value['id'] && !$_smarty_tpl->tpl_vars['settings']->value['get_rand_ref']) {?>
 You  do not have a upline. Our system require a upline for each user.
<?php } else { ?>
 

 <?php echo '<script'; ?>
 language=javascript>
 function checkform() {
  if (document.regform.fullname.value == '') {
    alert("Please enter your full name!");
    document.regform.fullname.focus();
    return false;
  }
 
 <?php if ($_smarty_tpl->tpl_vars['settings']->value['use_user_location'] == 1) {?>
 
  if (document.regform.address.value == '') {
    alert("Please enter your address!");
    document.regform.address.focus();
    return false;
  }
  if (document.regform.city.value == '') {
    alert("Please enter your city!");
    document.regform.city.focus();
    return false;
  }
  if (document.regform.state.value == '') {
    alert("Please enter your state!");
    document.regform.state.focus();
    return false;
  }
  if (document.regform.zip.value == '') {
    alert("Please enter your ZIP!");
    document.regform.zip.focus();
    return false;
  }
  if (document.regform.country.options[document.regform.country.selectedIndex].text == '--SELECT--') {
    alert("Please choose your country!");
    document.regform.country.focus();
    return false;
  }
 
 <?php }?>
 
  if (document.regform.username.value == '') {
    alert("Please enter your username!");
    document.regform.username.focus();
    return false;
  }
  if (!document.regform.username.value.match(/^[A-Za-z0-9_\-]+$/)) {
    alert("For username you should use English letters and digits only!");
    document.regform.username.focus();
    return false;
  }
  if (document.regform.password.value == '') {
    alert("Please enter your password!");
    document.regform.password.focus();
    return false;
  }
  if (document.regform.password.value != document.regform.password2.value) {
    alert("Please check your password!");
    document.regform.password2.focus();
    return false;
  }
 
 <?php if ($_smarty_tpl->tpl_vars['settings']->value['use_transaction_code']) {?>
 
  if (document.regform.transaction_code.value == '') {
    alert("Please enter your transaction code!");
    document.regform.transaction_code.focus();
    return false;
  }
  if (document.regform.transaction_code.value != document.regform.transaction_code2.value) {
    alert("Please check your transaction code!");
    document.regform.transaction_code2.focus();
    return false;
  }
 
 <?php }?>
 
  if (document.regform.email.value == '') {
    alert("Please enter your e-mail address!");
    document.regform.email.focus();
    return false;
  }
  if (document.regform.email.value != document.regform.email1.value) {
    alert("Please retype your e-mail!");
    document.regform.email.focus();
    return false;
  }

  for (i in document.regform.elements) {
    f = document.regform.elements[i];
    if (f.name && f.name.match(/^pay_account/)) {
      if (f.value == '') continue;
      var notice = f.getAttribute('data-validate-notice');
      var invalid = 0;
      if (f.getAttribute('data-validate') == 'regexp') {
        var re = new RegExp(f.getAttribute('data-validate-regexp'));
        if (!f.value.match(re)) {
          invalid = 1;
        }
      } else if (f.getAttribute('data-validate') == 'email') {
        var re = /^[^\@]+\@[^\@]+\.\w{2,4}$/;
        if (!f.value.match(re)) {
          invalid = 1;
        }
      }
      if (invalid) {
        alert('Invalid account format. Expected '+notice);
        f.focus();
        return false;
      }
    }
  }

  if (document.regform.agree.checked == false) {
    alert("You have to agree with the Terms and Conditions!");
    return false;
  }

  return true;
 }

 function IsNumeric(sText) {
  var ValidChars = "0123456789";
  var IsNumber=true;
  var Char;
  if (sText == '') return false;
  for (i = 0; i < sText.length && IsNumber == true; i++) { 
    Char = sText.charAt(i); 
    if (ValidChars.indexOf(Char) == -1) {
      IsNumber = false;
    }
  }
  return IsNumber;
 }
 <?php echo '</script'; ?>
>
 

<?php if ($_smarty_tpl->tpl_vars['errors']->value) {?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['turing_image']) {?><div class="error">Invalid turing image</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['no_fullname']) {?><div class="error">Please enter your full name</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['ip_exists_in_database']) {?><div class="error">Your IP already exists in our database. Sorry, but registration impossible</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['invalid_username']) {?><div class="error">Please enter valid username! It should contains English letters and digits only.</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['username_too_short']) {?><div class="error">Username should contains <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['errors']->value['username_too_short']);?>
 charaters at least</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['username_exists']) {?><div class="error">The Username is already taken. Please try another Username.</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['no_password']) {?><div class="error">Please define a password</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['password_confirm']) {?><div class="error">Please confirm your password correctly</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['password_too_small']) {?><div class="error">The password you provided is too small, please enter at least <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['errors']->value['password_too_small']);?>
 characters!</div><?php }?> 
<?php if ($_smarty_tpl->tpl_vars['errors']->value['invalid_email']) {?><div class="error">Please valid email address</div><?php }?> 
<?php if ($_smarty_tpl->tpl_vars['errors']->value['email_confirm']) {?><div class="error">Please confirm your email address correctly</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['email_exists']) {?><div class="error">An account with this email is already exist</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['no_address']) {?><div class="error">Please enter your address</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['no_city']) {?><div class="error">Please enter your city</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['no_state']) {?><div class="error">Please enter your state</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['no_zip']) {?><div class="error">Please enter your zip</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['no_country']) {?><div class="error">Please enter your country</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['no_transaction_code']) {?><div class="error">Please define a transaction code</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['transaction_code_confirm']) {?><div class="error">Please correcty confirm your transaction code</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['transaction_code_too_small']) {?><div class="error">The transaction code you provided is too small, please enter at least <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['errors']->value['transaction_code_too_small']);?>
 characters!</div><?php }?> 
<?php if ($_smarty_tpl->tpl_vars['errors']->value['transaction_code_vs_password']) {?><div class="error">The Transaction Code should not be equal to the Password you have defined</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['no_agree']) {?><div class="error">You have to agree with the Terms and Conditions!</div><?php }?>
<?php if ($_smarty_tpl->tpl_vars['errors']->value['invalid_account_format']) {?>
 <?php
$_from = $_smarty_tpl->tpl_vars['errors']->value['invalid_account_format'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['err'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['err']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['err']->value) {
$_smarty_tpl->tpl_vars['err']->_loop = true;
$foreach_err_Sav = $_smarty_tpl->tpl_vars['err'];
?>
 <div class="error"><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['err']->value);?>
</div>
 <?php
$_smarty_tpl->tpl_vars['err'] = $foreach_err_Sav;
}
?>
<?php }?>
<?php }?> 

  
<form method="post" onsubmit="return checkform()" name="regform" id="contact-form" class="padding-md padding-md-topbottom-null">

<input type="hidden" name="a" value="signup">
<input type="hidden" name="action" value="signup">

    <!-- Username Field -->
    <div class="form-group form-group-feedback form-group-feedback-right">
        <input type="text" class="form-control" placeholder="Choose username" name="username" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['username']));?>
" required>
        <div class="form-control-feedback">
            <i class="icon-user-plus text-muted"></i>
        </div>
    </div>

    <div class="row">
        <!-- Full Name Field -->
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="text" class="form-control" name="fullname" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['fullname']));?>
" placeholder="Full name" required>
                <div class="form-control-feedback">
                    <i class="icon-user-check text-muted"></i>
                </div>
            </div>
        </div>
        
        <!-- Country Field -->
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <?php if ($_smarty_tpl->tpl_vars['settings']->value['use_user_location']) {?>
                    <select name="country" class="form-control" required>
                        <option value="">--SELECT COUNTRY--</option>
                        <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['c'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['c']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['name'] = 'c';
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['countries']->value) ? count($_loop) : max(0, (int) $_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['c']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['c']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['c']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['c']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['c']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['c']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['c']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['c']['total']);
?>
                        <option <?php if ($_smarty_tpl->tpl_vars['countries']->value[$_smarty_tpl->getVariable('smarty')->value['section']['c']['index']]['name'] == $_smarty_tpl->tpl_vars['frm']->value['country']) {?>selected<?php }?>><?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['countries']->value[$_smarty_tpl->getVariable('smarty')->value['section']['c']['index']]['name']));?>
</option>
                        <?php endfor; endif; ?>
                    </select>
                <?php } else { ?>
                    <input type="text" class="form-control" value="(n/a)" readonly name="country">
                <?php }?>
                <div class="form-control-feedback">
                    <i class="icon-location4 text-muted"></i>
                </div>
            </div>
        </div>
    </div>

    <?php if ($_smarty_tpl->tpl_vars['settings']->value['use_user_location']) {?>
    <!-- Address Fields Row -->
    <div class="row">
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="text" class="form-control" name="address" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['address']));?>
" placeholder="Your Address">
                <div class="form-control-feedback">
                    <i class="icon-home4 text-muted"></i>
                </div>
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="text" class="form-control" name="city" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['city']));?>
" placeholder="Your City">
                <div class="form-control-feedback">
                    <i class="icon-city text-muted"></i>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="text" class="form-control" name="state" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['state']));?>
" placeholder="Your State">
                <div class="form-control-feedback">
                    <i class="icon-map2 text-muted"></i>
                </div>
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="text" class="form-control" name="zip" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['zip']));?>
" placeholder="Your Zip Code">
                <div class="form-control-feedback">
                    <i class="icon-mailbox text-muted"></i>
                </div>
            </div>
        </div>
    </div>
    <?php }?>

    <!-- Password Fields Row -->
    <div class="row">
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <div class="badge-indicator-absolute">
                    <input type="password" class="form-control" placeholder="Create password" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['password']));?>
" name="password" required>
                    <span class="badge password-indicator-badge-absolute"></span>
                </div>
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <div class="badge-indicator-absolute">
                    <input type="password" class="form-control" placeholder="Confirm password" name="password2" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['password2']));?>
" required>
                    <span class="badge password-indicator-badge-absolute"></span>
                </div>
            </div>
        </div>
    </div>

    <?php if ($_smarty_tpl->tpl_vars['settings']->value['use_transaction_code']) {?>
    <!-- Transaction Code Fields Row -->
    <div class="row">
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="password" class="form-control" name="transaction_code" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['transaction_code']));?>
" placeholder="Define Transaction Code" required>
                <div class="form-control-feedback">
                    <i class="icon-key text-muted"></i>
                </div>
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="password" class="form-control" name="transaction_code2" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['transaction_code2']));?>
" placeholder="Retype Transaction Code" required>
                <div class="form-control-feedback">
                    <i class="icon-key text-muted"></i>
                </div>
            </div>
        </div>
    </div>
    <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['pay_accounts']->value) {?>
    <!-- Payment Accounts Section -->
    <div class="row">
        <div class="col-md-12">
            <h6 class="text-muted mb-3">Payment Accounts</h6>
        </div>
        <?php
$_from = $_smarty_tpl->tpl_vars['pay_accounts']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['ps'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['ps']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['ps']->value) {
$_smarty_tpl->tpl_vars['ps']->_loop = true;
$foreach_ps_Sav = $_smarty_tpl->tpl_vars['ps'];
?>
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="text" class="form-control" name="pay_account[<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ps']->value['id']);?>
]" value="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['ps']->value['account'], ENT_QUOTES, 'UTF-8', true));?>
" placeholder="Your <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ps']->value['name']);?>
 Account" data-validate="<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ps']->value['validate']['func']);?>
" data-validate-<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ps']->value['validate']['func']);?>
="<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ps']->value['validate'][$_smarty_tpl->tpl_vars['ps']->value['validate']['func']]);?>
" data-validate-notice="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['ps']->value['validate']['notification'], ENT_QUOTES, 'UTF-8', true));?>
">
               
            </div>
        </div>
        <?php
$_smarty_tpl->tpl_vars['ps'] = $foreach_ps_Sav;
}
?>
    </div>
    <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['mpay_accounts']->value) {?>
    <!-- Multi-Payment Accounts Section -->
    <div class="row">
        <div class="col-md-12">
            <h6 class="text-muted mb-3">Additional Payment Methods</h6>
        </div>
        <?php
$_from = $_smarty_tpl->tpl_vars['mpay_accounts']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['p'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['p']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['p']->value) {
$_smarty_tpl->tpl_vars['p']->_loop = true;
$foreach_p_Sav = $_smarty_tpl->tpl_vars['p'];
?>
        <?php
$_from = $_smarty_tpl->tpl_vars['p']->value['accounts'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['ps'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['ps']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['ps']->value) {
$_smarty_tpl->tpl_vars['ps']->_loop = true;
$foreach_ps_Sav = $_smarty_tpl->tpl_vars['ps'];
?>
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="text" class="form-control" name="pay_account[<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['p']->value['id']);?>
][<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['ps']->value['name'], ENT_QUOTES, 'UTF-8', true));?>
]" value="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['ps']->value['value'], ENT_QUOTES, 'UTF-8', true));?>
" placeholder="Your <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['p']->value['name']);?>
 <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ps']->value['name']);?>
">
                
            </div>
        </div>
        <?php
$_smarty_tpl->tpl_vars['ps'] = $foreach_ps_Sav;
}
?>
        <?php
$_smarty_tpl->tpl_vars['p'] = $foreach_p_Sav;
}
?>
    </div>
    <?php }?>

    <!-- Email Fields Row -->
    <div class="row">
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="email" class="form-control" name="email" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['email']));?>
" placeholder="Your email" required>
                <div class="form-control-feedback">
                    <i class="icon-mention text-muted"></i>
                </div>
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="email" class="form-control" name="email1" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['email1']));?>
" placeholder="Confirm Your email" required>
                <div class="form-control-feedback">
                    <i class="icon-mention text-muted"></i>
                </div>
            </div>
        </div>
    </div>

    <!-- Security Questions Row -->
    <div class="row">
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="text" class="form-control" name="sq" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['sq']));?>
" placeholder="Secret question">
                <div class="form-control-feedback">
                    <i class="icon-question3 text-muted"></i>
                </div>
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="text" class="form-control" name="sa" value="<?php echo smarty_modifier_myescape(preg_replace("%(?<!\\\\)'%", "\'",$_smarty_tpl->tpl_vars['frm']->value['sa']));?>
" placeholder="Secret answer">
                <div class="form-control-feedback">
                    <i class="icon-key2 text-muted"></i>
                </div>
            </div>
        </div>
    </div>

    <?php if ($_smarty_tpl->tpl_vars['settings']->value['use_referal_program']) {?>
    <!-- Referral Program Section -->
    <div class="row">
        <div class="col-md-12">
            <?php if ($_smarty_tpl->tpl_vars['referer']->value) {?>
            <div class="alert alert-info">
                <strong>Your Upline:</strong> <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['referer']->value['name']);?>
 (<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['referer']->value['username']);?>
)
            </div>
            <?php } else { ?>
            <?php if ($_smarty_tpl->tpl_vars['settings']->value['force_upline']) {?>
            <div class="alert alert-warning">
                <?php if ($_smarty_tpl->tpl_vars['settings']->value['get_rand_ref']) {?>
                <div class="form-check">
                    <input type="checkbox" class="form-check-input" name="rand_ref" value="1" id="rand_ref">
                    <label class="form-check-label" for="rand_ref">
                        You do not have an upline. Our system requires an upline for each user. You'll have to agree to get a random one or find a referral link on the net.
                    </label>
                </div>
                <?php } else { ?>
                <p>You do not have an upline. Our system requires an upline for each user.</p>
                <?php }?>
            </div>
            <?php }?>
            <?php }?>
        </div>
    </div>
    <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['ti']->value['check']['signup']) {?>
    <!-- CAPTCHA Section -->
    <div class="row">
        <div class="col-md-6">
            <div class="form-group text-center">
                <img src="<?php echo smarty_modifier_myescape(encurl("?a=show_validation_image&".((string)$_smarty_tpl->tpl_vars['ti']->value['session']['name'])."=".((string)$_smarty_tpl->tpl_vars['ti']->value['session']['id'])."&rand=".((string)$_smarty_tpl->tpl_vars['ti']->value['session']['rand'])));?>
" class="img-fluid border">
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group form-group-feedback form-group-feedback-right">
                <input type="text" class="form-control" name="validation_number" placeholder="Enter validation code" required>
                <div class="form-control-feedback">
                    <i class="icon-shield-check text-muted"></i>
                </div>
            </div>
        </div>
    </div>
    <?php }?>

    <!-- Terms and Conditions -->
    <div class="form-group form-primary">
        <div class="form-check">
            <input type="checkbox" class="form-check-input" name="agree" value="1" <?php if ($_smarty_tpl->tpl_vars['frm']->value['agree']) {?>checked<?php }?> id="agree" required>
            <label class="form-check-label" for="agree">
                I agree with <a href="<?php echo smarty_modifier_myescape(encurl("?a=rules"));?>
">Terms and conditions</a>
            </label>
        </div>
        <span class="form-bar"></span>
    </div>

    <!-- Submit Button -->
    <div class="text-center">
        <button type="submit" class="btn bg-white text-primary btn-block">Register</button>
        <div class="new-account mt-3">
            <p class="text-white">Already have an account? <a class="text-white" href="?a=login">Sign in</a></p>
        </div>
    </div>
</form>                                
                                <?php }?>
                                                            </div>
                            </div>
        <!-- /main content -->

    </div>
	</div>
                      
            <!--  END Page Content -->
<?php }
}
?>