<!-- Sidebar Start -->
<?php
$session = session();
?>
<nav class="sidebar sidebar-offcanvas" id="sidebar">
  <ul class="nav">
    <li class="nav-item nav-profile">
      <a href="#" class="nav-link">
        <div class="nav-profile-image">
          <img src="<?=base_url('assets/backdesk/img/user.png')?>" alt="profile" />
          <span class="login-status online"></span>
          <!--change to offline or busy as needed-->
        </div>
        <div class="nav-profile-text d-flex flex-column">
          <span class="font-weight-bold mb-2"><?= $session->get('name') ?></span>
          <span class="text-secondary text-small">
           Admin
          </span>
        </div>
        <i class="mdi mdi-bookmark-check text-success nav-profile-badge"></i>
      </a>
    </li>
    <hr>
    <li class="nav-item">
      <a class="nav-link" href="<?=base_url()?>backdesk/dashboard">
        <span class="menu-title">Dashboard</span>
        <i class="mdi mdi-home menu-icon"></i>
      </a>
    </li>

    <li class="nav-item">
        <a class="nav-link" data-bs-toggle="collapse" href="#common" aria-expanded="false" aria-controls="page-layouts">
            <span class="menu-title">Common</span>
            <i class="menu-arrow"></i>
            <i class="mdi mdi-account menu-icon"></i>
        </a>
        <div class="collapse" id="common">
            <ul class="nav flex-column sub-menu">
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/menu/index" class="nav-link">Menu & Submenu</a>
                </li>  
            </ul>
        </div>
    </li>
   

   
    <li class="nav-item">
        <a class="nav-link" data-bs-toggle="collapse" href="#module-author" aria-expanded="false" aria-controls="page-layouts">
            <span class="menu-title">Departments</span>
            <i class="menu-arrow"></i>
            <i class="mdi mdi-account menu-icon"></i>
        </a>
        <div class="collapse" id="module-author">
            <ul class="nav flex-column sub-menu">
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/departments/index" class="nav-link">Departments</a>
                </li>
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/departments/faculty-details" class="nav-link">Faculty Details</a>
                </li>
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/departments/residents-details" class="nav-link">Residents Details</a>
                </li>
                 <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/departments/gallery-details" class="nav-link">Gallery</a>
                </li>
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/departments/posts" class="nav-link">Posts</a>
                </li>
                
            </ul>
        </div>
    </li>
  
    <li class="nav-item">
      <a class="nav-link" href="<?=base_url()?>backdesk/courses">
        <span class="menu-title">Courses</span>
        <i class="mdi mdi-home menu-icon"></i>
      </a>
    </li>

    <li class="nav-item">
        <a class="nav-link" data-bs-toggle="collapse" href="#library" aria-expanded="false" aria-controls="page-layouts">
            <span class="menu-title">Library</span>
            <i class="menu-arrow"></i>
            <i class="mdi mdi-account menu-icon"></i>
        </a>
        <div class="collapse" id="library">
            <ul class="nav flex-column sub-menu">
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/library/index" class="nav-link">Library Details</a>
                </li>
                 <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/library/collection" class="nav-link">Library Collection</a>
                </li>
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/library/team" class="nav-link">Library Team</a>
                </li>
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/library/gallery" class="nav-link">Library Gallery</a>
                </li>
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/library/requisition-form" class="nav-link">Requisition Form</a>
                </li>
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/library/membership-form" class="nav-link">Membership Form</a>
                </li>
              
                
            </ul>
        </div>
    </li>

    <li class="nav-item">
        <a class="nav-link" data-bs-toggle="collapse" href="#interpages" aria-expanded="false" aria-controls="page-layouts">
            <span class="menu-title">Interpages</span>
            <i class="menu-arrow"></i>
            <i class="mdi mdi-account menu-icon"></i>
        </a>
        <div class="collapse" id="interpages">
            <ul class="nav flex-column sub-menu">
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/page-contents/index" class="nav-link">Pages</a>
                </li>  
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/page-media/index" class="nav-link">Media</a>
                </li>  
            </ul>
        </div>
    </li>
     <li class="nav-item">
        <a class="nav-link" data-bs-toggle="collapse" href="#contacts" aria-expanded="false" aria-controls="page-layouts">
            <span class="menu-title">Contacts</span>
            <i class="menu-arrow"></i>
            <i class="mdi mdi-account menu-icon"></i>
        </a>
        <div class="collapse" id="contacts">
            <ul class="nav flex-column sub-menu">
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/contacts/enquiry-form" class="nav-link">Enquiry Form</a>
                </li>  
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/contacts/feedback-form" class="nav-link">Feedback Form</a>
                </li>  
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/contacts/emergency-contacts/index" class="nav-link">Emergency Contacts</a>
                </li>  
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/contacts/key-personnel/index" class="nav-link">Key Personnel</a>
                </li> 
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/contacts/administrative-offices/index" class="nav-link">Administrative Offices</a>
                </li> 
                 <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/contacts/patient-services/index" class="nav-link">Patient Services</a>
                </li>  
                 <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/contacts/office-hours/index" class="nav-link">Office Hours</a>
                </li> 
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/contacts/campus-locations/index" class="nav-link">Campus Locations</a>
                </li> 
                 <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/contacts/address/index" class="nav-link">How to Reach</a>
                </li> 
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/contacts/connect/index" class="nav-link">Connect With Us</a>
                </li> 
            </ul>
        </div>
    </li>

    <li class="nav-item">
        <a class="nav-link" data-bs-toggle="collapse" href="#home" aria-expanded="false" aria-controls="page-layouts">
            <span class="menu-title">Home</span>
            <i class="menu-arrow"></i>
            <i class="mdi mdi-account menu-icon"></i>
        </a>
        <div class="collapse" id="home">
            <ul class="nav flex-column sub-menu">
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/home-services/index" class="nav-link">Services</a>
                </li>  
                <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/home-academic-programs/index" class="nav-link">Academic Programs</a>
                </li>
                 <li class="nav-item">
                    <a href="<?= base_url()?>backdesk/home-tender-notices/index" class="nav-link">Tender & Notices</a>
                </li>
               
            </ul>
        </div>
    </li>
    
    
    
  </ul>
</nav>
        