<div class="app-menu">
                <ul class="accordion-menu">
				<li class="sidebar-title">
                        DASHBOARD P T M
                    </li>
				 <li>
                        <a href="ptm"><i class="material-icons-two-tone">home</i>Beranda</a>
                    </li>
                   <li>
                        <a href="#"><i class="material-icons-two-tone">color_lens</i>Dashboard<i class="material-icons has-sub-menu">keyboard_arrow_down</i></a>
                        <ul class="sub-menu">
						
							<li>
                                <a href=".">Utama</a>
                            </li>
                           
                            <li><a href="ujian">Asesmen</a></li>
                                 <li><a href="presensi">Presensi</a></li>
								 <li> <a href="konseling">Konseling</a> </li>
                           <?php if ($user['level']=='admin' OR $user['walas']<>'-'): ?>
                            <li> <a href="projek">Rapor Proyek</a> </li>
							 <li> <a href="lulusan">Surat Kelulusan</a> </li>
							<?php endif; ?>
							  <li> <a href="learning">E Learn</a> </li>
                        </ul>
                    </li>
					<?php if($user['level']=='admin'): ?>
					 <li>
                        <a href="#"><i class="material-icons-two-tone">settings</i>Pengaturan<i class="material-icons has-sub-menu">keyboard_arrow_down</i></a>
                        <ul class="sub-menu">
						<li><a href="?pg=jadwal">Jadwal Mapel</a></li>
											
                        </ul>
                    </li>
					<?php endif; ?>
					
					
					<li>
                        <a href="#"><i class="material-icons-two-tone">draw</i>Agenda Guru<i class="material-icons has-sub-menu">keyboard_arrow_down</i></a>
                        <ul class="sub-menu">
						 
						  <li><a href="?pg=agenda">Agenda</a></li>
						<li><a href="?pg=jurnal">Jurnal</a></li>
					  
                        </ul>
                    </li>
					 <li>
                        <a href="#"><i class="material-icons-two-tone">attach_email</i>Nilai Harian<i class="material-icons has-sub-menu">keyboard_arrow_down</i></a>
                        <ul class="sub-menu">
						<li><a href="?pg=nilai">Input Nilai Harian</a></li>
						
                        </ul>
                    </li>
                 <?php if($user['level']=='admin'): ?>
                
					 <li>
                        <a href="#"><i class="material-icons-two-tone">print</i>Cetak Data<i class="material-icons has-sub-menu">keyboard_arrow_down</i></a>
                        <ul class="sub-menu">
						 <li><a href="?pg=honor">Honor Non PNS</a></li> 

                        </ul>
                    </li>
                 <?php endif; ?>
					 
                </ul>
            </div>
       </div>