<li class="menu <?php echo $this->uri->segment(2) == 'laporan_kegiatan' ? 'active' : '' ?>">
    <a href="#laporan_menu" data-toggle="collapse" aria-expanded="<?php echo $this->uri->segment(2) == 'laporan_kegiatan' ? 'true' : 'false' ?>" class="dropdown-toggle">
        <div class="">
            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-clipboard">
                <path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path>
                <rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect>
            </svg>
            <span>Laporan</span>
        </div>
        <div>
            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right">
                <polyline points="9 18 15 12 9 6"></polyline>
            </svg>
        </div>
    </a>
    <ul class="collapse submenu <?php echo $this->uri->segment(2) == 'laporan_kegiatan' ? 'recent-submenu mini-recent-submenu' : '' ?> list-unstyled <?php echo $this->uri->segment(2) == 'laporan_kegiatan' ? 'show' : '' ?>" id="laporan_menu" data-parent="#accordionExample">
        <li class="<?php echo $this->uri->segment(3) == 'realisasi_pinjaman' ? 'active' : '' ?>">
            <a href="<?= base_url('kabag_marketing/laporan_kegiatan/realisasi_pinjaman') ?>"> Realisasi Pinjaman </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'storting_pinjaman' ? 'active' : '' ?>">
            <a href="<?= base_url('kabag_marketing/laporan_kegiatan/storting_pinjaman') ?>"> Storting Pinjaman </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'n_wilayah' ? 'active' : '' ?>">
            <a href="<?= base_url('kabag_marketing/laporan_kegiatan/n_wilayah') ?>"> Nilai Wilayah </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'n_anggota' ? 'active' : '' ?>">
            <a href="<?= base_url('kabag_marketing/laporan_kegiatan/n_anggota') ?>"> Nilai Anggota </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'n_petugas' ? 'active' : '' ?>">
            <a href="<?= base_url('kabag_marketing/laporan_kegiatan/n_petugas') ?>"> Nilai Petugas </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'l_harian' ? 'active' : '' ?>">
            <a href="<?= base_url('kabag_marketing/laporan_kegiatan/l_harian') ?>"> Laporan Harian </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'l_bulanan' ? 'active' : '' ?>">
            <a href="<?= base_url('kabag_marketing/laporan_kegiatan/l_bulanan') ?>"> Laporan Bulanan </a>
        </li>
        <li class="<?php echo $this->uri->segment(3) == 'l_tahunan' ? 'active' : '' ?>">
            <a href="<?= base_url('kabag_marketing/laporan_kegiatan/l_tahunan') ?>"> Laporan Tahunan </a>
        </li>
    </ul>
</li>