<div class="col-lg-3">
    <div class="card">
        <div class="card-header d-flex justify-content-between">
            <h6 class="card-header d-flex align-items-center">
                <i class="fa fa-desktop font-30 mr-10"></i>
                <?php echo $this->lang->line('frontend'); ?> <?php echo $this->lang->line('list'); ?>
            </h6>
        </div>
        <ul class="list-group list-group-flush">
            <?php if (has_permission(VIEW, 'frontend', 'frontend')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'frontend' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'frontend' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('frontend'); ?>"><i class="fa fa-desktop" aria-hidden="true"></i> <?php echo $this->lang->line('manage_page'); ?></a>
                </li>
            <?php } ?>

            <?php if (has_permission(VIEW, 'frontend', 'menu')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'menu' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'menu' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('frontend/menu'); ?>"><i class="fa fa-bars" aria-hidden="true"></i> <?php echo $this->lang->line('manage_menu'); ?></a>
                </li>
            <?php } ?>

            <?php if (has_permission(VIEW, 'frontend', 'slider')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'slider' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'slider' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('frontend/slider'); ?>"><i class="fa fa-sliders" aria-hidden="true"></i> <?php echo $this->lang->line('manage_slider'); ?></a>
                </li>
            <?php } ?>

            <?php if (has_permission(VIEW, 'frontend', 'testimonial')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'testimonial' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'testimonial' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('frontend/testimonial'); ?>"><i class="fa fa-quote-left" aria-hidden="true"></i> <?php echo $this->lang->line('manage_testimonial'); ?></a>
                </li>
            <?php } ?>
        </ul>
    </div>
</div>