Menu Home Pengkodean coding

4.3.2 Menu Home

Pada menu Home, terdapat beberapa link, yaitu link “Home”, link Kompresi Enkripsi”, link “Dekripsi Dekompresi”, “Logout”. Berikut source code yang ada pada menu Home: ?php session_start; ifsession_is_registeredreg_userName { session_destroy; echo SCRIPT alertAnda BELUM LOGIN . Silakan Anda login kembali; document.location=index.php; SCRIPT; exit; } switch_GET[page] { case enkrip_form : judul = Kompresi dan Enkripsi; page = enkrip_form.php; break; case dekrip_form : judul = Dekripsi dan Dekompresi; page = dekrip_form.php; break; case enkrip : judul = Kompresi dan Enkripsi; page = enkrip.php; break; case dekrip : judul = Dekripsi dan Dekompresi; page = dekrip.php; break; case laporan : judul = Laporan Hasil Proses; page = laporan.php; break; default : judul = Home; page = index_.php; } switch_GET[aksi] { case enkrip : judul .= Kompresi dan Enkripsi; break; case dekrip : judul .= Dekripsi dan Dekompresi; break; default : judul .= ; } ? HTML HEAD TITLE.:: ?php echo judul; ? ::.TITLE META http-equiv=Content-Type content=texthtml; charset=iso-8859-1 LINK href=includetemplate_css.css type=textcss rel=stylesheet HEAD BODY bgcolor=5785D2 leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 CENTER TABLE width=710 border=0 cellpadding=0 cellspacing=0 TR TD colspan=7 background=imagesweb_01_6.1.jpg width=710 height=173 alt= TD TR TR TD colspan=3 DIVA href=indexi.php?page=enkrip_formIMG src=imagesweb_02.jpg width=305 height=50 alt=Kompresi Enkripsi border=0ADIV TD TD DIVA href=indexi.phpIMG src=imagesweb_03.jpg width=97 height=50 alt=Home border=0ADIV TD TD colspan=3 DIVA href=indexi.php?page=dekrip_formIMG src=imagesweb_04.jpg width=308 height=50 alt=Dekripsi Dekompresi border=0ADIV TD TR TR TD colspan=7 background=imagesweb_05.jpg width=710 height=41 alt= DIV style=padding-top:17pt;padding-right:30pt align=rightA href=logout.phpFONT color=whiteSTRONGLogout MARQUEE width=15 direction=right scrollAmount=3 scrollDelay=60FONT color=whiteFONTMARQUEESTRONGFONTADIV TD TR TR TD colspan=7 background=imagesweb_06.jpg width=710 height=47 alt= DIV style=padding-bottom:10pt;padding-left:45ptFONT class=m14 color=blackSTRONG? echo judul; ?STRONGFONT DIV TD TR TR TD background=imagesweb_07.jpg width=31 height=82 alt= TD TD colspan=5 background=imagesweb_08.jpg width=626 height=82 alt= DIV style=padding-top:1pt;padding-left:1ptFONT class=m12 color=black?php includepage; ?FONT DIV TD TD background=imagesweb_09.jpg width=53 height=82 alt= TD TR TR TD colspan=7 background=imagesweb_10.jpg width=710 height=65 alt= TD TR TR TD colspan=2 background=imagesweb_11.jpg width=56 height=37 alt= TD TD colspan=3 background=imagesweb_12.jpg width=535 height=37 alt= DIV style=padding-left:2pt align=centerMARQUEE direction=left onmouseout=this.start onmouseover=this.stop scrollAmount=3 scrollDelay=60FONT color=whiteAbout us : ASEP ERLAN MAULANA [ 08567911005 ], Teknik Informatika Universitas Islam Negeri Syarifhidayatullah Jakarta, email : abuporyahoo.co.uk telp : +62 81282244116 website : A href=http:www.google.comwww.google.comA .::. Dedicated to : Mamah dan Ai TercintaFONTMARQUEE DIV TD TD colspan=2 background=imagesweb_13.1.jpg width=119 height=37 alt= TD TR TR TD colspan=7 background=imagesweb_14.1.jpg width=710 height=54 alt= valign=bottom DIV style=padding-left:20px;padding-bottom:8px valign=middlePowered by : nbsp; IMG src=imagesphp- logo.gif alt=PHP 5.0.2 nbsp;IMG src=imagesapache- logo.gif alt=Apache 2.0DIV TD TR TR TD background=imagesspacer.gif width=31 height=1 alt= TD TD background=imagesspacer.gif width=25 height=1 alt= TD TD background=imagesspacer.gif width=249 height=1 alt= TD TD background=imagesspacer.gif width=97 height=1 alt= TD TD background=imagesspacer.gif width=189 height=1 alt= TD TD background=imagesspacer.gif width=66 height=1 alt= TD TD background=imagesspacer.gif width=53 height=1 alt= TD TR TABLE CENTER BODY HTML

4.3.3 Menu Kompresi Enkripsi