<!-- Main Sidebar Container -->
  <aside class="main-sidebar sidebar-light-pink elevation-4" style="background:#fde9f2">
    <!-- Brand Logo -->
    <a href="index.php" class="brand-link" style="background:#eb5d99;">
      <img src="<?php echo $base_url;?>/assets/img/sanggulputih.png" class="brand-image" style="opacity: 1;margin-top:5px;">
      <span class="brand-text" style="font-weight:900;font-size:25px;color:white;"><b>HairBeauty.id</b></span>
    </a>

    <!-- Sidebar -->
    <div class="sidebar">
      <!-- Sidebar Menu -->

      <div class="user-panel mt-3 pb-3 mb-3 d-flex">
        <div class="image" style="padding-top:3px;">
          
          
          <img onerror="this.src='<?php echo $base_url_admin;?>/assets/img/ava.png'" alt="Foto" class="img-circle elevation-2" src="<?php echo $base_url_admin;?>/assets/foto/<?php echo $filefoto;?>.jpg?p=<?php echo date('h:i:s:d-m-Y');?>">
          


        </div>

        <div class="info">
            <a href="<?php echo $base_url_admin;?>/profil" class="d-block"><?php echo $radmin_login['nama_lengkap'];?></a>
        </div>
        


      </div>






      <nav class="mt-2">
        <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
         

          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/dashboard" class="nav-link <?php if(($page=='')||($page=='dashboard')){echo"active";}?>">
              <i class="nav-icon fas fa-laptop"></i>
              <p>
                Dashboard
              </p>
            </a>
          </li>

       

          <li class="nav-header">Manajemen</li>
          
      
          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/datakelas" class="nav-link <?php if(($page=='datakelas')||($page=='datasiswa')||($page=='pengayaan')||($page=='jawaban')||($page=='umpanbalik')||($page=='jawabanumpanbalik')){echo"active";}?>">
              <i class="nav-icon fas fa-address-card"></i>
              <p>
                Data Siswa
              </p>
            </a>
          </li>


          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/datamodul" class="nav-link <?php if(($page=='datamodul')||($page=='materi')||($page=='rangkuman')||($page=='artikel')||($page=='video')||($page=='ujikonsep')||($page=='pretest')){echo"active";}?>">
              <i class="nav-icon fas fa-book"></i>
              <p>
                Data Modul
              </p>
            </a>
          </li>


          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/datamedia" class="nav-link <?php if(($page=='datamedia')){echo"active";}?>">
              <i class="nav-icon fas fa-image"></i>
              <p>
                Data Media
              </p>
            </a>
          </li>

          
          
          
          
          
          <li class="nav-header">Setting Website</li>

          
          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/setting" class="nav-link <?php if(($page=='setting')||($page=='settings')){echo"active";}?>">
              <i class="nav-icon fas fa-caret-right nav-icon"></i>
              <p>
                Pengaturan Modul
              </p>
            </a>
          </li>

          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/pengantar" class="nav-link <?php if(($page=='pengantar')||($page=='pengantars')){echo"active";}?>">
              <i class="nav-icon fas fa-caret-right nav-icon"></i>
              <p>
                Kata Pengantar
              </p>
            </a>
          </li>

          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/panduan" class="nav-link <?php if(($page=='panduan')||($page=='panduans')){echo"active";}?>">
              <i class="nav-icon fas fa-caret-right nav-icon"></i>
              <p>
                Panduan
              </p>
            </a>
          </li>

          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/capaian" class="nav-link <?php if(($page=='capaian')||($page=='capaians')){echo"active";}?>">
              <i class="nav-icon fas fa-caret-right nav-icon"></i>
              <p>
                Ruang Lingkup
              </p>
            </a>
          </li>
          
          
          
          <!--
          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/petakonsep" class="nav-link <?php if(($page=='petakonsep')||($page=='petakonseps')){echo"active";}?>">
              <i class="nav-icon fas fa-caret-right nav-icon"></i>
              <p>
                Peta Kompetensi
              </p>
            </a>
          </li>

          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/pustaka" class="nav-link <?php if(($page=='pustaka')||($page=='pustakas')){echo"active";}?>">
              <i class="nav-icon fas fa-caret-right nav-icon"></i>
              <p>
                Daftar Pustaka
              </p>
            </a>
          </li>

         

          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/glosarium" class="nav-link <?php if(($page=='glosarium')||($page=='glosariums')){echo"active";}?>">
              <i class="nav-icon fas fas fa-caret-right nav-icon"></i>
              <p>
                Glosarium
              </p>
            </a>
          </li>
          -->
          <li class="nav-header">Akun</li>

          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/profil" class="nav-link <?php if(($page=='profil')||($page=='profils')){echo"active";}?>">
              <i class="nav-icon fas fa-user"></i>
              <p>
                Profil
              </p>
            </a>
          </li>

          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/gantipassword" class="nav-link <?php if(($page=='gantipassword')||($page=='gantipasswords')){echo"active";}?>">
              <i class="nav-icon fas fa-unlock-alt"></i>
              <p>
                Ganti Password
              </p>
            </a>
          </li>

          <li class="nav-item">
            <a href="<?php echo $base_url_admin;?>/logout" class="nav-link">
              <i class="nav-icon fas fa-sign-out-alt"></i>
              <p>
                Keluar
              </p>
            </a>
          </li>

      </nav>














      <!-- /.sidebar-menu -->
    </div>
    <!-- /.sidebar -->
  </aside>