<?php /* Smarty version 3.1.27, created on 2022-02-17 16:01:47
         compiled from "/home/dilivjcn/voguecapital.net/myadmin/tmpl/login.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:673104925620eb7bbcfe5c4_67087962%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd3126fe58ddafc999baf89594d1d770c5b0ec23a' => 
    array (
      0 => '/home/dilivjcn/voguecapital.net/myadmin/tmpl/login.tpl',
      1 => 1645099274,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '673104925620eb7bbcfe5c4_67087962',
  'variables' => 
  array (
    'frm' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_620eb7bbd237f2_62411147',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_620eb7bbd237f2_62411147')) {
function content_620eb7bbd237f2_62411147 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '673104925620eb7bbcfe5c4_67087962';
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="author" content="wpoceans">
    <title>Eagle Winks Cash Flow - It pays to have friends</title>
    <link href="setpage/assets/css/themify-icons.css" rel="stylesheet">
    <link href="setpage/assets/css/font-awesome.min.css" rel="stylesheet">
    <link href="setpage/assets/css/flaticon.css" rel="stylesheet">
    <link href="setpage/assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="setpage/assets/css/animate.css" rel="stylesheet">
    <link href="setpage/assets/css/owl.carousel.css" rel="stylesheet">
    <link href="setpage/assets/css/owl.theme.css" rel="stylesheet">
    <link href="setpage/assets/css/slick.css" rel="stylesheet">
    <link href="setpage/assets/css/slick-theme.css" rel="stylesheet">
    <link href="setpage/assets/css/swiper.min.css" rel="stylesheet">
    <link href="setpage/assets/css/owl.transitions.css" rel="stylesheet">
    <link href="setpage/assets/css/jquery.fancybox.css" rel="stylesheet">
    <link href="setpage/assets/css/odometer-theme-default.css" rel="stylesheet">
    <link href="setpage/assets/css/nice-select.css" rel="stylesheet">
    <link href="setpage/assets/css/signup.css" rel="stylesheet">
    <link href="setpage/assets/css/style.css" rel="stylesheet">
    
   
     <link rel="icon" href="https://eaglewinks.com/setpage/assets/images/favicon.png" type="image/png" sizes="16x16">

</head>

<body>
   
    <div class="wpo-login-area">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="text-center">
                        <a href="#"><img src="setpage/assets/images/logo.png" alt="" width="250px"></a><br><br>
                    </div>
                    <div class="text-center">
                        
<?php echo '<script'; ?>
 language=javascript>
function checkform() {
  if (document.mainform.username.value=='') {
    alert("Please type your username!");
    document.mainform.username.focus();
    return false;
  }
  if (document.mainform.password.value=='') {
    alert("Please type your password!");
    document.mainform.password.focus();
    return false;
  }
  return true;
}
<?php echo '</script'; ?>
>


<?php if ($_smarty_tpl->tpl_vars['frm']->value['say'] == 'invalid_login') {?>
<h3>Login error:</h3><br><br>

Your login or password or turing image code is wrong. Please check this information.
<?php }?>
											
					
				
                    </div>
                    <form class="wpo-accountWrapper" method=post name=mainform onsubmit="return checkform()">
						<input type=hidden name=a value='do_login'>
						<input type=hidden name=follow value=''>
						<input type=hidden name=follow_id value=''>
                        
                        <div class="wpo-accountForm form-style">
                            <div class="fromTitle">
                                <h2>Login</h2>
                                <p>Sign into your account</p>
                                <p id="msg">
                                    
                                </p>
                            </div>
                            <div class="row">
                                <div class="col-lg-12 col-md-12 col-12">
                                    <label>Username</label>
                                    <input type="text" id="username" name=username value='' placeholder="">
                                </div>
                                <div class="col-lg-12 col-md-12 col-12">
                                    <div class="form-group">
                                        <label >Password</label>
                                        <input class="pwd6" type="password" placeholder=""  value="" name="password">
                                    </div>
                                    <span class="input-group-btn">
                                        <button class="btn btn-default reveal6" type="button"><i class="glyphicon glyphicon-eye-open"></i></button>
                                    </span>
                                </div>
                                <!--
                                <div class="col-lg-12 col-md-12 col-12">
    								<div class="g-recaptcha" data-sitekey="6LcVt9sbAAAAAEcMI0ZUUEM3J5IRqhw6F3MwyqTm"></div>
    							</div>-->
                                <div class="col-lg-12 col-md-12 col-12">
                                    <div class="check-box-wrap">
                                        <div class="input-box">
                                            <input type="checkbox" id="fruit4" name="fruit-4" value="Strawberry">
                                            <label for="fruit4">Remember Me</label>
                                        </div>
                                        <div class="forget-btn">
                                            <a href="forgot">Forgot Password?</a>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-12 col-md-12 col-12">
                                    <button type="submit" class="wpo-accountBtn">Login</button>
                                </div>
                            </div>
                          
                            <p class="subText">Don't have an account? <a href="register">Create free account</a></p>
                        </div>
                        
                        
                        <div class="wpo-accountInfo">
                            <div class="wpo-accountInfoHeader">
                                <a href="#"><img src="setpage/assets/images/logo.png" alt=""></a>
                                    <a class="wpo-accountBtn" href="register">
                                        <span class="">Create Account</span>
                                    </a>
                            </div>
                            <div class="image">
                                <img src="setpage/assets/images/login.svg" alt="">
                            </div>
                            <div class="back-home">
                                <a class="wpo-accountBtn" href="/">
                                    <span class="">Back To Home</span>
                                </a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- All JavaScript files
    ================================================== -->
    <?php echo '<script'; ?>
 src="setpage/assets/js/jquery.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="setpage/assets/js/bootstrap.min.js"><?php echo '</script'; ?>
>
    <!-- Plugins for this template -->
    <?php echo '<script'; ?>
 src="setpage/assets/js/jquery-plugin-collection.js"><?php echo '</script'; ?>
>
    <!-- Custom script for this template -->
    <?php echo '<script'; ?>
 src="setpage/assets/js/script.js"><?php echo '</script'; ?>
>
    
    
               <?php echo '<script'; ?>
>
           $('#register').on('submit',function(e){
                e.preventDefault();
                $('#msg').html('');
                //$('.bn').hide();
                $(".submit").attr("disabled",true);
                
                    
                    $.ajax({
                        url: 'process_login.php',
                        type: 'post',
                        data: $("#register").serialize(),
                        beforeSend:function(){
                            $('.submit').html('Please wait..');
                            setTimeout(function(){
                                $('.submit').html('Authenticating..');
                            }, 300);
                            
                            
                        },
                        success: function(data) {
                            //alert(data);
                            //grecaptcha.reset();
                            if(data == 'one'){
                                $('#msg').html('<div class="alert alert-danger" style="width: 100%; background: #00813d; padding: 10px; border-radius: 10px; color: #fff; font-size: 12px;;"><i class="fa fa-check-circle fa-2x"></i>&nbsp;&nbsp;Login Successful. Redirecting....</div>');
                                
                                setTimeout(function(){
                                    window.location = 'user/index';
                                    //window.location = 'success';
                                }, 500);
                            }else if(data == 'two'){
                                
                                $('#email_msg').html('');
                                //$('.bn').show();
                                $('#msg').html('<div style="padding: 8px; background: #b22222; color: #fff; border-radius: 10px; font-size: 12px;"><i class="fa fa-hand-stop-o fa-2x"></i>&nbsp;&nbsp;Invalid Email and Password Combination</div>');
                            }else{
                                alert(data);
                            }
                            $(".submit").removeAttr("disabled",true);
                            $('.submit').html('Log In');
                            
                        } 
                    });   
                    //alert('Working');
                    //$("#submit").removeAttr("disabled",true);// smessage  eout
                    //$('.svsp').hide();
                    //$('.smessage').fadeIn('slow');
                    //$('#eout').html(email);

                
                
            });
        <?php echo '</script'; ?>
> 
</body>
</html><?php }
}
?>