<div class="app-menu">
                <ul class="accordion-menu">
				<li class="sidebar-title">
                        DASHBOARD UTAMA
                    </li>
				 <li>
                        <a href="."><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="ujian">ASESMEN</a> </li>
                            <li> <a href="presensi">PRESENSI</a> </li>
							<li> <a href="ptm">TATAP MUKA</a> </li>
							<li> <a href="konseling">KONSELING</a> </li>
                               <li> <a href="erapor">E RAPORT</a> </li>
							    <?php if ($user['level']=='admin' OR $user['walas']<>'-'): ?>
                            <li> <a href="projek">RAPORT PROJEK</a> </li>
							 <li> <a href="lulusan">SURAT KELULUSAN</a> </li>
							<?php endif; ?>
							
							  <li> <a href="learning">E LEARNING</a> </li>
							
                        </ul>
                    </li>
					 <?php if ($user['level']=='admin'): ?>
                      <li>
                        <a href="#"><i class="material-icons-two-tone">inbox</i>DATA MASTER<i class="material-icons has-sub-menu">keyboard_arrow_down</i></a>
                        <ul class="sub-menu">
						<li>
                                <a href="?pg=siswa">SISWA</a>
                            </li>
                            <li>
                                <a href="?pg=mapel">MATA PELAJARAN</a>
                            </li>
                           
                        </ul>
                    </li>
                     <li>
                        <a href="#"><i class="material-icons-two-tone">people</i>DATA USER<i class="material-icons has-sub-menu">keyboard_arrow_down</i></a>
                        <ul class="sub-menu">
						<li>
                                <a href="?pg=admin">ADMIN</a>
                            </li>
                            <li>
                                <a href="?pg=guru">PENDIDIK</a>
                            </li>
                            <li>
                                <a href="?pg=staff">KEPENDIDIKAN</a>
                            </li>
                        </ul>
                    </li>
                    <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=pengaturan">SEKOLAH</a>
                            </li>
                            
                            
                        </ul>
                    </li>
					 <li>
                        <a href="#"><i class="material-icons-two-tone">mark_chat_read</i>WA GATEWAY<i class="material-icons has-sub-menu">keyboard_arrow_down</i></a>
                        <ul class="sub-menu">
						<li>
                                <a href="?pg=apiwa">Server WA</a>
                            </li>
                            
                           
                        </ul>
                    </li>
                   <li>
                        <a href="#"><i class="material-icons-two-tone">storage</i>DATABASE<i class="material-icons has-sub-menu">keyboard_arrow_down</i></a>
                        <ul class="sub-menu">
						<li>
                                <a href="?pg=backupdata">Backup Database</a>
                            </li>
                            <li>
                                <a href="?pg=restore">Restore Database</a>
                            </li>
                            <li>
                                <a href="?pg=resetdata">Reset Database</a>
                            </li>
                        </ul>
                    </li>
					
				   <?php endif; ?>
				   
				   
				   
				   
				   
				   
				   
				   
				   
                </ul>
            </div>
       </div>