script
4. slider.php
nav div id=slide
div class=slider ul class=items
?php qry=mysql_queryselect from
tblslider order by idslider desc; while
data=mysql_fetch_arrayqry{ ?
liimg src=slider?php echo data[gambar]; ? alt= li
?php } ? ul
div a href= class=prevaa href=
class=nexta div
-- -- centerul class=menu
li class=currenta href=index.php class=clr-1Homeali
lia href=index.php?page=about class=clr- 2Aboutali
lia href=index.php?page=materi class=clr- 3Topicsali
lia href=index.php?page=ujian class=clr- 4Exerciseali
ulcenter
nav
5. about.php
h2 class=clr-6 p6A Few Words About Meh2 div class=pad-3
img src=imageskami.jpg alt= class=img-border img-indent
div class=extra-wrap clr-6 pHello, my name is Elsari Manalu,
you can call me Elsa. I was born in Lubuk Pakam on Mei 11 1995. I am creator and autor of this website. This is my last project, my
final assignment. I interest to make website because I consider, website is interaktif, sought and needed a lot of people,
interesting for many things, full of technologies and update. Im still a beginner in design, but Ive do my best so I am sorry if
this not too good for your eyes. Ill learn morep
div div
6. ujian.php
table width=100 border=0 cellspacing=0 cellpadding=5 tbody
tr td bgcolor=324BC1 style=font-size: 20px; font-family:
Segoe, Segoe Print, Liberation Serif, Times, Segoe Print, serif; color: FFFFFF;Pilih Materitd
tr ?php
qry=mysql_queryselect from tblmateri order by materi asc;
while data=mysql_fetch_arrayqry{ ?
tr
tda href=index.php?page=pilihmaterimateri=?php echo data[materi]; ??php echo data[materi]; ?atd
tr ?php } ?
tbody table
7. soal.php
?php session_start; ? ?php include koneksi.php; ?
?php if isset_SESSION[purutsoal]{
_SESSION[purutsoal]=0; }
if _SESSION[xpurutsoal]=={ _SESSION[xpurutsoal]=0;
}
if isset_SESSION[akhir]{ if _SESSION[akhir]=1{
echo script document.location.href=index.php?page=hasil; script;
} }
xsoal=explode,, _SESSION[pidsoal]; idsoal=xsoal[_SESSION[xpurutsoal]];
materi=_SESSION[pmateri];
soal=db-tampilrecordtblsoal, idsoal=idsoal, soal; jwba=db-tampilrecordtblsoal, idsoal=idsoal, jwba;
jwbb=db-tampilrecordtblsoal, idsoal=idsoal, jwbb; jwbc=db-tampilrecordtblsoal, idsoal=idsoal, jwbc;
jwbd=db-tampilrecordtblsoal, idsoal=idsoal, jwbd;
echo _SESSION[xpurutsoal]. idsoal .idsoal. ....._SESSION[pidsoal];
echo strongNO SOAL : ._SESSION[xpurutsoal]+1.strong;
? table width=100 border=0 cellspacing=0 cellpadding=5
tbody tr
td width=5span id=waktu style=display:none;spantd
td width=89?php echo soal; ? input name=txtemail type=hidden id=txtemail
value=?php echo email; ? input name=txtmateri type=hidden id=txtmateri
value=?php echo materi; ?td tr
tr tdinput type=button name=cmda id=cmda
value=Atd td?php echo jwba; ?td
tr tr
tdinput type=button name=cmdb id=cmdb value=Btd
td?php echo jwbb; ?td tr
tr
tdinput type=button name=cmdc id=cmdc value=Ctd
td?php echo jwbc; ?td tr
tr tdinput type=button name=cmdd id=cmdd
value=Dtd td?php echo jwbd; ?td
tr tbody
table
script document.readyfunctione {
cmda.clickfunctione { .postsoaljawab.php, {
email:txtemail.val, materi:txtmateri.val,
jawab:A }, function data, status{
}; };
cmdb.clickfunctione { .postsoaljawab.php, {
email:txtemail.val, materi:txtmateri.val,
jawab:B }, function data, status{
};
};
cmdc.clickfunctione { .postsoaljawab.php, {