105
htmlml
8. Form Admin home.php
ht?php session_start; Memulai Session
if ISSET_SESSION[username] { ?
DOCTYPE html PUBLIC -W3CDTD XHTML 1.0 TransitionalEN http:www.w3.orgTRxhtml1DTDxhtml1-transitional.dtd
html xmlns=http:www.w3.org1999xhtml head
meta http-equiv=Content-Type content=texthtml; charset=utf-8 titleAdmin IMKRISTItitle
-- CSS -- link
href=stylecsstransdmin.css rel=stylesheet
type=textcss media=screen --[if
IE 6]link
rel=stylesheet type=textcss
media=screen href=stylecssie6.css [endif]-- --[if
IE 7]link
rel=stylesheet type=textcss
media=screen href=stylecssie7.css [endif]--
-- JavaScripts-- script type=textjavascript src=stylejsjquery.jsscript
script type=textjavascript src=stylejsjNice.jsscript style type=textcss
Universitas Sumatera Utara
106
-- body {
background-color: 999; }
-- stylehead
body div id=wrapper
-- h1 tag stays for the logo, you can use the a tag for linking the index page --
-- You can name the links with lowercase, they will be transformed to uppercase by CSS, we prefered to name them with
uppercase to have the same effect with disabled stylesheet --
ul id=mainNav lia
href=http:localhosttugas- akhirindex.phpGOTOWEBSITEali
lili li
class=logouta href=logout.php?logout=yesLOGOUTali
ul -- end mainNav --
div id=containerHolder div id=container
div id=sidebar ul class=sideNav
lia href=home.php
class=activeBerandaali lia href=berita.phpBeritaali
lia href=profil.phpProfilali lia href=acara.phpAcaraali
Universitas Sumatera Utara
107
lia href=galery.phpGaleryali lia
href=daftaranggota.phpDaftar Anggotaali
lia href=daftaradmin.phpDaftar
Adminali ul
-- .sideNav -- div
-- sidebar --
-- h2 stays for breadcrumbs -- h2a
href=SELAMAT nbsp;
DATANGnbsp; ADMINaa href=acara.php class=activea -_-h2
div id=main form action= class=jNice
h3img src=imageadmin1.jpg width=100 h3
pnbsp; p fieldset
SELAMAT BEKERJA DENGAN SEPENUH HATI fieldset
form div
-- main --
div class=cleardiv div
-- container -- div
-- containerHolder --
Universitas Sumatera Utara
108
p id=footerdesign by lucifer.ap div
-- wrapper -- body
html
?php }
else headerlocation: login.php;
?ml
9. Form koneksi.php