<div class="sidebar" id="sidebar">
    <div class="sidebar-inner slimscroll">
        <div id="sidebar-menu" class="sidebar-menu">
            <ul>
                <li class="menu-title">Main</li>

                <li class="<?= service('uri')->getSegment(2) == 'dashboard' ? 'active' : '' ?>">
                    <a href="<?= base_url('/admin/dashboard') ?>"><i class="fa fa-home"></i> <span>Dashboard</span></a>
                </li>

                <li><a href="<?= base_url('/admin/doctors') ?>"><i class="fa fa-user-md"></i> <span>Doctors</span></a></li>
                <li><a href="<?= base_url('/admin/clients') ?>"><i class="fa fa-wheelchair"></i> <span>Clients</span></a></li>
                <li><a href="<?= base_url('/admin/appointments') ?>"><i class="fa fa-calendar"></i> <span>Appointments</span></a></li>
                <li><a href="<?= base_url('/admin/schedule') ?>"><i class="fa fa-calendar-check-o"></i> <span>Doctor Schedule</span></a></li>
                <li><a href="<?= base_url('/admin/departments') ?>"><i class="fa fa-hospital-o"></i> <span>Departments</span></a></li>

                <li><a href="<?= base_url('/admin/chat') ?>"><i class="fa fa-comments"></i> <span>Chat</span></a></li>
                <li><a href="<?= base_url('/admin/settings') ?>"><i class="fa fa-cog"></i> <span>Settings</span></a></li>

                <li><a href="<?= base_url('/logout') ?>"><i class="fa fa-sign-out"></i> <span>Logout</span></a></li>
            </ul>
        </div>
    </div>
</div>
