<?php 
//session_start();
include 'connection.php'?>
<?php function link_chek() {
if (!isset($_SESSION['is_logged_in'])) {
    header("Location:login.php");
    die();
    }
	include 'connection.php';
 $querylogin = "select * from  mst_users where user_name = '". $_SESSION["LOGIN_NAME"]."' AND password = '".$_SESSION["EMPLOYEE_PASSWORD"]."'";
$resultlogin = mysqli_query($conn,$querylogin);
while($row=mysqli_fetch_array($resultlogin))
{
$user_name = $row['user_name'];
$user_id = $row['user_id'];
$first_name = $row['first_name'];
 $login_type_admin=$row['login_type'];
}
?>
<ul style="text-transform:uppercase;">
          <li> <a href="index.php" class="waves-effect"><i class="ti-home"></i><span>Dashboard </span></a></li>
		  
			  

	   <li class="has_sub"> <a href="javascript:void(0);" class="waves-effect"><i class="ti-user"></i><span>USER </span><span class="pull-right"><i class="mdi mdi-plus"></i></span></a>
            <ul class="list-unstyled">
			  
     
              <li><a href="view_all_sales_user.php">ALL USER LIST</a></li>
			  <li><a href="view_all_user_type.php">ALL USER TYPE</a></li>
			 
			  <!--  <li><a href="view_all_leave_application.php">LEAVE</a></li>
				 <li><a href="view_all_visits.php">VISIT</a></li>-->
			 
            
            
            </ul>
          </li>  
        </ul>


