<div class="sidebar">
            <div class="link">
                <a href="<?=base_url('user/dashboard')?>"><img src="<?=base_url('assets/images/dashboard.png')?>" alt=""></a>
                <p>Dashboard</p>
            </div>
                        
              <div class="link">
                <a href="<?=base_url('session/list')?>"><img src="<?=base_url("assets/images/session.png")?>" alt=""></a>
                <p>Events</p>
            </div>
            <?php if(!$is_checker): ?>
              <div class="link">
                <a href="<?=base_url('guests-list')?>"><img src="<?=base_url("assets/images/gust.png")?>" alt=""></a>
                <p>Guests</p>
            </div>
            <?php endif; ?>
            <?php if($is_superadmin || $is_admin): ?>
              <div class="link">
                <a href="<?=base_url('group/list')?>"><img src="<?=base_url("assets/images/session.png")?>" alt=""></a>
                <p>Groups</p>
            </div>
          
            <div class="link">
                <a href="<?=base_url('user/list')?>"><img src="<?=base_url('assets/images/add-user.png')?>" alt=""></a>
            <p>Users</p>
            </div>
            <?php endif; ?>
            <div class="link">
                <a href="<?=base_url('user/logout')?>"><img src="<?=base_url("assets/images/logout.png")?>" alt=""></a>
                <p>Logout</p>
            </div>
    </div>