<section class="sidebar">
  <div class="user-panel">
    <div class="pull-left image">
      <img src="<?= $foto ?>" class="img-circle" alt="User Image">
    </div>
    <div class="pull-left info">
      <p><?= $nama ?></p>
      <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
    </div>
  </div>

  <ul class="sidebar-menu" data-widget="tree">
    <li class="header">MENU ADMIN</li>
    <li><a href="index.php"><i class="fa fa-dashboard"></i> <span>Dashboard</span></a></li>

    <!-- DATA MASTER -->
    <li class="treeview">
      <a href="#"><i class="fa fa-th"></i> <span>Data Master</span>
        <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
      </a>
      <ul class="treeview-menu">
        <li><a href="index.php?view=identitas"><i class="fa fa-circle-o"></i> Data Identitas Sekolah</a></li>
        <li><a href="index.php?view=kurikulum"><i class="fa fa-circle-o"></i> Data Kurikulum</a></li>
        <li><a href="index.php?view=tahunakademik"><i class="fa fa-circle-o"></i> Data Tahun Akademik</a></li>
        <li><a href="index.php?view=gedung"><i class="fa fa-circle-o"></i> Data Gedung</a></li>
        <li><a href="index.php?view=ruangan"><i class="fa fa-circle-o"></i> Data Ruangan</a></li>
        <li><a href="index.php?view=golongan"><i class="fa fa-circle-o"></i> Data Golongan</a></li>
        <li><a href="index.php?view=ptk"><i class="fa fa-circle-o"></i> Data Jenis PTK</a></li>
        <li><a href="index.php?view=jurusan"><i class="fa fa-circle-o"></i> Data Jurusan</a></li>
        <li><a href="index.php?view=kelas"><i class="fa fa-circle-o"></i> Data Kelas</a></li>
        <li><a href="index.php?view=statuspegawai"><i class="fa fa-circle-o"></i> Data Status Kepegawaian</a></li>
      </ul>
    </li>

    <!-- DATA PENGGUNA -->
    <li class="treeview">
      <a href="#"><i class="fa fa-user"></i> <span>Data Pengguna</span>
        <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
      </a>
      <ul class="treeview-menu">
        <li><a href="index.php?view=siswa"><i class="fa fa-circle-o"></i> Data Siswa</a></li>
        <li><a href="index.php?view=guru"><i class="fa fa-circle-o"></i> Data Guru</a></li>
        <li><a href="index.php?view=wakilkepala"><i class="fa fa-circle-o"></i> Data Kepala Sekolah</a></li>
        <li><a href="index.php?view=admin"><i class="fa fa-circle-o"></i> Data Administrator</a></li>
      </ul>
    </li>

    <!-- DATA AKADEMIK -->
    <li class="treeview">
      <a href="#"><i class="fa fa-book"></i> <span>Data Akademik</span>
        <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
      </a>
      <ul class="treeview-menu">
        <li><a href="index.php?view=kelompokmapel"><i class="fa fa-circle-o"></i> Data Kelompok Mapel</a></li>
        <li><a href="index.php?view=matapelajaran"><i class="fa fa-circle-o"></i> Data Mata Pelajaran</a></li>
        <li><a href="index.php?view=jadwalpelajaran"><i class="fa fa-circle-o"></i> Data Jadwal Pelajaran</a></li>
        <li><a href="index.php?view=bahantugas"><i class="fa fa-circle-o"></i> Data Bahan & Tugas</a></li>
        <li><a href="index.php?view=kompetensidasar"><i class="fa fa-circle-o"></i> Data Kompetensi Dasar</a></li>
        <li><a href="index.php?view=penilaiandiri"><i class="fa fa-circle-o"></i> Data Penilaian Diri</a></li>
        <li><a href="index.php?view=predikat"><i class="fa fa-circle-o"></i> Data Rentang Nilai</a></li>
        <li><a href="index.php?view=penilaianteman"><i class="fa fa-circle-o"></i> Data Penilaian Teman</a></li>
      </ul>
    </li>

    <!-- SMS GATEWAY -->
    <li class="treeview">
      <a href="#"><i class="fa fa-envelope"></i> <span>SMS Gateway</span>
        <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
      </a>
      <ul class="treeview-menu">
        <li><a href="index.php?view=sms"><i class="fa fa-circle-o"></i> Send SMS</a></li>
        <li><a href="index.php?view=broadcast"><i class="fa fa-circle-o"></i> Broadcast SMS</a></li>
        <li><a href="index.php?view=autoreply"><i class="fa fa-circle-o"></i> Autoreply</a></li>
        <li><a href="index.php?view=smstoweb"><i class="fa fa-circle-o"></i> Inbox SMS2WEB</a></li>
        <li><a href="index.php?view=outboxautoreply"><i class="fa fa-circle-o"></i> Outbox Autoreply</a></li>
      </ul>
    </li>

    <!-- ABSENSI -->
    <li class="treeview">
      <a href="#"><i class="fa fa-calendar"></i> <span>Data Absensi</span>
        <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
      </a>
      <ul class="treeview-menu">
        <li><a href="index.php?view=absenguru"><i class="fa fa-circle-o"></i> Absensi Guru</a></li>
        <li><a href="index.php?view=absensiswa"><i class="fa fa-circle-o"></i> Absensi Siswa</a></li>
        <li><a href="index.php?view=rekapabsensiswa"><i class="fa fa-circle-o"></i> Rekap Absensi Siswa</a></li>
      </ul>
    </li>

    <!-- PSB ONLINE -->
    <li class="treeview">
      <a href="#"><i class="fa fa-graduation-cap"></i> <span>PSB Online</span>
        <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
      </a>
      <ul class="treeview-menu">
        <li><a href="index.php?view=psbmenu"><i class="fa fa-circle-o"></i> Data Menu</a></li>
        <li><a href="index.php?view=psbhalaman"><i class="fa fa-circle-o"></i> Data Halaman</a></li>
        <li><a href="index.php?view=psbaktivasi"><i class="fa fa-circle-o"></i> Kode Aktivasi</a></li>
        <li><a href="index.php?view=psbsma"><i class="fa fa-circle-o"></i> Pendaftar SMA</a></li>
        <li><a href="index.php?view=psbsmk"><i class="fa fa-circle-o"></i> Pendaftar SMK</a></li>
        <li><a href="index.php?view=psbsmp"><i class="fa fa-circle-o"></i> Pendaftar SMP</a></li>
      </ul>
    </li>

    <!-- FORUM & QUIZ -->
    <li><a href="index.php?view=forum"><i class="fa fa-comments"></i> <span>Forum Diskusi</span></a></li>
    <li><a href="index.php?view=soal"><i class="fa fa-pencil"></i> <span>Quiz / Ujian</span></a></li>

    <!-- LAPORAN NILAI -->
    <li class="treeview">
      <a href="#"><i class="fa fa-bar-chart"></i> <span>Laporan Nilai Siswa</span>
        <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
      </a>
      <ul class="treeview-menu">
        <li><a href="index.php?view=raportuts"><i class="fa fa-circle-o"></i> Data Nilai UTS</a></li>
        <li><a href="index.php?view=raportcetakuts"><i class="fa fa-circle-o"></i> Cetak Raport UTS</a></li>
        <li><a href="index.php?view=capaianhasilbelajar"><i class="fa fa-circle-o"></i> Capaian Belajar</a></li>
        <li><a href="index.php?view=extrakulikuler"><i class="fa fa-circle-o"></i> Ekstrakulikuler</a></li>
        <li><a href="index.php?view=prestasi"><i class="fa fa-circle-o"></i> Prestasi</a></li>
        <li><a href="index.php?view=raport"><i class="fa fa-circle-o"></i> Nilai Raport</a></li>
        <li><a href="index.php?view=raportcetak"><i class="fa fa-circle-o"></i> Cetak Raport</a></li>
      </ul>
    </li>

    <li><a href="index.php?view=dokumentasi"><i class="fa fa-book"></i> <span>Documentation</span></a></li>

    <!-- LOGOUT -->
    <li><a href="logout.php"><i class="fa fa-sign-out"></i> <span>Logout</span></a></li>
  </ul>
</section>
