<?php ob_start(); session_start(); ?>
	<!DOCTYPE html>
	<html>
	<?php include "../layouts/db_connect.php"; ?>
	<?php 
if(isset($_SESSION['code'])) {
	  $code = $_SESSION['code'];
	  $scode = $_SESSION['code'];
	   
		$staff = $_SESSION['name'];
		 $postt = $_SESSION['postt'];
		  $mfin222 = $_SESSION['mfin222'];
	} 
	?>
		<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 http-equiv="X-UA-Compatible" content="chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1">
<style>

table, th, td {
    border: 1px solid black;
}
#customers {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

#customers td, #customers th {
    border: 1px solid #ddd;
    padding: 8px;
}

#customers tr:nth-child(even){background-color: #f2f2f2;}

#customers tr:hover {background-color: #ddd;}

#customers th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #4CAF50;
    color: white;
}

@media screen and (max-width: 600px) {
    .bb{
        margin-top:15%;
    }
    
}
</style>
		<title>INFOSSEL SOFT SOLUTIONS </title> </head>
		<body class='bb'>
  
  <?php $sql=mysqli_query($conn, "select DISTINCT area from customerdetails order by area asc");
		$sql2=mysqli_query($conn, "select DISTINCT area from customerdetailsw order by area asc");
 ?>
    <!--  page-wrapper -->
         <div class="right_col" role="main">

            <div class="row">
                <div class="col-lg-12">
                    <!-- Form Elements -->
                    <div class="panel panel-default">
                   
                       
                        <div class="panel-body">
                            <div class="row">
							 <div class="col-lg-6">
<table id="customers">
<tbody>
<?php while($row=mysqli_fetch_array($sql)) {
$area = $row['area'];	?>
<a href="search.php?area=<?php echo $area; ?>"><tr>
<td><b><a href="search.php?area=<?php echo $area; ?>"><font size="2"><?php echo $row['area']; ?></a></font></b></br>
</td>
</tr></a>


<?php } ?>
<?php while($row=mysqli_fetch_array($sql2)) {
$area = $row['area'];	?>
<a href="search.php?area=<?php echo $area; ?>"><tr>
<td><b><a href="search.php?area=<?php echo $area; ?>"><font size="2"><?php echo $row['area']; ?></a></font></b></br>
</td>
</tr></a>


<?php } ?>
</tbody>

</table>


</div>

</div></div>
</div></div></div></div></div></div> </body></html>
