<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 $aktifz; ?>"><a href="index-siswa.php?view=home"><i class="fa fa-dashboard"></i> Dashboard</a></li>
			<?php
			$tahun = mysqli_fetch_array(mysqli_query($conn,"SELECT * FROM tahun_ajaran where aktif='Y'"));
			$ta = $tahun['idTahunAjaran'];
			?><?php
				$tahun = mysqli_fetch_array(mysqli_query($conn,"SELECT * FROM siswa where idKelas='$_SESSION[kls]'"));
				$tas = $tahun['idKelas'];
				?>


			<li class="treeview <?php echo $aktifD; ?>">
				<a href="#">
					<i class="fa fa-th-large"></i>
					<span>Absensi Siswa</span>
					<i class="fa fa-angle-left pull-right"></i>
				</a>
				<ul class="treeview-menu">

					<li class="<?php echo $aktifs; ?>"><a href="index-siswa.php?view=absensiswasiswa&tahun=<?php echo $ta; ?>&kelas=<?php echo $tas; ?>"><i class="fa fa-bookmark text-green"></i><span>Absensi </span></a></li>
					<li class="<?php echo $aktifs; ?>"><a href="index-siswa.php?view=absenrekap&tahun=<?php echo $ta; ?>&kelas=<?php echo $tas; ?>"><i class="fa fa-bookmark text-red "></i><span>Rekap Absensi </span></a></li>
				</ul>
			</li>
			<li><a href="index-siswa.php?view=bahantugas"><i class="fa fa-suitcase"></i>Data Bahan dan Tugas</a></li>
			<li><a href="index-siswa.php?view=soal&act=detailsiswa&tahun=<?php echo $ta; ?>"><i class="fa fa-users"></i>Quiz/Ujian Online</a></li>


			<li class="<?php echo $aktif; ?>"><a href="index-siswa.php?view=laptransaksis"><i class="fa fa-leanpub "></i><span> Transaksi Tabungan</span></a></li>

			<li class="<?php echo $aktif; ?>"><a href="index-siswa.php?view=laptanggungan"><i class="fa fa-balance-scale "></i><span> Tagihan Pembayaran</span></a></li>
			<?php if ($_SESSION[status] == 'Lulus') { ?>
			<li class="<?php echo $aktifA8; ?>"><a href="index-siswa.php?view=skl"><i class="fa fa-graduation-cap"></i> SKL</a></li>
			<?php } ?>
			<li class="<?php echo $aktifs; ?>"><a href="index-siswa.php?view=siswa&act=edit&id=<?php echo $_SESSION['idsa']; ?>"><i class="fa fa-wrench "></i><span>Edit Profile</span></a></li>





			<li><a href="logout.php"><i class="fa fa-reply-all"></i>Keluar</a></li>
</section>