Listing Program Halaman Utama 1. koneksi.php 2. style.css /* CSS Document */ body{ font-family:"Courier New", Courier, monospace; font-size:14px; } #wraper{ width:800px; height:600px; margin-right:auto; margin-left:auto; } #header{ margin:0px;0px;0px;0px; } #wraper #header{ background:url(Header/baner3.jpg); width:800px; height:146px; background-repeat:repeat-x; } #wraper #kiri{ background-color:#468f05; float:left; width:199px; height:750px; padding-left:5px; padding-right:4px; background-repeat:repeat-x; margin:0px 0px 0px 0px; } #wraper #kanan{ background-color:#7bbe4a; float:left; width:582px; height:750px;
Universitas Sumatera Utara
padding-right:5px; padding-left:5px; } #wraper #sub{ width:180px; background-color:#FFFFFF; border-width:1 solid #000000; } ul{ padding-left:12px; margin-left:0; } #wraper #clearer{ clear:both; } #wraper #menu{ position:relative; left:0; margin:0; padding:0; background-image:url(Menu/bgmenu1.jpg); background-repeat:repeat-x; clear:both; width:800px; height:32px; color:#0099FF; } #wraper #menu ul{ font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; height:28px; } #wraper #menu ul li{ margin:0px; padding:0px; display:inline; list-style-type:none; } #wraper #menu ul a, #header #menu ul strong, #header menu ul em{ display:block; text-decoration:none; font-weight:bold; color:#FFFFFF; white-space:nowrap; padding:8px 22px 8px 22px;
Universitas Sumatera Utara
border-right:1px solid #FFFFFF; border-left:1px solid #FFFFFF; float:left; } #wraper #menu ul strong a span{ color:#0000FF; } #wraper #menu ul a:hover, #wraper #menu ul a:focus{ background-color:#FFFFFF; } #wraper #menu ul a:hover, #wraper #menu ul a:focus, #wraper #menu ul a:hover span, #wraper #menu ul a:focus span{ color:#6e9738; border-bottom-width:0; } #wraper #footer{ width:800px; height:75px; float:left; font:Verdana, Arial, Helvetica, sans-serif; size:11px; background-color:#6db22f; color:#FFFFFF; text-align:center; } a:hover{ font-family:Arial, Helvetica, sans-serif; color:#FFCC00; } .link{ font-family:Arial, Helvetica, sans-serif; font-size:12px; text-decoration:none; color:#000000; } .tgl{ font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#000000; background-color:#006600; } .judul{ font-family:Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold;
Universitas Sumatera Utara
color:#fffff; } .isi{ font-family:Arial, Helvetica, sans-serif; font-size:13px; color:#FFFFFF; } div.paging span.prevnext { font-weight : bold; } div.paging span.disabled { padding : 2px 5px; margin-right : 3px; border : 1px solid #606060; color : #808080; } div.paging { padding : 3px; margin : 3px; text-align : center; font-family : Tahoma; font-size : 12px; } div.paging a { padding : 2px 5px 2px 5px; margin-right : 2px; border : 1px solid #2C2C2C; text-decoration : none; color : #FFFFFF; background : #2C2C2C url('gambar/previ.gif'); } div.paging a:hover { border : 1px solid #AAD83E; color : #FFFFFF; background : #AAD83E url('gambar/next.gif'); } 3. inc.php
Universitas Sumatera Utara
elseif($_GET[module]=="order"){ include("order.php"); } elseif($_GET[module]=="produk"){ include("produk.php"); } elseif($_GET[module]=="kategori"){ include("kategori.php"); } elseif($_GET[module]=="guestbook"){ include("guestbook.php"); } elseif($_GET[module]=="tamu_proses"){ include("tamu_proses.php"); } elseif($_GET[module]=="tampil_tamu"){ include("tampil_tamu.php"); } elseif($_GET[module]=="cart"){ include("cart.php"); } elseif($_GET[module]=="simpanorder"){ include("simpantransaksi.php"); } elseif($_GET[module]=="subkategori"){ include("subkategori.php"); } elseif($_GET[module]=="info"){ include("info.php"); } elseif($_GET[module]=="hubungi"){ include("hubungi.php"); } else{ echo"maaf data belum tersedia"; } ?> 4. index.php
Universitas Sumatera Utara
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Digital Camera Store