function { document.onclick,ul.nav li.parent a
span.icon, function{ this.findem:first.toggleClassglyphicon-minus;
}; .sidebar
span.icon.findem:first.addClassglyphicon-plus; }window.jQuery;
window.onresize, function { if window.width 768 sidebar-
collapse.collapseshow }
window.onresize, function { if window.width = 767 sidebar-
collapse.collapsehide }
script
body html
?php include footer.php; ?
13. administratorcek.php
?php if isset_SESSION[videouser] or
isset_SESSION[videopwd]{ echo script document.location.href=login.php;
script;
} ?
14. administratormenuindex.php
div id=sidebar-collapse class=col-sm-3 col-lg-2 sidebar ul class=nav menu
li class=activea href=index.phpsvg class=glyph stroked dashboard-dialuse
xlink:href=stroked-dashboard-dialusesvg Dashboardali
lia href=index.php?page=slidersvg class=glyph stroked calendaruse xlink:href=stroked-
calendarusesvg Sliderali
lia href=index.php?page=materisvg class=glyph stroked calendaruse xlink:href=stroked-
calendarusesvg Materiali lia href=index.php?page=videosvg
class=glyph stroked line-graphuse xlink:href=stroked- line-graphusesvg Videoali
lia href=index.php?page=soalsvg class=glyph stroked tableuse xlink:href=stroked-
tableusesvg Soalali --lia href=index.php?page=pesertasvg
class=glyph stroked tableuse xlink:href=stroked- tableusesvg Pesertaali--
--lia href=index.php?page=hasilsvg class=glyph stroked penciluse xlink:href=stroked-
pencilusesvg Hasil Testali-- lia href=index.php?page=komentarsvg
class=glyph stroked penciluse xlink:href=stroked- pencilusesvg Komentarali
lia href=index.php?page=gambarsvg class=glyph stroked penciluse xlink:href=stroked-
pencilusesvg File Gambarali
ul div
15. administratorpagemateriindex.php
div class=row div class=col-md-12
div class=panel panel-info div class=panel-headingMateridiv
div class=panel-body p
a href=index.php?page=materisfile=tambah class=btn btn- info btn-smTambah Materia
p table width=100 border=0 cellspacing=0 cellpadding=0
class=table table-striped table-hover tbody
tr td width=3strongNostrongtd
td width=65strongMateristrongtd td width=10 align=rightstrongJumlah
Soalstrongtd td width=15nbsp;td
tr ?php
no=0; qry=mysql_queryselect from tblmateri order by materi
asc; while data=mysql_fetch_arrayqry{
no++; ?
tr td?php echo no; ?td
td?php echo data[materi]; ?td td align=right?php echo data[jlhsoal]; ?td
td align=righta href=index.php?page=materisfile=editmateri=?php echo
data[materi]; ? class=btn btn-warning btn-smEdita a href= class=btn btn-danger btn-sm cmdhapus id=?php
echo data[materi]; ?Hapusatd tr
?php } ? tbody
table div
div div
div script
document.readyfunctione { .cmdhapus.clickfunctione {
var nilai=this.attrid;
.confirm{ title:Konfirmasi,
content:Apakah anda yakin ingin menghapus data ini?,
confirm:function{ .postpagematerihapus.php, {
materi:nilai }, function data, status{
if data=={ document.location.href=index.php?page=materi;
} else{
.alert{content:data}; }
}; }
}; };
}; script
16. administratorpagemateritambah.php