<?php
include("code.php");
authorize();
$name=$_SESSION['admin_name'];
$bcode=$_SESSION['branchcode'];
$date=date('Y-m-d');
$branchcode=$bcode;

$sql = "SELECT * FROM invoice where BranchCode='$bcode' and date='$date' ORDER BY id DESC limit 10";
	$rst = mysqli_query($link,$sql);
	$row_just = mysqli_fetch_assoc($rst);
	$num=mysqli_num_rows($rst);
if(isset($_POST['view'])){
		$brcode=$_POST['branch'];
		$branchcode=getBranchcode($link,$brcode);
		$sql = "SELECT * FROM invoice where BranchCode='$bcode' and date='$date' order by id ASC";
		$rst = mysqli_query($link,$sql);
		$row_just = mysqli_fetch_assoc($rst);
		$num=mysqli_num_rows($rst);
	}
function gettotamnt($bcode,$date,$link){
		$result=mysqli_query($link,"SELECT * FROM invoice where mode='TRANSFER' and BranchCode='$bcode' and date='$date'");
		$tot=0;
		while($reply = mysqli_fetch_array($result)){
			$cash=$reply['total'];
			
			$tot+=$cash;
			
		}
		return $tot;
	}
function gettotdebit($bcode,$date,$link){
		$result=mysqli_query($link,"SELECT * FROM debtors where BranchCode='$bcode' and date='$date'");
		$tot=0;
		while($reply = mysqli_fetch_array($result)){
			$cash=$reply['amount'];
			$tot+=$cash;
			
		}
		return $tot;
	}
function gettotBankAmnt($bcode,$link,$date){
		$result=mysqli_query($link,"SELECT * FROM invoice where BranchCode='$bcode' and date='$date'");
		$tot=0;
		while($reply = mysqli_fetch_array($result)){
			$cash=$reply['total'];
			$tot+=$cash;
			
		}
		return $tot;
	}

function gettotcash($bcode,$link,$date){
		$result=mysqli_query($link,"SELECT * FROM invoice where mode='POS' and BranchCode='$bcode' and date='$date'");
		$tot=0;
		while($reply = mysqli_fetch_array($result)){
			$cash=$reply['total'];
			$tot+=$cash;
			
		}
		return $tot;
	}
	
	function gettotcash2($bcode,$link,$date){
		$result=mysqli_query($link,"SELECT * FROM invoice where mode='Cash' and BranchCode='$bcode' and date='$date'");
		$tot=0;
		while($reply = mysqli_fetch_array($result)){
			$cash=$reply['total'];
			$tot+=$cash;
			
		}
		return $tot;
	}

?>

<!DOCTYPE html>
<!-- saved from url=(0037)https://my.mobilevtu.com.ng/index.php -->
<html lang="en" class="js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers no-applicationcache svg inlinesvg smil svgclippaths"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>LASVEGAS | Dashboard ::</title>

    <!-- Bootstrap -->
    <link href="./dashboard_files/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="./dashboard_files/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="./dashboard_files/font-awesome.min(1).css">
    <!-- NProgress -->
    <link href="./dashboard_files/nprogress.css" rel="stylesheet">
    <!-- iCheck -->
    <link href="./dashboard_files/green.css" rel="stylesheet">
	
    <!-- bootstrap-progressbar -->
    <link href="./dashboard_files/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
    <!-- JQVMap -->
    <link href="./dashboard_files/jqvmap.min.css" rel="stylesheet">
    
    <link href="./dashboard_files/featherlight.min.css" rel="stylesheet">
    <link href="./dashboard_files/select2.min.css" rel="stylesheet">

    <!-- bootstrap-daterangepicker -->
    <link href="./dashboard_files/daterangepicker.css" rel="stylesheet">
	<link href="./dashboard_files/sweetalert.css" rel="stylesheet" type="text/css"> 
    
	<link rel="stylesheet" href="./dashboard_files/leaflet.css">
	<script type="text/javascript" async="" src="./dashboard_files/recaptcha__en.js.download" crossorigin="anonymous" integrity="sha384-XtymsJC8H3wYh57vnHxIWSTq9LJf2d3w3WVjR2gR+rDtBuWO8zdvO/s6O6Cli/Oe"></script><script src="./dashboard_files/leaflet.js.download"></script>
    <!-- Custom Theme Style -->
    <link href="./dashboard_files/custom.min.css" rel="stylesheet">
    <meta name="theme-color" content="#036">
    <meta name="msapplication-TileColor" content="#036">   
    
    <link rel="shortcut icon" type="image/png" href="https://my.mobilevtu.com.ng/files/favicon.png">
  <style>
