1 LAMPIRAN A : TAMPILAN PROGRAM Tampilan Halaman Utama (Home) Tampilan Halaman Pengumuman2 Tampilan Halaman Profile Visi dan Misi Tampilan Halaman Pro...
Administrator Portal Web SMA N 1 NA IX-X <script language="javascript"> function validasi(form){ if (form.username.value == ""){ alert("Anda belum mengisikan Username."); form.username.focus(); return (false); }
if (form.password.value == ""){ alert("Anda belum mengisikan Password."); form.password.focus(); return (false); } return (true); }
switch($file_extension){ case "pdf": $ctype="application/pdf"; break; case "exe": $ctype="application/octet-stream"; break; case "zip": $ctype="application/zip"; break; case "rar": $ctype="application/rar"; break; case "doc": $ctype="application/msword"; break; case "xls": $ctype="application/vnd.ms-excel"; break; case "ppt": $ctype="application/vnd.ms-powerpoint"; break; case "gif": $ctype="image/gif"; break; case "png": $ctype="image/png"; break; case "jpeg": case "jpg": $ctype="image/jpg"; break; default: $ctype="application/proses"; }
if ($file_extension=='php'){ echo "
Access forbidden!
Maaf, file yang Anda download sudah tidak tersedia atau filenya (direktorinya) telah diproteksi.
if ($_SESSION['leveluser']=='admin'){ $sql=mysql_query("select * from modul where aktif='Y' order by urutan"); while ($m=mysql_fetch_array($sql)){ echo "
elseif ($_SESSION['leveluser']=='pegawai'){ $sql=mysql_query("select * from modul where status='pegawai' or status='siswa' order by urutan"); while ($m=mysql_fetch_array($sql)){ echo "
"; } } elseif ($_SESSION['leveluser']=='guru'){ $sql=mysql_query("select * from modul where status='guru' or status='siswa' order by urutan"); while ($m=mysql_fetch_array($sql)){ echo "
"; } } elseif ($_SESSION['leveluser']=='siswa'){ $sql=mysql_query("select * from modul where status='siswa' order by urutan"); while ($m=mysql_fetch_array($sql)){ echo "
Listing fungsi Kalender.php » $m[nama_modul]"; } } elseif ($_SESSION['leveluser']=='pegawai'){ $sql=mysql_query("select * from modul where status='pegawai' or status='siswa' order by urutan"); while ($m=mysql_fetch_array($sql)){
"; } } elseif ($_SESSION['leveluser']=='guru'){ $sql=mysql_query("select * from modul where status='guru' or status='siswa' order by urutan"); while ($m=mysql_fetch_array($sql)){ echo "
"; } } elseif ($_SESSION['leveluser']=='siswa'){ $sql=mysql_query("select * from modul where status='siswa' order by urutan"); while ($m=mysql_fetch_array($sql)){ echo "