<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-bell font-30 mr-10"></i>
                <?php echo $this->lang->line('announcement'); ?>
            </h6>
        </div>
        <ul class="list-group list-group-flush">
            <?php if (has_permission(VIEW, 'announcement', 'notice')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'notice' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'notice' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('announcement/notice'); ?>"><i class="fa fa-bullhorn" aria-hidden="true"></i> <?php echo $this->lang->line('notice'); ?></a>
                </li>
            <?php } ?>
            <?php if (has_permission(VIEW, 'announcement', 'news')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'news' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'news' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('announcement/news'); ?>"><i class="fa fa-newspaper-o" aria-hidden="true"></i> <?php echo $this->lang->line('news'); ?></a>
                </li>
            <?php } ?>
            <?php if (has_permission(VIEW, 'announcement', 'event')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_class() == 'event' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_class() == 'event' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('announcement/event'); ?>"><i class="fa fa-calendar" aria-hidden="true"></i> <?php echo $this->lang->line('event'); ?></a>
                </li>
            <?php } ?>
        </ul>
    </div>
</div>