.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(files/Preloader_3.gif) center no-repeat #fff;
	background-size: 120px 120px !important;
}
</style><link id="load-css-button.min.css" rel="stylesheet" type="text/css" href="./dashboard_files/button.min.css"></head>

  <body class="nav-md">
  	<div class="se-pre-con" style="display: none;"></div>
    <div class="se-pre-con2"></div>
    <div class="noconnection"></div>
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
          <div class="left_col scroll-view">
            <div class="navbar nav_title" style="border: 0;">
              <a href="dashboard.php" class="site_title"><img src="img/Profile.png"></i> <span>LASVEGAS</span></a>
            </div>

            <div class="clearfix"></div>



            <!-- sidebar menu -->
            <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
              <div class="menu_section active">
                <ul class="nav side-menu" style="">
                  <li class="connect_check current-page"><a href="dashboard.php"><img src="img/Loading.png"></i> Dashboard </a> </li>
                   
                   <li class="connect_check"><a href="open.php"><img src="img/Info.png"></i> Opening and Closing Stock</a> </li>
                  
                 <li class="connect_check"><a href="addstockfull.php"><img src="img/Bittorrent-Plus-icon~1.png"></i>Stock Entry Section</a> </li> 
                  
                  
                  <li class="connect_check"><a href="updatestock.php"><img src="img/Load.png"></i>Add Stock / Adjust Price</a> </li>
                  
                    <li class="connect_check"><a href="dailystockreport.php"><img src="img/Modify.png"></i> Daily Stock Report</a> </li> 
                    <li class="connect_check"><a href="reverse_transaction.php"><img src="img/Reset2_32x32.png"></i> Reverse Transaction</a> </li>
                  <li class="connect_check"><a href="current.php"><img src="img/Line Chart.png"></i> Current Stock Balance</a> </li>
                   
                   <li class="connect_check"><a href="dailysalesreport.php"><img src="img/Line Chart.png"></i> Daily Sales Account</a> </li>
                   <li class="connect_check"><a href="stockentryreport.php"><img src="img/Bittorrent-Plus-icon~1.png"></i> Stock Entry Report</a> </li>
                  <li class="connect_check"><a href="summary.php"><img src="img/Yes.ico"></i> Summary Report</a> </li>
                   <li class="connect_check"><a href="debtors_report.php"><img src="img/Modify.png"></i> Debtors Report</a> </li>
                   <li class="connect_check"><a href="profit.php"><img src="img/Line Chart.png"></i> Profit Analysis</a> </li> 
                  <li class="connect_check"><a href="profile.php"><img src="img/Profile.png"></i> User Auth</a> </li>
                  
                  <li class="connect_check"><a href="dashboard.php"><img src="img/Comment.png"></i> Send Support</a> </li>
                                    
                  <li><a class="connect_check" href="logout.php"><img src="img/Exit.png"></i> Sign Out</a></li>
                </ul>
              </div>

            </div>
            <!-- /sidebar menu -->

          </div>
        </div>

        <!-- top navigation -->
        <div class="top_nav">
          <div class="nav_menu">
            <nav>
              <div class="nav toggle">

                <a id="menu_toggle"><img src="img/download~2.png"></i></a>

              </div>



              <ul class="nav navbar-nav navbar-right">

                <li class="">

                  <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">

                    <img src="./dashboard_files/user.png" alt=""><?php echo $name;  ?>
                    <span class=" fa fa-angle-down"></span>

                  </a>

                  <ul class="dropdown-menu dropdown-usermenu pull-right">

                    <li>

                      <a class="connect_check" href="dashboard.php"> 

                        <i class="fa fa-user pull-right"></i>

                        <span>User Auth</span>

                      </a>

                    </li>

                    <li class="connect_check"><a href="logout.php"><i class="fa fa-sign-out pull-right"></i> Log Out</a></li>

                  </ul>

                </li>

              </ul>

            </nav>

          </div>

        </div>

        <!-- /top navigation -->

	
        <!-- page content -->

        <div class="right_col" role="main" style="min-height: 685px;">

        <div class="alert alert-info alert-dismissible fade in" role="alert">

          <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span>

          </button>Welcome back <?php echo $name; ?> to  <?php echo getBranchname($link,$bcode); ?>. Your last login was <?php echo date("M d, Y h:i a" ); ?> .</div>


