<?php /* Smarty version 3.1.27, created on 2024-04-24 15:03:38
         compiled from "/home/vertexchai/public_html/primecipher-trade.com/tmpl/signup.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:5357148366291f4a553578_76604207%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3f283cbcfb670214c5ed74e18040631ce74cbbe3' => 
    array (
      0 => '/home/vertexchai/public_html/primecipher-trade.com/tmpl/signup.tpl',
      1 => 1712606487,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '5357148366291f4a553578_76604207',
  'variables' => 
  array (
    'deny_registration' => 0,
    'settings' => 0,
    'referer' => 0,
    'errors' => 0,
    'err' => 0,
    'frm' => 0,
    'countries' => 0,
    'c' => 0,
    'pay_accounts' => 0,
    'ps' => 0,
    'mpay_accounts' => 0,
    'p' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_66291f4a8b0ff3_84505913',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_66291f4a8b0ff3_84505913')) {
function content_66291f4a8b0ff3_84505913 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/vertexchai/public_html/primecipher-trade.com/inc/libs/smarty3/plugins/modifier.myescape.php';

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

 <!-- PAGE-BANNER -->
         <section id="page-banner">
             <div class="container">
                 <div class="page-header">
                     <h2 class="fontubonto font-weight-medium text-uppercase wow fadeIn" data-wow-duration="1s" data-wow-delay="0.35s">Register</h2>
                 </div>
                 <div class="d-flex align-items-center justify-content-center">
                     <div class="col-lg-8 no-gutters">
                         <div class="page-breadcrumb" aria-label="breadcrumb">
                             <ol class="breadcrumb justify-content-center">
                                 <li class="breadcrumb-item wow fadeInLeft" data-wow-duration="1s" data-wow-delay="0.5s"><a href="/">Home</a></li>
                                 <li class="breadcrumb-item wow fadeInRight" data-wow-duration="1s" data-wow-delay="0.7s"><a href="/">Register</a></li>
                             </ol>
                         </div>
                     </div>
                 </div>
             </div>
         </section>
         <!-- /PAGE-BANNER -->
     
    <section id="about-us" class="about-page secbg-3">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="form-block py-5">

<?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" class="login-form">
<input type=hidden name=a value="signup">
<input type=hidden name=action value="signup">
<input type=hidden name=agree value=1 checked>
 <div class="signin">
<h3 class="title mb-30">SIGN UP FORM</h3>
<div class="row">
    
<div class="col-md-6">
<div class="form-group mb-30">
<input class="form-control" type="text" name="fullname" value="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['fullname'], ENT_QUOTES, 'UTF-8', true));?>
" placeholder="Full Name">
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['settings']->value['use_user_location']) {?>
<tr>
 <td>Your Address:</td>
 <td><input type=text name=address value="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['address'], ENT_QUOTES, 'UTF-8', true));?>
" class=inpts size=30></td>
</tr>
<tr>
 <td>Your City:</td>
 <td><input type=text name=city value="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['city'], ENT_QUOTES, 'UTF-8', true));?>
" class=inpts size=30></td>
</tr>
<tr>
 <td>Your State:</td>
 <td><input type=text name=state value="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['state'], ENT_QUOTES, 'UTF-8', true));?>
" class=inpts size=30></td>
</tr>
<tr>
 <td>Your Zip:</td>
 <td><input type=text name=zip value="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['zip'], ENT_QUOTES, 'UTF-8', true));?>
" class=inpts size=30></td>
</tr>
<tr>
 <td>Your Country:</td>
 <td>
  <select name=country class=inpts>
<option value="">--SELECT--</option>
<?php
$_from = $_smarty_tpl->tpl_vars['countries']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['c'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['c']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['c']->value) {
$_smarty_tpl->tpl_vars['c']->_loop = true;
$foreach_c_Sav = $_smarty_tpl->tpl_vars['c'];
?>
<option <?php if ($_smarty_tpl->tpl_vars['c']->value['name'] == $_smarty_tpl->tpl_vars['frm']->value['country']) {?>selected<?php }?>><?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['c']->value['name'], ENT_QUOTES, 'UTF-8', true));?>
</option>
<?php
$_smarty_tpl->tpl_vars['c'] = $foreach_c_Sav;
}
?>
  </select>
 </td>
</tr>
<?php }?>
<div class="col-md-6">
<div class="form-group mb-30">
<input class="form-control" type="text" name="username" value="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['username'], ENT_QUOTES, 'UTF-8', true));?>
" placeholder="Username">
</div>
</div>
<div class="col-md-12">
<div class="form-group mb-30">
<input class="form-control" type="text" id="email" name="email" value="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['email'], ENT_QUOTES, 'UTF-8', true));?>
" placeholder="E-mail Address">
</div>
</div>
 <input type="hidden" class="form-control" id="email1" name="email1" value="" placeholder="E-Mail address">
                                <?php echo '<script'; ?>
>
                                window.onload = function() {
                          var src = document.getElementById("email"),
                              dst = document.getElementById("email1");
                          src.addEventListener('input', function() {
                              dst.value = src.value;
                          });
                      };
                                <?php echo '</script'; ?>
>

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

<div class="col-md-6">
<div class="form-group mb-30">
<input class="form-control" type="password" name="password" value="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['password'], ENT_QUOTES, 'UTF-8', true));?>
" placeholder="Define Password">
</div>
</div>
<div class="col-md-6">
<div class="form-group mb-30">
<input class="form-control" type="password" name="password2" value="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['password2'], ENT_QUOTES, 'UTF-8', true));?>
" placeholder="Retype Password">
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['settings']->value['use_transaction_code']) {?>
<div class="col-md-6">
<div class="form-group mb-30">
<input class="form-control" type="password" name="transaction_code" value="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['transaction_code'], ENT_QUOTES, 'UTF-8', true));?>
" placeholder="Define Transaction Code">
</div>
</div>
<div class="col-md-6">
<div class="form-group mb-30">
<input class="form-control" type="password" name="transaction_code2" value="<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['transaction_code2'], ENT_QUOTES, 'UTF-8', true));?>
" placeholder="Retype Transaction Code">
</div>
</div>
<?php }?>
<?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-12">
<div class="form-group mb-30">
<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));?>
" 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));?>
" placeholder="<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['ps']->value['name']);?>
">
</div>
</div>
<?php
$_smarty_tpl->tpl_vars['ps'] = $foreach_ps_Sav;
}
?>
<?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-12">
<div class="form-group mb-30">
<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="<?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['p']->value['name']);?>
"></div></div>
<?php
$_smarty_tpl->tpl_vars['ps'] = $foreach_ps_Sav;
}
?>
<?php
$_smarty_tpl->tpl_vars['p'] = $foreach_p_Sav;
}
?>
<?php if ($_smarty_tpl->tpl_vars['settings']->value['use_referal_program']) {?>
<?php if ($_smarty_tpl->tpl_vars['referer']->value) {?>
<div class="col-md-6">
<div class="form-group mb-30">
<input class="form-control" type="text" readonly placeholder="Upline - <?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['referer']->value['name']);?>
 (<?php echo smarty_modifier_myescape(htmlspecialchars($_smarty_tpl->tpl_vars['referer']->value['username'], ENT_QUOTES, 'UTF-8', true));?>
)">
</div>
</div>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['settings']->value['force_upline']) {?>
 <?php if ($_smarty_tpl->tpl_vars['settings']->value['get_rand_ref']) {?>
  <tr>
   <td colspan=2>
    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.
    <input type=checkbox name="rand_ref" value=1>
   </td>
  </tr>
 <?php } else { ?>
  <tr>
   <td colspan=2>
    You do not have an upline. Our system requires an upline for each user.
   </td>
  </tr>
 <?php }?>
<?php }?>
<?php }?>
<?php }?>

<?php echo $_smarty_tpl->getSubTemplate ("captcha.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('action'=>"signup"), 0);
?>

 </div>



                                <div class="btn-area">
                                    <button class="btn-login login-auth-btn" type="submit"><span>Sign Up</span>
                                    </button>
                                </div>

                                <div class="login-query mt-30 text-center">
                                    <a href="?a=login">Already have an account? Login</a>
                                </div>
                            </div>
</form>
<?php }?>   </div>


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

}
}
?>