<?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>Profile</span>
          </a>
          <div class="dropdown-menu" aria-labelledby="pagesDropdown" >

            <a class="dropdown-item <?php echo $emp?>" href="viewprofile.php"><i class="	fas fa-fw fa-user"></i> My Profile</a>

            <a class="dropdown-item <?php echo $team?>" href="team.php"><i class="fas fa-users"></i> My Team</a>
        
          
    
    
          
          </div>

          
        </li>
        
        <li class="nav-item <?php echo $pin; ?>">
          <a class="nav-link" href="#" data-toggle="modal" data-target="#pin">
            <i class="fas fa-fw fa-user-alt"></i>
            <span>Utilization PIN </span>
          </a>
        </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>My Tools</span>
          </a>
          <div class="dropdown-menu" aria-labelledby="pagesDropdown" >
            <a class="dropdown-item <?php echo $pto?>" href="leave.php"><i class="fas fa-business-time"></i> Paid Time Off</a>
        
            <a class="dropdown-item <?php echo $leave?>" href="leaverequest.php"><i class="	fas fa-user-check"></i> PTO Approval</a>

            <a class="dropdown-item <?php echo $schedule?>" href="schedule.php" ><i class="fas fa-calendar-alt"></i> Schedule</a>

            <a class="dropdown-item <?php echo $ot?>" href="ot.php"><i class="fas fa-clock"></i> Over Time</a>
            <a class="dropdown-item <?php echo $otapp?>" href="otapproval.php"><i class="	fas fa-user-check"></i> OT Approval</a>

            <a class="dropdown-item <?php echo $util?>" href="util.php" ><i class="fas fa-user-clock"></i> Utilization</a>


    
    
    
          
          </div>

          
        </li>

        <li class="nav-item dropdown <?php echo $report?>">
          <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-file-alt"></i>
            <span>Reporting</span>
          </a>
          <div class="dropdown-menu"  aria-labelledby="pagesDropdown" >

            <a class="dropdown-item <?php echo $pto;?>" href="reportpto.php"><i class="fas fa-business-time"></i> Paid Time Off</a>
            <a class="dropdown-item <?php echo $reportutil;?>" href="reportutil.php"><i class="fas fa-business-time"></i> Report Utilization</a>
            <a class="dropdown-item <?php echo $reportlilo;?>" href="reportlilo.php"><i class="fas fa-business-time"></i> Employee LILO </a>

          </div>


        

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

        <!-- Sticky Footer -->
       