<div class="container">

	<div class="row">

		<div class="col-md-4 col-sm-6 col-xs-12">

			<div class="dash-box dash-box-color-1">

				<div class="dash-box-icon">

					<img src="img/Pie Chart.png"></i>

				</div>

				<div class="dash-box-body">

					<span class="dash-box-count"><?php $cash=gettotcash2($bcode,$link,$date); echo "₦".$cash.".00"?></span>

					<span class="dash-box-title">Cash Sales</span>

				</div>

				

				<div class="dash-box-action">

					<a href="#" class="text-white"><button>Todays Cash Sales</button></a>

				</div>				

			</div>

		</div>

       

        <div class="col-md-4 col-sm-6 col-xs-12">

			<div class="dash-box dash-box-color-3">

				<div class="dash-box-icon">

					<img src="img/Pie Chart.png"></i>

				</div>

				<div class="dash-box-body">

					<span class="dash-box-count"><?php $cash=gettotcash($bcode,$link,$date); echo "₦".$cash.".00" ?></span>

					<span class="dash-box-title">POS Sales</span>

				</div>

				

				<div class="dash-box-action">

					<a href="#" class="text-white"><button>Todays POS Sales</button></a>

				</div>				

			</div>

		</div>

 

        <div class="col-md-4 col-sm-6 col-xs-12">

			<div class="dash-box dash-box-color-2">

				<div class="dash-box-icon">

					<img src="img/Loading.png"></i>

				</div>

				<div class="dash-box-body">

					<span class="dash-box-count"><?php echo "₦".gettotamnt($bcode,$date,$link).".00"; ?></span>

					<span class="dash-box-title">Transfer Sales</span>

				</div>

				

				<div class="dash-box-action">

					<a href="#" class="text-white"><button>Today's Transfer Sales</button></a>

				</div>				

			</div>

		</div>

               

     </div>

</div> 
<br>

<div class="container">

	<div class="row">

		<div class="col-md-4 col-sm-6 col-xs-12">

			<div class="dash-box dash-box-color-1">

				<div class="dash-box-icon">

					<img src="img/Pie Chart.png"></i>

				</div>

				<div class="dash-box-body">

					<span class="dash-box-count"><?php $cash=gettotBankAmnt($bcode,$link,$date); echo "₦".$cash.".00" ?></span>

					<span class="dash-box-title">Todays Sales</span>

				</div>

				

				<div class="dash-box-action">

					<a href="#" class="text-white"><button>Todays Total Sales</button></a>

				</div>				

			</div>

		</div>

       

        <div class="col-md-4 col-sm-6 col-xs-12">

			<div class="dash-box dash-box-color-3">

				<div class="dash-box-icon">

					<img src="img/Pie Chart.png"></i>

				</div>

				<div class="dash-box-body">

					<span class="dash-box-count"><?php $cash=gettotdebit($bcode,$date,$link); echo "₦".$cash.".00" ?></span>

					<span class="dash-box-title">Debit Sales</span>

				</div>

				

				<div class="dash-box-action">

					<a href="#" class="text-white"><button>Todays Debit Sales</button></a>

				</div>				

			</div>

		</div>

 

        <div class="col-md-4 col-sm-6 col-xs-12">

			<div class="dash-box dash-box-color-2">

				<div class="dash-box-icon">

					<img src="img/Loading.png"></i>

				</div>

				<div class="dash-box-body">

					<span class="dash-box-count"><?php echo "₦".gettotamnt("002",$date,$link).".00"; ?></span>

					<span class="dash-box-title">Today's Cash From Sales</span>

				</div>

				

				<div class="dash-box-action">

					<a href="#" class="text-white"><button>Today's Sales</button></a>

				</div>				

			</div>

		</div>

               

     </div>

