<?php 
ob_start();
session_start();

if( !isset($_SESSION['user']) ) {
 header("Location: ../index.php");
 exit;
}

?>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
 
  

    <div id="wrapper">

      <!-- Sidebar -->
      <ul class="sidebar navbar-nav">
        <li class="nav-item <?php echo $dashboard; ?>">
          <a class="nav-link" href="dashboard.php">
            <i class="fas fa-fw fa-tachometer-alt"></i>
            <span>Dashboard</span>
          </a>
        </li>

        <li class="nav-item dropdown <?php echo $employee?>">
          <a class="nav-link dropdown-toggle" href="employee.php" id="pagesDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            <i class="	fas fa-fw fa-user-alt"></i>
            <span>Employee</span>
          </a>
          <div class="dropdown-menu" aria-labelledby="pagesDropdown" >

            <a class="dropdown-item <?php echo $emp?>" href="employee.php"><i class="	fas fa-fw fa-user"></i> Employee</a>
    
            <a class="dropdown-item <?php echo $addemp?>" href="addemp.php"><i class="	fas fa-fw fa-user-plus"></i> Add Employee</a>
          
          </div>
          
        </li>
        <li class="nav-item dropdown <?php echo $tools?>">
          <a class="nav-link dropdown-toggle" href="employee.php" id="pagesDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            <i class="fas fa-users-cog"></i>
            <span>Tools</span>
          </a>
          <div class="dropdown-menu" aria-labelledby="pagesDropdown" >
            <a class="dropdown-item " href="tools.php"><i class="fas fa-user-tie"></i> Employee Tools</a>
          </div>
        </li>

    
       
    
</ul>
  
        <!-- /.container-fluid -->

        <!-- Sticky Footer -->
       
