

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title><?=$title?></title>

  <!-- Google Font: Source Sans Pro -->
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="<?=base_url('public/plugins/fontawesome-free/css/all.min.css')?>">


  <!-- Theme style -->
<link rel="stylesheet" href="<?=base_url('public/dist/css/adminlte.min.css')?>">
<link rel="stylesheet" href="<?=base_url('public/plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')?>">
<link rel="stylesheet" href="<?=base_url('public/plugins/datatables-responsive/css/responsive.bootstrap4.min.css')?>">
<link rel="stylesheet" href="<?=base_url('public/plugins/datatables-buttons/css/buttons.bootstrap4.min.css')?>">
<link rel="stylesheet" href="<?=base_url('public/plugins/jquery-ui/jquery-ui.css')?>">
<link rel="stylesheet" href="<?=base_url('public/plugins/toastr/toastr.css')?>">
<!-- fullCalendar 2.2.5-->
<link rel="stylesheet" href="<?=base_url('public/plugins/fullcalendar/fullcalendar.min.css')?>">
<link rel="stylesheet" href="<?=base_url('public/plugins/fullcalendar/fullcalendar.print.css')?>" media="print">

<?php
$session_level = $_SESSION['USER_LEVEL'];


?>

</head>
<body class="hold-transition sidebar-mini">
 <?= $this->include('partial/Top_menu') ?>

<?php 
if($session_level == "ADMINISTRATOR"){
$side_menu = "partial/Side_menu";
}else if($session_level == "TALENT_MANAGER"){
$side_menu = "partial/Side_menu_manager"; 
}else if($session_level == "TALENT"){
$side_menu = "partial/Side_menu_talent"; 
}else if($session_level == "STAFF_HR"){
$side_menu = "partial/Side_menu_HR"; 
}else if($session_level == "STAFF_FINANCE"){
$side_menu = "partial/Side_menu_finance_admin"; 
}else if($session_level == "STAFF_ADMIN"){
$side_menu = "partial/Side_menu_finance_admin"; 
}else if($session_level == "STAFF_BUSDEV"){
$side_menu = "partial/Side_menu_bussdev"; 
}else if($session_level == "CEO"){
$side_menu = "partial/Side_menu_ceo"; 
}

?>

 <?= $this->include($side_menu) ?>
 
 <?= $this->renderSection('content') ?> 
 <?= $this->include('partial/Footer') ?>
</body>
</html>

<!-- jQuery -->
<script src="<?=base_url('public/plugins/jquery/jquery.js')?>"></script>
<!-- Bootstrap 4 -->
<script src="<?=base_url('public/plugins/bootstrap/js/bootstrap.bundle.min.js')?>"></script>
<!-- AdminLTE App -->
<script src="<?=base_url('public/plugins/toastr/toastr.min.js')?>"></script>
<?= $this->renderSection("scripts"); ?>
<script src="<?=base_url('public/dist/js/adminlte.min.js')?>"></script>