</div> 

	     <br>  		

    	 <div class="row">

          <!-- Recent  -->

			<div class="col-md-12 col-sm-12 col-xs-12">

              <div class="x_panel tile fixed_height_32 ">

                <div class="x_title">

                  <h2 class="green"><strong>Recent Transactions</strong></h2>

					<ul class="nav navbar-right panel_toolbox">

                    <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a></li>

                  </ul>

                  <div class="clearfix"></div>

                </div>               

	<form action="<?php $_SERVER['PHP_SELF'];  ?>" method="post">
		<!-- Search box ---->
              <div class="title_right">
                <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
                  <div class="input-group">
                    <select name="branch" class="form-control" placeholder="Select Branches">
					<?php getBranches($link); ?>
                    </select>
                    <span class="input-group-btn">
                      <button class="btn btn-default" name="view" type="submit">Go!</button>
                    </span>
                  </div>
                 
                </div>
              </div>
            </form

				><div class="table-responsive">

                   <table class="table table-striped jambo_table ">

                  		<thead>

                          <tr class="headings">

							 <th class="column-title">Date </th>
                             
                             <th class="column-title">Time </th>
                             
                            <th class="column-title">Ticket Id</th>
                            
                            <th class="column-title">Customer's Name</th>

                            <th class="column-title">Code</th>

                            <th class="column-title">Description</th>

                            <th class="column-title">Quantity</th>

                            <th class="column-title">Price</th>
                            
                            <th class="column-title">Total Price</th>
                            
                            <th class="column-title">Mode of Payment</th>
                            
                            <th class="column-title">Officer</th>

                          </tr>

                        </thead>

                        <tbody> 

		 <?php $num = 1; do { ?>
                          <tr class="even pointer">

                            <td class=" "><?php echo $row_just['date']; ?></td>
                            <td class=" "><?php echo $row_just['time']; ?></td>
                            
                            <td class=" "><?php echo $row_just['ticket']; ?></td>
                            
                             <td class=" "><?php echo $row_just['customer']; ?></td>

                            <td class=" "><?php echo $row_just['code']; ?></td>

                            <td class=" "><?php echo $row_just['name']; ?></td>

                            <td class=" "><?php echo $row_just['quantity']; ?></td>

                            <td class=" "><?php echo $row_just['price']; ?></td>
                            
                            <td class=" "><?php echo $row_just['total']; ?></td>

							<td class=" "><?php echo $row_just['mode']; ?></td>
                            <td class=" "><?php echo $row_just['officer']; ?></td>

                          </tr>
<?php $num++; } while ($row_just = mysqli_fetch_assoc($rst)); ?>
           
                        </tbody>

                     </table>
                     

           			<a href="dailysalesreport.php"><button class="btn btn-success pull-right"><img src="img/Next.png"></i> All Transactions</button></a>

                   </div>       

              </div>

            </div>

          <!-- Recent Transactions --> 

        </div>    
