<?php
include('code.php');
	
?>



<!DOCTYPE html>
<!-- saved from url=(0034)https://my.mobilevtu.com.ng/wallet -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title><?php echo getStoreName($link); ?>  | Log in</title>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link rel="shortcut icon" href="./img/logo.jpg">
  <link rel="stylesheet" href="./Mobilevtu.com _ Log in_files/bootstrap.min.css">
  <link rel="stylesheet" href="./Mobilevtu.com _ Log in_files/font-awesome.min.css">
  <link rel="stylesheet" href="./Mobilevtu.com _ Log in_files/ionicons.min.css">
  <link rel="stylesheet" href="./Mobilevtu.com _ Log in_files/AdminLTE.min.css">
  <link rel="stylesheet" href="./Mobilevtu.com _ Log in_files/blue.css">
  <meta name="theme-color" content="#036">
  <meta name="msapplication-TileColor" content="#036">   
    
  

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
  <style>
  .btn .fa, .login-logo .fa {margin-right:10px}
  .login-box-msg {
	background: #006699;  
	color: #fff;
	padding: 5px 5px 5px 5px;
	font-weight: bold;
	margin-bottom: 10px;
	border: 1px solid #036;
  }
  .login-box-body {
	 background: #333;
	 color: white; 
  }
  .login-box-body a {
	 color: #cdf; 
  }
  body, .login-page { 
  	background: url(files/background.jpg); 
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
 }
.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background-color: rgba(201,211,222,1);
	background: url(files/Preloader_3.gif) center no-repeat #fff;
	background-size: 120px 120px !important;
}
.block {
  display: block;
  width: 100%;
  border: none;
  background-color: rgba(198,27,17,1);
  padding: 14px 28px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
}
  </style>
</head>
<body style="background-color:#033;"> <!-- #c99419 -->
<br><br>
<div class="se-pre-con" style="display: none;"></div>
<div class="login-box" style="background-color:rgba(9,23,38,0.8);border:none;">
  <div class="login-logo">
    <strong><a href="https://my.mobilevtu.com.ng/wallet"><img src="img/Profile.png"></i> Sign In</a></strong>
    <div><?php echo (isset($result))? $result: '' ; ?></div>
  </div>
  <!-- /.login-logo -->
  <div class="login-box-body" style="background-color:rgba(9,23,38,0.5)">
    <form class="main_form" action="<?php $_SERVER['PHP_SELF']; ?>" enctype="multipart/form-data" method="post">
     <div class="form-group has-feedback">
        <select name="branch" class="form-control" placeholder="Select Branches">
        <?php getBranches($link); ?>
        </select>
        <span class="glyphicon glyphicon-user form-control-feedback"></span>
      </div>
      	    	
      <div class="form-group has-feedback">
        <input type="text" name="username" class="form-control" placeholder="Username">
        <span class="glyphicon glyphicon-user form-control-feedback"></span>
      </div>
      <div class="form-group has-feedback">
        <input type="password" name="password" class="form-control" placeholder="Password">
        <span class="glyphicon glyphicon-lock form-control-feedback"></span>
      </div>
             <div class="form-group" style="overflow-x: hidden;"></div> 
              <div class="row" style="margin: 0 1px;">
          <button type="submit" name="login" class="form-control" style="height:70%; color:#FFF; background-color:#900;" >Loggin</button>
      </div>    
    
      <div class="row" style="margin-left:10px;margin-top:15px;">
              <a href="#">Powered by Faccomputers</a>
      </div>
      
    </form>
   <!-- New to Mobilevtu.com? <a href="index.php?join"><b>Sign Up</b></a><br> -->
  </div>
  <!-- /.login-box-body -->
</div>
<!-- /.login-box -->

<script src="./Mobilevtu.com _ Log in_files/jQuery-2.2.0.min.js.download"></script>
<script src="./Mobilevtu.com _ Log in_files/bootstrap.min.js.download"></script>
<script src="./Mobilevtu.com _ Log in_files/icheck.min.js.download"></script>
<script>
$("#email").blur(function(){
  $.ajax({
	  url: 'index.php?join&checkUser='+$(this).val(),
	  type: 'GET'
	})
  .done(function(response){
	  if(response > 0) {
	  	alert('Sorry but your email address is already registered. Please login or use a different one');
		$("#submit").hide();
		$("#reset").show();
		//$("#mesage").html('Please use a different email address to continue');
	  } else {
		$("#submit").show(); 
		$("#reset").hide(); 
	  }
  })
})

$("#password2").blur(function(){ 
	var pass1 = document.getElementById('password1').value;
	var pass2 = document.getElementById('password2').value;
  if (pass1 == pass2) {
	   	$("#submit").show(); 
		$("#reset").hide();
	} else {
  		alert('Sorry but your passwords does not match.');
		$("#submit").hide();
		$("#reset").show();
		//$("#mesage").html('Please type same passwords to continue');
  }
});
$('.main_form').submit(function(){
	$('.block').prop("disabled",true);
	$('.block').text('Please wait...');
});
$(window).load(function() {
	$(".se-pre-con").fadeOut('slow');
	});
</script>




</body></html>