<?php
session_start();
if(!isset ($_SESSION['user_id'])){
    header("Location:../login.php?msg=Log in first");
    exit();
}else{
	include('../Server/connection.php');
	include('includes/session.php');
	$st = 'add';
	if($st == 'add'){ 
	echo "<div class='div-request div-hide'>add</div>";
      }		
?>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

	<?php
	include 'title.php';
	?>
	
	<link type = "image/png" rel="icon" href="images/brvision.png"/>
	
    <!-- Bootstrap must-->
    <link href="../vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
	
    <!-- Font Awesome must-->
    <link href="../vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
	
	<!-- custom css -->
    <link rel="stylesheet" href="custom/css/custom.css">
	
    <!-- NProgress must-->
    <link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
	
    <!-- Custom Theme Style must-->
    <link href="../build/css/custom.min.css" rel="stylesheet">
	
	<!-- must-->
	<script src="assests/jquery/jquery.min.js"></script>
	
	<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/jquery.validate.min.js"></script>
    <script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/additional-methods.min.js"></script>
	
  <!-- jquery ui must-->  
  <link rel="stylesheet" href="assests/jquery-ui/jquery-ui.min.css">
  <script src="assests/jquery-ui/jquery-ui.min.js"></script>
	
  <!-- Must Bootstrap must-->
    <script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
	
	<style>
  .error {
    color: #F00;
}  

</style>
	

	
  </head>

  <body class="nav-md">
  
    <div class="container body">
	
      <div class="main_container">
        <div class="col-md-3 left_col">
          <div class="left_col scroll-view">
		  
            <?php  
		include 'includes/role.php';
               ?>

            <div class="clearfix"></div>
            
			<?php
            include 'includes/profile.php';
			print '</br></br>';
			include 'includes/menu.php';
			?>

           

        <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
		  
			
			
            <div class="clearfix"></div>

            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
				  <?php
			  $client_id = $_GET['i'];
			  $assign_id = $_GET['assign_id'];
			  ?>
				  
                    <a href="returnedCustomers.php?assign_id=<?php echo $assign_id; ?>">  <h2><span class="glyphicon glyphicon-step-backward"></span> Back</h2></a>
					</br></br>
					<font color="green">Edit Customer</font>
					
					
                    <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>
				  
				
				  
                 <div class="x_content" style="overflow: auto;">
				 
				  <?php if (isset($_SESSION['success_message']) && !empty($_SESSION['success_message'])) { ?>
                        <div class="success-message" style="margin-bottom: 20px;font-size: 20px;color: green;"><?php echo $_SESSION['success_message']; ?></div>
                        <?php
                        unset($_SESSION['success_message']);
                    }
                    ?>	
				 
			  <div class="success-messages"></div> <!--/success-messages-->
			  
			  

               <form class="form-horizontal" id="id_frm" method="POST" enctype="multipart/form-data" action="php_action/editCustDetails.php">
			   
			   <input type="hidden" name="client_id" value="<?php echo $client_id; ?>">
			  	
			  <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-12">
			  <div class="form-group">
		
  <?php
  $sql4210 = "SELECT * FROM clients,client_cate where client_id='$client_id' and clients.clientcate_id=client_cate.clientcate_id";	
        $result4210 = $conn->query($sql4210); 
		while ($row4210 = mysqli_fetch_array($result4210))
		{
			$clientfname_id4210 = $row4210['client_fname'];
			$clientlname_id4210 = $row4210['client_lname'];
			$clienttin_id4210 = $row4210['client_tin'];
			$client_phone4210 = $row4210['client_phone'];
			$client_email4210 = $row4210['client_email'];
			$client_address4210 = $row4210['client_address'];
			$clientcate_name4210 = $row4210['clientcate_name'];
			$clientsource_id4210 = $row4210['client_source_id'];
			$clientcate_id4210 = $row4210['clientcate_id'];
			
		}
		
		$n = substr($client_phone4210,3);
        $n1 = '0';	
        $clientPhone = $n1.$n;	
  
  
		$sql421 = "SELECT * FROM clients,client_cate where client_id='$client_id' and clients.clientcate_id=client_cate.clientcate_id";	
        $result421 = $conn->query($sql421); 
		while ($row421 = mysqli_fetch_array($result421))
		{
			$clientcate_id421 = $row421['clientcate_id'];
			$clientcate_name421 = $row421['clientcate_name'];
	
		?>
						
						
						 <label class="radio-inline">
          <input type="radio" id="client_type" name="client_type" value="1" <?php if($clientcate_id421==1){ echo "checked";}?> /> Individual
         </label>
		 
		 
		 <label class="radio-inline">
          <input type="radio" id="client_type" name="client_type" value="2" <?php if($clientcate_id421==2){ echo "checked";}?> /> Company
         </label>
						
						
						
						<?php
		                }
						?>
  
                 
                      
               </div>
			   </div>
			   
			
				
			  </div>	  
              </div>
				
			  
			  
			   <?php
			  if($clientcate_id4210==1){  
			  ?>
			  
			  <div id="textboxes1">
			  <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Customer FirstName: </label>
                 
			<input type="text" class="form-control" id="clientFname" name="clientFname" placeholder="Customer FirstName" value="<?php echo $clientfname_id4210; ?>" autocomplete="off" style="width:100%;margin-left:0%;" />
			
			<br/>
                         <label for="clientFname" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   
			    <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Customer LastName: </label>
                
				<input type="text" class="form-control" id="clientLname" name="clientLname" placeholder="Customer LastName" value="<?php echo $clientlname_id4210; ?>" autocomplete="off" style="width:100%;margin-left:0%;"/>
                      <br/>
                         <label for="clientLname" class="error" generated="true"></label>
                </div>
			   </div>
			  </div>	  
              </div>
			  
			   <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-4">
			  <div class="form-group">
                 <label for="form_name">Customer TIN: </label>
                 
			<input type="text" class="form-control" id="client_tin" name="client_tin" placeholder="Customer TIN" value="<?php echo $clienttin_id4210; ?>" autocomplete="off"/>
			
			<br/>
                         <label for="client_tin" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   
			    <div class="col-sm-4">
			  <div class="form-group">
                 <label for="form_name">Customer Phone #: </label>
                
				<input type="text" class="form-control" id="client_phone" name="client_phone" placeholder="Customer Phone #" value="<?php echo $clientPhone; ?>" autocomplete="off"/>
				
				<br/>
                         <label for="client_phone" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			    <div class="col-sm-4">
			  <div class="form-group">
                 <label for="form_name">Customer Source: </label>
				 
				 <select class="form-control" name="client_source" id="client_source" autocomplete="off">
			  						<?php
			  							$productSql41 = "SELECT * FROM client_source where source_id='$clientsource_id4210'";
			  							$productData41 = $conn->query($productSql41);
			  							while($row41 = $productData41->fetch_array()){									 		
			  								echo "<option value='".$row41['source_id']."'>".$row41['source_name']."</option>";
										 	} // /while 
											
									 
									   $productSql413 = "SELECT * FROM client_source where source_id!='$clientsource_id4210'";
			  							$productData413 = $conn->query($productSql413);
			  							while($row413 = $productData413->fetch_array()){									 		
			  								echo "<option value='".$row413['source_id']."'>".$row413['source_name']."</option>";
										 	} // /while 

			  						?>
		  						</select>
                
				
				
				<br/>
                         <label for="client_source" class="error" generated="true"></label>
                      
                </div>
			   </div>
				
				
			  </div>	  
              </div>
			  
			  
			  <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Customer Email: </label>
                 
			<input type="email" class="form-control" id="client_email" name="client_email" placeholder="Customer Email" value="<?php echo $client_email4210; ?>" autocomplete="off"/>
			
			<br/>
                         <label for="client_email" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   
			    <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Customer Address: </label>
                
				<input type="text" class="form-control" id="client_address" name="client_address" placeholder="Customer Address" value="<?php echo $client_address4210; ?>" autocomplete="off" />
                 
                <br/>
               <label for="client_address" class="error" generated="true"></label>

				 
                </div>
			   </div>
				
				
			  </div>	  
              </div>
			  </div>
			  
			  <?php
			  }else{
			  ?>
			  
			  <div id="textboxes1" style="display: none">
			  <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Customer FirstName: </label>
                 
			<input type="text" class="form-control" id="clientFname" name="clientFname" placeholder="Customer FirstName"  autocomplete="off" style="width:100%;margin-left:0%;" />
			
			<br/>
                         <label for="clientFname" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   
			    <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Customer LastName: </label>
                
				<input type="text" class="form-control" id="clientLname" name="clientLname" placeholder="Customer LastName"  autocomplete="off" style="width:100%;margin-left:0%;"/>
                      <br/>
                         <label for="clientLname" class="error" generated="true"></label>
                </div>
			   </div>
			  </div>	  
              </div>
			  
			   <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-4">
			  <div class="form-group">
                 <label for="form_name">Customer TIN: </label>
                 
			<input type="text" class="form-control" id="client_tin" name="client_tin" placeholder="Customer TIN"  autocomplete="off"/>
			
			<br/>
                         <label for="client_tin" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   
			    <div class="col-sm-4">
			  <div class="form-group">
                 <label for="form_name">Customer Phone #: </label>
                
				<input type="text" class="form-control" id="client_phone" name="client_phone" placeholder="Customer Phone #"  autocomplete="off"/>
				
				<br/>
                         <label for="client_phone" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			    <div class="col-sm-4">
			  <div class="form-group">
                 <label for="form_name">Customer Source: </label>
				 
				 <select class="form-control" name="client_source" id="client_source" autocomplete="off">
			  						<?php
			  							$productSql41 = "SELECT * FROM client_source";
			  							$productData41 = $conn->query($productSql41);
			  							while($row41 = $productData41->fetch_array()){									 		
			  								echo "<option value='".$row41['source_id']."'>".$row41['source_name']."</option>";
										 	} // /while 
										
			  						?>
		  						</select>
                
				
				
				<br/>
                         <label for="client_source" class="error" generated="true"></label>
                      
                </div>
			   </div>
				
				
			  </div>	  
              </div>
			  
			  
			  <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Customer Email: </label>
                 
			<input type="email" class="form-control" id="client_email" name="client_email" placeholder="Customer Email"  autocomplete="off"/>
			
			<br/>
                         <label for="client_email" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   
			    <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Customer Address: </label>
                
				<input type="text" class="form-control" id="client_address" name="client_address" placeholder="Customer Address"  autocomplete="off" />
                 
                <br/>
               <label for="client_address" class="error" generated="true"></label>

				 
                </div>
			   </div>
				
				
			  </div>	  
              </div>
		       </div>
		  
		      <?php
                }
			  ?>
			  
			 
			  
			  
			  
			   <?php
			  if($clientcate_id4210==1){  
			  ?>
			  
			  <div id="textboxes2" style="display: none">
			  <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Company Name: </label>
                 
			<input type="text" class="form-control" id="company_name" name="company_name" placeholder="Company Name" autocomplete="off"  style="width:100%;margin-left:0%;" />
			
			<br/>
                         <label for="company_name" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Contact Person Phone #: </label>
                 
			<input type="text" class="form-control" id="company_phone" name="company_phone" placeholder="Contact Person Phone #" autocomplete="off"   style="width:100%;margin-left:0%;" />
			
			<br/>
                         <label for="company_phone" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   
			  </div>	  
              </div>
			  
			  
			   <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Company TIN: </label>
                 
			<input type="text" class="form-control" id="company_tin" name="company_tin" placeholder="Company TIN" autocomplete="off" style="width:100%;margin-left:0%;" />
			
			<br/>
                         <label for="company_tin" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   
			    <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Company Source: </label>
				 
				  <select class="form-control" name="company_source" id="company_source" autocomplete="off">
			  						<option value="">~~SELECT~~</option>
			  						<?php
			  							$productSql412 = "SELECT * FROM client_source";
			  							$productData412 = $conn->query($productSql412);
			  							while($row412 = $productData412->fetch_array()){									 		
			  								echo "<option value='".$row412['source_id']."'>".$row412['source_name']."</option>";
										 	} // /while 

			  						?>
		  						</select>
				
                      <br/>
                         <label for="company_source" class="error" generated="true"></label>
                </div>
			   </div>
			  </div>	  
              </div>
			  
			  
			  <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Company Email: </label>
                 
			<input type="email" class="form-control" id="company_email" name="company_email" placeholder="Company Email" autocomplete="off" style="width:100%;margin-left:0%;" />
			
			<br/>
                         <label for="company_email" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   
			    <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Company Address: </label>
                 
				<input type="text" class="form-control" id="company_address" name="company_address" placeholder="Company Address" autocomplete="off" style="width:100%;margin-left:0%;" />
                      <br/>
                         <label for="company_address" class="error" generated="true"></label>
                </div>
			   </div>
			  </div>	  
              </div>
			  </div>
			  <?php
               }else{
			  ?>
			  
			  <div id="textboxes2">
			  <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Company Name: </label>
                 
			<input type="text" class="form-control" id="company_name" name="company_name" placeholder="Company Name" autocomplete="off" value="<?php echo $clientfname_id4210; ?>"  style="width:100%;margin-left:0%;" />
			
			<br/>
                         <label for="company_name" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Contact Person Phone #: </label>
                 
			<input type="text" class="form-control" id="company_phone" name="company_phone" placeholder="Contact Person Phone #" autocomplete="off" value="<?php echo $clientPhone; ?>" style="width:100%;margin-left:0%;" />
			
			<br/>
                         <label for="company_phone" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   
			  </div>	  
              </div>
			  
			  
			   <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Company TIN: </label>
                 
			<input type="text" class="form-control" id="company_tin" name="company_tin" placeholder="Company TIN" autocomplete="off" value="<?php echo $clienttin_id4210; ?>" style="width:100%;margin-left:0%;" />
			
			<br/>
                         <label for="company_tin" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   
			    <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Company Source: </label>
				 
				  <select class="form-control" name="company_source" id="company_source" autocomplete="off">
			  						<?php
			  							$productSql412 = "SELECT * FROM client_source where source_id='$clientsource_id4210'";
			  							$productData412 = $conn->query($productSql412);
			  							while($row412 = $productData412->fetch_array()){									 		
			  								echo "<option value='".$row412['source_id']."'>".$row412['source_name']."</option>";
										 	} // /while 
											
											
									$productSql4126 = "SELECT * FROM client_source where source_id!='$clientsource_id4210'";
			  							$productData4126 = $conn->query($productSql4126);
			  							while($row4126 = $productData4126->fetch_array()){									 		
			  								echo "<option value='".$row4126['source_id']."'>".$row4126['source_name']."</option>";
										 	} // /while 

			  						?>
		  						</select>
				
                      <br/>
                         <label for="company_source" class="error" generated="true"></label>
                </div>
			   </div>
			  </div>	  
              </div>
			  
			  
			  <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Company Email: </label>
                 
			<input type="email" class="form-control" id="company_email" name="company_email" placeholder="Company Email" autocomplete="off" value="<?php echo $client_email4210; ?>" style="width:100%;margin-left:0%;" />
			
			<br/>
                         <label for="company_email" class="error" generated="true"></label>
                      
                </div>
			   </div>
			   
			   
			    <div class="col-sm-6">
			  <div class="form-group">
                 <label for="form_name">Company Address: </label>
                 
				<input type="text" class="form-control" id="company_address" name="company_address" placeholder="Company Address" autocomplete="off" value="<?php echo $client_address4210; ?>" style="width:100%;margin-left:0%;" />
                      <br/>
                         <label for="company_address" class="error" generated="true"></label>
                </div>
			   </div>
			  </div>	  
              </div>
		  
		       </div>
		      <?php
                }
			  ?>
			 
			  
			  
	         <div class="controls">
			  <div class="row">
			  
			  <div class="col-sm-4">
			  <div class="form-group">
			  
			  <label for="form_name">Upload Document (s): </label>
				 </br>
				 <label class="radio-inline">
          <input type="radio" name="upl_status" value="Yes" id="upl_status"> Yes
         </label>&nbsp&nbsp&nbsp&nbsp
         <label class="radio-inline">
          <input type="radio" name="upl_status" value="No" id="upl_status" checked> No
         </label>&nbsp&nbsp&nbsp&nbsp
		 
		
		
		<div id="textboxes3" style="display: none">		
		     
			 <label for="form_name">Upload Document(s) </label>
			  <input  type="file" name="file[]"  id="file" class="form-control" style="width:100%;margin-left:0%;" multiple>
			  
			   <br/>
        <label for="file" class="error" generated="true"></label>
			 
			</div>
              
				  
                </div>
			   </div>
			  
			  </div>	  
              </div>
			  
			  
			
			  
			 
			  <div class="form-group submitButtonFooter">
			    <div class="col-sm-offset-0 col-sm-12">
			    

			    <button type="submit" id="createOrderBtn" data-loading-text="Loading..." class="btn btn-success"><i class="glyphicon glyphicon-ok-sign"></i> Save Changes </button>

			      
			    </div>
			  </div>
			 
			</form>                    
					
				</div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- /page content -->
		
		
		<?php
		include 'includes/footer.php';
		?>
		
        
      </div>
    </div>
	
				<script>
//$(function(){
	
$(document).ready(function(){
    $('input[name="client_type"]').on('click', function(){
        if ($(this).val() == 1){
			 $('#textboxes1').show();
			 $('#textboxes2').hide();
        }else {
			$('#textboxes2').show();
			$('#textboxes1').hide();
		}
	
		
    });
});	
	
	

$(document).ready(function(){
    $('input[name="upl_status"]').on('click', function(){
        if ($(this).val() == 'Yes'){
			 $('#textboxes3').show();
        }else {
			$('#textboxes3').hide();
		}
	
		
    });
});


 $("#id_frm").validate({
        rules: {
			
			"clientFname": {
                required: true
            },
			
			"clientLname": {
                required: true
            },
			
			"client_tin": {
                required: true
            },
			
			"client_phone": {
                required: true
            },
			
			"client_source": {
                required: true
            },
			
			"client_email": {
                required: true
            },
			
			
			"client_address": {
                required: true
            },
			
			
			"company_phone": {
                required: true
            },
			
			"file": {
                required: true
            },
			
			
            "company_name": {
                required: true,
                //minlength: 10,
                // minlength: 10 // same rule twice
            },
			
			"company_tin": {
                required: true
            },
			
			"company_source": {
                required: true
            },
			
			"company_email": {
                required: true
            },
			
			"company_address": {
                required: true
            }
			
            
        },
        messages: {
			
			"clientFname": {
                required: "Please Enter Customer FirstName."
            },
			
			"clientLname": {
                required: "Please Enter Customer LastName"
            },
			
			"client_tin": {
                required: "Please Enter Customer Tin Number"
            },
			
			"client_phone": {
                required: "Please Enter Customer Phone Number"
            },
			
            "client_source": {
                required: "Please Select Customer Source"
            },
			
			"client_email": {
                required: "Please Enter Customer Email"
            },
			
			"client_address": {
                required: "Please Enter Customer Address"
            },
			
			"company_phone": {
                required: "Please Enter Company Phone"
            },
			
			"file": {
                required: "Please Upload at least one document."
            },
			
			
			"company_name": {
                required: "Please Enter Company Name"
            },
			
			"company_tin": {
                required: "Please Enter Company tin."
            },
			
			
			"company_source": {
                required: "Please Select Company Source"
            },
			
			"company_email": {
                required: "Please Enter Company Email"
            },
			
			"company_address": {
                required: "Please Enter Company Address"
            }
			
			
        },
        // for demo
        //submitHandler: function(form) {
            //alert('valid form');
            //return false;
        //}
 });


</script>
	
	<script>
	// order date picker
		$("#eta").datepicker();
		
		// delivery date picker
		//$("#dueDate").datepicker();
	
	</script>

    
     <!-- Must -->
    <script src="custom/js/createCustomer.js"></script>
	
    <!-- Must Custom Theme Scripts -->
    <script src="../build/js/custom.min.js"></script>
	
	<!-- file input -->
	<script src="assests/plugins/fileinput/js/plugins/canvas-to-blob.min.js'); ?>" type="text/javascript"></script>	
	<script src="assests/plugins/fileinput/js/plugins/sortable.min.js" type="text/javascript"></script>	
	<script src="assests/plugins/fileinput/js/plugins/purify.min.js" type="text/javascript"></script>
	<script src="assests/plugins/fileinput/js/fileinput.min.js"></script>	


	<!-- DataTables -->
	<script src="assests/plugins/datatables/jquery.dataTables.min.js"></script>

  </body>
</html>



<?php
}
?>