<!-- Popup for view entry -->

   <div id="buy_airtime" style="display:none; overflow-x: hidden; width: 99.99%; height: 99.99%; z-index: 99999; position: fixed; top: 0; left: 0; background: rgba(0,0,0,0.5);">

    	 <div class="row"><br><br>

           <div class="col-lg-3 col-md-2 col-sm-1 col-xs-12"> </div>

           <div class="col-lg-6 col-md-8 col-sm-10 col-xs-12">

           	    <div class="popup_closer">

                  <button type="button" onclick="$(&#39;#buy_airtime&#39;).fadeOut(&#39;slow&#39;);" class="pull-right btn btn-danger"><i class="fa  fa-times"></i></button>

               </div>

               <div class="x_panel">

                 <div class="x_content">

                 	<h3>Buy Airtime</h3>

                     <div class="ln_solid"></div>

                        <form method="post" id="payform" action="https://my.mobilevtu.com.ng/index.php" data-parsley-validate="" class="form-horizontal form-label-left">							

                       	<input type="hidden" id="hash" value="ba895bb38ae495515851321c00d5647f:ZWjIH8vUDVaJWinRjHwSMGIGf1XFMSWs">

                        <input type="hidden" id="email" value="faccomputers@yahoo.com">

                        <input type="hidden" id="amount" value="0.00">

                        <div class="form-group operator_logo" style="display:none">

                        	<center><img id="operator_logo" src="./dashboard_files/ajax-loader.gif" style="width:70px;border-radius:5px;"></center>

                        </div>

                        

                        <div class="form-group">

                            <label for="number" class="control-label col-md-3 col-sm-3 col-xs-12">Mobile Number</label>

                            <div class="col-md-8 col-sm-8 col-xs-12">

                                <input id="number" required="required" placeholder="E.g: 2348031234567" class="form-control col-md-7 col-xs-12" type="number" value="">

                            </div>

                        </div>

                        

	                    <div class="form-group show_operator" style="display:none">

                        	<label class="control-label col-md-3 col-sm-3 col-xs-12">Select Operator</label>

                            <div class="col-md-8 col-sm-8 col-xs-12">

                                <select id="operator" style="width:100%;" required="" class="select2a form-control col-md-7 col-xs-12">

								   <option disabled="" selected="" value="">Choose Network Operator</option>

                                   
										<option value="MTN">MTN Nigeria </option>

                                     
										<option value="Glo">Glo Mobile Nigeria </option>

                                     
										<option value="9mobile">9Mobile Nigeria </option>

                                     
										<option value="Airtel">Airtel Nigeria </option>

                                        

                               </select>

                            </div>

                        </div> 

                        

                        <div class="form-group">

                            <label for="value_amount" class="control-label col-md-3 col-sm-3 col-xs-12">Airtime Amount</label>

                            <div class="col-md-8 col-sm-8 col-xs-12">

                                <input id="value_amount" required="required" placeholder="Min of 200" class="form-control col-md-7 col-xs-12" type="number" value="0" min="200" max="20000">

                            </div>

                        </div>

                        

                        <div class="form-group">

                            <label for="amount2" class="control-label col-md-3 col-sm-3 col-xs-12">You Pay</label>

                            <div class="col-md-8 col-sm-8 col-xs-12">

                                <span id="amount2" class="form-control col-md-7 col-xs-12" style="border-color:#eee;">₦0.00</span>

                            </div>

                        </div>

                      

                    <div class="ln_solid"></div>

                    <div class="form-group">

                      <div class="col-md-9 col-sm-9 col-xs-12 col-md-offset-3">

                         <button type="button" id="paystack" onclick="payTopupPaystack()" class="acting btn btn-primary"><i class="fa fa-cc-mastercard"></i> Pay Online</button>

                         <button type="button" id="walletpay" onclick="payTopupLocal()" class="acting btn btn-pup"><i class="fa  fa-money"></i> Use My Wallet</button>

                       </div>

                     </div>

                    </form> 

                 </div>

               </div>                  

           </div>

           <div class="col-lg-3 col-md-8 col-sm-1 col-xs-12"> </div>

       </div>            	

   </div>



