<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 $aktifs; ?>"><a href="index-guru.php?view=homeguru"><i class="fa fa-dashboard"></i> Dashboard</a></li>
			<li class="treeview <?php echo $aktifA; ?>">
				<a href="#">
					<i class="fa fa-book"></i> <span>Master Data</span>
					<i class="fa fa-angle-left pull-right"></i>
				</a>
				<ul class="treeview-menu">

					<li class="<?php echo $aktifA8; ?>"><a href="index-guru.php?view=matapelajaran"><i class="fa fa-tags"></i>Input Mata Pelajaran</a></li>
					<li class="<?php echo $aktifA8; ?>"><a href="index-guru.php?view=jadwalguru"><i class="fa fa-tags"></i>Input Jadwal Pelajaran</a></li>
				</ul>
			</li>
			<?php if ($_SESSION[absen] == 'Y') { ?>
				<li><a href="index-guru.php?view=absenguru&tahun=<?= $ta['idTahunAjaran']; ?>"><i class="fa fa-bell"></i> Absensi Guru</a></li>
			<?php } ?>
			<?php if ($_SESSION[absen] == 'T') { ?>
				<li><a href="index-guru.php?view=absengurus&tahun=<?= $ta['idTahunAjaran']; ?>"><i class="fa fa-bell"></i> Absensi Guru</a></li>
			<?php } ?>
			<?php if ($_SESSION[tugas] == '1') { ?>
				<li class="treeview <?php echo $aktifA; ?>">
					<a href="#">
						<i class="fa fa-book"></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-guru.php?view=absensiswa&tahun=<?= $ta['idTahunAjaran']; ?>&kelas=<?= $_SESSION['idkelas']; ?>"><i class="fa fa-th-large"></i><span>Absen Siswa</span></a></li>
						<li class="<?php echo $aktifs; ?>"><a href="index-guru.php?view=rekapabsensiswa"><i class="fa fa-th-large"></i><span>Rekap Absen Siswa</span></a></li>
					</ul>
				</li>
			<?php } ?>
			<?php if ($_SESSION[tugas] ==  '3') { ?>
				<li class="<?php echo $aktifs; ?>"><a href="index-guru.php?view=absensiswa_semua&tahun=<?= $ta['idTahunAjaran']; ?>"><i class="fa fa-th-large"></i><span>Absen Siswa</span></a></li>

			<?php } ?>
			<li class="<?php echo $aktifs; ?>"><a href="index-guru.php?view=jadwalpelajaran"><i class="fa fa-calendar "></i><span>Jadwal Pelajaran</span></a></li>
			<li class="<?php echo $aktifD; ?>"><a href="index-guru.php?view=soal"><i class="fa fa-users"></i><span>Quiz/Ujian Online</span></a></li>

			<?php if ($_SESSION[jenis] == '3') { ?>
				<li class="treeview <?php echo $aktifA; ?>">
					<a href="#">
						<i class="fa fa-heartbeat"></i> <span>BK Siswa</span>
						<i class="fa fa-angle-left pull-right"></i>
					</a>
					<ul class="treeview-menu">
						<li><a href="index-guru.php?view=bk"><i class="fa fa-heartbeat"></i>Data Bimbingan Konseling</a></li>
						<li><a href="index-guru.php?view=lapbk"><i class="fa fa-heartbeat"></i>Lap Bimbingan Konseling</a></li>
					</ul>
				</li>
			<?php } ?>
			<li class="<?php echo $aktifs; ?>"><a href="index-guru.php?view=jurnalgur"><i class="fa fa-pencil "></i><span>Journal Mengajar</span></a></li>
			<li class="<?php echo $aktifs; ?>"><a href="index-guru.php?view=masterguru&act=editguru&id=<?php echo $_SESSION['nips']; ?>"><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>