<!DOCTYPE html>
<html lang="en">

<head>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <link rel="shortcut icon" href="../assets/img/yumsuk_logo.png" type="image/x-icon">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="">
  <meta name="author" content="">

  <title><?= $page_title ?></title>

  <!-- Custom fonts for this template -->
  <link href="../assets/vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">

  <!-- Custom styles for this template -->
  <link href="../assets/css/sb-admin-2.css" rel="stylesheet">

  <!-- Custom styles for this page -->
  <link href="../assets/vendor/datatables/dataTables.bootstrap4.min.css" rel="stylesheet">

</head>

<body id="page-top">




  <!-- Page Wrapper -->
  <div id="wrapper">

    <!-- Sidebar -->
    <ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">

      <!-- Sidebar - Brand -->
      <a class="sidebar-brand d-flex align-items-center justify-content-center" href="<?= base_url(); ?>/">
        <div class="sidebar-brand-icon rotate-n-15">
          <i class="fas fa-laugh-wink"></i>
        </div>
        <div class="sidebar-brand-text mx-3"><?= $user ?></div>
      </a>

      <!-- Divider -->
      <hr class="sidebar-divider my-0">

      <!-- Nav Item - Dashboard -->
      <li class="nav-item">
        <a class="nav-link" href="<?= base_url(); ?>/staff/dashboard">
          <i class="fas fa-fw fa-tachometer-alt"></i>
          <span>Dashboard</span></a>
      </li>

      <!-- Divider -->
      <hr class="sidebar-divider">

      <!-- Nav Item - Pages Collapse Menu -->
      <li class="nav-item">
        <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseProfile" aria-expanded="true" aria-controls="collapseTwo">
          <i class="fas fa-book-reader"></i>
          <span>Profile</span>
        </a>
        <div id="collapseProfile" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionSidebar">
          <div class="bg-white py-2 collapse-inner rounded">
            <!--<h6 class="collapse-header">Custom Components:</h6>-->
            <a class="collapse-item" href="<?= base_url(); ?>/student/personal_info">Personal Information   <?php if($personal['updated'] == 'Yes'): ?> <i class="fas fa-check"> <?php else: ?><i class="fas fa-times">  <?php endif ?></i></a>
            <a class="collapse-item" href="<?= base_url(); ?>/student/next_of_kin">Next of Kin Information   <?php if($kin['updated'] == 'Yes'): ?> <i class="fas fa-check"> <?php else: ?><i class="fas fa-times">  <?php endif ?></i></a>
            <a class="collapse-item" href="<?= base_url(); ?>/student/health_info">Health Information   <?php if($health['updated'] == 'Yes'): ?> <i class="fas fa-check"> <?php else: ?><i class="fas fa-times">  <?php endif ?></i></a>
            </div>
        </div>
      </li>

       <!-- Divider -->
       <hr class="sidebar-divider">

      <!-- Heading -->
      <div class="sidebar-heading">
        Printable Forms
      </div>

      <li class="nav-item">
    <a class="nav-link" href="<?= base_url()?>/staff/logout">
      <i class="fas fa-fw fa-tachometer-alt"></i>
      <span>Bio Data</span></a>
      </li>

      <li class="nav-item">
    <a class="nav-link" href="<?= base_url()?>/staff/logout">
      <i class="fas fa-fw fa-tachometer-alt"></i>
      <span>Course Registration</span></a>
      </li>

      
      <li class="nav-item">
    <a class="nav-link" href="<?= base_url()?>/staff/logout">
      <i class="fas fa-fw fa-tachometer-alt"></i>
      <span>Examination Card</span></a>
      </li>

      <li class="nav-item">
    <a class="nav-link" href="<?= base_url()?>/staff/logout">
      <i class="fas fa-fw fa-tachometer-alt"></i>
      <span>Timetable</span></a>
      </li>

      <li class="nav-item">
    <a class="nav-link" href="<?= base_url()?>/staff/logout">
      <i class="fas fa-fw fa-tachometer-alt"></i>
      <span>Result Checker</span></a>
      </li>

      <!-- Nav Item - Charts -->
      

       <hr class="sidebar-divider">

  <!-- Divider -->
  <!-- Nav Item - Pages Collapse Menu -->
     <!-- Nav Item - Pages Collapse Menu -->
  <li class="nav-item">
    <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseSettings" aria-expanded="true" aria-controls="collapseTwo">
      <i class="fas fa-book-reader"></i>
      <span>Settings</span>
    </a>
    <div id="collapseSettings" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionSidebar">
      <div class="bg-white py-2 collapse-inner rounded">
        <!--<h6 class="collapse-header">Custom Components:</h6>-->
        <a class="collapse-item" href="<?= base_url(); ?>/staff/change_password">Change Password</a>
        <a class="collapse-item" href="<?= base_url(); ?>/staff/upload_signature">Upload Signature</a>
        </div>
    </div>
  </li>
   <!-- Heading -->
  <li class="nav-item">
    <a class="nav-link" href="<?= base_url()?>/student/logout">
      <i class="fas fa-fw fa-tachometer-alt"></i>
      <span>Logout</span></a>
  </li>

      <!-- Sidebar Toggler (Sidebar) -->
      <div class="text-center d-none d-md-inline">
        <button class="rounded-circle border-0" id="sidebarToggle"></button>
      </div>

    </ul>
    <!-- End of Sidebar -->

    <!-- Content Wrapper -->
    <div id="content-wrapper" class="d-flex flex-column">

      <!-- Main Content -->
      <div id="content">

        <!-- Topbar -->
        <nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow">

          <!-- Sidebar Toggle (Topbar) -->
          <button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3">
            <i class="fa fa-bars"></i>
          </button>

          <!-- Topbar Search -->
          <form class="d-none d-sm-inline-block form-inline mr-auto ml-md-3 my-2 my-md-0 mw-100 navbar-search">
            <div class="input-group">
              <input type="text" class="form-control bg-light border-0 small" placeholder="Search for..." aria-label="Search" aria-describedby="basic-addon2">
              <div class="input-group-append">
                <button class="btn btn-primary" type="button">
                  <i class="fas fa-search fa-sm"></i>
                </button>
              </div>
            </div>
          </form>

          <!-- Topbar Navbar -->
          <ul class="navbar-nav ml-auto">

            
			
           
        </nav>
        <!-- End of Topbar -->

        <!-- Begin Page Content -->
        <div class="container-fluid">

          <!-- Page Heading -->
         <!--
          <h1 class="h3 mb-2 text-gray-800">Tables</h1>
          <p class="mb-4"><a target="_blank" href="https://datatables.net">official DataTables documentation</a>.</p>
