
<?php
$session_name = $_SESSION['USER_NAME'];
?>

<!-- Main Sidebar Container -->
  <aside class="main-sidebar sidebar-dark-primary elevation-4">
    <!-- Brand Logo -->
    <a href="#" class="brand-link">
     
      <span class="brand-text font-weight-light">Lookats Dashboard</span>
    </a>

    <!-- Sidebar -->
    <div class="sidebar">
      <!-- Sidebar user (optional) -->
      <div class="user-panel mt-3 pb-3 mb-3 d-flex">
       
        <div class="info">
          <a href="<?= base_url('user/profile') ?>" class="d-block">Hello <?php echo $session_name; ?></a>
        </div>
      </div>

      <!-- SidebarSearch Form -->
      <div class="form-inline">
        <div class="input-group" data-widget="sidebar-search">
          <input class="form-control form-control-sidebar" type="search" placeholder="Search" aria-label="Search">
          <div class="input-group-append">
            <button class="btn btn-sidebar">
              <i class="fas fa-search fa-fw"></i>
            </button>
          </div>
        </div>
      </div>

      <!-- Sidebar Menu -->
      <nav class="mt-2">
        <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
          <!-- Add icons to the links using the .nav-icon class
               with font-awesome or any other icon font library -->
          
          <li class="nav-item">
            <a href="<?= base_url('/') ?>" class="nav-link">
             <i class="nav-icon fas fa-tachometer-alt"></i>
              <p>
                Dashboard
              </p>
            </a>
          </li>

    

          <li class="nav-item">
            <a href="#" class="nav-link">
               <i class="nav-icon fas fa-chart-pie"></i>
              <p>
                Report
                <i class="fas fa-angle-left right"></i>
              </p>
            </a>
            <ul class="nav nav-treeview">
              <li class="nav-item">
                <a href="<?= base_url('report/finance-report') ?>" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Database + Finance</p>
                </a>
              </li>
           
              <li class="nav-item">
                <a href="<?= base_url('report/deal-job-payment') ?>" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Deal Jobs & Payments</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="<?= base_url('report/talent-performance') ?>" class="nav-link">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Talent Performance</p>
                </a>
              </li>
              
            </ul>
          </li>
           <li class="nav-item">
            <a href="<?= base_url('user/logout') ?>" class="nav-link">
              <i class="nav-icon fas fa-power-off"></i>
            
              <p>
                Log Out
              </p>
            </a>
          </li>
      </nav>
      <!-- /.sidebar-menu -->
    </div>
    <!-- /.sidebar -->
  </aside>