<?php 
include('../dbconnect.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">
 
    <link rel="icon" href="../images/logo.jpg" type="image/gif" sizes="16x16">

    <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 <?php echo $myprofile; ?>">
          <a class="nav-link" href="viewprofile.php">
            <i class="fas fa-fw fa-user-alt"></i>
            <span>My Profile</span>
          </a>
        </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 $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-group"></i>
            <span>Employee</span>
          </a>
          <div class="dropdown-menu" aria-labelledby="pagesDropdown" >

            <a class="dropdown-item <?php echo $emp;?>" href="employee.php?page=1"><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 $admintools?>">
          <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-user-cog"></i>
            <span>Manager Tools</span>
          </a>
          <div class="dropdown-menu" aria-labelledby="pagesDropdown" >

          <a class="dropdown-item <?php echo $leaverequest;?>" href="leaverequest.php"><i class="fas fa-user-clock"></i> PTO Approval</a>
          <a class="dropdown-item <?php echo $otapp?>" href="otapproval.php"><i class="fas fa-user-clock"></i> OT Approval</a>

            <a class="dropdown-item <?php echo $sched;?>" href="schedule.php?page=1"><i class="fas fa-calendar-alt"></i> Employee Schedule </a>
            
          <a class="dropdown-item <?php echo $util;?>" href="util.php?page=1" style="font-size:15px"><i class="	fas fa-desktop"></i>  Monitoring </a>

          
            <a class="dropdown-item <?php echo $pto;?>" href="paidtimeoff.php?page=1"><i class="fas fa-calendar"></i> Paid Time Off </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>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 $ot?>" href="ot.php"><i class="fas fa-user-clock"></i> Over Time</a>
 

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

          </div>
        </li>

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

            <a class="dropdown-item <?php echo $add_cto;?>" href="cto.php?page=1"><i class="	fas fa-fw fa-plus"></i> Add CTO</a>
    
            <a class="dropdown-item <?php echo $sum_cto;?>" href="ctosum.php"><i class="fas fa-file-alt"></i> Summary</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 $empstat;?>" href="employeestat.php"><i class="fas fa-user-tie"></i> Employee Status</a>
            <a class="dropdown-item <?php echo $empsal;?>" href="salaryreport.php"><i class="fas fa-file-invoice-dollar"></i> Employee Salary </a>
            <a class="dropdown-item <?php echo $empeval;?>" href="report35month.php"><i class="fas fa-users"></i> Evaluation Schedule </a>
            <a class="dropdown-item <?php echo $empsalP;?>" href="reportsalarypackage.php"><i class="fas fa-file-invoice-dollar"></i> Salary Package</a>
            <a class="dropdown-item <?php echo $govinfo;?>" href="reportgovernment.php"><i class="fas fa-landmark"></i> Government Info</a>
            <a class="dropdown-item <?php echo $bankinfo;?>" href="reportbankinfo.php"><i class="fas fa-money-check-alt"></i> Bank Information</a>
            <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 $pto;?>" href="reportptoutil.php"><i class="fas fa-business-time"></i> PTO Utilization</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>
            <a class="dropdown-item <?php echo $reportsched;?>" href="reportsched.php"><i class="fas fa-business-time"></i> Employee Schedule </a>


          </div>

        </li>


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

        <!-- Sticky Footer -->
       
