<!-- // created by : KuduSinau_Hendrik_081275532220 (TERIMAKASIH UNTUK MENDAPATKAN KEBERKAHAN, DENGAN TIDAK MERUBAH NAMA HAK CIPTA, PLAGIAT, DAN TIDAK MEMPERJUALBELIKAN APLIKASI INI, SEMOGA KITA SEMUA MENDAPAT MANFAAT DAN KEBERKAHAN DARI APLIKASI INI)
// created by : KuduSinau_Hendrik_081275532220 (UNTUK MASUKAN DAN SARAN SERTA PENGEMBANGAN BISA MENGHUBUNGI NOMOR) -->
<div class="left-sidebar-pro">
    <nav id="sidebar">
        <div class="sidebar-header">
            <a href="#"><img style="max-height: 150px; max-width: 150px;" src="<?= base_url('assets/rapor/img/users/') . $nmUser['image_user']; ?>" alt="img" /><br><br>
            </a>
            <p class="text">
                <?= $nmUser['nm_user']; ?>
            </p>
            <p class="text"><?= $nmLevel['nm_level']; ?></p>
            <strong>DR+</strong>
        </div>
        <?php if ($nmUser['kd_level'] == 1) { ?>
            <div class="left-custom-menu-adp-wrap">
                <ul class="nav navbar-nav left-sidebar-menu-pro">
                    <li class="nav-item">
                        <a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-home"></i> <span class="mini-dn"> Home</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('admin'); ?>" class="dropdown-item">Dashboard</a>
                            <a href="<?= base_url('admin/data_lembaga'); ?>" class="dropdown-item">Data Lembaga</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-cubes"></i> <span class="mini-dn"> Data Referensi</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('admin/data_tahun'); ?>" class="dropdown-item">Tahun</a>
                            <a href="<?= base_url('admin/data_jurusan'); ?>" class="dropdown-item">Nama Jurusan</a>
                            <a href="<?= base_url('admin/data_nama_mapel'); ?>" class="dropdown-item">Nama Bidang Study</a>
                            <a href="<?= base_url('admin/data_sikap'); ?>" class="dropdown-item">Nama Sikap</a>
                            <a href="<?= base_url('admin/data_kdp'); ?>" class="dropdown-item">KD Pengetahuan</a>
                            <a href="<?= base_url('admin/data_kdk'); ?>" class="dropdown-item">KD Keterampilan</a>
                            <a href="<?= base_url('admin/data_nama_eskul'); ?>" class="dropdown-item">Nama Eskul</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-book"></i> <span class="mini-dn"> Data Utama</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('admin/data_guru'); ?>" class="dropdown-item">Teachers</a>
                            <a href="<?= base_url('admin/tapel'); ?>" class="dropdown-item">Tahun Pelajaran</a>
                            <a href="<?= base_url('admin/tgl'); ?>" class="dropdown-item">Tanggal Rapor</a>
                            <a href="<?= base_url('admin/data_siswa'); ?>" class="dropdown-item">Students</a>
                            <a href="<?= base_url('admin/data_mapel'); ?>" class="dropdown-item">Bidang Study</a>
                            <a href="<?= base_url('admin/data_kelas'); ?>" class="dropdown-item">Kelas</a>
                            <a href="<?= base_url('admin/data_eskul'); ?>" class="dropdown-item">Ekstrakurikuler</a>
                            <a href="<?= base_url('admin/indikator_ssp'); ?>" class="dropdown-item">Indikator Spiritual</a>
                            <a href="<?= base_url('admin/indikator_sso'); ?>" class="dropdown-item">Indikator Sosial</a>
                            <?php
                            $kdUser = $nmUser['kd_user'];
                            $cekTapel = $this->db->get_where('t_tapel', array('kd_lembaga' => $kdUser))->num_rows();
                            $tapelA = $this->db->query("SELECT kd_smstr FROM t_tapel WHERE sts_tapel = 1 AND kd_lembaga = '$kdUser'")->row_array();
                            $this->db->select_sum('sts_tapel', 'jumlah');
                            $this->db->from('t_tapel');
                            $this->db->where('kd_lembaga', $kdUser);
                            $jlhsts = $this->db->get()->row_array();
                            if (is_null($jlhsts)) {
                                $jumlahsts = 0;
                            } else {
                                $jumlahsts =  round($jlhsts['jumlah']);
                            }
                            if (is_null($tapelA)) {
                                $smstr = 0;
                            } else {
                                $smstr = $tapelA['kd_smstr'];
                            }
                            if ($cekTapel > 0) {
                                if ($jumlahsts > 0) {
                                    if ($smstr == 'Genap') { ?>
                                        <a href="<?= base_url('admin/bobot_ijazah'); ?>" class="dropdown-item"> Bobot Nilai Ijazah</a>
                            <?php }
                                }
                            } ?>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-cogs"></i> <span class="mini-dn"> Setting Data</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('admin/guru_mapel'); ?>" class="dropdown-item">Guru Bidang Study</a>
                            <a href="<?= base_url('admin/walas'); ?>" class="dropdown-item">Wali Kelas</a>
                            <a href="<?= base_url('admin/siswa_rombel'); ?>" class="dropdown-item">Rombel Siswa</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-users"></i> <span class="mini-dn"> Data Users</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('admin/user_admin'); ?>" class="dropdown-item">Data Admin</a>
                            <a href="<?= base_url('admin/user_guru'); ?>" class="dropdown-item">Teachers</a>
                            <a href="<?= base_url('admin/user_siswa'); ?>" class="dropdown-item">Students</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-download"></i> <span class="mini-dn"> Back Up</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('admin/back_up'); ?>" class="dropdown-item">Back Up</a>
                        </div>
                    </li>
                </ul>
            </div>
        <?php } elseif ($nmUser['kd_level'] == 4) { ?>
            <div class="left-custom-menu-adp-wrap">
                <ul class="nav navbar-nav left-sidebar-menu-pro">
                    <li class="nav-item">
                        <a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-home"></i> <span class="mini-dn"> Home</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('guru'); ?>" class="dropdown-item">Dashboard</a>
                            <a href="<?= base_url('guru/profil_user'); ?>" class="dropdown-item">Data Teachers</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-cogs"></i> <span class="mini-dn"> Seting KKM</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('guru/kkm_kelas'); ?>" class="dropdown-item">KKM Kelas</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-edit"></i> <span class="mini-dn"> Input Nilai</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('guru/nilai_p'); ?>" class="dropdown-item">Nilai Pengetahuan</a>
                            <a href="<?= base_url('guru/nilai_k'); ?>" class="dropdown-item">Nilai Keterampilan</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-print"></i> <span class="mini-dn"> Print Nilai</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('guru/lihat_p'); ?>" class="dropdown-item">Pengetahuan</a>
                            <a href="<?= base_url('guru/lihat_k'); ?>" class="dropdown-item">Keterampilan</a>
                        </div>
                    </li>
                </ul>
            </div>
        <?php } elseif ($nmUser['kd_level'] == 3) { ?>
            <div class="left-custom-menu-adp-wrap">
                <ul class="nav navbar-nav left-sidebar-menu-pro">
                    <li class="nav-item">
                        <a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-home"></i> <span class="mini-dn"> Home</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('walas'); ?>" class="dropdown-item">Dashboard</a>
                            <a href="<?= base_url('guru/profil_user'); ?>" class="dropdown-item">Data Teachers</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-cogs"></i> <span class="mini-dn"> Seting KKM</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('guru/kkm_kelas'); ?>" class="dropdown-item">KKM Kelas</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-edit"></i> <span class="mini-dn"> Input Nilai</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('guru/nilai_p'); ?>" class="dropdown-item">Nilai Pengetahuan</a>
                            <a href="<?= base_url('guru/nilai_k'); ?>" class="dropdown-item">Nilai Keterampilan</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-print"></i> <span class="mini-dn"> Print Nilai</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('guru/lihat_p'); ?>" class="dropdown-item">Pengetahuan</a>
                            <a href="<?= base_url('guru/lihat_k'); ?>" class="dropdown-item">Keterampilan</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-pencil"></i> <span class="mini-dn"> Nilai Sikap</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('walas/nilai_sso'); ?>" class="dropdown-item">Sikap Sosial</a>
                            <a href="<?= base_url('walas/nilai_ssp'); ?>" class="dropdown-item">Sikap Spiritual</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-picture-o"></i> <span class="mini-dn"> Nilai Ekstrakurikuler</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('walas/nilai_eskul'); ?>" class="dropdown-item">Input Ekstrakurikuler</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-diamond"></i> <span class="mini-dn"> Nilai Prestasi</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('walas/nilai_prestasi'); ?>" class="dropdown-item">Input Prestasi</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-calendar"></i> <span class="mini-dn"> Nilai Absensi</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('walas/nilai_absensi'); ?>" class="dropdown-item">Input Absensi</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-newspaper-o"></i> <span class="mini-dn"> Catatan Wali Kelas</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('walas/nilai_catatan'); ?>" class="dropdown-item">Input Catatan</a>
                        </div>
                    </li>
                    <?php foreach ($nmTapel as $tp) :
                        if ($tp['sts_tapel'] == 1) {
                            if ($tp['kd_smstr'] == 'Genap') { ?>
                                <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-arrow-up"></i> <span class="mini-dn"> Naik Kelas/Lulus</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                                    <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                                        <a href="<?= base_url('walas/naik_kelas'); ?>" class="dropdown-item">Input Naik Kelas</a>
                                    </div>
                                </li>
                                <?php
                                $this->db->select();
                                $this->db->from('t_walas');
                                $this->db->join('t_kelas', 't_walas.kd_kelas = t_kelas.id_kelas');
                                $this->db->where('t_walas.kd_teachers', $nmUser['kd_teachers']);
                                $walas = $this->db->get()->row_array();
                                $kelas6 = $this->db->get_where('t_kelas', array('kd_lembaga' => $nmUser['kd_user'], 'angka_kelas' => 6))->row_array();
                                $kelas9 = $this->db->get_where('t_kelas', array('kd_lembaga' => $nmUser['kd_user'], 'angka_kelas' => 9))->row_array();
                                $kelas12 = $this->db->get_where('t_kelas', array('kd_lembaga' => $nmUser['kd_user'], 'angka_kelas' => 12))->row_array();
                                if (($kelas9['nm_kelas'] == 'IX' && $walas['nm_kelas'] == 'IX') || ($kelas6['nm_kelas'] == 'IV' && $walas['nm_kelas'] == 'IV') || ($kelas12['nm_kelas'] == 'XII' && $walas['nm_kelas'] == 'XII')) {
                                ?>
                                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-user"></i> <span class="mini-dn"> Data Kelulusan</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                                            <a href="<?= base_url('walas/nomor_um'); ?>" class="dropdown-item">Nomor Ujian Madrasah</a>
                                            <a href="<?= base_url('walas/nomor_ijazah'); ?>" class="dropdown-item">Nomor Ijazah</a>
                                        </div>
                                    </li>
                    <?php }
                            }
                        }
                    endforeach;
                    ?>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-print"></i> <span class="mini-dn"> Cetak Rapor</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('walas/cetak_rapor'); ?>" class="dropdown-item">Print</a>
                            <a href="<?= base_url('walas/cetak_legger'); ?>" class="dropdown-item">Legger</a>
                        </div>
                    </li>
                </ul>
            </div>
        <?php } elseif ($nmUser['kd_level'] == 5) { ?>
            <div class="left-custom-menu-adp-wrap">
                <ul class="nav navbar-nav left-sidebar-menu-pro">
                    <li class="nav-item">
                        <a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-home"></i> <span class="mini-dn"> Home</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('siswa'); ?>" class="dropdown-item">Dashboard</a>
                            <a href="<?= base_url('siswa/profil_user'); ?>" class="dropdown-item">Data Students</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-print"></i> <span class="mini-dn"> Cetak Rapor</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('siswa/cetak_rapor'); ?>" class="dropdown-item">Print</a>
                        </div>
                    </li>
                </ul>
            </div>
        <?php } elseif ($nmUser['kd_level'] == 2) { ?>
            <div class="left-custom-menu-adp-wrap">
                <ul class="nav navbar-nav left-sidebar-menu-pro">
                    <li class="nav-item">
                        <a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-home"></i> <span class="mini-dn"> Home</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('kamad'); ?>" class="dropdown-item">Dashboard</a>
                            <a href="<?= base_url('guru/profil_user'); ?>" class="dropdown-item">Data Kamad</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-cogs"></i> <span class="mini-dn"> Seting KKM</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('guru/kkm_kelas'); ?>" class="dropdown-item">KKM Kelas</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-edit"></i> <span class="mini-dn"> Input Nilai</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('guru/nilai_p'); ?>" class="dropdown-item">Nilai Pengetahuan</a>
                            <a href="<?= base_url('guru/nilai_k'); ?>" class="dropdown-item">Nilai Keterampilan</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-print"></i> <span class="mini-dn"> Print Nilai</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('guru/lihat_p'); ?>" class="dropdown-item">Pengetahuan</a>
                            <a href="<?= base_url('guru/lihat_k'); ?>" class="dropdown-item">Keterampilan</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-print"></i> <span class="mini-dn"> Cetak Rapor</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('kamad/cetak_rapor'); ?>" class="dropdown-item">Print</a>
                            <a href="<?= base_url('kamad/cetak_legger'); ?>" class="dropdown-item">Legger</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-users"></i> <span class="mini-dn"> Kelulusan</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('kamad/data_lulus'); ?>" class="dropdown-item">Data Lulus</a>
                        </div>
                    </li>
                    <li class="nav-item"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-users"></i> <span class="mini-dn"> Alumni</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('kamad/data_alumni'); ?>" class="dropdown-item">Data Alumni</a>
                        </div>
                    </li>
                </ul>
            </div>
        <?php } elseif ($nmUser['kd_level'] == 0) { ?>
            <div class="left-custom-menu-adp-wrap">
                <ul class="nav navbar-nav left-sidebar-menu-pro">
                    <li class="nav-item">
                        <a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa big-icon fa-home"></i> <span class="mini-dn"> Home</span> <span class="indicator-right-menu mini-dn"><i class="fa indicator-mn fa-angle-left"></i></span></a>
                        <div role="menu" class="dropdown-menu left-menu-dropdown animated flipInX">
                            <a href="<?= base_url('superadmin'); ?>" class="dropdown-item">Dashboard</a>
                            <a href="<?= base_url('superadmin/back_upSuper'); ?>" class="dropdown-item">Back Up</a>
                        </div>
                    </li>
                </ul>
            </div>
        <?php } ?>
    </nav>
</div>
<style type="text/css">
    .text {
        width: 11em;
        word-wrap: break-word;
        border: 0px solid #000000;
        color: blue;
        font-weight: bold;
    }
</style>