<!-- // 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="header-top-area">
    <div class="fixed-header-top">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-1 col-md-6 col-sm-6 col-xs-12">
                    <button type="button" id="sidebarCollapse" class="btn bar-button-pro header-drl-controller-btn btn-info navbar-btn">
                        <i class="fa fa-bars"></i>
                    </button>
                    <div class="admin-logo logo-wrap-pro">
                        <a href="#"><img src="<?= base_url(); ?>/assets/login/images/d-rapor1.png" width="200px" alt="" />
                        </a>
                    </div>
                </div>
                <div class="col-lg-6 col-md-1 col-sm-1 col-xs-12">
                    <div class="header-top-menu tabl-d-n">
                        <ul class="nav navbar-nav mai-top-nav">
                        </ul>
                    </div>
                </div>
                <div class="col-lg-5 col-md-5 col-sm-6 col-xs-12">
                    <div class="header-right-info">
                        <ul class="nav navbar-nav mai-top-nav header-right-menu">
                            <li class="nav-item">
                                <a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle">
                                    <span class="adminpro-icon adminpro-user-rounded header-riht-inf"></span>
                                    <span class="admin-name"><?= $nmUser['nm_user']; ?></span>
                                    <span class="author-project-icon adminpro-icon adminpro-down-arrow"></span>
                                </a>
                                <ul role="menu" class="dropdown-header-top author-log dropdown-menu animated flipInX">
                                    <li><a href="#"><span class="adminpro-icon adminpro-home-admin author-log-ic"></span> My Account</a>
                                    </li>
                                    <?php if ($nmUser['kd_level'] == 1) { ?>
                                        <li><a href="<?= base_url('admin/profil_user'); ?>"><span class="adminpro-icon adminpro-user-rounded author-log-ic"></span> My Profile</a>
                                        <?php } elseif (($nmUser['kd_level'] == 4) || ($nmUser['kd_level'] == 3) || ($nmUser['kd_level'] == 2)) { ?>
                                        <li><a href="<?= base_url('guru/profil_user'); ?>"><span class="adminpro-icon adminpro-user-rounded author-log-ic"></span> My Profile</a>
                                        <?php } elseif ($nmUser['kd_level'] == 5) { ?>
                                        <li><a href="<?= base_url('siswa/profil_user'); ?>"><span class="adminpro-icon adminpro-user-rounded author-log-ic"></span> My Profile</a>
                                        <?php } ?>
                                        <?php if ($nmUser['kd_level'] == 1) { ?>

                                        <?php } elseif (($nmUser['kd_level'] == 4) || ($nmUser['kd_level'] == 3) || ($nmUser['kd_level'] == 2)) { ?>
                                        <li><a href="<?= base_url('guru/ganti_password'); ?>"><span class="fa fa-key author-log-ic"></span> Change Password</a>
                                        <?php } elseif ($nmUser['kd_level'] == 5) { ?>
                                        <li><a href="<?= base_url('siswa/ganti_password'); ?>"><span class="fa fa-key author-log-ic"></span> Change Password</a>
                                        <?php } ?>
                                        <li><a href="<?= base_url('login/logout'); ?>"><span class="adminpro-icon adminpro-locked author-log-ic"></span> Log Out</a>
                                        </li>
                                </ul>
                            </li>
                            <li class="nav-item nav-setting-open"><a href="#" data-toggle="dropdown" role="button" aria-expanded="false" class="nav-link dropdown-toggle"><i class="fa fa-tasks"></i></a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>