<nav class="sidebar sidebar-offcanvas" id="sidebar" style="background-color:#ff6d00">
        <div class="user-profile">
          <div class="user-image">
            <img src="../images/mylogo.jpg">
          </div>
          <div class="user-name">
             KIMARA VTC
          </div>
          <div class="user-designation">
              System
          </div>
        </div>
        <ul class="nav">
          <li class="nav-item">
            <a class="nav-link" href="../dashboard/">
              <i class="icon-box menu-icon"></i>
              <span class="menu-title">Dashboard</span>
            </a>
          </li>
          <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-basic11" aria-expanded="false" aria-controls="ui-basic">
              <i class="icon-disc menu-icon"></i>
              <span class="menu-title">Student</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ui-basic11">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="../student/add_student.php">Add Student</a></li>
                <li class="nav-item"> <a class="nav-link" href="../student/enroll_student.php">Enroll Student</a></li>
                <li class="nav-item"> <a class="nav-link" href="../student/view_students.php">View Students</a></li>
            </ul>
            </div>
          </li>
          
              <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-basic1" aria-expanded="false" aria-controls="ui-basic">
              <i class="icon-disc menu-icon"></i>
              <span class="menu-title">Course</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ui-basic1">
              <ul class="nav flex-column sub-menu">
                  <?php if ($_SESSION['role'] == 'admin') { ?>
                <li class="nav-item"> <a class="nav-link" href="../student/add_course.php">Add Course</a></li>
                <?php
                          }
                          ?>
                <li class="nav-item"> <a class="nav-link" href="../student/view_course.php">View Course</a></li>
            </ul>
            </div>
          </li>

          <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-basic2" aria-expanded="false" aria-controls="ui-basic">
              <i class="icon-disc menu-icon"></i>
              <span class="menu-title">Examination</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ui-basic2">
              <ul class="nav flex-column sub-menu">
                <!-- <li class="nav-item"> <a class="nav-link" href="../exam/add_exam.php">Add Examination</a></li> -->
                <li class="nav-item"> <a class="nav-link" href="../exam/add_marks.php">Fill Examination marks</a></li>
                <li class="nav-item"> <a class="nav-link" href="../exam/generate_results.php">Generate Results</a></li>
                <li class="nav-item"> <a class="nav-link" href="../exam/generate_certificates.php">Generate Certificate</a></li>
            </ul>
            </div>
          </li>

          <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-basic3" aria-expanded="false" aria-controls="ui-basic">
              <i class="icon-disc menu-icon"></i>
              <span class="menu-title">Accounts</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ui-basic3">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="../account/add_payments.php"> Add Payments</a></li>
                <!--<li class="nav-item"> <a class="nav-link" href="../account/student_fees.php"> Student Fees</a></li>-->
                <li class="nav-item"> <a class="nav-link" href="../account/view_payments.php">View Payments</a></li>
                <?php if ($_SESSION['role'] == 'admin') { ?>
                  <li class="nav-item"> <a class="nav-link" href="../account/add_cash.php">Deposit Cash</a></li>
                   <li class="nav-item"> <a class="nav-link" href="../account/view_deposits.php">View Deposits</a></li>
                   <?php
                          }
                          ?>
              </ul>
            </div>
          </li>
          
               
                  
                   <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-basic10" aria-expanded="false" aria-controls="ui-basic">
              <i class="icon-disc menu-icon"></i>
              <span class="menu-title">Expenses</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ui-basic10">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="../expense/add_expense.php"> Add Expense</a></li>
                <li class="nav-item"> <a class="nav-link" href="../expense/view_expenses.php">View Expenses</a></li>
              </ul>
            </div>
          </li>
                 <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-basic15" aria-expanded="false" aria-controls="ui-basic">
              <i class="icon-disc menu-icon"></i>
              <span class="menu-title">Messages</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ui-basic15">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="../messages/index.php"> Messages</a></li>
              </ul>
            </div>
          </li>
          <?php if($_SESSION['role'] == "admin"){?>
              <li class="nav-item">
            <a class="nav-link" data-toggle="collapse" href="#ui-basic31" aria-expanded="false" aria-controls="ui-basic">
              <i class="icon-disc menu-icon"></i>
              <span class="menu-title">Users</span>
              <i class="menu-arrow"></i>
            </a>
            <div class="collapse" id="ui-basic31">
              <ul class="nav flex-column sub-menu">
                <li class="nav-item"> <a class="nav-link" href="../user/all_users.php"> All users</a></li>
              </ul>
            </div>
          </li>
         <?php }?>
           
        
       
             <?php if($_SESSION['role'] == "admin"){?>   
          <li class="nav-item">
            <a class="nav-link" href="../logs/logs.php">
              <i class="icon-book menu-icon"></i>
              <span class="menu-title">Activity Logs</span>
            </a>
          </li>
  
           
        <?php }?> 
           
        </ul>
      </nav>