2. Koneksi.php
?php db_host = localhost;
db_user = root; db_pass = ;
db_data = dbflash; Perintah koneksi Server MySQL
koneksi = mysql_connectdb_host, db_user, db_pass
or die Koneksi gagal.mysql_error; mysql_select_dbdb_data, koneksi
or die Baca DB gagal.mysql_error; ?
3.Index.html
object width=1350
height=650 data=belajar.swfobject
4. Video.html
html body
video width=1350 height=650 controls autoplay source src=videomonodiko.mp4 type=videomp4
video body
html 5. Admin.php
?php include koneksi.php;
namapengguna = _POST[namapengguna]; password = _POST[password];
query =
INSERT INTO
tb_admin VALUES
namapengguna, password; result = mysql_queryquery;
if query { echoscriptalertData
Berhasil Disimpan; window.location = index.phpscript;
Universitas Sumatera Utara
} else{
mysql_error; }?
6. Soalmudah.php
DOCTYPE html html lang=en
head meta charset=utf-8
-- Title Tag -- titlePlaNarttitle
-- Mobile Viewport Code -- meta name=viewport content=width=device-width,
initial-scale=1, maximum-scale=1 -- Attched Stylesheets --
link
rel=stylesheet href=csstheme.css
type=textcss link
rel=stylesheet href=cssmedia.css
type=textcss link
rel=stylesheet href=cssfont-
awesome.min.css type=textcss link
href=https:fonts.googleapis.comcss?family=Open+Sans :400,300,600,600italic,400italic,800,700
rel=stylesheet type=textcss link
href=https:fonts.googleapis.comcss?family=Oswald:40 0,700,300 rel=stylesheet type=textcss
head body
-- \\ Begin Holder \\ -- div class=DesignHolder
-- \\ Begin Frame \\ -- div class=LayoutFrame
-- \\ Begin Header \\ -- header
div class=Center div class=site-logo
h1a href=PlspanaNaspanrtah1
div div id=mobile_sec
div class=mobilei class=fa fa- barsii class=fa fa-timesidiv
div class=menumobile
Universitas Sumatera Utara
-- \\ Begin Navigation \\ -- nav class=Navigation
ul li class=active
a href=index.phpBerandaa
span class=menu-item- bgspan
li ul
nav -- End Navigation --
div div
div class=cleardiv div
header -- End Header --
-- \\ Begin Banner Section \\ -- div
class=Banner_sec id=home
style=height:1500px; div class=boxbr
form action=hasilsoalmudah.php
method=POST id=formulir div
style=margin-left:150px; height:30px;
font-family:Trebuchet MS;
font- size:15px;
?php include koneksi.php;
soal
= mysql_querySELECT
FROM tb_soalmudah order by rand limit 10;
no = 1; whiles = mysql_fetch_arraysoal{
echo no. .s[soal].br\n; echo
input type=radio
name=soal[.s[id].] value=aA.
.s[pilihan_a].br\n; echo
input type=radio
name=soal[.s[id].] value=bB.
.s[pilihan_b].br\n; echo
input type=radio
name=soal[.s[id].] value=cC.
.s[pilihan_c].br\n; echo
input type=radio
name=soal[.s[id].] value=dD.
.s[pilihan_d].brbrbr\n; no++;
Universitas Sumatera Utara
} soal = no - 1;
echo input
type=hidden name=jawabansoal value= soal;
? input
style=width:200px; margin-
left:180px; height:30px;
border:1px; font-
family:Trebuchet MS; font-size:15px; type=submit value=DONEbrbr
div form
div div class=cleardiv
div -- End Banner Section --
-- \\ Begin Container \\ -- div id=Container
-- \\ Begin Footer \\-- footer
div class=Cntr pCopyright
©2016 RirisLumbantobingp
div footer
-- End Footer -- div
-- End Get Section -- div
-- End Contact Section -- div
-- End Container -- div
-- End Layout Frame -- div
-- End Design Holder -- div id=loader-wrapper
div id=loaderdiv div class=loader-section section-leftdiv
div class=loader-section section-rightdiv div
-- Attched Javascripts -- script
type=textjavascript src=jsjquery-
1.11.0.min.jsscript script
type=textjavascript src=jsjquery.sudoSlider.min.jsscript
Universitas Sumatera Utara
script type=textjavascript
src=jsglobal.jsscript script
type=textjavascript src=jsmodernizr.jsscript
body html
7. Soalsedang.php