<aside id="layout-menu" class="layout-menu menu-vertical menu bg-menu-theme">
          <div class="app-brand demo">
              <a href="dashboard.php" class="app-brand-link">
              <span class="app-brand-logo demo"> 
                  <img src="img/ekseba logo.png" style="width: 150px;">
              </span>
            </a>

            <a href="" class="layout-menu-toggle menu-link text-large ms-auto d-block d-xl-none">
              <i class="bx bx-chevron-left bx-sm align-middle"></i>
            </a>
          </div>

          <div class="menu-inner-shadow"></div>

          <ul class="menu-inner py-1">
            <!-- Dashboard -->
            <li class="menu-item <?php if($act==1){    echo 'active';;} ?> ">
              <a href="dashboard.php" class="menu-link">
                <i class="menu-icon tf-icons bx bx-home-circle"></i>
                <div data-i18n="Analytics">Dashboard</div>
              </a>
            </li>

            <!-- Layouts -->
           
            <li class="menu-item <?php if($act==2){    echo 'active';;} ?> ">
                <a href="Attendance_student.php?cl=22" class="menu-link">
                <i class="menu-icon tf-icons bx bx-home-circle"></i>
                <div data-i18n="Analytics">Student Attendance</div>
              </a>
            </li>
            <li class="menu-item <?php if($act==3){    echo 'active';;} ?> ">
                <a href="Attendance_teacher.php?cl=22" class="menu-link">
                <i class="menu-icon tf-icons bx bx-home-circle"></i>
                <div data-i18n="Analytics">Teacher Attendance</div>
              </a>
            </li>
            
            
            <li class="menu-header small text-uppercase">
              <span class="menu-header-text">Student & Teacher</span>
            </li>
            
            <li class="menu-item <?php if($act==4){    echo 'active';;} ?> ">
                <a href="student.php?cl==22" class="menu-link">
                <i class="menu-icon tf-icons bx bx-home-circle"></i>
                <div data-i18n="Analytics">Student</div>
              </a>
            </li>
            <li class="menu-item <?php if($act==66){    echo 'active';;} ?> ">
                <a href="result.php?cl==66" class="menu-link">
                <i class="menu-icon tf-icons bx bx-home-circle"></i>
                <div data-i18n="Analytics">Results</div>
              </a>
            </li>
            
            <li class="menu-item <?php if($act==5){    echo 'active';;} ?> ">
                <a href="teacher.php?cl==22" class="menu-link">
                <i class="menu-icon tf-icons bx bx-home-circle"></i>
                <div data-i18n="Analytics">Teacher</div>
              </a>
            </li>
            
            
            <li class="menu-item <?php if($act==6){    echo 'active';;} ?> ">
                <a href="fees_pay.php" class="menu-link">
                <i class="menu-icon tf-icons bx bx-home-circle"></i>
                <div data-i18n="Analytics">Fees</div>
              </a>
            </li>
            
            
            <li class="menu-header small text-uppercase">
              <span class="menu-header-text">Monthly Salary</span>
            </li>
            
            <li class="menu-item <?php if($act==55){    echo 'active';;} ?> ">
                <a href="accounts.php" class="menu-link">
                <i class="menu-icon tf-icons bx bx-home-circle"></i>
                <div data-i18n="Analytics">Accounts</div>
              </a>
            </li>
            
            <li class="menu-item <?php if($act==0){    echo 'active';;} ?> ">
                <a href="salary.php" class="menu-link">
                <i class="menu-icon tf-icons bx bx-home-circle"></i>
                <div data-i18n="Analytics">Salary</div>
              </a>
            </li>
            <li class="menu-item <?php if($act==88){    echo 'active';;} ?> ">
                <a href="class_routin.php" class="menu-link">
                <i class="menu-icon tf-icons bx bx-home-circle"></i>
                <div data-i18n="Analytics">Routine</div>
              </a>
            </li>
            <li class="menu-header small text-uppercase">
              
                <button  type="button" class="btn btn-primary" style="width: 100%;"  data-bs-toggle="modal"data-bs-target="#smallModal" >
             Add Class
            </button>
                
            </li>
            
            
          </ul>
        </aside>