<?php
$menu1  =  "";
$menu2  =  "";
$menu3  =  "";
$menu4  =  "";
if($this->uri->uri_string() == 'admin/admin/dashboard')
  $menu1 = "active highlight";
if($this->uri->uri_string() == 'admin/classsetting/cl_name')
  $menu2 = "active highlight";
if($this->uri->uri_string() == 'admin/classsetting/cl_locations')
  $menu2 = "active highlight";
if($this->uri->uri_string() == 'admin/classsetting/cl_instructors')
  $menu2 = "active highlight";
if($this->uri->uri_string() == 'admin/createclass/cl_create')
  $menu3 = "active highlight";
if($this->uri->uri_string() == 'admin/user/admin_user')
  $menu4 = "active highlight";
?>
     <nav class="admin-nav pushmenu pushmenu-left pushmenu-open" id="sidebar">
         <div class="logo"><img src="https://www.abc.org/Portals/1/abc_logo_svg.svg" alt=""></div>
         <ul>
            <li class="<?=$menu1?>"><a href="<?php echo base_url('admin/admin/dashboard'); ?>"><img src="<?=base_url();?>assets/admin/img/dashboard.png" alt=""> Dashboard</a></li>
            <li class="<?=$menu2?>"><a href="<?php echo base_url('admin/classsetting/cl_name'); ?>"><img src="<?=base_url();?>assets/admin/img/tools.png" alt="">Class Settings</a></li>
            <li class="<?=$menu3?>"><a href="<?php echo base_url('admin/createclass/cl_create'); ?>"><img src="<?=base_url();?>assets/admin/img/create.png" alt="">Create Class</a></li>
            <?php if($this->session->user_type == "admin") { ?>
            <li class="<?=$menu4?>"><a href="<?php echo base_url('admin/user/admin_user'); ?>"><img src="<?=base_url();?>assets/admin/img/ad.png" alt="">Admin Users</a></li>
            <?php } ?>
         </ul>
      </nav>
