<?php
  include "hak-akses.php";

  foreach ($id as $id):
   
?>


 <!-- Left side column. contains the logo and sidebar -->
  <aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar"  >
      <!-- Sidebar user panel -->
      <div class="user-panel ">
        <div class="pull-left image">

          <?php if($gender=='perempuan'){?>
                <img src="<?= $base_url ;?>img/female.png" class="img-circle" alt="User Image">
                 <?php }else{?>
                  <img src="<?= $base_url ;?>img/male.png" class="img-circle" alt="User Image">
                 <?php }?>
          </div>
        <div class="pull-left info">
          <p style="font-size: 12px;"><?= $student_name;?></p>

          <?php $sc=$config->getDatum("SELECT * FROM entity__school WHERE school_id='$school_id' ");?>
          <a href="#"><i class="fa fa-circle text-success"></i> <?= $sc['school_name'];?></a>
        </div>
      </div>
      
      <!-- /.search form -->
    </br>

     
      <br>
      <ul class="sidebar-menu" data-widget="tree">
      <li <?php if($page == "index") echo "class='active'"; ?> >
          <a href="<?=$base_url."viewer/dashboard/"?>" <?php if($page == "index") echo 'style="color:gold;"'; ?> >
            <i class="fa fa-dashboard" ></i> <span class="badge bg-green">Dashboard</span>
            <span class="pull-right-container">
              <small class="label pull-right bg-green"></small>
            </span>
          </a>
        </li>
      </br>
 


      <!-- sidebar menu: : style can be found in sidebar.less -->

      <!-- Menu1-->

    

      <ul class="sidebar-menu" data-widget="tree">
        <li class="header" style="color: ;"><b>MENU UTAMA</b></li>

          

        
              <li <?php if($page == "nilaiku") echo "class='active'"; ?> >
              <a href="<?=$base_url."viewer/nilaiku"?>" <?php if($page == "nilaiku") echo 'style="color:gold;"'; ?>>
                <i class="fa  fa-edit "  ></i> <span class="badge bg-blue" style="font-size: 12px;">Nilaiku</span>
                <span class="pull-right-container">
                  <small class="label pull-right bg-green"></small>
                </span>
              </a>
            </li>
          
       

          
            <li <?php if($page == "descript") echo "class='active'"; ?> >
              <a href="<?=$base_url."viewer/deskripsi"?>" <?php if($page == "descript") echo 'style="color:gold;"'; ?> >
                <i class="fa  fa-comments"  ></i> <span class="badge bg-green" style="font-size: 12px;">Deskripsiku</span>
                <span class="pull-right-container">
                  <small class="label pull-right bg-green"></small>
                </span>
              </a>
            </li>

           <!--  <li <?php if($page == "catatan") echo "class='active'"; ?> >
              <a href="<?=$base_url."viewer/catatan"?>" <?php if($page == "catatan") echo 'style="color:gold;"'; ?>>
                <i class="fa  fa-thumbs-up "  ></i> <span class="badge bg-yellow" style="font-size: 12px;">Catatanku</span>
                <span class="pull-right-container">
                  <small class="label pull-right bg-green"></small>
                </span>
              </a>
            </li> -->
        

        
            
      </br>

<!-- End Menu1-->

      
      

        <ul class="sidebar-menu" data-widget="tree">
        <li class="header" style="color:red; " >   <i class="fa  fa-power-off" style="color:red; "></i> &nbsp; &nbsp;<b><a href="<?= $base_url;?>login/logout.php">KELUAR</b></a></li>

          
      </ul>


      

      </ul>
   </section>
    <!-- /.sidebar -->
  <?php endforeach;?>
  </aside>
 <!-- /.sidebar -->
