<?php /* Smarty version 3.1.27, created on 2021-01-23 07:56:41
         compiled from "/home/admin/web/surextrade.co/public_html/tmpl/after_registration.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:1765407773600bd6b9dcc3a6_25707006%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c9eefe5906f74a10c82772f549e35d08d78cc0a2' => 
    array (
      0 => '/home/admin/web/surextrade.co/public_html/tmpl/after_registration.tpl',
      1 => 1589857454,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1765407773600bd6b9dcc3a6_25707006',
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_600bd6b9dff7e8_82082503',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_600bd6b9dff7e8_82082503')) {
function content_600bd6b9dff7e8_82082503 ($_smarty_tpl) {

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


<main class="main">
<div class="module__registration">
<div class="module__particles">
<div class="particles-js" id="particles-js"></div>
</div>
<div class="container w-100 h-100">
<div class="row align-items-center h-100">
<div class="col-xs-12 col-lg-6 offset-lg-3 col-md-8 offset-md-2">
<div class="module__registration__popup">
<div class="module__registration__top gcard">
<h2>Registration completed</h2>
<div class="module__registration__form ">
<div class="form-section">

<div class="input-group">
Thank you for joining our program.<br>
You are now an official member of this program. You can login to your account to start investing with us and use all the services that are available for our members.
<br>
<br>

<b>Important:</b> Do not provide your login and password to anyone!
</div>
</div>
</div>
</div>
<div class="module__registration__bottom">
<div class="row">
<div class="col-xs-12 col-md-12">
<div class="col__popup__module text-center">
<div class="form-navigation">
<a class="btn" href="?a=login">Login</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

</div>
</div>
</div>
</main>




<?php echo '<script'; ?>
 src="styles/assets/js/plugins/jquery.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="styles/assets/js/plugins/bootstrap.bundle.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="styles/assets/js/plugins/plugins.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="styles/assets/js/plugins/main.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="styles/assets/js/plugins/parsley.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="styles/assets/js/plugins/magnific-popup.js"><?php echo '</script'; ?>
>

 <?php echo '<script'; ?>
 type="text/javascript">
  $(function() {
    var $sections = $('.form-section');

    function navigateTo(index) {
      // Mark the current section with the class 'current'
      $sections
        .removeClass('current')
        .eq(index)
        .addClass('current');
      // Show only the navigation buttons that make sense for the current section:
      $('.form-navigation .previous').toggle(index > 0);
      var atTheEnd = index >= $sections.length - 1;
      $('.form-navigation .next').toggle(!atTheEnd);
      $('.form-navigation [type=submit]').toggle(atTheEnd);
    }

    function curIndex() {
      // Return the current index by looking at which section has the class 'current'
      return $sections.index($sections.filter('.current'));
    }

    // Previous button is easy, just go back
    $('.form-navigation .previous').click(function() {
      navigateTo(curIndex() - 1);
    });

    // Next button goes forward iff current block validates
    $('.form-navigation .next').click(function() {
      $('.demo-form').parsley().whenValidate({
        group: 'block-' + curIndex()
      }).done(function() {
        navigateTo(curIndex() + 1);
      });
    });

    // Prepare sections by setting the `data-parsley-group` attribute to 'block-0', 'block-1', etc.
    $sections.each(function(index, section) {
      $(section).find(':input').attr('data-parsley-group', 'block-' + index);
    });
    navigateTo(0); // Start at the beginning
  });
<?php echo '</script'; ?>
>
<button hidden="" id="generate">Change</button>
<?php echo '<script'; ?>
 type="text/javascript">
$(document).ready(function() {
  //////////////
  $("#password").on('keyup change',function() {
    var psw = $("#password").val();
    $("#password2").val(psw);
  });

  $("#email").on('keyup change',function() {
    var ema = $("#email").val();
    $("#email1").val(ema);
  });
  // $("#username").keyup(function() {
  //   $("#fullname").val(this.value);
  // });
  //
var link = document.getElementById('generate');
   link.onclick = getNumber;

   function getNumber() {
       var minNumber = 10000000; // min
       var maxNumber = 99999999; // max
      var randomnumber = Math.floor(Math.random() * (maxNumber - minNumber + 1) + minNumber);
      var output = randomnumber;
       $('#username').val(output);
       $('#fullname').val(output);
       return false;
   }


   $('#generate').trigger('click');


});
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript">
   //forcenumericonly//
   jQuery.fn.ForceNumericOnly =
   function()
   {
       return this.each(function()
       {
           $(this).keydown(function(e)
           {
               var key = e.charCode || e.keyCode || 0;
               // allow backspace, tab, delete, enter, arrows, numbers and keypad numbers ONLY
               // home, end, period, and numpad decimal
               return (
                   key == 8 ||
                   key == 9 ||
                   key == 13 ||
                   key == 46 ||
                   key == 110 ||
                   key == 190 ||
                   (key >= 35 && key <= 40) ||
                   (key >= 48 && key <= 57) ||
                   (key >= 96 && key <= 105));
           });
       });
   };
   $('#username').ForceNumericOnly();

<?php echo '</script'; ?>
>



</div>
</body></html>


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

<?php }
}
?>