<?php
	$Akses = $_SESSION["Akses"];

	if ($Akses == '1') {	
	
?>

<ul class="sidebar-menu">
    <li class="header">MENU UTAMA</li>
    <li class="treeview">
      <a href="#" >
        <i class="fa fa-dashboard"></i>
        <span>Transaksi</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>add-transaksi-grup"><i class="fa fa-circle-o"></i>Transaksi Kagiatan</a></li>
      </ul>
    </li>

    <li class="treeview">
      <a href="#">
        <i class="fa fa-pie-chart"></i>
        <span>Master Data</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
      
        <li><a href="<?php echo $base?>data-operator"><i class="fa fa-circle-o"></i>Data Operator</a></li>
        <li><a href="<?php echo $base?>data-template"><i class="fa fa-circle-o"></i>Data Template Transaksi</a></li>
        <li><a href="<?php echo $base?>data-grup"><i class="fa fa-circle-o"></i>Data Transaksi Kegiatan</a></li>
        <li><a href="<?php echo $base?>data-dosen"><i class="fa fa-circle-o"></i>Data Dosen</a></li>
        <li><a href="<?php echo $base?>data-mahasiswa"><i class="fa fa-circle-o"></i>Data Mahasiswa</a></li>
        <li><a href="<?php echo $base?>data-pejabat"><i class="fa fa-circle-o"></i>Data Pejabat</a></li>
        <li><a href="<?php echo $base?>data-mata-kuliah"><i class="fa fa-circle-o"></i>Data Mata Kuliah</a></li>
        <li><a href="<?php echo $base?>edit-sempek-data"><i class="fa fa-circle-o"></i>Data Semester Pendek</a></li>
      </ul>
    </li>
        <li>
      <a href="data-barang-habis-pakai">
        <i class="fa fa-th"></i> <span>Pendaftaran Mahasiswa</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
      
        <li><a href="<?php echo $base?>add-pendaftaran-mahasiswa"><i class="fa fa-circle-o"></i>Pendaftaran Mahasiswa</a></li>      
        <li><a href="<?php echo $base?>Ujian-masuk"><i class="fa fa-circle-o"></i>Tes / ujian masuk</a></li>
        <li><a href="<?php echo $base?>add-pendaftaran-ulang"><i class="fa fa-circle-o"></i>Daftar Ulang</a></li>
        <li><a href="<?php echo $base?>login-tes"><i class="fa fa-circle-o"></i>Tes / Ujian Masuk Ulang</a></li>
      </ul>
    </li>


  <li class="treeview">
      <a href="#">
        <i class="fa fa-book"></i>
        <span>Dokumentasi</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>data-pendaftaran-total"><i class="fa fa-circle-o"></i>Data Pendaftaran</a></li>
        <li><a href="<?php echo $base?>data-hasil-ujian"><i class="fa fa-circle-o"></i>Data Hasil Ujian</a></li>
        <li><a href="<?php echo $base?>data-mahasiswa-total"><i class="fa fa-circle-o"></i>Data Mahasiswa</a></li>
        <li><a href="<?php echo $base?>data-skripsi-total"><i class="fa fa-circle-o"></i>Data Skripsi</a></li>
        <li><a href="<?php echo $base?>data-transaksi-total"><i class="fa fa-circle-o"></i>Data Transaksi</a></li>
        <li><a href="<?php echo $base?>data-log-sistem"><i class="fa fa-circle-o"></i>Data Log Sistem</a></li>
        <li><a href="<?php echo $base?>data-skk"><i class="fa fa-circle-o"></i>Data SKK</a></li>
        <li><a href="<?php echo $base?>data-rekap-skk"><i class="fa fa-circle-o"></i>Data Rekap SKK</a></li>

      </ul>
    </li>

  <li class="treeview">
      <a href="#">
        <i class="fa fa-book"></i>
        <span>Skripsi</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>data-proposal"><i class="fa fa-circle-o"></i>Seminar Proposal</a></li>
        <li><a href="<?php echo $base?>data-penugasan"><i class="fa fa-circle-o"></i>Surat Penugasan</a></li>
        <li><a href="<?php echo $base?>data-skripsi"><i class="fa fa-circle-o"></i>Ujian Skripsi</a></li>
      </ul>
    </li>
    <li class="treeview">
      <a href="#">
        <i class="fa fa-pie-chart"></i>
        <span>Kinerja Pegawai</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>data-tupoksi-pegawai"><i class="fa fa-circle-o"></i>Data Tupoksi Pegawai</a></li>
        <li><a href="<?php echo $base?>data-penilaian-pegawai"><i class="fa fa-circle-o"></i>Data SKP Harian</a></li>
        <li><a href="<?php echo $base?>data-rekap-penilaian-pegawai"><i class="fa fa-circle-o"></i>Rekap SKP Harian</a></li>
      </ul>
    </li>
    <li class="treeview">
      <a href="#">
        <i class="fa fa-pie-chart"></i>
        <span>Semester Antara</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>add-semester-pendek"><i class="fa fa-circle-o"></i>Transaksi Semester Pendek</a></li>
        <li><a href="<?php echo $base?>data-transaksi-sempek"><i class="fa fa-circle-o"></i>Data Transaksi</a></li>
      </ul>
    </li>


  </ul>
  
  <?php 
	}else if ($Akses == '2') {?>

<ul class="sidebar-menu">
    <li class="header">MENU UTAMA</li>
    <li class="treeview">
      <a href="#" >
        <i class="fa fa-dashboard"></i>
        <span>Transaksi</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>add-transaksi-grup"><i class="fa fa-circle-o"></i>Transaksi Kagiatan</a></li>
      </ul>
    </li>

    <li>
      <a href="data-barang-habis-pakai">
        <i class="fa fa-th"></i> <span>Pendaftaran Mahasiswa</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
      
        <li><a href="<?php echo $base?>add-pendaftaran-mahasiswa"><i class="fa fa-circle-o"></i>Pendaftaran Mahasiswa</a></li>      
        <li><a href="<?php echo $base?>Ujian-masuk"><i class="fa fa-circle-o"></i>Tes / ujian masuk</a></li>
        <li><a href="<?php echo $base?>add-pendaftaran-ulang"><i class="fa fa-circle-o"></i>Daftar Ulang</a></li>
        <li><a href="<?php echo $base?>login-tes"><i class="fa fa-circle-o"></i>Tes / Ujian Masuk Ulang</a></li>
      </ul>
    </li>


  <li class="treeview">
      <a href="#">
        <i class="fa fa-book"></i>
        <span>Dokumentasi</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>data-pendaftaran-total"><i class="fa fa-circle-o"></i>Data Pendaftaran</a></li>
        <li><a href="<?php echo $base?>data-hasil-ujian"><i class="fa fa-circle-o"></i>Data Hasil Ujian</a></li>
        <li><a href="<?php echo $base?>data-mahasiswa-total"><i class="fa fa-circle-o"></i>Data Mahasiswa</a></li>
        <li><a href="<?php echo $base?>data-skripsi-total"><i class="fa fa-circle-o"></i>Data Skripsi</a></li>
        <li><a href="<?php echo $base?>data-transaksi-peroperator"><i class="fa fa-circle-o"></i>Data Transaksi</a></li>
        <li><a href="<?php echo $base?>data-skk"><i class="fa fa-circle-o"></i>Data SKK</a></li>
        <li><a href="<?php echo $base?>data-rekap-skk"><i class="fa fa-circle-o"></i>Data Rekap SKK</a></li>
      </ul>
  </li>
	  <li class="treeview">
      <a href="#">
        <i class="fa fa-book"></i>
        <span>Skripsi</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>data-proposal"><i class="fa fa-circle-o"></i>Seminar Proposal</a></li>
        <li><a href="<?php echo $base?>data-penugasan"><i class="fa fa-circle-o"></i>Surat Penugasan</a></li>
        <li><a href="<?php echo $base?>data-skripsi"><i class="fa fa-circle-o"></i>Ujian Skripsi</a></li>
      </ul>
    </li>
    <li class="treeview">
      <a href="#">
        <i class="fa fa-pie-chart"></i>
        <span>Penilaian Pegawai</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>data-penilaian-pegawai"><i class="fa fa-circle-o"></i>Data Penilaian Pegawai</a></li>
        <li><a href="<?php echo $base?>data-rekap-penilaian-pegawai"><i class="fa fa-circle-o"></i>Rekap Penilaian Pegawai</a></li>
      </ul>
    </li>
    <li class="treeview">
      <a href="#">
        <i class="fa fa-pie-chart"></i>
        <span>Kinerja Pegawai</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>data-tupoksi-pegawai"><i class="fa fa-circle-o"></i>Data Tupoksi Pegawai</a></li>
        <li><a href="<?php echo $base?>data-penilaian-pegawai"><i class="fa fa-circle-o"></i>Data SKP Harian</a></li>
        <li><a href="<?php echo $base?>data-rekap-penilaian-pegawai"><i class="fa fa-circle-o"></i>Rekap SKP Harian</a></li>
      </ul>
    </li>
    <li class="treeview">
      <a href="#">
        <i class="fa fa-pie-chart"></i>
        <span>Semester Pendek</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>add-semester-pendek"><i class="fa fa-circle-o"></i>Transaksi Semester Pendek</a></li>
        <li><a href="<?php echo $base?>data-transaksi-sempek"><i class="fa fa-circle-o"></i>Data Transaksi</a></li>
      </ul>
    </li>
  </ul>
  
 <?php 
 
	}else{ ?>	
<ul class="sidebar-menu">
    <li class="header">MENU UTAMA</li>
    <li class="treeview">
      <a href="#">
        <i class="fa fa-book"></i>
        <span>Dokumentasi</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>data-pendaftaran-total"><i class="fa fa-circle-o"></i>Data Pendaftaran</a></li>
        <li><a href="<?php echo $base?>data-hasil-ujian"><i class="fa fa-circle-o"></i>Data Hasil Ujian</a></li>
        <li><a href="<?php echo $base?>data-mahasiswa-total"><i class="fa fa-circle-o"></i>Data Mahasiswa</a></li>
        <li><a href="<?php echo $base?>data-skripsi-total"><i class="fa fa-circle-o"></i>Data Skripsi</a></li>
        <li><a href="<?php echo $base?>data-transaksi-total"><i class="fa fa-circle-o"></i>Data Transaksi</a></li>
        <li><a href="<?php echo $base?>data-skk"><i class="fa fa-circle-o"></i>Data SKK</a></li>
        <li><a href="<?php echo $base?>data-rekap-skk"><i class="fa fa-circle-o"></i>Data Rekap SKK</a></li>
      </ul>
    </li>
    <li class="treeview">
      <a href="#">
        <i class="fa fa-pie-chart"></i>
        <span>Penilaian Pegawai</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>data-penilaian-pegawai"><i class="fa fa-circle-o"></i>Data Penilaian Pegawai</a></li>
        <li><a href="<?php echo $base?>data-rekap-penilaian-pegawai"><i class="fa fa-circle-o"></i>Rekap Penilaian Pegawai</a></li>
      </ul>
    </li>
    <li class="treeview">
      <a href="#">
        <i class="fa fa-pie-chart"></i>
        <span>Kinerja Pegawai</span>
        <i class="fa fa-angle-left pull-right"></i>
      </a>
      <ul class="treeview-menu">
        <li><a href="<?php echo $base?>data-tupoksi-pegawai"><i class="fa fa-circle-o"></i>Data Tupoksi Pegawai</a></li>
        <li><a href="<?php echo $base?>data-penilaian-pegawai"><i class="fa fa-circle-o"></i>Data SKP Harian</a></li>
        <li><a href="<?php echo $base?>data-rekap-penilaian-pegawai"><i class="fa fa-circle-o"></i>Rekap SKP Harian</a></li>
      </ul>
    </li>
  </ul>
  <?php } ?>    