      <header>
         <div class="d-flex admin-header">
            <div class="toggle active" id="nav_list"> <img src="<?=base_url();?>assets/admin/img/hamperger.png" alt=""></div>
            <div class="admin ml-auto d-flex">
               <span><img src="<?=base_url();?>assets/admin/img/admin-logo.png"><?=$this->session->userdata('user_name');?></span> 
               <span class="logout"><a href="<?php echo base_url('admin/admin/logout'); ?>"><img src="<?=base_url();?>assets/admin/img/logout.png">Logout</a></span>
               <div class="toggle-bar"  id="nav-click" onclick="myFunction(this)">
                  <div class="bar1"></div>
                  <div class="bar2"></div>
                  <div class="bar3"></div>
               </div>
            </div>
         </div>
      </header>