<section class="sidebar">
	<font face="Source Sans Pro">
		<!-- Sidebar user panel -->
		<div class="user-panel">
			<div class="pull-left image">
				<img src="<?php echo $foto; ?>" class="img-circle" alt="User Image">
			</div>
			<div class="pull-left info">
				<p><?php echo $nama; ?></p>
				<a href="#"><i class="fa fa-circle text-success"></i>Tahun Ajaran : <?= $ta['nmTahunAjaran']; ?></a>
			</div>
		</div>

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

		<ul class="sidebar-menu">
			<li class="header">MAIN NAVIGATION</li>
			<li class="<?php echo $aktifHome; ?>"><a href="index-kepsek.php?view=homes"><i class="fa fa-dashboard"></i> <span>Dashboard</span></a></li>
			<?php if ($_SESSION[level] == 'kepsek') { ?>
				<li class="treeview <?php echo $aktifA; ?>">
					<a href="#">
						<i class="fa fa-th-large"></i> <span>Kesiswaan</span>
						<i class="fa fa-angle-left pull-right"></i>
					</a>
					<ul class="treeview-menu">
						<li><a href="?view=bk"><i class="fa fa-heartbeat"></i>Data Bimbingan Konseling</a></li>
						
						<li class="<?php echo $aktifA11; ?>"><a href="?view=rekapabsensiswa"><i class="fa fa-bar-chart"></i> Rekap Absensi Siswa</a></li>
					</ul>
				</li>
				<li class="treeview">
					<a href="#"><i class="fa fa-tag"></i> <span>Data Akademik</span><i class="fa fa-angle-left pull-right"></i></a>
					<ul class="treeview-menu">
						<li><a href="?view=matapelajaran"><i class="fa fa-book"></i>Mata Pelajaran</a></li>
						<li><a href="?view=jadwalpelajaran"><i class="fa fa-calendar"></i>Jadwal Pelajaran</a></li>
						<li class="<?php echo $aktifs; ?>"><a href="?view=journalkbm"><i class="fa fa-pencil "></i><span>Journal Mengajar</span></a></li>
			
					</ul>
				</li>
				<li class="treeview <?php echo $aktifD; ?>">
					<a href="#">
						<i class="fa fa-leanpub"></i>
						<span>Tabungan Siswa</span>
						<i class="fa fa-angle-left pull-right"></i>
					</a>
					<ul class="treeview-menu">

						<li class="<?php echo $aktifv2; ?>"><a href="index-kepsek.php?view=nasabah"><i class="fa fa-users "></i><span> Nasabah</span></a></li>
						<!-- <li class="<?php echo $aktifv2; ?>"><a href="index-kepsek.php?view=transaksi"><i class="fa fa-money"></i><span> Transaksi</span></a></li>
			-->
						<li class="<?php echo $aktifv2; ?>"><a href="index-kepsek.php?view=laptransaksi"><i class="fa fa-print "></i><span> Lap.Transaksi </span></a></li>
					</ul>
				</li>
				<li class="<?php echo $aktifl; ?>"><a href="index-kepsek.php?view=hutangtoko"><i class="fa fa-balance-scale "></i> <span> Hutang Piutang</span></a></li>
			<?php } ?>

			<?php if ($_SESSION[level] == 'kepsek') { ?>
				<li class="treeview <?php echo $aktifD; ?>">

					<a href="#">
						<i class="fa fa-print"></i>
						<span>Laporan Keuangan</span>
						<i class="fa fa-angle-left pull-right"></i>
					</a>
					<ul class="treeview-menu">
						<li class="<?php echo $aktifD1; ?>"><a href="index-kepsek.php?view=lapsiswa"><i class="fa fa-bookmark text-yellow"></i><span> Lap. Data Siswa</span></a></li>
						<li class="<?php echo $aktifD2; ?>"><a href="index-kepsek.php?view=lappembayaran"><i class="fa fa-bookmark text-green"></i><span> Lap. Pemb. Per Kelas</span></a></li>
						<li class="<?php echo $aktifD3; ?>"><a href="index-kepsek.php?view=lappembayaranperbulan"><i class="fa fa-bookmark text-green"></i><span> Lap. Pemb. Per Bulan</span></a></li>
						<li class="<?php echo $aktifD5; ?>"><a href="index-kepsek.php?view=lappembayaranperposbayar"><i class="fa fa-bookmark text-green"></i><span> Lap. Pemb. Per Pos Bayar</span></a></li>
						<li class="<?php echo $aktifD6; ?>"><a href="index-kepsek.php?view=laptagihansiswa"><i class="fa fa-bookmark text-red"></i><span> Lap. Tagihan Siswa</span></a></li>
						<li class="<?php echo $aktifD4; ?>"><a href="index-kepsek.php?view=rekapitulasi"><i class="fa fa-bookmark "></i> <span>Rekapitulasi Pembayaran</span></a></li>
						<li class="<?php echo $aktifD7; ?>"><a href="index-kepsek.php?view=lappembayaranhari"><i class="fa fa-bookmark "></i> <span>Laporan Keuangan Perhari</span></a></li>
						<li class="<?php echo $aktifD7; ?>"><a href="index-kepsek.php?view=rekappengeluaran"><i class="fa fa-bookmark "></i> <span>Rekapitulasi Pengeluaran</span></a></li>
						<li class="<?php echo $aktifD8; ?>"><a href="index-kepsek.php?view=rekapkondisikeuangan"><i class="fa fa-bookmark text-blue"></i> <span>Kondisi Keuangan</span></a></li>
					</ul>
				</li>
			<?php } ?>

			<!--    <?php if ($_SESSION[level] == 'kepsek') { ?>
 <li class="treeview <?php echo $aktifD; ?>">
	<a href="#">
			<i class="fa fa-database"></i>
			<span>Backup Database </span>
			<i class="fa fa-angle-left pull-right"></i>
		</a>
						<ul class="treeview-menu">
			<li class="<?php echo $aktifZ; ?>"><a href="index-kepsek.php?view=backup"><i class="fa fa-download"></i><span> Backup Database</span></a></li>
			<li class="<?php echo $aktifZ; ?>"><a href="index-kepsek.php?view=restore"><i class="fa fa-upload"></i><span> Restore Database</span></a></li>
			
			</ul>
	  </li>
	 
			<li class="<?php echo $aktifK; ?>"><a href="index-kepsek.php?view=pengaturan"><i class="fa fa-gears"></i> <span>Pengaturan Sekolah</span></a></li>
		<?php } ?> -->
			<li><a href="logout.php"><i class="fa fa-reply-all"></i>Keluar</a></li>
</section>