<div class="app-menu">
                <ul class="accordion-menu">
				<li class="sidebar-title">
                        DASHBOARD ASESMEN
                    </li>
				 <li>
                        <a href="ujian"><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="presensi">Presensi</a> </li>
							<li> <a href="ptm">Tatap Muka</a> </li>
							<li> <a href="konseling">Konseling</a> </li>
                               <li> <a href="erapor">E Rapor</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'): ?>
					<?php $jpeserta = mysqli_num_rows(mysqli_query($koneksi, "SELECT * FROM siswa WHERE username<>''")); ?>

					 <li>
                        <a href="?pg=peserta"><i class="material-icons-two-tone">people</i>Peserta Ujian<span class="badge rounded-pill badge-success float-end"><?= $jpeserta; ?></span></a>
                    </li>
					<?php endif; ?>
                      <li>
                        <a href="#"><i class="material-icons-two-tone">inbox</i>Bank Soal<i class="material-icons has-sub-menu">keyboard_arrow_down</i></a>
                        <ul class="sub-menu">
						<li>
                                <a href="?pg=banksoal">Bank Soal</a>
                            </li>
                            <li>
                                <a href="?pg=file">File Soal</a>
                            </li>
                            
                        </ul>
                    </li>
                     <li>
                        <a href="?pg=jadwal"><i class="material-icons-two-tone">wifi</i>Jadwal Ujian</a>
                    </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=kartu">Kartu Peserta</a>
                            </li>
                            <li>
                                <a href="?pg=absen">Daftar Hadir</a>
                            </li>
                            <li>
                                <a href="?pg=berita">Berita Acara</a>
                            </li>
                        </ul>
                    </li>
					<?php endif; ?>
					 <li>
                        <a href="#"><i class="material-icons-two-tone">mark_chat_read</i>Data Nilai<i class="material-icons has-sub-menu">keyboard_arrow_down</i></a>
                        <ul class="sub-menu">
						<li>
                                <a href="?pg=nilai">Nilai Per Mapel</a>
                            </li>
                            <li>
                                <a href="?pg=rekap">Rekap Nilai</a>
                            </li>
                             
                        </ul>
                    </li>
                   <li>
                      
                           
                     <li>
                        <a href="#"><i class="material-icons-two-tone">sync</i>Sinkronisasi<i class="material-icons has-sub-menu">keyboard_arrow_down</i></a>
                        <ul class="sub-menu">
						<li>
                                <a href="?pg=setsinkron">Setting Sinkron</a>
                            </li>
                            <li>
                                <a href="?pg=sinkron">Sinkron Data Siswa</a>
                            </li>
                            <li>
                                <a href="?pg=sinsoal">Sinkron Data Soal</a>
                            </li>
                        </ul>
                    </li>   
				    <li>
                               <a href="?pg=anbuso"><i class="material-icons-two-tone">school</i>Analisis Butir Soal</a>
                            </li>
                           
						<li>
                                <a href="?pg=backupexcel"><i class="material-icons-two-tone">storage</i>Backup Soal</a>
                            </li>
				   
                </ul>
            </div>
       </div>