<!-- Popup for data -->

   <div id="buy_data" style="display:none; overflow-x: hidden; width: 99.99%; height: 99.99%; z-index: 99999; position: fixed; top: 0; left: 0; background: rgba(0,0,0,0.5);">

    	 <div class="row"><br><br>

           <div class="col-lg-3 col-md-2 col-sm-1 col-xs-12"> </div>

           <div class="col-lg-6 col-md-8 col-sm-10 col-xs-12">

           	    <div class="popup_closer">

                  <button type="button" onclick="$(&#39;#buy_data&#39;).fadeOut(&#39;slow&#39;);" class="pull-right btn btn-danger"><i class="fa  fa-times"></i></button>

               </div>

               <div class="x_panel">

                 <div class="x_content">

                 	<h3>Buy Data</h3>

                     <div class="ln_solid"></div>

                        <form method="post" id="dpayform" action="https://my.mobilevtu.com.ng/index.php" data-parsley-validate="" class="form-horizontal form-label-left">							

                       	<input type="hidden" id="dhash" value="ba895bb38ae495515851321c00d5647f:ZWjIH8vUDVaJWinRjHwSMGIGf1XFMSWs">

                        <input type="hidden" id="demail" value="faccomputers@yahoo.com">

                        <input type="hidden" id="damount" value="0.00">

                        <input type="hidden" id="dvalue_amount2" value="">

                        <div class="form-group doperator_logo" style="display:none">

                        	<center><img id="doperator_logo" src="./dashboard_files/ajax-loader.gif" style="width:70px;border-radius:5px;"></center>

                        </div>

                        

                        <div class="form-group">

                            <label for="dnumber" class="control-label col-md-3 col-sm-3 col-xs-12">Mobile Number</label>

                            <div class="col-md-8 col-sm-8 col-xs-12">

                                <input id="dnumber" required="required" placeholder="E.g: 2348031234567" class="form-control col-md-7 col-xs-12" type="number" value="">

                            </div>

                        </div>

                        

	                    <div class="form-group dshow_operator" style="display:none">

                        	<label class="control-label col-md-3 col-sm-3 col-xs-12">Select Operator</label>

                            <div class="col-md-8 col-sm-8 col-xs-12">

                                <select id="doperator" style="width:100%;" required="" class="select2a form-control col-md-7 col-xs-12">

								   <option disabled="" selected="" value="">Choose Network Operator</option>

                                   
										<option value="MTN">MTN Nigeria </option>

                                     
										<option value="Glo">Glo Mobile Nigeria </option>

                                     
										<option value="9mobile">9Mobile Nigeria </option>

                                     
										<option value="Airtel">Airtel Nigeria </option>

                                        

                               </select>

                            </div>

                        </div> 

                        

                        <div class="form-group show_when_op" style="display:none">

                            <label class="control-label col-md-3 col-sm-3 col-xs-12">Select Data Package</label>

                            <div class="col-md-8 col-sm-8 col-xs-12">

                                <select id="dvalue_amount" style="width:100%;" required="" class="select2a form-control col-md-7 col-xs-12">

								   <option disabled="" selected="" value="">Choose a Package</option>

                               </select>

                            </div>

                        </div>

                        

                        <div class="form-group">

                            <label for="damount2" class="control-label col-md-3 col-sm-3 col-xs-12">You Pay</label>

                            <div class="col-md-8 col-sm-8 col-xs-12">

                                <span id="damount2" class="form-control col-md-7 col-xs-12" style="border-color:#eee;">₦0.00</span>

                            </div>

                        </div>

                      

                    <div class="ln_solid"></div>

                    <div class="form-group">

                      <div class="col-md-9 col-sm-9 col-xs-12 col-md-offset-3">

                         <button type="button" id="dpaystack" onclick="payDataPaystack()" class="acting btn btn-primary"><i class="fa fa-cc-mastercard"></i> Pay Online</button>

                         <button type="button" id="dwalletpay" onclick="payDataLocal()" class="acting btn btn-pup"><i class="fa  fa-money"></i> Use My Wallet</button>

                       </div>

                     </div>

                    </form> 

                 </div>

               </div>                  

           </div>

           <div class="col-lg-3 col-md-8 col-sm-1 col-xs-12"> </div>

       </div>            	

   </div>



      </div>

    </div>

    <!-- jQuery -->

    <script src="./dashboard_files/jquery.min.js.download"></script>

    <!-- Bootstrap -->

    <script src="./dashboard_files/bootstrap.min.js.download"></script>

    <!-- FastClick -->

    <script src="./dashboard_files/fastclick.js.download"></script>

    <!-- NProgress -->

    <script src="./dashboard_files/nprogress.js.download"></script>

    <!-- Chart.js -->

    <script src="./dashboard_files/Chart.min.js.download"></script>

    <!-- gauge.js -->

    <script src="./dashboard_files/gauge.min.js.download"></script>

    <!-- bootstrap-progressbar -->

    <script src="./dashboard_files/bootstrap-progressbar.min.js.download"></script>

    <!-- iCheck -->

    <script src="./dashboard_files/icheck.min.js.download"></script>

    <!-- Skycons -->

    <script src="./dashboard_files/skycons.js.download"></script>

    <!-- Flot -->

    <script src="./dashboard_files/jquery.flot.js.download"></script>

    <script src="./dashboard_files/jquery.flot.pie.js.download"></script>

    <script src="./dashboard_files/jquery.flot.time.js.download"></script>

    <script src="./dashboard_files/jquery.flot.stack.js.download"></script>

    <script src="./dashboard_files/jquery.flot.resize.js.download"></script>

    <!-- Flot plugins -->

    <script src="./dashboard_files/jquery.flot.orderBars.js.download"></script>

    <script src="./dashboard_files/jquery.flot.spline.min.js.download"></script>

    <script src="./dashboard_files/curvedLines.js.download"></script>

    <!-- DateJS -->

    <script src="./dashboard_files/date.js.download"></script>

    <!-- JQVMap -->

    <script src="./dashboard_files/jquery.vmap.js.download"></script>

    <script src="./dashboard_files/jquery.vmap.world.js.download"></script>

    <script src="./dashboard_files/jquery.vmap.sampledata.js.download"></script>

    <!-- bootstrap-daterangepicker -->

    <script src="./dashboard_files/moment.min.js.download"></script>

    <script src="./dashboard_files/daterangepicker.js.download"></script>

    <!-- morris.js -->

    <script src="./dashboard_files/raphael.min.js.download"></script>

    <script src="./dashboard_files/morris.min.js.download"></script>

    <script src="./dashboard_files/sweetalert.min.js.download"></script>



    <script src="./dashboard_files/featherlight.min.js.download"></script>

    <!-- Custom Theme Scripts -->

    <script src="./dashboard_files/custom.js.download"></script>

	<script src="./dashboard_files/tinymce.min.js.download"></script>

    <script src="./dashboard_files/api.js.download"></script>

    <script src="./dashboard_files/select2.min.js.download"></script>

	<script src="./dashboard_files/modernizr.js.download"></script>

	 <script src="./dashboard_files/inline.js.download"></script> 

    <script src="./dashboard_files/flwpbf-inline.js.download"></script>

    <script src="./dashboard_files/google.js.download"></script>

