<?php
if($role_id==1){
$sql5896 = "SELECT * FROM staff,designation where staff.staff_id='$staff_id' and staff.des_id=designation.des_id";
        $result5896 = $conn->query($sql5896);
		while ($row36276 = mysqli_fetch_array($result5896)){
			            $des_name = $row36276['des_short_name'];
		}						
	
?>


<div class="navbar nav_title" style="border: 0;">
              <a href="dashboard.php" class="site_title"><i class="fa fa-paw"></i> <span><?php echo $des_name; ?></span></a>
            </div>
			
<?php
}else if($role_id==2){
	//echo $dept_id;
	
	

?>

<div class="navbar nav_title" style="border: 0;">
              <a href="dashboard.php" class="site_title"><i class="fa fa-paw"></i> <span>Customer</span>
			  
			  
			  </a>
			 
			  
            </div>
			

<?php
}else if($role_id==3){  
?>
<div class="navbar nav_title" style="border: 0;">
              <a href="dashboard.php" class="site_title"><i class="fa fa-paw"></i> <span>DCO</span></a>
            </div>
			

			
<?php
}else if($role_id==4){
?>

<div class="navbar nav_title" style="border: 0;">
              <a href="dashboard.php" class="site_title"><i class="fa fa-paw"></i> <span>ACCOUNTANT</span></a>
            </div>
			
			
<?php
}else if($role_id==5){
?>

<div class="navbar nav_title" style="border: 0;">
              <a href="dashboard.php" class="site_title"><i class="fa fa-paw"></i> <span>HRO</span></a>
            </div>

<?php
}
?>


