<?php
session_start();
error_reporting(0);
include('phpaccess/linkme.php');
if(strlen($_SESSION['alogin'])==0)
	{	
header('location:index.php');
}
else{
date_default_timezone_set('Africa/Lagos');// change according timezone
$currentTime = date( 'd-m-Y h:i:s A', time () );

//<!-- sn	type	detial	file	date		  -->
  

if(isset($_POST['submit']))
{
$cid=$_SESSION['sn'];
$vessel6=$_POST['6_vessel'];
$date6=$_POST['6_date'];
$status6=$_POST['6_status'];
$ETD6=$_POST['6_ETD'];
$LOA6=$_POST['6_LOA'];
$Cargo6=$_POST['6_Cargo'];
$Info6=$_POST['6_Info'];
$vessel7=$_POST['7_vessel'];
$date7=$_POST['7_date'];
$status7=$_POST['7_status'];
$ETD7=$_POST['7_ETD'];
$LOA7=$_POST['7_LOA'];
$Cargo7=$_POST['7_Cargo'];
$Info7=$_POST['7_Info'];
$vessel7A=$_POST['7A_vessel'];
$date7A=$_POST['7A_date'];
$status7A=$_POST['7A_status'];
$ETD7A=$_POST['7A_ETD'];
$LOA7A=$_POST['7A_LOA'];
$Cargo7A=$_POST['7A_Cargo'];
$Info7A=$_POST['7A_Info'];
$vessel8=$_POST['8_vessel'];
$date8=$_POST['8_date'];
$status8=$_POST['8_status'];
$ETD8=$_POST['8_ETD'];
$LOA8=$_POST['8_LOA'];
$Cargo8=$_POST['8_Cargo'];
$Info8=$_POST['8_Info'];
$vessel9=$_POST['9_vessel'];
$date9=$_POST['9_date'];
$status9=$_POST['9_status'];
$ETD9=$_POST['9_ETD'];
$LOA9=$_POST['9_LOA'];
$Cargo9=$_POST['9_Cargo'];
$Info9=$_POST['9_Info'];
$vessel10=$_POST['10_vessel'];
$date10=$_POST['10_date'];
$status10=$_POST['10_status'];
$ETD10=$_POST['10_ETD'];
$LOA10=$_POST['10_LOA'];
$Cargo10=$_POST['10_Cargo'];
$Info10=$_POST['10_Info'];
$vessel10A=$_POST['10A_vessel'];
$date10A=$_POST['10A_date'];
$status10A=$_POST['10A_status'];
$ETD10A=$_POST['10A_ETD'];
$LOA10A=$_POST['10A_LOA'];
$Cargo10A=$_POST['10A_Cargo'];
$Info10A=$_POST['10A_Info'];
$vessel11=$_POST['11_vessel'];
$date11=$_POST['11_date'];
$status11=$_POST['11_status'];
$ETD11=$_POST['11_ETD'];
$LOA11=$_POST['11_LOA'];
$Cargo11=$_POST['11_Cargo'];
$Info11=$_POST['11_Info'];
$vessel12=$_POST['12_vessel'];
$date12=$_POST['12_date'];
$status12=$_POST['12_status'];
$ETD12=$_POST['12_ETD'];
$LOA12=$_POST['12_LOA'];
$Cargo12=$_POST['12_Cargo'];
$Info12=$_POST['12_Info'];
$vessel13=$_POST['13_vessel'];
$date13=$_POST['13_date'];
$status13=$_POST['13_status'];
$ETD13=$_POST['13_ETD'];
$LOA13=$_POST['13_LOA'];
$Cargo13=$_POST['13_Cargo'];
$Info13=$_POST['13_Info'];
$vessel14=$_POST['14_vessel'];
$date14=$_POST['14_date'];
$status14=$_POST['14_status'];
$ETD14=$_POST['14_ETD'];
$LOA14=$_POST['14_LOA'];
$Cargo14=$_POST['14_Cargo'];
$Info14=$_POST['14_Info'];

$date=date("d-M-Y");


$query=mysqli_query($con,"update berth set 6_vessel='$vessel6', 6_date='$date6', 6_status='$status6', 6_ETD='$ETD6', 6_LOA='$LOA6', 6_Cargo='$Cargo6', 6_Info='$Info6',
7_vessel='$vessel7', 7_date='$date7', 7_status='$status7', 7_ETD='$ETD7', 7_LOA='$LOA7', 7_Cargo='$Cargo7', 7_Info='$Info7', 
7A_vessel='$vessel7A', 7A_date='$date7A', 7A_status='$status7A', 7A_ETD='$ETD7A', 7A_LOA='$LOA7A', 7A_Cargo='$Cargo7A', 7A_Info='$Info7A', 
8_vessel='$vessel8', 8_date='$date8', 8_status='$status8', 8_ETD='$ETD8', 8_LOA='$LOA8', 8_Cargo='$Cargo8', 8_Info='$Info8', 
9_vessel='$vessel9', 9_date='$date9', 9_status='$status9', 9_ETD='$ETD9', 9_LOA='$LOA9', 9_Cargo='$Cargo7', 9_Info='$Info9', 
10_vessel='$vessel10', 10_date='$date10', 10_status='$status10', 10_ETD='$ETD10', 10_LOA='$LOA10', 10_Cargo='$Cargo10', 10_Info='$Info10', 
10A_vessel='$vessel10A', 10A_date='$date10A', 10A_status='$status10A', 10A_ETD='$ETD10A', 10A_LOA='$LOA10A', 10A_Cargo='$Cargo10A', 10A_Info='$Info10A', 
11_vessel='$vessel11', 11_date='$date11', 11_status='$status11', 11_ETD='$ETD11', 11_LOA='$LOA11', 11_Cargo='$Cargo11', 11_Info='$Info11', 
12_vessel='$vessel12', 12_date='$date12', 12_status='$status12', 12_ETD='$ETD12', 12_LOA='$LOA12', 12_Cargo='$Cargo12', 12_Info='$Info12', 
13_vessel='$vessel13', 13_date='$date13', 13_status='$status13', 13_ETD='$ETD13', 13_LOA='$LOA13', 13_Cargo='$Cargo13', 13_Info='$Info13', 
14_vessel='$vessel14', 14_date='$date14', 14_status='$status14', 14_ETD='$ETD14', 14_LOA='$LOA14', 14_Cargo='$Cargo14', 14_Info='$Info14', date='$date'");

// code for show complaint number
$sql=mysqli_query($con,"select sn from berth order by sn desc limit 1");
while($row=mysqli_fetch_array($sql))
{
 $cmpn=$row['sn'];
}
$complainno=$cmpn;
echo '<script> alert("Your Registration has been successfully Submitenmited )</script>';
echo "<script type='text/javascript'> document.location = 'berthing.php'; </script>";
}

if(isset($_GET['del']))
		  {
		  mysqli_query($con,"delete from berth where sn = '".$_GET['sn']."'");
         $_SESSION['delmsg']="Berth deleted !!";
		  }
		  

?>


<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="favicon.ico">
    <title>Bearthing Update - ENL Consortium Limited</title>
    <!-- Simple bar CSS -->
    <link rel="stylesheet" href="css/simplebar.css">
    <!-- Fonts CSS -->
    <link href="https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100;0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
    <!-- Icons CSS -->
    <link rel="stylesheet" href="css/feather.css">
    <link rel="stylesheet" href="css/dataTables.bootstrap4.css">
    <!-- Date Range Picker CSS -->
    <link rel="stylesheet" href="css/daterangepicker.css">
    <!-- App CSS -->
    <link rel="stylesheet" href="css/app-light.css" id="lightTheme" disabled>
    <link rel="stylesheet" href="css/app-dark.css" id="darkTheme">
 
</head>
  </head>
  <body class="vertical  light ">
    <div class="wrapper">
      
        <?php include("phpaccess/topnav_fin.php");?>
		
	  <!--Insert NAV Here-->
      <aside class="sidebar-left border-right bg-white shadow" id="leftSidebar" data-simplebar>
        
        <?php include("phpaccess/nav_fin.php");?>
      
	  </aside>
	  <!--End Insert NAV Here-->
		  
      <main role="main" class="main-content">
        <div class="container-fluid">
          <div class="row justify-content-center">
            <div class="col-12">
              <h2 class="page-title">Modify Berthing Update</h2>
              <p class="text-muted"> <h5><a href="new_berthing">Add New Berthing Update</a></h5><p>
              <div class="row">
			  
			  
                
				<div class="col-md-12">
                  <div class="card shadow mb-4">
                    <div class="card-body">
			<!--sn  name  type  title  body  picture  dating  -->
		  
			

					 	<form class="needs-validation" novalidate method="post" name="berth" enctype="multipart/form-data" >

 	
    <p style="font-size:14px; color:#F00">Please NOTE !<br>Enter AVAILABLE  OR VACANT if there is nothing to input in the box <br>Please make sure you enter something at the column ** boxes. </p>
                    

						<?php $st='closed';
						$query=mysqli_query($con,"select * from berth where sn ='".$_GET['cid']."'");
						while($row=mysqli_fetch_array($query))
						{
						?>
                        <table border="0">
                          <tr bgcolor="#E6E8C6">
                            <td width="25" height="25"><?php echo htmlentities($row['sn']);?></td>
                            <td width="160">VESSEL</td>
                            <td width="150">DATE BERTHED</td>
                            <td width="40">STATUS</td>
                           <td  width="160">ETD	</td>
                            <td  width="70">LOA	</td>
                            <td  width="120">CARGO</td>
                            <td  width="120">INFO</td>
                          </tr>
						  
						  
                          <tr bgcolor="#E6E6E6">
                            <td>6</td>
                            <td><input name="6_vessel" placeholder=" * * VACANT * *" value="<?php echo htmlentities($row['6_vessel']);?>"></td>
                            <td><input type="text" name="6_date" id="date1" alt="date" class="form-control" value="<?php echo htmlentities($row['6_date']);?>" title="d/m/Y" placeholder="DD/MM/YYYY"></td>
                            <td><select name="6_status">
                                <option value="<?php echo htmlentities($row['6_status']);?>"><?php echo htmlentities($row['6_status']);?></option>
                                <option value="DISCHARGING">DISCHARGING</option>
                                <option value="BERTHED">BERTHED</option>
                                </select>
                             </td>
                            <td><input name="6_ETD" value="<?php echo htmlentities($row['6_ETD']);?>" placeholder="DD/MM/YYYY"></td>
                            <td><input name="6_LOA" value="<?php echo htmlentities($row['6_LOA']);?>" placeholder="LOA TYPE"></td> 
                            <td><input name="6_Cargo" value="<?php echo htmlentities($row['6_Cargo']);?>" placeholder="CARGO TYPE"></td> 
                            <td><input name="6_Info" value="<?php echo htmlentities($row['6_Info']);?>" placeholder="INFORMATION"></td>
                          </tr>
						  
						  
                          <tr bgcolor="#E6E6E6">
                            <td>7</td>
                            <td><input name="7_vessel" placeholder=" * * VACANT * *" value="<?php echo htmlentities($row['7_vessel']);?>"></td>
                            <td><input type="text" name="7_date" id="date1" alt="date" class="form-control" value="<?php echo htmlentities($row['7_date']);?>" title="d/m/Y" placeholder="DD/MM/YYYY"></td>
                            <td><select name="7_status">
                                <option value="<?php echo htmlentities($row['7_status']);?>"><?php echo htmlentities($row['7_status']);?></option>
                                <option value="DISCHARGING">DISCHARGING</option>
                                <option value="BERTHED">BERTHED</option>
                                </select>
                             </td>
                            <td><input name="7_ETD" value="<?php echo htmlentities($row['7_ETD']);?>" placeholder="DD/MM/YYYY"></td>
                            <td><input name="7_LOA" value="<?php echo htmlentities($row['7_LOA']);?>" placeholder="LOA TYPE"></td> 
                            <td><input name="7_Cargo" value="<?php echo htmlentities($row['7_Cargo']);?>" placeholder="CARGO TYPE"></td> 
                            <td><input name="7_Info" value="<?php echo htmlentities($row['7_Info']);?>" placeholder="INFORMATION"></td>
                          </tr>
                           
						  
                          <tr bgcolor="#E6E6E6">
                            <td>7A</td>
                            <td><input name="7A_vessel" placeholder=" * * VACANT * *" value="<?php echo htmlentities($row['7A_vessel']);?>"></td>
                            <td><input type="text" name="7A_date" id="date1" alt="date" class="form-control" value="<?php echo htmlentities($row['7A_date']);?>" title="d/m/Y" placeholder="DD/MM/YYYY"></td>
                            <td><select name="7A_status">
                                <option value="<?php echo htmlentities($row['7A_status']);?>"><?php echo htmlentities($row['7A_status']);?></option>
                                <option value="DISCHARGING">DISCHARGING</option>
                                <option value="BERTHED">BERTHED</option>
                                </select>
                             </td>
                            <td><input name="7A_ETD" value="<?php echo htmlentities($row['7A_ETD']);?>" placeholder="DD/MM/YYYY"></td>
                            <td><input name="7A_LOA" value="<?php echo htmlentities($row['7A_LOA']);?>" placeholder="LOA TYPE"></td> 
                            <td><input name="7A_Cargo" value="<?php echo htmlentities($row['7A_Cargo']);?>" placeholder="CARGO TYPE"></td> 
                            <td><input name="7A_Info" value="<?php echo htmlentities($row['7A_Info']);?>" placeholder="INFORMATION"></td>
                          </tr>
                           
						  
                          <tr bgcolor="#E6E6E6">
                            <td>8</td>
                            <td><input name="8_vessel" placeholder=" * * VACANT * *" value="<?php echo htmlentities($row['8_vessel']);?>"></td>
                            <td><input type="text" name="8_date" id="date1" alt="date" class="form-control" value="<?php echo htmlentities($row['8_date']);?>" title="d/m/Y" placeholder="DD/MM/YYYY"></td>
                            <td><select name="8_status">
                                <option value="<?php echo htmlentities($row['8_status']);?>"><?php echo htmlentities($row['8_status']);?></option>
                                <option value="DISCHARGING">DISCHARGING</option>
                                <option value="BERTHED">BERTHED</option>
                                </select>
                             </td>
                            <td><input name="8_ETD" value="<?php echo htmlentities($row['8_ETD']);?>" placeholder="DD/MM/YYYY"></td>
                            <td><input name="8_LOA" value="<?php echo htmlentities($row['8_LOA']);?>" placeholder="LOA TYPE"></td> 
                            <td><input name="8_Cargo" value="<?php echo htmlentities($row['8_Cargo']);?>" placeholder="CARGO TYPE"></td> 
                            <td><input name="8_Info" value="<?php echo htmlentities($row['8_Info']);?>" placeholder="INFORMATION"></td>
                          </tr>
                           
						  
                          <tr bgcolor="#E6E6E6">
                            <td>9</td>
                            <td><input name="9_vessel" placeholder=" * * VACANT * *" value="<?php echo htmlentities($row['9_vessel']);?>"></td>
                            <td><input type="text" name="9_date" id="date1" alt="date" class="form-control" value="<?php echo htmlentities($row['9_date']);?>" title="d/m/Y" placeholder="DD/MM/YYYY"></td>
                            <td><select name="9_status">
                                <option value="<?php echo htmlentities($row['9_status']);?>"><?php echo htmlentities($row['9_status']);?></option>
                                <option value="DISCHARGING">DISCHARGING</option>
                                <option value="BERTHED">BERTHED</option>
                                </select>
                             </td>
                            <td><input name="9_ETD" value="<?php echo htmlentities($row['9_ETD']);?>" placeholder="DD/MM/YYYY"></td>
                            <td><input name="9_LOA" value="<?php echo htmlentities($row['9_LOA']);?>" placeholder="LOA TYPE"></td> 
                            <td><input name="9_Cargo" value="<?php echo htmlentities($row['9_Cargo']);?>" placeholder="CARGO TYPE"></td> 
                            <td><input name="9_Info" value="<?php echo htmlentities($row['9_Info']);?>" placeholder="INFORMATION"></td>
                          </tr>
                           
                           
                          <tr bgcolor="#E6E6E6">
                            <td>10</td>
                            <td><input name="10_vessel" placeholder=" * * VACANT * *" value="<?php echo htmlentities($row['10_vessel']);?>"></td>
                            <td><input type="text" name="10_date" id="date1" alt="date" class="form-control" value="<?php echo htmlentities($row['10_date']);?>" title="d/m/Y" placeholder="DD/MM/YYYY"></td>
                            <td><select name="10_status">
                                <option value="<?php echo htmlentities($row['10_status']);?>"><?php echo htmlentities($row['10_status']);?></option>
                                <option value="DISCHARGING">DISCHARGING</option>
                                <option value="BERTHED">BERTHED</option>
                                </select>
                             </td>
                            <td><input name="10_ETD" value="<?php echo htmlentities($row['10_ETD']);?>" placeholder="DD/MM/YYYY"></td>
                            <td><input name="10_LOA" value="<?php echo htmlentities($row['10_LOA']);?>" placeholder="LOA TYPE"></td> 
                            <td><input name="10_Cargo" value="<?php echo htmlentities($row['10_Cargo']);?>" placeholder="CARGO TYPE"></td> 
                            <td><input name="10_Info" value="<?php echo htmlentities($row['10_Info']);?>" placeholder="INFORMATION"></td>
                          </tr>
                           
                           
                          <tr bgcolor="#E6E6E6">
                            <td>10A</td>
                            <td><input name="10A_vessel" placeholder=" * * VACANT * *" value="<?php echo htmlentities($row['10A_vessel']);?>"></td>
                            <td><input type="text" name="10A_date" id="date1" alt="date" class="form-control" value="<?php echo htmlentities($row['10A_date']);?>" title="d/m/Y" placeholder="DD/MM/YYYY"></td>
                            <td><select name="10A_status">
                                <option value="<?php echo htmlentities($row['10A_status']);?>"><?php echo htmlentities($row['10A_status']);?></option>
                                <option value="DISCHARGING">DISCHARGING</option>
                                <option value="BERTHED">BERTHED</option>
                                </select>
                             </td>
                            <td><input name="10A_ETD" value="<?php echo htmlentities($row['10A_ETD']);?>" placeholder="DD/MM/YYYY"></td>
                            <td><input name="10A_LOA" value="<?php echo htmlentities($row['10A_LOA']);?>" placeholder="LOA TYPE"></td> 
                            <td><input name="10A_Cargo" value="<?php echo htmlentities($row['10A_Cargo']);?>" placeholder="CARGO TYPE"></td> 
                            <td><input name="10A_Info" value="<?php echo htmlentities($row['10A_Info']);?>" placeholder="INFORMATION"></td>
                          </tr>
                           
                           
                           
                          <tr bgcolor="#E6E6E6">
                            <td>11</td>
                            <td><input name="11_vessel" placeholder=" * * VACANT * *" value="<?php echo htmlentities($row['11_vessel']);?>"></td>
                            <td><input type="text" name="11_date" id="date1" alt="date" class="form-control" value="<?php echo htmlentities($row['11_date']);?>" title="d/m/Y" placeholder="DD/MM/YYYY"></td>
                            <td><select name="11_status">
                                <option value="<?php echo htmlentities($row['11_status']);?>"><?php echo htmlentities($row['11_status']);?></option>
                                <option value="DISCHARGING">DISCHARGING</option>
                                <option value="BERTHED">BERTHED</option>
                                </select>
                             </td>
                            <td><input name="11_ETD" value="<?php echo htmlentities($row['11_ETD']);?>" placeholder="DD/MM/YYYY"></td>
                            <td><input name="11_LOA" value="<?php echo htmlentities($row['11_LOA']);?>" placeholder="LOA TYPE"></td> 
                            <td><input name="11_Cargo" value="<?php echo htmlentities($row['11_Cargo']);?>" placeholder="CARGO TYPE"></td> 
                            <td><input name="11_Info" value="<?php echo htmlentities($row['11_Info']);?>" placeholder="INFORMATION"></td>
                          </tr>
                           
                           
                          <tr bgcolor="#E6E6E6">
                            <td>12</td>
                            <td><input name="12_vessel" placeholder=" * * VACANT * *" value="<?php echo htmlentities($row['12_vessel']);?>"></td>
                            <td><input type="text" name="12_date" id="date1" alt="date" class="form-control" value="<?php echo htmlentities($row['12_date']);?>" title="d/m/Y" placeholder="DD/MM/YYYY"></td>
                            <td><select name="12_status">
                                <option value="<?php echo htmlentities($row['12_status']);?>"><?php echo htmlentities($row['12_status']);?></option>
                                <option value="DISCHARGING">DISCHARGING</option>
                                <option value="BERTHED">BERTHED</option>
                                </select>
                             </td>
                            <td><input name="12_ETD" value="<?php echo htmlentities($row['12_ETD']);?>" placeholder="DD/MM/YYYY"></td>
                            <td><input name="12_LOA" value="<?php echo htmlentities($row['12_LOA']);?>" placeholder="LOA TYPE"></td> 
                            <td><input name="12_Cargo" value="<?php echo htmlentities($row['12_Cargo']);?>" placeholder="CARGO TYPE"></td> 
                            <td><input name="12_Info" value="<?php echo htmlentities($row['12_Info']);?>" placeholder="INFORMATION"></td>
                          </tr>
                           
                          <tr bgcolor="#E6E6E6">
                            <td>13</td>
                            <td><input name="13_vessel" placeholder=" * * VACANT * *" value="<?php echo htmlentities($row['13_vessel']);?>"></td>
                            <td><input type="text" name="13_date" id="date1" alt="date" class="form-control" value="<?php echo htmlentities($row['13_date']);?>" title="d/m/Y" placeholder="DD/MM/YYYY"></td>
                            <td><select name="13_status">
                                <option value="<?php echo htmlentities($row['12_status']);?>"><?php echo htmlentities($row['13_status']);?></option>
                                <option value="DISCHARGING">DISCHARGING</option>
                                <option value="BERTHED">BERTHED</option>
                                </select>
                             </td>
                            <td><input name="13_ETD" value="<?php echo htmlentities($row['13_ETD']);?>" placeholder="DD/MM/YYYY"></td>
                            <td><input name="13_LOA" value="<?php echo htmlentities($row['13_LOA']);?>" placeholder="LOA TYPE"></td> 
                            <td><input name="13_Cargo" value="<?php echo htmlentities($row['13_Cargo']);?>" placeholder="CARGO TYPE"></td> 
                            <td><input name="13_Info" value="<?php echo htmlentities($row['13_Info']);?>" placeholder="INFORMATION"></td>
                          </tr>
                           
                          <tr bgcolor="#E6E6E6">
                            <td>14</td>
                            <td><input name="14_vessel" placeholder=" * * VACANT * *" value="<?php echo htmlentities($row['14_vessel']);?>"></td>
                            <td><input type="text" name="14_date" id="date1" alt="date" class="form-control" value="<?php echo htmlentities($row['14_date']);?>" title="d/m/Y" placeholder="DD/MM/YYYY"></td>
                            <td><select name="14_status">
                                <option value="<?php echo htmlentities($row['14_status']);?>"><?php echo htmlentities($row['14_status']);?></option>
                                <option value="DISCHARGING">DISCHARGING</option>
                                <option value="BERTHED">BERTHED</option>
                                </select>
                             </td>
                            <td><input name="14_ETD" value="<?php echo htmlentities($row['14_ETD']);?>" placeholder="DD/MM/YYYY"></td>
                            <td><input name="14_LOA" value="<?php echo htmlentities($row['14_LOA']);?>" placeholder="LOA TYPE"></td> 
                            <td><input name="14_Cargo" value="<?php echo htmlentities($row['14_Cargo']);?>" placeholder="CARGO TYPE"></td> 
                            <td><input name="14_Info" value="<?php echo htmlentities($row['14_Info']);?>" placeholder="INFORMATION"></td>
                          </tr>
                           
                         
                          <?php } ?>
  
                        </table>
                        <br>
                              <p style="font-size:12px">Please NOTE on STATUS ICON!</p>
                              <p style="font-size:10px">Please enter Vacant or Available if there is No information on vessel<br> Enter Nill is there is no information for other cell/column  <br>
                              -- = N/A<br>D = DISCHARGING<br> B = BERTHED<br></p>
						 
						 <button type="submit" name="submit" class="btn btn-primary">Modify Berthing Update</button>
						 <a href="berthing" class="btn btn-info">Back to Berthing Update</a>


				</form>
						  
						  
						  
						  
			







			
                    </div> <!-- /.card-body -->
                  </div> <!-- /.card -->
                </div> <!-- /.col -->
				
				
				
              </div> <!-- end section -->
              
		
            </div> <!-- .col-12 -->
          </div> <!-- .row -->
        </div> <!-- .container-fluid -->
        
		
		
        
      </main> <!-- main -->
	  
    </div> <!-- .wrapper -->
    <script src="js/jquery.min.js"></script>
    <script src="js/popper.min.js"></script>
    <script src="js/moment.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/simplebar.min.js"></script>
    <script src='js/daterangepicker.js'></script>
    <script src='js/jquery.stickOnScroll.js'></script>
    <script src="js/tinycolor-min.js"></script>
    <script src="js/config.js"></script>
    <script src='js/jquery.dataTables.min.js'></script>
    <script src='js/dataTables.bootstrap4.min.js'></script>
    <script>
      $('#dataTable-1').DataTable(
      {
        autoWidth: true,
        "lengthMenu": [
          [5, 10, 20, -1],
          [5, 10, 20, "All"]
        ]
      });
    </script>
   
  </body>
</html>
<?php } ?>