<?php 

    require_once("connection.php");


?>


<!DOCTYPE html>
<html lang="en">
  <head>
  
  <link rel="henrtcut icon" href="images/favicon.ico" >
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito+Sans:200,300,400,700,900|Roboto+Mono:300,400,500"> 
    <link rel="stylesheet" href="fonts/icomoon/style.css">

    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/magnific-popup.css">
    <link rel="stylesheet" href="css/jquery-ui.css">
    <link rel="stylesheet" href="css/owl.carousel.min.css">
    <link rel="stylesheet" href="css/owl.theme.default.min.css">
    <link rel="stylesheet" href="css/bootstrap-datepicker.css">
    
    
    <link rel="stylesheet" href="fonts/flaticon/font/flaticon.css">
  
    <link rel="stylesheet" href="css/aos.css">

    <link rel="stylesheet" href="css/style.css">
    <style type="text/css">
    .aab {
	font-size: 36px;
	color: #FF0000;
}
    </style>
  </head>
  <body>
  
  <div class="site-wrap">

    <div class="site-mobile-menu">
      <div class="site-mobile-menu-header">
        <div class="site-mobile-menu-close mt-3">
          <span class="icon-close2 js-menu-toggle"></span>
        </div>
      </div>
      <div class="site-mobile-menu-body"></div>
    </div> <!-- .site-mobile-menu -->
    
    
    <div class="site-navbar-wrap bg-white">
      <div class="site-navbar-top">
        <div class="container py-2">
          <div class="row align-items-center">
            <div class="col-6">
              <div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
  hen google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
            </div>
            <div class="col-6">
              <div class="d-flex ml-auto">
                <a href="#" class="d-flex align-items-center ml-auto mr-4">
                  <span class="icon-phone mr-2"></span>
                  <span class="d-none d-md-inline-block"></span>
                </a>
                <a href="#" class="d-flex align-items-center">
                  <span class="icon-envelope mr-2"></span>
                  <span class="d-none d-md-inline-block"></span>
                </a>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="site-navbar bg-light">
        <div class="container py-1">
          <div class="row align-items-center">
            <div class="col-2">
              <h2 class="mb-0 site-logo">&nbsp;</h2>
            </div>
            <div class="col-10">
              <nav class="site-navigation text-right" role="navigation">
                <div class="container">
                  <div class="d-inline-block d-lg-none ml-md-0 mr-auto py-3"><a href="#" class="site-menu-toggle js-menu-toggle text-black"><span class="icon-menu h3"></span></a></div>

                  <ul class="site-menu js-clone-nav d-none d-lg-block">
                    <li>
                    <a href="track1.php">Track1</a>
                    <a href="track2.php">Track2</a>
                    <a href="track3.php">Track3</a>
                    <a href="track4.php">Track4</a>
                    <a href="track5.php">Track5</a>
                    <a href="track6.php">Track6</a>
                    <a href="track7.php">Track7</a>
                    <a href="track8.php">Track8</a>
                    <a href="track9.php">Track9</a>
                    <a href="track10.php">Track10</a>
                    <a href="track11.php">Track11</a>
                    <a href="track12.php">Track12</a>
                    <a href="track13.php">Track13</a>
                    <a href="track14.php">Track14</a>
                    <a href="track15.php">Track15</a>
                    <a href="track16.php">Track16</a>
                    <a href="track17.php">Track17</a>
                    <a href="track18.php">Track18</a>
                    <a href="track19.php">Track19</a>
                    <a href="track20.php">Track20</a>
                    <a href="cha/change.php">Set Tracking</a>
                    <a href="add_client.php">C and P</a>
                      <a href="logout.php">LOGOUT</a>
                      
                    </li>
                    
                  </ul>
                </div>
              </nav>
            </div>
          </div>
        </div>
      </div>
    </div>

      

    <div class="site-section bg-light">
      <div class="container">
        <div class="row">
       
          <div class="col-md-12 col-lg-8 mb-5">
          
           
          
          
 
 
            <p class="aab">Tracking Information            </p>
            <p><table class="table table-bordered">
                            <tr>
                                <td> User ID </td>
                                <td> Receiver's Name </td>
                                <td> Receiver's Number </td>
                                <td> Receiver's Email </td>
								<td> Receiver's Address </td>
								<td> Sender's Name </td>
								<td> Sender's Number </td>
								<td> Sender's Email </td>
								<td> Sender's Address </td>
								<td> Item Description </td>
								<td> Item Weight </td>
								<td> Item Type </td>
								<td> Destination </td>
								<td> Date Sent </td>
								<td> Estimated Delivery Date </td>
								<td> Waybill </td>
								
                                <td> Edit  </td>
                                
                            </tr>

                            <?php 
                                    $query = " select * from records10 ";
                                    $result = mysqli_query($con,$query);
                                    while($row=mysqli_fetch_assoc($result))
                                    {
                                        $UserID = $row['User_ID'];
										$UserRname = $row['User_Rname'];
                                        $UserRnumber = $row['User_Rnumber'];
                                        $UserRemail = $row['User_Remail'];
                                        $UserRaddress = $row['User_Raddress'];
										$UserSname = $row['User_Sname'];
										$UserSnumber = $row['User_Snumber'];
										$UserSemail = $row['User_Semail'];
										$UserSaddress = $row['User_Saddress'];
										$UserItemdescription = $row['User_Itemdescription'];
										$UserItemweight = $row['User_Itemweight'];
										$UserItemtype = $row['User_Itemtype'];
										$UserDestination = $row['User_Destination'];
										$UserDatesent = $row['User_Datesent'];
										$UserEstimated = $row['User_Estimated'];
										$UserWaybill = $row['User_Waybill'];
										
                            ?>
                                    <tr>
                                        <td><?php echo $UserID ?></td>
										<td><?php echo $UserRname ?></td>
                                        <td><?php echo $UserRnumber ?></td>
                                        <td><?php echo $UserRemail ?></td>
                                        <td><?php echo $UserRaddress ?></td>
										<td><?php echo $UserSname ?></td>
										<td><?php echo $UserSnumber ?></td>
										<td><?php echo $UserSemail ?></td>
										<td><?php echo $UserSaddress ?></td>
										<td><?php echo $UserItemdescription ?></td>
										<td><?php echo $UserItemweight ?></td>
										<td><?php echo $UserItemtype ?></td>
										<td><?php echo $UserDestination ?></td>
										<td><?php echo $UserDatesent ?></td>
										<td><?php echo $UserEstimated ?></td>
										<td><?php echo $UserWaybill ?></td>
                                        <td><a href="view_add10.php?GetID=<?php echo $UserID ?>">Edit</a></td>
                                        
                                    </tr>        
                            <?php 
                                    }  
                            ?>                                                                    
                                   

                        </table>
            
            <p>
            
            <span class="aab">Travel History</span><br>
            <table class="table table-bordered">
                            <tr>
                                <td> User ID </td>
                                <td> Date </td>
                                <td> Time </td>
                                <td> Last Location </td>
								<td> Status </td>
								<td> Remarks </td>
								
                                <td> Edit  </td>
                                
                            </tr>

                            <?php 
                                    $query = " select * from hen ";
                                    $result = mysqli_query($con,$query);
                                    while($row=mysqli_fetch_assoc($result))
                                    {
                                        $UserID = $row['User_ID'];
										$UserDate = $row['User_Date'];
                                        $UserTime = $row['User_Time'];
                                        $UserLastlocation = $row['User_Lastlocation'];
                                        $UserStatus = $row['User_Status'];
										$UserRemarks = $row['User_Remarks'];
										
										
                            ?>
                                    <tr>
                                        <td><?php echo $UserID ?></td>
										<td><?php echo $UserDate ?></td>
                                        <td><?php echo $UserTime ?></td>
                                        <td><?php echo $UserLastlocation ?></td>
                                        <td><?php echo $UserStatus ?></td>
										<td><?php echo $UserRemarks ?></td>
										<td><a href="view_hen.php?GetID=<?php echo $UserID ?>">Edit</a></td>
                                        
                                    </tr>        
                            <?php 
                                    }  
                            ?>                                                                    
                                   

                        </table>
