ok

Mini Shell

Direktori : /home2/selectio/public_html/lilyexpresslive/software/admin/
Upload File :
Current File : /home2/selectio/public_html/lilyexpresslive/software/admin/awb-count-details.php

<?php require_once('header.php'); ?>

<section class="content-header">
    <div class="row">
        <div class="col-md-12">
<div class="col-md-12">
<center><img src="../assets/uploads/lily-logo.png" style="width: 25%;"></center>
	</div>
	    </div>
    </div>
</section>
<style>
    .Head{
       color:red;
       font-weight:bold;
    }
</style>
<section class="content">
	<div class="row" style="margin:0px;">
	    
	    <center><table style="width:100%;text-align:center;padding:10px;">
	        <tr>
	            <th colspan="6" style="background: green;color: white;">Forward AWB Number Details</th>
	            <th colspan="6" style="background: #9d0909;color: white;">Reverse AWB Number Details</th>
	        </tr>
	        <tr>
	            <th>S.No</th>
	            <th style="background: blanchedalmond;">Client Name</th>
	            <th>Forward Start</th>
	            <th>Ending End</th>
	            <th>Available</th>
	            <th>Waiting</th>
	            <th>Used</th>
	            <th>Reversed Start</th>
	            <th>Reversed End</th>
	            <th>Available</th>
	            <th>Waiting</th>
	            <th>Used</th>
	        </tr>
	        <tbody  id="table_data">
	            
	        </tbody>
    
<?php
$statement = $pdo->prepare("SELECT id,full_name FROM `tbl_user` WHERE (id=28 or id=22)");
$statement->execute();
$client_result = $statement->fetchAll(PDO::FETCH_ASSOC);
$is=1;
foreach($client_result as $cs){
?>	        
	       
<?php $is++; } ?>	        
	    </table></center>
	    
		
	</div>
</section>

<style>
    th{
        text-align:center;
    }
    th,td{
        padding:3px;
        border:1px solid gray;
    }
</style>
<script>
$('#table_data').empty();
var c=1;load(0);
var datas=0;
function load(data){
    if(data!=''){
         datas =datas+','+data;
    }
     $.ajax({
            	type: 'POST',
            	url: 'ajax-code-api/dash-api.php',
            	data : {client_id:datas,count:c},
            	dataType: 'json',
            	success: function(response) {
            	    console.log('status :'+response['status']);
            	    
            	    if(response['status']==true){
            	       console.log('Ids :'+response['id']);
            	       $('#table_data').append(response['data']);
            	       c++;
            	       load(response['id']);
            	    }else{
            	        console.log('ented..');
            	    }
            	}
             });  
}
</script>
<?php require_once('footer.php'); ?>




Zerion Mini Shell 1.0