-->
          <?= $this->renderSection("content"); ?>

        </div>

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

      </div>
      <!-- End of Main Content -->

      <!-- Footer -->
      <footer class="sticky-footer bg-white">
        <div class="container my-auto">
          <div class="copyright text-center my-auto">
            <span>Copyright &copy; KACOHSAT - 2022, Powered by 1to4 Technologies</span>
          </div>
        </div>
      </footer>
      <!-- End of Footer -->

    </div>
    <!-- End of Content Wrapper -->

  </div>
  <!-- End of Page Wrapper -->

  <!-- Scroll to Top Button-->
  <a class="scroll-to-top rounded" href="#page-top">
    <i class="fas fa-angle-up"></i>
  </a>

  <!-- Logout Modal-->
  <div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5>
          <button class="close" type="button" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">×</span>
          </button>
        </div>
        <div class="modal-body">Select "Logout" below if you are ready to end your current session.</div>
        <div class="modal-footer">
          <button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button>
          <a class="btn btn-primary" href="login.html">Logout</a>
        </div>
      </div>
    </div>
  </div>

  <!-- Bootstrap core JavaScript-->
  <script src="../assets/vendor/jquery/jquery.min.js"></script>
  <script src="../assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

  <!-- Core plugin JavaScript-->
  <script src="../assets/vendor/jquery-easing/jquery.easing.min.js"></script>

  <!-- Custom scripts for all pages-->
  <script src="../assets/js/sb-admin-2.min.js"></script>

  <!-- Page level plugins -->
  <script src="../assets/vendor/datatables/jquery.dataTables.min.js"></script>
  <script src="../assets/vendor/datatables/dataTables.bootstrap4.min.js"></script>

  <!-- Page level custom scripts -->
  <script src="../assets/js/demo/datatables-demo.js"></script>

</body>

</html>
