<?php /* Smarty version 3.1.27, created on 2021-01-20 19:29:16
         compiled from "/home/admin/web/surextrade.co/public_html/tmpl/forgot_password.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:15481150096008848cb0c327_44015663%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6a537509c31337e04f329c691308a5a3a38ce19e' => 
    array (
      0 => '/home/admin/web/surextrade.co/public_html/tmpl/forgot_password.tpl',
      1 => 1589857456,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15481150096008848cb0c327_44015663',
  'variables' => 
  array (
    'settings' => 0,
    'errors' => 0,
    'found_records' => 0,
    'frm' => 0,
    'ti' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_6008848cb754b5_38903715',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_6008848cb754b5_38903715')) {
function content_6008848cb754b5_38903715 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_myescape')) require_once '/home/admin/web/surextrade.co/public_html/inc/libs/smarty3/plugins/modifier.myescape.php';

$_smarty_tpl->properties['nocache_hash'] = '15481150096008848cb0c327_44015663';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title><?php echo smarty_modifier_myescape($_smarty_tpl->tpl_vars['settings']->value['site_name']);?>
</title>
<meta name="description" content="Cloud Mining, CryptoCurrency Investment, Bitcoin Trading, Ethereum Trading, Bitcoin Mining, Metaquotes, Earn Money Online,CryptoCurrency Mining">
<meta name="keywords" content="Cloud Mining, CryptoCurrency Investment, Bitcoin Trading, Ethereum Trading, Bitcoin Mining, Metaquotes, Earn Money Online,CryptoCurrency Mining">
<meta name="author" content="hyip template" href="https://hyipcustomize.com/">
<meta charset="utf-8">
<meta name="Hexoncode" content="">
<meta name="viewport" content="width=device-width, initial-scale=0.55, shrink-to-fit=yes">



<link rel="apple-touch-icon" sizes="180x180" href="styles/assets/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="styles/assets/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="styles/assets/favicon/favicon-16x16.png">
<link rel="manifest" href="styles/assets/favicon/site.webmanifest.html">
<link rel="mask-icon" href="styles/assets/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" integrity="sha256-UhQQ4fxEeABh4JrcmAJ1+16id/1dnlOEVCFOxDef9Lw=" crossorigin="anonymous" />
<link href="styles/assets/css/bootstrap.min.css" rel="stylesheet">
<link href="styles/assets/css/style.css" rel="stylesheet">
<link rel="stylesheet" href="styles/assets/css/prel.min.css">

<link href="styles/assets/fonts/fontawesome-free/css/all.min.css" rel="stylesheet">
<link href="styles/assets/fonts/simple-line-icons/css/simple-line-icons.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="styles/assets/css/flag-icon.css" />
<link rel="stylesheet" href="styles/assets/css/magnific-popup.css" />
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500,600,700" rel="stylesheet" type="text/css">


</head>
<body>
    
    <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" style="
    background: none !important;
">    <img width="187" href="./" height="56" src="styles/assets/images/svg/logo.svg" style="margin-bottom: 20px;"/>

<div class="module__registration__top gcard">

<a href="./?a=login" class="fas fa-arrow-circle-left" style="margin-bottom: 26px;font-size: 32px;color: #46c4c4;"></a>

<h2>Forgot Password</h2>
<div class="module__registration__form">


<?php echo '<script'; ?>
 language=javascript>
function checkform() {
  if (document.forgotform.email.value == '') {
    alert("Please type your username or email!");
    document.forgotform.email.focus();
    return false;
  }
  return true;
}
<?php echo '</script'; ?>
>



<?php if ($_smarty_tpl->tpl_vars['errors']->value['turing_image']) {?>
Invalid turing image<br><br>
<?php }?>


<?php if ($_smarty_tpl->tpl_vars['found_records']->value == 2) {?>
Your accound was found. Please check your e-mail address and follow confirm URL to reset your password.
<br><br>

<?php } else { ?>

<?php if ($_smarty_tpl->tpl_vars['found_records']->value == 0) {?>
No accounts found for provided info.
<br><br>
<?php } elseif ($_smarty_tpl->tpl_vars['found_records']->value == 1) {?>
Request was confirmed. Login and password was sent to your email address.
<br><br>
<?php }?>

    
<form class="demo-form" method=post name=forgotform onsubmit="return checkform();">
<input type=hidden name=a value="forgot_password">
<input type=hidden name=action value="forgot_password">
<div class="form-section">
    <label for="email">E-mail:</label>
<div class="input-group">

<input style="min-width: 60%;" type="email" id="email" class="form-control form__input parsley-success" name="email"  value="<?php echo smarty_modifier_myescape(mb_convert_encoding(htmlspecialchars($_smarty_tpl->tpl_vars['frm']->value['email'], ENT_QUOTES, 'UTF-8', true), "HTML-ENTITIES", 'UTF-8'));?>
" placeholder="Enter your e-mail">
</div>

<?php if ($_smarty_tpl->tpl_vars['ti']->value['check']['forgot_password']) {?>
<tr>
 <td class=menutxt align=right><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'])));?>
"></td>
 <td><input type=text name=validation_number class=inpts size=15></td>
</tr>
<?php }?>

<div class="text-left">
<div class="col__popup__module text-left" style="
    padding: 20px 0px;
">
<div class="form-navigation">
<input type="submit" value="Forgot" class="btn btn-default pull-right">
</div>
</div>
</div>
</div>
</div>
</div>
</form>
<?php }?>
</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/hashrate-main.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="styles/assets/js/plugins/infodata.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'; ?>
>



</body>
</html>

<?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 }
}
?>