<p>
            
            <table class="table table-bordered">
                            <tr>
                                <td> User ID </td>
                                <td> Date </td>
                                <td> Time </td>
                                <td> Last Location </td>
								<td> Status </td>
								<td> Remarks </td>
								
                                <td> Edit  </td>
                                
                            </tr>

                            <?php 
                                    $query = " select * from hen1 ";
                                    $result = mysqli_query($con,$query);
                                    while($row=mysqli_fetch_assoc($result))
                                    {
                                        $UserID = $row['User_ID'];
										$UserDate = $row['User_Date'];
                                        $UserTime = $row['User_Time'];
                                        $UserLastlocation = $row['User_Lastlocation'];
                                        $UserStatus = $row['User_Status'];
										$UserRemarks = $row['User_Remarks'];
										
										
                            ?>
                                    <tr>
                                        <td><?php echo $UserID ?></td>
										<td><?php echo $UserDate ?></td>
                                        <td><?php echo $UserTime ?></td>
                                        <td><?php echo $UserLastlocation ?></td>
                                        <td><?php echo $UserStatus ?></td>
										<td><?php echo $UserRemarks ?></td>
										<td><a href="view_hen1.php?GetID=<?php echo $UserID ?>">Edit</a></td>
                                        
                                    </tr>        
                            <?php 
                                    }  
                            ?>                                                                    
                                   

                        </table><p>
            
            <table class="table table-bordered">
                            <tr>
                                <td> User ID </td>
                                <td> Date </td>
                                <td> Time </td>
                                <td> Last Location </td>
								<td> Status </td>
								<td> Remarks </td>
								
                                <td> Edit  </td>
                                
                            </tr>

                            <?php 
                                    $query = " select * from hen2 ";
                                    $result = mysqli_query($con,$query);
                                    while($row=mysqli_fetch_assoc($result))
                                    {
                                        $UserID = $row['User_ID'];
										$UserDate = $row['User_Date'];
                                        $UserTime = $row['User_Time'];
                                        $UserLastlocation = $row['User_Lastlocation'];
                                        $UserStatus = $row['User_Status'];
										$UserRemarks = $row['User_Remarks'];
										
										
                            ?>
                                    <tr>
                                        <td><?php echo $UserID ?></td>
										<td><?php echo $UserDate ?></td>
                                        <td><?php echo $UserTime ?></td>
                                        <td><?php echo $UserLastlocation ?></td>
                                        <td><?php echo $UserStatus ?></td>
										<td><?php echo $UserRemarks ?></td>
										<td><a href="view_hen2.php?GetID=<?php echo $UserID ?>">Edit</a></td>
                                        
                                    </tr>        
                            <?php 
                                    }  
                            ?>                                                                    
                                   

                        </table><p>
            
            <table class="table table-bordered">
                            <tr>
                                <td> User ID </td>
                                <td> Date </td>
                                <td> Time </td>
                                <td> Last Location </td>
								<td> Status </td>
								<td> Remarks </td>
								
                                <td> Edit  </td>
                                
                            </tr>

                            <?php 
                                    $query = " select * from hen3 ";
                                    $result = mysqli_query($con,$query);
                                    while($row=mysqli_fetch_assoc($result))
                                    {
                                        $UserID = $row['User_ID'];
										$UserDate = $row['User_Date'];
                                        $UserTime = $row['User_Time'];
                                        $UserLastlocation = $row['User_Lastlocation'];
                                        $UserStatus = $row['User_Status'];
										$UserRemarks = $row['User_Remarks'];
										
										
                            ?>
                                    <tr>
                                        <td><?php echo $UserID ?></td>
										<td><?php echo $UserDate ?></td>
                                        <td><?php echo $UserTime ?></td>
                                        <td><?php echo $UserLastlocation ?></td>
                                        <td><?php echo $UserStatus ?></td>
										<td><?php echo $UserRemarks ?></td>
										<td><a href="view_hen3.php?GetID=<?php echo $UserID ?>">Edit</a></td>
                                        
                                    </tr>        
                            <?php 
                                    }  
                            ?>                                                                    
                                   

                        </table><p>
            
            <table class="table table-bordered">
                            <tr>
                                <td> User ID </td>
                                <td> Date </td>
                                <td> Time </td>
                                <td> Last Location </td>
								<td> Status </td>
								<td> Remarks </td>
								
                                <td> Edit  </td>
                                
                            </tr>

                            <?php 
                                    $query = " select * from hen4 ";
                                    $result = mysqli_query($con,$query);
                                    while($row=mysqli_fetch_assoc($result))
                                    {
                                        $UserID = $row['User_ID'];
										$UserDate = $row['User_Date'];
                                        $UserTime = $row['User_Time'];
                                        $UserLastlocation = $row['User_Lastlocation'];
                                        $UserStatus = $row['User_Status'];
										$UserRemarks = $row['User_Remarks'];
										
										
                            ?>
                                    <tr>
                                        <td><?php echo $UserID ?></td>
										<td><?php echo $UserDate ?></td>
                                        <td><?php echo $UserTime ?></td>
                                        <td><?php echo $UserLastlocation ?></td>
                                        <td><?php echo $UserStatus ?></td>
										<td><?php echo $UserRemarks ?></td>
										<td><a href="view_hen4.php?GetID=<?php echo $UserID ?>">Edit</a></td>
                                        
                                    </tr>        
                            <?php 
                                    }  
                            ?>                                                                    
                                   

                        </table><p>
            
            <table class="table table-bordered">
                            <tr>
                                <td> User ID </td>
                                <td> Date </td>
                                <td> Time </td>
                                <td> Last Location </td>
								<td> Status </td>
								<td> Remarks </td>
								
                                <td> Edit  </td>
                                
                            </tr>

                            <?php 
                                    $query = " select * from hen5 ";
                                    $result = mysqli_query($con,$query);
                                    while($row=mysqli_fetch_assoc($result))
                                    {
                                        $UserID = $row['User_ID'];
										$UserDate = $row['User_Date'];
                                        $UserTime = $row['User_Time'];
                                        $UserLastlocation = $row['User_Lastlocation'];
                                        $UserStatus = $row['User_Status'];
										$UserRemarks = $row['User_Remarks'];
										
										
                            ?>
                                    <tr>
                                        <td><?php echo $UserID ?></td>
										<td><?php echo $UserDate ?></td>
                                        <td><?php echo $UserTime ?></td>
                                        <td><?php echo $UserLastlocation ?></td>
                                        <td><?php echo $UserStatus ?></td>
										<td><?php echo $UserRemarks ?></td>
										<td><a href="view_hen5.php?GetID=<?php echo $UserID ?>">Edit</a></td>
                                        
                                    </tr>        
                            <?php 
                                    }  
                            ?>                                                                    
                                   

                        </table><p>
            
            <table class="table table-bordered">
                            <tr>
                                <td> User ID </td>
                                <td> Date </td>
                                <td> Time </td>
                                <td> Last Location </td>
								<td> Status </td>
								<td> Remarks </td>
								
                                <td> Edit  </td>
                                
                            </tr>

                            <?php 
                                    $query = " select * from hen6 ";
                                    $result = mysqli_query($con,$query);
                                    while($row=mysqli_fetch_assoc($result))
                                    {
                                        $UserID = $row['User_ID'];
										$UserDate = $row['User_Date'];
                                        $UserTime = $row['User_Time'];
                                        $UserLastlocation = $row['User_Lastlocation'];
                                        $UserStatus = $row['User_Status'];
										$UserRemarks = $row['User_Remarks'];
										
										
                            ?>
                                    <tr>
                                        <td><?php echo $UserID ?></td>
										<td><?php echo $UserDate ?></td>
                                        <td><?php echo $UserTime ?></td>
                                        <td><?php echo $UserLastlocation ?></td>
                                        <td><?php echo $UserStatus ?></td>
										<td><?php echo $UserRemarks ?></td>
										<td><a href="view_hen6.php?GetID=<?php echo $UserID ?>">Edit</a></td>
                                        
                                    </tr>        
                            <?php 
                                    }  
                            ?>                                                                    
                                   

                        </table><p>
            
            <table class="table table-bordered">
                            <tr>
                                <td> User ID </td>
                                <td> Date </td>
                                <td> Time </td>
                                <td> Last Location </td>
								<td> Status </td>
								<td> Remarks </td>
								
                                <td> Edit  </td>
                                
                            </tr>

                            <?php 
                                    $query = " select * from hen7 ";
                                    $result = mysqli_query($con,$query);
                                    while($row=mysqli_fetch_assoc($result))
                                    {
                                        $UserID = $row['User_ID'];
										$UserDate = $row['User_Date'];
                                        $UserTime = $row['User_Time'];
                                        $UserLastlocation = $row['User_Lastlocation'];
                                        $UserStatus = $row['User_Status'];
										$UserRemarks = $row['User_Remarks'];
										
										
                            ?>
                                    <tr>
                                        <td><?php echo $UserID ?></td>
										<td><?php echo $UserDate ?></td>
                                        <td><?php echo $UserTime ?></td>
                                        <td><?php echo $UserLastlocation ?></td>
                                        <td><?php echo $UserStatus ?></td>
										<td><?php echo $UserRemarks ?></td>
										<td><a href="view_hen7.php?GetID=<?php echo $UserID ?>">Edit</a></td>
                                        
                                    </tr>        
                            <?php 
                                    }  
                            ?>                                                                    
                                   

                        </table>
            
            <p>
            
            <table class="table table-bordered">
                            <tr>
                                <td> User ID </td>
                                <td> Date </td>
                                <td> Time </td>
                                <td> Last Location </td>
								<td> Status </td>
								<td> Remarks </td>
								
                                <td> Edit  </td>
                                
                            </tr>

                            <?php 
                                    $query = " select * from hen8 ";
                                    $result = mysqli_query($con,$query);
                                    while($row=mysqli_fetch_assoc($result))
                                    {
                                        $UserID = $row['User_ID'];
										$UserDate = $row['User_Date'];
                                        $UserTime = $row['User_Time'];
                                        $UserLastlocation = $row['User_Lastlocation'];
                                        $UserStatus = $row['User_Status'];
										$UserRemarks = $row['User_Remarks'];
										
										
                            ?>
                                    <tr>
                                        <td><?php echo $UserID ?></td>
										<td><?php echo $UserDate ?></td>
                                        <td><?php echo $UserTime ?></td>
                                        <td><?php echo $UserLastlocation ?></td>
                                        <td><?php echo $UserStatus ?></td>
										<td><?php echo $UserRemarks ?></td>
										<td><a href="view_hen8.php?GetID=<?php echo $UserID ?>">Edit</a></td>
                                        
                                    </tr>        
                            <?php 
                                    }  
                            ?>                                                                    
                                   

                        </table>
            
            <p>
            
            <table class="table table-bordered">
                            <tr>
                                <td> User ID </td>
                                <td> Date </td>
                                <td> Time </td>
                                <td> Last Location </td>
								<td> Status </td>
								<td> Remarks </td>
								
                                <td> Edit  </td>
                                
                            </tr>

                            <?php 
                                    $query = " select * from hen9 ";
                                    $result = mysqli_query($con,$query);
                                    while($row=mysqli_fetch_assoc($result))
                                    {
                                        $UserID = $row['User_ID'];
										$UserDate = $row['User_Date'];
                                        $UserTime = $row['User_Time'];
                                        $UserLastlocation = $row['User_Lastlocation'];
                                        $UserStatus = $row['User_Status'];
										$UserRemarks = $row['User_Remarks'];
										
										
                            ?>
                                    <tr>
                                        <td><?php echo $UserID ?></td>
										<td><?php echo $UserDate ?></td>
                                        <td><?php echo $UserTime ?></td>
                                        <td><?php echo $UserLastlocation ?></td>
                                        <td><?php echo $UserStatus ?></td>
										<td><?php echo $UserRemarks ?></td>
										<td><a href="view_hen9.php?GetID=<?php echo $UserID ?>">Edit</a></td>
                                        
                                    </tr>        
                            <?php 
                                    }  
                            ?>                                                                    
                                   

                        </table>
</p>
            </p>         </p>
          </div>
          
            
          </div>
        </div>
      </div>
    </div>

    
    
    
    <footer class="site-footer">
      <div class="container">
        

        <div class="row"></div>
        <div class="row pt-5 mt-5 text-center">
          <div class="col-md-12">
            <p>
            <!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
            Copyright &copy;  All Rights Reserved | 
            <!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
            </p>
          </div>
          
        </div>
      </div>
    </footer>
  </div>

  <script src="js/jquery-3.3.1.min.js"></script>
  <script src="js/jquery-migrate-3.0.1.min.js"></script>
  <script src="js/jquery-ui.js"></script>
  <script src="js/popper.min.js"></script>
  <script src="js/bootstrap.min.js"></script>
  <script src="js/owl.carousel.min.js"></script>
  <script src="js/jquery.stellar.min.js"></script>
  <script src="js/jquery.countdown.min.js"></script>
  <script src="js/jquery.magnific-popup.min.js"></script>
  <script src="js/bootstrap-datepicker.min.js"></script>
  <script src="js/aos.js"></script>

  <script src="js/main.js"></script>
    
  </body>
</html>