<script>

$(document).ready(function() {

	

});

		

		

/* Initiate Functions - */

	$(document).ready(function() {				

		init_sparklines();

		init_flot_chart();

		init_sidebar();

		init_wysiwyg();

		init_InputMask();

		init_JQVmap();

		init_cropper();

		init_knob();

		init_IonRangeSlider();

		init_ColorPicker();

		init_TagsInput();

		init_parsley();

		init_SmartWizard();

		init_EasyPieChart();

		init_charts();

		init_echarts();

		init_morris_charts();

		init_skycons();

		init_select2();

		init_validator();

		init_DataTables();

		init_chart_doughnut();

		init_gauge();

		init_PNotify();

		init_starrr();

		init_calendar();

		init_compose();

		init_CustomNotification();

		init_autosize();

		init_autocomplete();		

	});	

</script>

	

        

  



</div><iframe frameborder="0" allowtransparency="true" id="GggF2" name="paystack-checkout-background-GggF2" style="z-index: 2147483647; background: rgba(0, 0, 0, 0.75); border: 0px none transparent; overflow: hidden; margin: 0px; padding: 0px; -webkit-tap-highlight-color: transparent; position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; transition: opacity 0.3s ease 0s; visibility: hidden; display: none;" src="./dashboard_files/saved_resource.html"></iframe><iframe frameborder="0" allowtransparency="true" allowpaymentrequest="true" id="9bOl3" name="paystack-checkout-9bOl3" src="./dashboard_files/popup.html" style="z-index: 2147483647; background: transparent; border: 0px none transparent; overflow: hidden; margin: 0px; padding: 0px; -webkit-tap-highlight-color: transparent; position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; visibility: hidden; display: none;"></iframe></body></html>