60
LAM PIRAN
HOME
<! DOCTYPE ht m l PUBLIC " -/ / W3C/ / DTD XHTM L 1.0 Transit ional/ / EN" " ht t p:/ / w w w .w 3.org/ TR/ xht m l1/ DTD/ xht m l1-t ransit ional.dt d" >
<ht m l xm lns=" ht t p:/ / w w w.w 3.org/ 1999/ xht m l" xm l:lang=" en" > <head>
<t it le>Saint De Valo</ t it le>
<link rel=" short cut icon" HREF=" im ages/ aaa.png" / >
<m et a ht t p-equiv=" Cont ent -Type" cont ent =" t ext / ht m l; charset =iso-8859-1" / >
<m et a ht t p-equiv=" Cont ent -Type" cont ent =" t ext / ht m l; charset =ut f-8" / >
<m et a nam e=" t it le" cont ent =" Web sit e" / >
<m et a nam e=" descript ion" cont ent =" Sit e descript ion here" / > <m et a nam e=" keyw ords" cont ent =" keyw ords here" / > <m et a nam e=" language" cont ent =" en" / >
<m et a nam e=" subject " cont ent =" Sit e subject here" / > <m et a nam e=" robot s" cont ent =" All" / >
<m et a nam e=" copyright " cont ent =" Your com pany" / > <m et a nam e=" abst ract " cont ent =" Sit e descript ion here" / > <m et a nam e=" M SSm art TagsPrevent Parsing" cont ent =" t rue" / > <link id=" t hem e" rel=" st ylesheet " t ype=" t ext / css" href=" st yle.css" t it le=" t hem e" / >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ addon.js" ></ script >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ cust om .js" ></ script >
</ head> <body>
<! -- t op w rapper --> <div id=" t opWrapper" >
w idt h=" 150px" ></ p>--> shape=" rect " >About </ a>
</ li> HEIGHT=" 167" BORDER=" 0" ALT=" " / >
<a href=" " t it le=" M odern Clot hing" t arget =" _blank"
<div class=" bloc rounded" >
<fieldset ><legend><h1>Saint De Valo</ h1> </ legend>
Dengan pengalam an yang sudah m elayani ribuan pelanggan sejauh ini, InsyaAllah kami yakin unt uk m em berikan layanan t erbaik unt uk sem ua pelanggan kam i, dan m em bant u unt uk sem ua Reseller dan Super Reseller kam i unt uk t um buh dan m aju m enjadi Super Juragan Baju di daerah m asing - m asing.
dan super grosir unt uk reseller kam i sehingga mem buat belanja anda t et ap m udah dan m urah unt uk sem ua pilihan koleksi t erbaik kam i. Jika anda pert anyaan t ent ang kam i silahkan kirim kan em ail anda ke Saint _DV.com at au hubungi m elalui hot line kam i.<br>
<br>
Terim akasih dan Selam at Berbelanja M udah dan M urah...
<br><br>Head Office : Ruko.GrandFille No.9 Kebon Jeruk, Jakart a Barat <br>Cont act Office: (024) 80802830<br>
Cont act Person : 085271826381<br>
Em ail : Saint DeValo@gm ail.com </ p></ fieldset ></ p>
<p>& nbsp;</ p>
</ div> </ div>
</ div>
<div id=" sidebar" >
<div class=" bloc rounded" st yle=" m argin-t op:20px;" > <h3 align=" left " ><B>M asuk</ B></ h3>
<?php
session_st art ();
if (! em pt y($_SESSION['usernam e'])) { header('locat ion:index.php'); }
?>
<?php
/ / kode php ini kit a gunakan unt uk m enam pilkan pesan eror
if (! em pt y($_GET['error'])) { if ($_GET['error'] == 1) {
echo '<h3>Usernam e dan Passw ord belum diisi! </ h3>';
} else if ($_GET['error'] == 2) { echo '<h3>Usernam e belum diisi! </ h3>';
belum diisi! </ h3>';
<form act ion=" form login.php" m et hod=" post " >
<t able border=" 0" cellpadding=" 5" cellspacing=" 3" align=" cent er" >
<t r>
<t d colspan=" 3" >Usernam e :</ t d>
</ t r>
<t r>
<t d colspan=" 3" ><input nam e=" usernam e" t ype=" t ext " id=" usernam e" size=" 30" / ></ t d>
<t d colspan=" 3" ><input nam e=" passw ord" t ype=" passw ord" id=" passw ord" size=" 30" / ></ t d>
</ t r> <t r>
<t d ><a
href=" kat aSandi.php" / >Lupa Passw ord</ t d>
<t d align=" right " ><input nam e=" login" t ype=" subm it " id=" Login" value=" M asuk" / ></ t d>
<t d align=" right " ><a href=" Regist er.php" ><input nam e=" regist er" t ype=" but t on" id=" Login" value=" Regist er" / ></ a></ t d>
</ t r>
<h3></ h3> <p>
</ p> </ div>
<div class=" bloc rounded" st yle=" m argin-t op:20px;" > <h3>Product </ h3>
<?php
include(" koneksi.php" );
/ / m ysql_connect (" dbhost " , " dbuser" , " dbpass" );
/ / m ysql_select _db(" dbnam e" );
$query = " SELECT DISTINCT
dat e_form at (t anggal, '%M ') as bulant ahun FROM berit a ORDER BY t anggal DESC" ;
$hasil = m ysql_query($query); echo " <ul>" ;
w hile ($dat a =
m ysql_fet ch_array($hasil)) {
echo " <li><a
href='arsipberit a2.php?blnt h=" .$dat a['bulant ahun']." '>" .$dat a['bulant ahun']." </ a></ li>" ;
}
echo " </ ul>" ; ?>
<p></ p> </ div>
<div id=" sidebar" >
<div class=" bloc rounded" st yle=" m argin-t op:20px;" >
<h3 align=" cent er" ><B>M ent ion Kam i</ B></ h3>
<a class=" t w it t er-t im eline" href=" ht t ps:/ / t w it t er.com / Saint DeValo" dat aw idget -id=" 448638195287072768" >Tw eet s by @Saint DeValo</ a>
js,fjs=d.get Element sByTagNam e(s)[0],p=/ ^ ht t p:/ .t est (d.locat ion)?'ht t p' :'ht t ps';if(! d.get Element ById(id)){js=d.creat eElement (s);js.id=id;js.src=p +" :/ / plat form .t w it t er.com / w idget s.js" ;fjs.parent Node.insert Before(js,fj s);}}(docum ent ," script " ," t w it t er-w js" );</ script >
</ div>
</ div> </ div>
</ div>
<div class=" clear" ></ div> </ div>
<! -- end cont ent -->
<div class=" clear" st yle=" height :40px" ></ div> </ div>
<! -- end cont ainer --> </ div>
</ body> </ ht m l>
Produk sebelum login
<! DOCTYPE ht m l PUBLIC " -/ / W3C/ / DTD XHTM L 1.0 Transit ional/ / EN" " ht t p:/ / w w w .w 3.org/ TR/ xht m l1/ DTD/ xht m l1-t ransit ional.dt d" >
<ht m l xm lns=" ht t p:/ / w w w.w 3.org/ 1999/ xht m l" xm l:lang=" en" > <head>
<t it le>Saint De Valo</ t it le>
<link rel=" short cut icon" HREF=" im ages/ aaa.png" / >
<m et a ht t p-equiv=" Cont ent -Type" cont ent =" t ext / ht m l; charset =ut f-8" / >
<m et a nam e=" t it le" cont ent =" Web sit e" / >
<m et a nam e=" descript ion" cont ent =" Sit e descript ion here" / > <m et a nam e=" keyw ords" cont ent =" keyw ords here" / > <m et a nam e=" language" cont ent =" en" / >
<m et a nam e=" robot s" cont ent =" All" / >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ addon.js" ></ script >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ cust om .js" ></ script >
</ head> shape=" rect " >About </ a>
<ul id=" slider1Cont ent " > <li class=" slider1Im age" >
<a href=" " t it le=" M odern Clot hing" t arget =" _blank" shape=" rect " >
<IM G SRC=" im ages/ Header/ Im age1.JPG" WIDTH=" 512" HEIGHT=" 167" BORDER=" 0" ALT=" " / >
<p>
<?php
include(" koneksi.php" );
$kueri=m ysql_query(" select * from berit a ORDER BY t anggal DESC LIM IT 6" );
w hile($baris=mysql_fet ch_array($kueri)) {
echo" <div class=bloc rounded st yle=m argin-t op:20px;><TABLE border='0' cellpadding='3'>\ n" ;
echo" <TR> " ;
echo" <TD colspan='3'
w idt h='600'><h2>$baris[judul]</ h2></ TD>\ n" ; echo" </ TR>" ;
echo" <TR >" ; echo" <TD w idt h='90'>$baris[t anggal]</ TD>
<TD><B>Oleh : </ B>$baris[penulis]</ TD>\ n" ;
echo" </ TR>" ;
echo" <TR>" ;
echo" <TD colspan='2' w idt h='450px'><p align='just ify'>
<a
href='adm in$baris[gam bar]' t arget ='_blank'><IM G
SRC='admin/ $baris[gam bar]' align='left ' WIDTH='275px' / ></ a><p align=just ify>& nbsp;Kode : $baris[kode] <br>& nbsp;Bahan :
$baris[bahan]<br>& nbsp;Harga : Rp.
$baris[harga]<br><br>& nbsp;$baris[det ail]</ p></ p></ TD>" ;
?>
<input t ype=" subm it " nam e=" beli" value=" Beli" st yle=" w idt h:275px;" onclick=" alert ('Anda harus login dahulu.')" > </ p></ t d></ t r>
<?php
<h3 align=" left " ><B>M asuk</ B></ h3> <?php dan Passw ord belum diisi! </ h3>';
} }
?>
<form act ion=" form login.php" m et hod=" post " >
<t able border=" 0" cellpadding=" 5" cellspacing=" 3" align=" cent er" >
<t r>
<t d colspan=" 3" >Usernam e :</ t d>
</ t r>
<t r>
<t d colspan=" 3" ><input nam e=" usernam e" t ype=" t ext " id=" usernam e" size=" 30" / ></ t d>
<t d colspan=" 3" ><input nam e=" passw ord" t ype=" passw ord" id=" passw ord" size=" 30" / ></ t d>
</ t r> <t r>
<t d ><a
href=" kat aSandi.php" / >Lupa Passw ord</ t d>
<div class=" bloc rounded" st yle=" m argin-t op:20px;" > <h3>Polling Kesukaan</ h3>
<?php
include(" koneksi.php" );
funct ion show (){
$cm d=" select * from polling" ; $exe=m ysql_query($cm d); echo " <form act ion='' m et hod='post '>" ;
w hile ($dat a=m ysql_fet ch_array($exe)){
?>
<TABLE border=" 0" > <TR>
<TD
w idt h='70'><input t ype=" radio" nam e=" pilihan" value=" <?php echo $dat a['id']; ?>" / ><?php echo $dat a[ 'kom ponen']; ?></ TD>
<TD>=</ TD>
<TD><?php echo $dat a['rat ing']; ?><br / ></ TD>
</ TR>
</ TABLE> <?php
} ?>
<br><cent er><input t ype='subm it ' nam e='subm it ' value='Pilih' / ></ cent er>
</ form > <?php
}
if (! isset ($_POST[" subm it " ])){ show ();
}
if (isset ($_POST[" subm it " ])){
$cm d=" updat e polling set
rat ing=rat ing+1 w here id=$_POST[pilihan]" ;
if ($exe){
echo " Terim akasih t elah m engikut i poling" ;
} else{
echo " M aafkan, ada kesalahan t eknis" ;
} show ();
} ?> <p></ p>
</ div> </ div> </ div>
<div class=" clear" ></ div> </ div>
<! -- end cont ent -->
<div class=" clear" st yle=" height :40px" ></ div> </ div>
<! -- end cont ainer --> </ div>
</ body> </ ht m l>
About
<! DOCTYPE ht m l PUBLIC " -/ / W3C/ / DTD XHTM L 1.0 Transit ional/ / EN" " ht t p:/ / w w w .w 3.org/ TR/ xht m l1/ DTD/ xht m l1-t ransit ional.dt d" >
<ht m l xm lns=" ht t p:/ / w w w.w 3.org/ 1999/ xht m l" xm l:lang=" en" > <head>
<t it le>Saint De Valo</ t it le>
<link rel=" short cut icon" HREF=" im ages/ aaa.png" / >
<m et a ht t p-equiv=" Cont ent -Type" cont ent =" t ext / ht m l; charset =ut f-8" / >
<m et a nam e=" t it le" cont ent =" Web sit e" / >
<m et a nam e=" language" cont ent =" en" / >
<m et a nam e=" subject " cont ent =" Sit e subject here" / > <m et a nam e=" robot s" cont ent =" All" / >
<m et a nam e=" copyright " cont ent =" Your com pany" / > <m et a nam e=" abst ract " cont ent =" Sit e descript ion here" / > <m et a nam e=" M SSm art TagsPrevent Parsing" cont ent =" t rue" / > <link id=" t hem e" rel=" st ylesheet " t ype=" t ext / css" href=" st yle.css" t it le=" t hem e" / >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ addon.js" ></ script >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ cust om .js" ></ script >
<! -- M AP JS --> <script
src=" ht t p:/ / m aps.google.com / m aps?file=api& am p;v=2& am p;sensor=t r ue" t ype=" t ext / javascript " ></ script >
<script t ype=" t ext / javascript " >
/ / <! [CDATA[
var iconRed = new GIcon();
iconRed.im age = 'ht t p:/ / w w w .24psd.com / w p-cont ent / uploads/ 2013/ 01/ hom e-point er-icon.png';
iconRed.shadow =
'ht t p:/ / labs.google.com / ridefinder/ images/ m m_20_shadow .png';
iconRed.iconSize = new GSize(40, 45);
iconRed.shadow Size = new GSize(22, 20);
iconRed.infoWindow Anchor = new GPoint (5,
cust om Icons[" Toko_Nusant ara" ] = iconRed;
if (GBrow serIsCom pat ible()) {
var m ap = new
GM ap2(docum ent .get Elem ent ById(" m ap" ));
m ap.addCont rol(new GSm allM apCont rol());
m ap.addCont rol(new GM apTypeCont rol());
xm l.docum ent Elem ent .get Elem ent sByTagNam e(" m arker" );
var nam a = m arkers[i].get At t ribut e(" nam a" );
var alam at =
m arkers[i].getAt t ribut e(" alam at " );
var t ipe = m arkers[i].get At t ribut e(" jenis" );
var point = new
GLat Lng(parseFloat (m arkers[i].getAt t ribut e(" lat " )),
parseFloat (m arkers[i].get At t ribut e(" lng" )));
GEvent .addList ener(m arker, 'click', funct ion() {
m arker.openInfoWindow Htm l(ht ml);
ret urn m arker;
<body onLoad=" load()" onUnload=" GUnload()" > <! -- t op w rapper --> shape=" rect " >About </ a>
<IM G SRC=" im ages/ Header/ Im age1.JPG" WIDTH=" 512" HEIGHT=" 167" BORDER=" 0" ALT=" " / >
<hr><br> <?php
include(" koneksi.php" );
$kueri=m ysql_query(" SELECT * FROM m em ber WHERE st at us ='adm in'" );
w hile($baris=mysql_fet ch_array($kueri)) {
echo " <TABLE border='0'
cellpadding='50'>
<TR>
<TD row span='1'
WIDTH='20' align='cent er'>
</ TD> <TD><TABLE border='0' WIDTH='500'>
</ TR>
<TR> <TD WIDTH='140'>Nam a</ TD>
<TD WIDTH='20' HEIGHT='50' align='cent er'>:</ TD>
<TD><B>$baris[usernam e]</ B></ TD>
</ TR> <TR>
<TD>Alam at </ TD>
<TD HEIGHT='50' align='cent er'>:</ TD>
<TD><B>$baris[alam at _lengkap]</ B></ TD> </ TR> <TR>
<TD>Em ail</ TD>
<TD><B>$baris[em ail]</ B></ TD>
</ TR>
</ TABLE></ TD>
</ TR> <TR>
<TD colspan='2'
align='Left '><a href='javascript :hist ory.back();' st yle='font -size:16pt '>Kem bali...</ a></ TD>
</ TR>
</ TABLE>
<TABLE HEIGHT='70'> <TR>
<TD></ TD> </ TR>
</ TABLE>" ; }
?>
</ div>
<div id=" sidebar" >
<div class=" bloc rounded" st yle=" m argin-t op:20px;" > <h3></ h3>
<p><?php
include(" koneksi.php" );
$kueri=m ysql_query(" SELECT * FROM m em ber WHERE st at us ='adm in'" );
w hile($baris=mysql_fet ch_array($kueri)) {
echo "
<a href='$baris[phot o]' t arget ='_blank'>
<im g src='$baris[phot o]' WIDTH='170' >
} ?></ p> </ div>
<div id=" sidebar" >
<div class=" bloc rounded" st yle=" m argin-t op:20px;" >
<h3 align=" cent er" ><B>M ent ion Kam i</ B></ h3>
<a class=" t w it t er-t im eline" href=" ht t ps:/ / t w it t er.com / Saint DeValo" dat aw idget -id=" 448638195287072768" >Tw eet s by @Saint DeValo</ a>
<script >! funct ion(d,s,id){var
js,fjs=d.get Element sByTagNam e(s)[0],p=/ ^ ht t p:/ .t est (d.locat ion)?'ht t p' :'ht t ps';if(! d.get Element ById(id)){js=d.creat eElement (s);js.id=id;js.src=p +" :/ / plat form .t w it t er.com / w idget s.js" ;fjs.parent Node.insert Before(js,fj s);}}(docum ent ," script " ," t w it t er-w js" );</ script >
</ div>
</ div> </ div>
</ div>
<div class=" clear" ></ div> </ div>
<! -- end cont ent -->
<div class=" clear" st yle=" height :40px" ></ div> </ div>
<! -- end cont ainer --> </ div>
Register
<link rel=" short cut icon" HREF=" im ages/ aaa.png" / >
<m et a ht t p-equiv=" Cont ent -Type" cont ent =" t ext / ht m l;
<script t ype=" t ext / javascript " language=" javascript " src=" js/ addon.js" ></ script >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ cust om .js" ></ script >
</ li> shape=" rect " >About </ a>
</ li> HEIGHT=" 167" BORDER=" 0" ALT=" " / >
<st rong>Saint De Valo</ st rong> <br clear=" none" / > The Best Clot hing </ span>
</ a> </ li>
<li class=" slider1Im age" st yle=" clear:bot h" ></ li> </ ul>
<div id=" sliderLeft M ask" ></ div> <div id=" sliderRight M ask" ></ div> </ div>
</ div> </ div> </ div>
<! -- end t op w rapper --> <div id=" w rapper" > <div id=" cont ainer" > <! -- cont ent --> <div id=" cont ent " >
<div st yle=" m argin-t op:20px;" > <div id=" m ain" >
<p>
<! ---cek kode capt cha--->
<?php
session_st art ();
if(isset ($_POST['Regist er']))
{
if(st rcm p($_SESSION['code'], $_POST['code']) ! = 0) { echo " <div class=heading><img src=im ages/ gagal.png w idt h=50 height =50><h2>M aaf, kode capt cha salah.</ h2></ div><br>" ;
value=Kem bali></ a>Kem bali ke form regist rasi.</ h3>" ;
}else{ ?>
<?php
/ / ---Regist er---/ /
include(" koneksi.php" );
/ / koneks ke server/ host M ySql
$link = m ysql_connect ($dbserver, $dbuser, $dbpass)
or die (" Could not connect t o m ysql because " .m ysql_error());
/ / pilih dat abase
m ysql_select _db($dbnam e)
or die (" could not select dat abase because " .m ysql_error());
/ / cek kesam aan usernam e
$check = " select m em ber_id from m em ber w here usernam e = '" .$_POST['usernam e']." ';" ;
$qry = m ysql_query($check) or die (" Could not m at ch dat a because " .m ysql_error());
$num _row s = m ysql_num_row s($qry);
if ($num _row s ! =0) {
'" .$_POST['usernam e']." ' sudah ada.</ h2><br>" ;
echo " <h3><a
href=javascript :self.hist ory.back();><input t ype=but t on
value=Kem bali></ a>Kem bali ke form regist rasi.</ h3>" ; }
if(em pt y($num _row s)){
/ / cek kesam aan em ail
$check2 = " select m em ber_id from m em ber w here em ail = '" .$_POST['em ail']." ';" ;
$qry2 = mysql_query($check2) or die (" Could not m at ch dat a because " .m ysql_error());
$num _row s2 =
m ysql_num _row s($qry2);
if ($num _row s2 ! =0) {
echo " <h2>M aaf , Em ail '" .$_POST['em ail']." ' sudah ada.</ h2><br>" ;
echo " <h3><a
href=javascript :self.hist ory.back();><input t ype=but t on
value=Kem bali></ a>Kem bali ke form regist rasi.</ h3>" ;
}
if(em pt y($num _row s2)){
/ / m asukkan dat a
$insert = m ysql_query(" INSERT INTO m em ber values
OST['alam at _lengkap']." ','" .$_POST['jenis_kelam in']." ')" )
or die(" <h5>404 Error</ h5>" );
/ / t am pilkan pesan sukses
echo " <h2>Selam at ! Akun Anda Telah Selesai
Dibuat .</ h2><br>" ;
echo " <h5>Berikut dat a yang t elah anda buat :<br>" ;
echo " <hr color=orange><br>" ;
echo " Usernam e : <i> " .$_POST['usernam e']." </ i></ i><br>" ;
echo " Passw ord : <i>" .$_POST['passw ord']." </ i><br>" ;
echo " Em ail : <i>" .$_POST['em ail']." </ i><br>" ;
echo " Nam a Lengkap :
<i>" .$_POST['nam a_lengkap']." </ i><br>" ;
echo " Alam at Lengkap :
<i>" .$_POST['alam at _lengkap']." </ i><br>" ;
echo " Jenis Kelam in :
<i>" .$_POST['jenis_kelamin']." </ i></ h5></ i><br>" ;
echo " <hr color=orange><br>" ;
echo " <h6><i>* Harap diingat dat a anda unt uk login.</ i></ h6><br>" ;
/ / ---/ ---/
}
}} ?>
<div class=" bloc rounded" st yle=" m argin-t op:20px;" &gargin-t;
<t r><b><h3>M asukkan Ident it as Anda :</ h3></ b><br></ t r>
<t r></ t r>
<form act ion=" Regist er.php" m et hod=" post " >
<t able border=" 0" cellpadding=" 5" cellspacing=" 3" align=" cent er" >
<t r>
<t d colspan=" 3" >Usernam e :</ t d>
</ t r>
<t r>
<t d colspan=" 3" ><input nam e=" usernam e" t ype=" t ext " id=" usernam e" size=" 30" / ></ t d>
<t d colspan=" 3" ><input nam e=" passw ord" t ype=" passw ord" id=" passw ord" size=" 30" / ></ t d>
</ t r>
<t d colspan=" 3" ><input nam e=" em ail" t ype=" Em ail" id=" Em ail" size=" 50" / ></ t d>
</ t r> <t r>
<t d colspan=" 3" >Alam at Lengkap :</ t d>
</ t r> <t r>
<t d colspan=" 3" ><input nam e=" alam at _lengkap" t ype=" Text " id=" Alam at " size=" 70" / ></ t d>
</ t r> <t r>
<t d colspan=" 3" >Jenis Kelamin :</ t d>
</ t r> <t r>
<t d colspan=" 3" ><select dat a-placeholder=" Jenis Kelamin" nam e=" jenis_kelam in" class=" select " st yle=" w idt h:283px" required>
<opt ion value=" laki-laki" / >Laki - laki
<opt ion value=" perem puan" / >Perem puan
</ select ></ t d>
</ t r> <t r>
<t d colspan=" 3" > <im g
src=" generat ecapt cha.php?rand=<?php echo rand(); ?>" id='capt chaim g' > </ label><br>
<a href='javascript : refreshCapt cha();'><i class=" icon-refresh" ></ i></ a>
<script language='JavaScript ' t ype='t ext / javascript '>
{
var im g = docum ent .im ages['capt chaim g'];
im g.src =
im g.src.subst ring(0,im g.src.last IndexOf(" ?" ))+" ?rand=" +M at h.random () * 1000;
}
</ script >& nbsp;
<input t ype=" t ext " id=" code" nam e=" code" placeholder=" * M asukkan kode capt cha" st yle=" w idt h:218px" required></ t d>
</ t r>
<t r>
<t d><a
href=" login.php" ><input nam e=" Regist er" t ype=" subm it " id=" Regist er" value=" Regist er" / ></ t d>
</ t r>
</ t able></ form > </ div>
</ p> </ div>
<div id=" sidebar" >
<div class=" bloc rounded" st yle=" m argin-t op:20px;" > <h3 align=" left " ><B>M asuk</ B></ h3>
<form act ion=" form login.php" m et hod=" post " >
<t able border=" 0" cellpadding=" 5" cellspacing=" 3" align=" cent er" >
<t r>
:</ t d>
</ t r>
<t r>
<t d colspan=" 3" ><input nam e=" usernam e" t ype=" t ext " id=" usernam e" size=" 30" / ></ t d>
<t d colspan=" 3" ><input nam e=" passw ord" t ype=" passw ord" id=" passw ord" size=" 30" / ></ t d>
</ t r> <t r>
<t d ><a
href=" kat aSandi.php" / >Lupa Passw ord</ t d>
echo " <ul>" ;
w hile ($dat a =
m ysql_fet ch_array($hasil)) {
echo " <li><a
href='arsipberit a2.php?blnt h=" .$dat a['bulant ahun']." '>" .$dat a['bulant ahun']." </ a></ li>" ;
<link rel=" short cut icon" HREF=" im ages/ aaa.png" / >
<m et a nam e=" language" cont ent =" en" / >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ addon.js" ></ script >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ cust om .js" ></ script >
</ head> shape=" rect " >About </ a>
<div id=" t opSlideshow Wrapper" > HEIGHT=" 167" BORDER=" 0" ALT=" " / >
<! -- cont ent --> <div id=" cont ent " >
<div st yle=" m argin-t op:20px;" > <div id=" m ain" >
<div class=" bloc rounded" >
<fieldset ><legend><h1>Saint De Valo</ h1> </ legend>
<p align=just ify>& nbsp; Selam at Dat ang Di Websit e Saint De Valo, Saint De Valo m erupakan t oko online at aupun offline yang m enjual produk kem eja pria, dengan syst em penjualan super grosir, grosir sert a eceran.
Dengan pengalam an yang sudah m elayani ribuan pelanggan sejauh ini, InsyaAllah kami yakin unt uk m em berikan layanan t erbaik unt uk sem ua pelanggan kam i, dan m em bant u unt uk sem ua Reseller dan Super Reseller kam i unt uk t um buh dan m aju m enjadi Super Juragan Baju di daerah m asing - m asing.
Saat ini kam i m enjual dengan harga rit el ke pelanggan langsung, grosir dan super grosir unt uk reseller kam i sehingga mem buat belanja anda t et ap m udah dan m urah unt uk sem ua pilihan koleksi t erbaik kam i. Jika anda pert anyaan t ent ang kam i silahkan kirim kan em ail anda ke Saint _DV.com at au hubungi m elalui hot line kam i.<br><br>
Terim akasih dan Selam at Berbelanja M udah dan M urah...
<br><br>Head Office : Ruko.GrandFille No.9 Kebon Jeruk, Jakart a Barat <br>Cont act Office: (024) 80802830<br>
Cont act Person : 085271826381<br>
Em ail : Saint DeValo@gm ail.com </ p></ fieldset ></ p>
<p> </ div> </ div> </ div>
<div id=" sidebar" >
<div class=" bloc rounded" st yle=" m argin-t op:20px;" > <h3 align=" cent er" ><B>Profil</ B></ h3>
<?php
?> <?php
include(" koneksi.php" );
$user =
$_SESSION['loggedin'];
$query = m ysql_query(" SELECT * FROM m em ber WHERE usernam e = '$user'" ) or die (m ysql_error());
$display = m ysql_fet ch_array($query);
echo " Anda login sebagai <b> $display[nam a_lengkap]</ b>" ;
?>
<h3 align=" cent er" ><a href=" logout .php" ><input nam e=" logout " t ype=" but t on" id=" Login" value=" Logout " / ></ a></ h3>
<h3></ h3> <p>
</ p> </ div>
<div class=" bloc rounded" st yle=" m argin-t op:20px;" > <h3>Arsip Berit a</ h3>
<?php
include(" koneksi.php" );
/ / m ysql_connect (" dbhost " , " dbuser" , " dbpass" );
/ / m ysql_select _db(" dbnam e" );
$query = " SELECT DISTINCT
dat e_form at (t anggal, '%M ') as bulant ahun FROM berit a ORDER BY t anggal DESC" ;
$hasil = m ysql_query($query); echo " <ul>" ;
w hile ($dat a =
echo " <li><a href='arsipberit a1.php?blnt h=" .$dat a['bulant ahun']." '>" .$dat a['bulant ahun']." </ a></ li>" ;
<h3>Jam Digit al</ h3><br>
<t able w idt h=" 198" align='cent er'> <t r>
<t d bgcolor=" #FF0000" class=" st yle5" ><div align=" cent er" >JAM DIGITAL </ div></ t d>
</ t r> t anggal.get Hours()+" :" +t anggal.get M inut es()+" :" +t anggal.get Seconds() ;
<t able align=cent er st yle=" border:1px solid black" bgcolor=" #CCCCCC" ><t r><t d w idt h=" 124" >
<div class=" st yle6" id=" out put " > </ div></ t d></ t r>
</ t r> </ t able> </ div>
</ div>
<div id=" sidebar" >
<div class=" bloc rounded" st yle=" m argin-t op:20px;" >
<h3 align=" cent er" ><B>M ent ion Kam i</ B></ h3>
<a class=" t w it t er-t im eline" href=" ht t ps:/ / t w it t er.com / Saint DeValo" dat aw idget -id=" 448638195287072768" >Tw eet s by @Saint DeValo</ a>
<script >! funct ion(d,s,id){var
js,fjs=d.get Element sByTagNam e(s)[0],p=/ ^ ht t p:/ .t est (d.locat ion)?'ht t p' :'ht t ps';if(! d.get Element ById(id)){js=d.creat eElement (s);js.id=id;js.src=p +" :/ / plat form .t w it t er.com / w idget s.js" ;fjs.parent Node.insert Before(js,fj s);}}(docum ent ," script " ," t w it t er-w js" );</ script >
</ div>
</ div> </ div>
<div class=" clear" ></ div> </ div>
<! -- end cont ent -->
<div class=" clear" st yle=" height :40px" ></ div> </ div>
<! -- end cont ainer --> </ div>
</ body> </ ht m l>
Produk Setelah Login
<! DOCTYPE ht m l PUBLIC " -/ / W3C/ / DTD XHTM L 1.0 Transit ional/ / EN" " ht t p:/ / w w w .w 3.org/ TR/ xht m l1/ DTD/ xht m l1-t ransit ional.dt d" >
<head>
<t it le>Saint De Valo</ t it le>
<link rel=" short cut icon" HREF=" im ages/ aaa.png" / >
<m et a ht t p-equiv=" Cont ent -Type" cont ent =" t ext / ht m l; charset =ut
f-<script t ype=" t ext / javascript " language=" javascript " src=" js/ addon.js" ></ script >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ cust om .js" ></ script >
<a href=" t ent angsaya2.php" shape=" rect " >About </ a>
</ li> HEIGHT=" 167" BORDER=" 0" ALT=" " / >
<div id=" sliderRight M ask" ></ div> </ div>
</ div> </ div> </ div>
<! -- end t op w rapper --> <div id=" w rapper" > <div id=" cont ainer" > <! -- cont ent --> <div id=" cont ent " >
<div st yle=" m argin-t op:20px;" > <div id=" m ain" >
<h1>Product </ h1> <p>
<?php
include(" koneksi.php" );
$kueri=m ysql_query(" select * from berit a ORDER BY t anggal DESC LIM IT 5 " );
w hile($baris=mysql_fet ch_array($kueri)) {
echo" <div class=bloc rounded st yle=m argin-t op:20px;><TABLE border='0' cellpadding='3'>\ n" ;
echo" <TR> " ;
echo" <TD colspan='3'
w idt h='600'><h2>$baris[judul]</ h2></ TD>\ n" ; echo" </ TR>" ;
echo" <TR >" ; echo" <TD w idt h='90'>$baris[t anggal]</ TD>
<TD><B>Oleh : </ B>$baris[penulis]</ TD>\ n" ;
echo" <TR>" ;
echo" <TD colspan='2' w idt h='450px'><fieldset ><p align='just ify'>
<a
href='adm in/ $baris[gam bar]' t arget ='_blank'><IM G
SRC='admin/ $baris[gam bar]' align='left ' WIDTH='275px'
/ ></ a></ fieldset ><fieldset ><p align=just ify>& nbsp;Kode : $baris[kode] <br>& nbsp;Bahan : $baris[bahan]<br>& nbsp;Harga : Rp. $baris[harga]<br><br>& nbsp;$baris[det ail]</ fieldset ></ p></ p></ TD>" ;
echo" <t r><t d
colspan='3' w idt h='500' align='right '><a
href=berit adet ail2.php?id=$baris[id]><but t on>Selengkapnya...</ but t o n></ t d></ t r>" ;
echo" </ TR>" ;
echo" </ TABLE></ div>" ; }
?>
</ p>
</ div> <br><br><br><br> <div id=" sidebar" >
<div class=" bloc rounded" st yle=" m argin-t op:20px;" >
<h3 align=" cent er" ><B>Profil</ B></ h3> <?php
include('cek-login.php'); ?>
<?php
include(" koneksi.php" );
$user =
$_SESSION['loggedin'];
$display = m ysql_fet ch_array($query);
echo " Anda login sebagai <b> $display[nam a_lengkap]</ b>" ;
?>
<h3 align=" cent er" ><a href=" logout .php" ><input nam e=" logout " t ype=" but t on" id=" Login" value=" Logout " / ></ a></ h3>
<h3></ h3> <p>
</ p> </ div>
<div class=" bloc rounded" st yle=" m argin-t op:20px;" > <h3>Polling Kesukaan</ h3>
<?php
include(" koneksi.php" );
funct ion show (){
$cm d=" select * from polling" ; $exe=m ysql_query($cm d); echo " <form act ion='' m et hod='post '>" ;
w hile ($dat a=m ysql_fet ch_array($exe)){
?>
<TABLE border=" 0" > <TR>
<TD
w idt h='70'><input t ype=" radio" nam e=" pilihan" value=" <?php echo $dat a['id']; ?>" / ><?php echo $dat a[ 'kom ponen']; ?></ TD>
<TD>=</ TD>
<TD><?php echo $dat a['rat ing']; ?><br / ></ TD>
</ TR>
<?php } ?>
<br><cent er><input t ype='subm it ' nam e='subm it ' value='Pilih' / ></ cent er>
</ form > <?php
}
if (! isset ($_POST[" subm it " ])){ show ();
}
if (isset ($_POST[" subm it " ])){
$cm d=" updat e polling set
rat ing=rat ing+1 w here id=$_POST[pilihan]" ;
$exe=m ysql_query($cm d); if ($exe){
echo " Terim akasih t elah m engikut i poling" ;
} else{
echo " M aafkan, ada kesalahan t eknis" ;
} show ();
}
?> <p></ p>
</ div> </ div> </ div>
<div class=" clear" ></ div> </ div>
<! -- end cont ent -->
<div class=" clear" st yle=" height :40px" ></ div> </ div>
</ body> </ ht m l>
Detail Produk
<! DOCTYPE ht m l PUBLIC " -/ / W3C/ / DTD XHTM L 1.0 Transit ional/ / EN" " ht t p:/ / w w w .w 3.org/ TR/ xht m l1/ DTD/ xht m l1-t ransit ional.dt d" >
<ht m l xm lns=" ht t p:/ / w w w.w 3.org/ 1999/ xht m l" xm l:lang=" en" > <head>
<t it le>Saint De Valo</ t it le>
<link rel=" short cut icon" HREF=" im ages/ aaa.png" / >
<m et a ht t p-equiv=" Cont ent -Type" cont ent =" t ext / ht m l; charset =ut f-8" / >
<m et a nam e=" t it le" cont ent =" Web sit e" / >
<m et a nam e=" descript ion" cont ent =" Sit e descript ion here" / > <m et a nam e=" keyw ords" cont ent =" keyw ords here" / > <m et a nam e=" language" cont ent =" en" / >
<m et a nam e=" subject " cont ent =" Sit e subject here" / > <m et a nam e=" robot s" cont ent =" All" / >
<m et a nam e=" copyright " cont ent =" Your com pany" / > <m et a nam e=" abst ract " cont ent =" Sit e descript ion here" / > <m et a nam e=" M SSm art TagsPrevent Parsing" cont ent =" t rue" / > <link id=" t hem e" rel=" st ylesheet " t ype=" t ext / css" href=" st yle.css" t it le=" t hem e" / >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ addon.js" ></ script >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ cust om .js" ></ script >
</ head> <body>
<! -- t op w rapper --> <div id=" t opWrapper" >
<div id=" t opBannerWrapper" > <div id=" t opBanner" >
<ul> shape=" rect " >About </ a>
</ li> HEIGHT=" 167" BORDER=" 0" ALT=" " / >
<IM G SRC=" im ages/ Header/ Im age2.JPG" WIDTH=" 512" HEIGHT=" 167" BORDER=" 0" ALT=" " / >
<span class=" bot t om " st yle=" display: inline;" > <st rong>Saint De Valo</ st rong>
<br clear=" none" / > The Best Clot hing </ span>
</ a> </ li>
<li class=" slider1Im age" st yle=" clear:bot h" ></ li> </ ul>
<div id=" sliderLeft M ask" ></ div> <div id=" sliderRight M ask" ></ div> </ div>
</ div> </ div> </ div>
<! -- end t op w rapper --> <div id=" w rapper" > <div id=" cont ainer" > <! -- cont ent --> <div id=" cont ent " >
<div st yle=" m argin-t op:20px;" > <div id=" m ain" >
<h1>Berit a</ h1>
<p> <form act ion=" order.php" m et hod=" GET" >
<?php
include('cek-login.php');
?> <?php
include(" koneksi.php" );
$user= $_SESSION['loggedin'];
$result = m ysql_fet ch_array($query);
?>
<?php
include(" koneksi.php" );
if (isset ($_GET['id'])) { $id = int val($_GET['id']); } else {
$id = 0; }
include(" koneksi.php" ); $id = $_GET['id'];
$query=m ysql_query(" select * from berit a w here id='$id' ORDER BY t anggal DESC LIM IT 5 " );
w hile($baris=mysql_fet ch_array($query)) {
echo" <TABLE border='0'>" ; echo" <TR> " ;
echo" <TD w idt h='600'
colspan='2'><h2>$baris[judul]</ h2></ TD>\ n" ; echo" </ TR>" ;
echo" <TR >" ; echo" <TD w idt h='90'>$baris[t anggal]</ TD>" ;
echo" <TD w idt h='450'><B>Oleh :</ B> $baris[penulis]</ TD>" ;
echo" </ TR>" ;
echo" <TR>" ;
echo" <TD colspan='2'
<a
href='adm in/ $baris[gam bar]' t arget ='_blank'><IM G
SRC='admin/ $baris[gam bar]' align='left ' WIDTH='275px'
/ ></ a><fieldset ><p align=just ify>& nbsp;Kode : $baris[kode] <br>& nbsp;Bahan : $baris[bahan]<br>& nbsp;Harga : Rp. $baris[harga]<br><br>& nbsp;$baris[det ail]</ fieldset ></ p></ p></ TD>" ;
echo" </ TR>" ;
echo" <TR><TD colspan='2' w idt h='450' align='left '>
<p align=cent er><p>Ukuran : <select dat
a-placeholder=Ukuran nam e=ukuran class=select st yle=w idt h:70px
required>
<opt ion value=M / >M
<opt ion value=S / >S
<opt ion value=L / >L
<opt ion value=XL / >XL
<opt ion value=XXL / >XXL
</ select ></ p>
<p>Jum lah : <input nam e='jum lah' t ype='t ext ' value='1'></ p>
<input nam e=judul t ype=hidden value= '$baris[judul]'>
<input nam e=gam bar t ype=hidden value= 'admin/ $baris[gambar]'>
<input nam e=kode t ype=hidden value='$baris[kode]'>
<input nam e=bahan t ype=hidden value= '$baris[bahan]'>
<input nam e='st at us' t ype='hidden' value='Dalam proses'/ >
<p align=cent er><input t ype='submit ' nam e='beli' value='Beli' st yle=widt h:275px; ></ p></ TD></ TR>\ n " ;
echo" <TR><TD colspan='2' w idt h='450' align='right '>
<a
href='berit a.php'>Kem bali..</ a></ TD></ TR>\ n" ;
} ?>
<input
nam e=" usernam e" t ype=" hidden" value=" <?php echo $result ['usernam e']?>" / >
<input
nam e=" nam a_lengkap" t ype=" hidden" value=" <?php echo $result ['nam a_lengkap']?>" / >
<?php
echo" </ TABLE></ form >" ;
/ / $query = " SELECT * FROM berit a WHERE id={$id}" ;
/ / $cont ent =
m ysql_fet ch_array(m ysql_query($query));
/ / echo " <div>{$cont ent ['judul']}<br / ><br / >" ; / / echo " {$cont ent ['isiberit a']}</ div><br / ><br / >" ;
/ / kom ent ar
?>
</ div>
<div id=" sidebar" >
<div class=" bloc rounded" st yle=" m argin-t op:20px;" &gargin-t;
<h3 align=" cent er" ><B>Profil</ B></ h3> <?php
include(" koneksi.php" );
$user =
$_SESSION['loggedin'];
$query = m ysql_query(" SELECT * FROM m em ber WHERE usernam e = '$user'" ) or die (m ysql_error());
$display = m ysql_fet ch_array($query);
echo " Anda login sebagai <b> $display[nam a_lengkap]</ b>" ;
?>
<h3 align=" cent er" ><a href=" logout .php" ><input nam e=" logout " t ype=" but t on" id=" Login" value=" Logout " / ></ a></ h3>
<h3></ h3> <p>
</ p> </ div>
<div class=" bloc rounded" st yle=" m argin-t op:20px;" > <h3 align=" left " ><B>Updat e St ok</ B></ h3>
<?php
include(" koneksi.php" );
$kueri=m ysql_query(" select * from berit a ORDER BY t anggal DESC LIM IT 2 " );
w hile($baris=mysql_fet ch_array($kueri)) {
$brief=subst r($baris['det ail'], 0,
100)." ..." ;
cellpadding='3'>\ n" ;
echo" <TR> " ;
echo" <TD colspan='3'
w idt h='600'><h2>$baris[judul]</ h2></ TD>\ n" ; echo" </ TR>" ;
echo" <TR>" ;
echo" <TD colspan='2' w idt h='450'><p align='just ify'>
<a
href='adm in/ $baris[gam bar]' t arget ='_blank'><IM G
SRC='admin/ $baris[gam bar]' align='cent er' WIDTH='200px'
/ ></ a><fieldset >$brief</ fieldset ></ p></ TD>" ;
echo" <t r><t d
colspan='3' w idt h='500' align='right '><a
href=berit adet ail2.php?id=$baris[id]>Selengkapnya...</ t d></ t r>" ; echo" </ TR>" ;
echo" </ TABLE>" ; }
?>
<! -- <h3></ h3> <p>
</ p> --> </ div>
<div class=" bloc rounded" st yle=" m argin-t op:20px;" > <h3>Polling Kesukaan</ h3>
<?php
include(" koneksi.php" );
funct ion show (){
echo " <im g src='a.jpg' w idt h=100px><br>" ;
w hile ($dat a=m ysql_fet ch_array($exe)){
?>
<TABLE border=" 0" > <TR>
<TD
w idt h='70'><input t ype=" radio" nam e=" pilihan" value=" <?php echo $dat a['id']; ?>" / ><?php echo $dat a[ 'kom ponen']; ?></ TD>
<TD>=</ TD>
<TD><?php echo $dat a['rat ing']; ?><br / ></ TD>
</ TR>
</ TABLE>
<?php } ?>
<br><cent er><input t ype='subm it ' nam e='subm it ' value='Pilih' / ></ cent er>
</ form > <?php
}
if (! isset ($_POST[" subm it " ])){ show ();
}
if (isset ($_POST[" subm it " ])){
$cm d=" updat e polling set
rat ing=rat ing+1 w here id=$_POST[pilihan]" ;
$exe=m ysql_query($cm d); if ($exe){
echo " Terim akasih t elah m engikut i poling" ;
} else{
t eknis" ;
} show ();
}
?> <p></ p>
</ div> </ div> </ div>
<div class=" clear" ></ div> </ div>
<! -- end cont ent -->
<div class=" clear" st yle=" height :40px" ></ div> </ div>
<! -- end cont ainer --> </ div>
</ body> </ ht m l>
Setelah klik beli masuk menu buy
<! DOCTYPE ht m l PUBLIC " -/ / W3C/ / DTD XHTM L 1.0 Transit ional/ / EN" " ht t p:/ / w w w .w 3.org/ TR/ xht m l1/ DTD/ xht m l1-t ransit ional.dt d" >
<ht m l xm lns=" ht t p:/ / w w w.w 3.org/ 1999/ xht m l" xm l:lang=" en" > <head>
<t it le>Saint De Valo</ t it le>
<link rel=" short cut icon" HREF=" im ages/ aaa.png" / >
<m et a ht t p-equiv=" Cont ent -Type" cont ent =" t ext / ht m l; charset =ut f-8" / >
<m et a nam e=" t it le" cont ent =" Web sit e" / >
<m et a nam e=" descript ion" cont ent =" Sit e descript ion here" / > <m et a nam e=" keyw ords" cont ent =" keyw ords here" / > <m et a nam e=" language" cont ent =" en" / >
<m et a nam e=" copyright " cont ent =" Your com pany" / > <m et a nam e=" abst ract " cont ent =" Sit e descript ion here" / > <m et a nam e=" M SSm art TagsPrevent Parsing" cont ent =" t rue" / > <link id=" t hem e" rel=" st ylesheet " t ype=" t ext / css" href=" st yle.css" t it le=" t hem e" / >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ addon.js" ></ script >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ cust om .js" ></ script >
</ head> shape=" rect " >About </ a>
920x300) --> HEIGHT=" 167" BORDER=" 0" ALT=" " / >
<div id=" m ain" >
<?php
include('cek-login.php'); ?>
<?php
include(" koneksi.php" );
$user= $_SESSION['loggedin'];
$query = m ysql_query(" SELECT * FROM m em ber WHERE usernam e = '$user'" ) or die (m ysql_error());
$re = m ysql_fet ch_array($query);
?>
<h2>Berikut daft ar order anda, <?php echo $re['nam a_lengkap']?>.</ h2>
<p>
<! --->
<?php
$usernam e = $_SESSION['loggedin'];
$query = " SELECT * ,UNIX_TIM ESTAM P() - t gl_order AS Tim eSpent FROM orderlist WHERE usernam e ='$usernam e' ORDER BY id DESC" ;
$result = m ysql_query($query);
w hile($row = m ysql_fet ch_assoc($result ))
{
echo '<h3>';
$user = $row ['usernam e'];
m ysql_query(" SELECT * FROM m em ber WHERE usernam e = '$user'" ) or die (m ysql_error());
$dis = m ysql_fet ch_array($q);
$usernam e = $_SESSION['loggedin'];
/ / ---/ /
$cont ent = $row ['gam bar'];
echo '<p align=" left " ><im g src='. $cont ent .' w idt h=275px / ><br><hr><h3>DETAIL</ h3><br><br>';
$cont ent 1= $row ['nam a_barang'];
echo '<font
st yle=" color:#E65C47;" >Nam a Barang : </ font ><b>' . $cont ent 1. '</ b><br>';
$cont ent 2= $r ow ['ukuran'];
echo '<font
st yle=" color:#E65C47;" >Ukuran : </ font ><b>' . $cont ent 2. '</ b><br>';
$bahan= $r ow ['bahan'];
echo '<font
st yle=" color:#E65C47;" >Bahan : </ font ><b>' . $bahan. '</ b><br>';
echo '<font st yle=" color:#E65C47;" >Jum lah Order : </ font ><b>' . $cont ent 3. '</ b><br>';
$cont ent 4= $r ow ['harga'];
echo '<font
st yle=" color:#E65C47;" >Harga : </ font ><b>Rp. ' . $cont ent 4. '/ pcs</ b><br>';
echo '<font st yle=" color:#E65C47;" >Tanggal order : </ font ><b>';
echo dat e('d F Y ',
st rt ot im e($row ['t gl_order']));
echo '</ b><br>';
/ / ---/ /
$t ot alhrg= $row ['t ot al'];
echo '<font
st yle=" color:#E65C47;" >Tot al Harga : </ font ><b>Rp. ' . $t ot alhrg. '.00,-</ b><br>';
$cont ent 6= $r ow ['st at us'];
st yle=" color:#E65C47;" >St at us : </ font ><b>' . $cont ent 6. ' </ b><br>';
echo '</ p><br>';
}
?>
<h2><br><br>Tot al Biaya</ h2> <p>
<?php
$usernam e = $_SESSION['loggedin'];
$query = " SELECT * ,SUM (t ot al) FROM or derlist WHERE usernam e ='$usernam e' " ;
$result = m ysql_query($query);
w hile($row = m ysql_fet ch_assoc($result ))
{
$user = $row ['usernam e'];
$q =
m ysql_query(" SELECT * FROM m em ber WHERE usernam e = '$user'" ) or die (m ysql_error());
$dis = m ysql_fet ch_array($q);
$usernam e = $_SESSION['loggedin'];
---/ /
$nam alengkap= $row ['nam a_lengkap'];
echo
'<fieldset ><legend><h1>Det ail</ h1></ legend><br><h2><font
st yle=" color:#E65C47;" ><b>Tot al Harga Orderan anda, </ b></ font ><u>' . $nam alengkap. '.</ u></ h2><br>';
$t ot alsem ua= $row ['SUM (t ot al)'];
echo '<font
st yle=" color:#E65C47;" ><h2>Tot al Sem ua : </ font ><b>Rp. ' . $t ot alsem ua. '.00,-</ b><br>';
$st at us= $row ['st at us'] ;
echo '<font
st yle=" color:#E65C47;" >St at us : </ font ><b>' . $st at us. ' </ h2></ b><br>';
echo '</ fieldset ><br>';
/ / ---/ /
}
?>
<div id=" sidebar" >
<div class=" bloc rounded" st yle=" m argin-t op:20px;" &gargin-t;
<h3 align=" cent er" ><B>Profil</ B></ h3> <?php
include(" koneksi.php" );
$user =
$_SESSION['loggedin'];
$query = m ysql_query(" SELECT * FROM m em ber WHERE usernam e = '$user'" ) or die (m ysql_error());
$display = m ysql_fet ch_array($query);
echo " Anda login sebagai <b> $display[nam a_lengkap]</ b>" ;
?>
<h3 align=" cent er" ><a href=" logout .php" ><input nam e=" logout " t ype=" but t on" id=" Login" value=" Logout " / ></ a></ h3>
<h3></ h3> <p>
</ p> </ div>
<div class=" bloc rounded" st yle=" m argin-t op:20px;" > <?php
include(" koneksi.php" );
$kueri=m ysql_query(" select * from berit a ORDER BY t anggal DESC LIM IT 2 " );
w hile($baris=mysql_fet ch_array($kueri)) {
$brief=subst r($baris['det ail'], 0,
100)." ..." ;
echo" <TABLE border='0' cellpadding='3'>\ n" ;
echo" <TR> " ;
w idt h='600'><h2>$baris[judul]</ h2></ TD>\ n" ; echo" </ TR>" ;
echo" <TR >" ; echo" <TD w idt h='90'>$baris[t anggal]</ TD>
<TD><B>Oleh : </ B>$baris[penulis]</ TD>\ n" ;
echo" </ TR>" ;
echo" <TR>" ;
echo" <TD colspan='2' w idt h='450'><p align='just ify'>
<a
href='adm in/ $baris[gam bar]' t arget ='_blank'><IM G
SRC='admin/ $baris[gam bar]' align='left ' WIDTH='200'
/ ></ a><fieldset >$brief</ fieldset ></ p></ TD>" ;
echo" <t r><t d
colspan='3' w idt h='500' align='right '><a
href=berit adet ail2.php?id=$baris[id]>Selengkapnya...</ t d></ t r><hr>" ; echo" </ TR>" ;
echo" </ TABLE>" ; }
?>
<! -- <h3>License</ h3>
<p>This t em plat e is free. You are free t o use it , share it , redist ribut e it , m odify it in any w ay you w ant as long as you
<st rong>keep a link back t o doTem plat e Websit e</ st rong> in t he foot er. You can rem ove t his link by m aking a $10
<a href=" ht t p:/ / w w w .dot em plat e.com / dt / index.jsp#donat e" t arget =" _blank" shape=" rect " >donat ion</ a>.
</ p> -->
<! -- <div class=" bloc rounded" st yle=" m argin-t op:20px;" >
<link rel=" short cut icon" HREF=" im ages/ aaa.png" / >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ addon.js" ></ script >
<script t ype=" t ext / javascript " language=" javascript " src=" js/ cust om .js" ></ script >
<! -- =============JS CHART DAB================--> <script src=" js/ Chart .js" ></ script >
<! --=========END DAB==========-->
<div id=" cont ent " >
<div st yle=" m argin-t op:20px;" > <div id=" m ain" >
<p align =" just ify" ><h1>
& nbsp;& nbsp;Selam at Dat ang Di Halam an ADM IN
</ h1>
<canvas id=" canvas"
height =" 400" w idt h=" 630" ></ canvas>
<script >
var lineChart Dat a = {
labels : [" M EM BER" ," PRODUK" ," TOTAL ORDER" ," M EM BER ONLINE" ] ,
dat aset s : [ {
fillColor :
" rgba(151,187,205,0.5)" ,
st rokeColor :
" rgba(151,187,205,1)" ,
point Color :
" rgba(151,187,205,1)" ,
point St rokeColor : " #fff" , dat a : [
<?php
include('../ koneksi.php');
$query = m ysql_query(" SELECT
COUNT(* ) FROM m em ber WHERE st at us='user'" ) or
die(m ysql_error());
$usr = m ysql_fet ch_array($query); ?>
<?php echo $usr['COUNT(* )']; ?> ,
$query2 = m ysql_query(" SELECT COUNT(* ) FROM berit a" ) or die(m ysql_error());
$prodk = m ysql_fet ch_array($query2); ?>
<?php echo $prodk['COUNT(* )']; ?> ,
<?php
$query3 = m ysql_query(" SELECT
COUNT(* ) FROM orderlist " ) or die(m ysql_error());
$ordr = m ysql_fet ch_array($query3); ?>
<?php echo $ordr['COUNT(* )']; ?> ,
<?php
$query3 = m ysql_query(" SELECT
COUNT(* ) FROM m em ber_logged" ) or die(m ysql_error());
$logg = m ysql_fet ch_array($query3); ?>
<?php echo $logg['COUNT(* )']; ?>
] }
]
}
var m yLine = new
Chart (docum ent .get Elem ent ById(" canvas" ).get Cont ext(" 2d" )).Line(line Chart Dat a);
</ script >
<div id=" sidebar" >
<div class=" bloc rounded" st yle=" m argin-t op:20px;" > <h3 align=" cent er" ><B>Profil</ B></ h3>
<?php
include('cek-login.php'); ?>
<?php
include(" ../ koneksi.php" );
$user =
$_SESSION['loggedin'];
$query = m ysql_query(" SELECT * FROM m em ber WHERE usernam e = '$user'" ) or die (m ysql_error());
$display = m ysql_fet ch_array($query);
echo " Login sebagai adm in - <b>$display[nam a_lengkap]</ b>" ;
?>
<h3 align=" cent er" ><a href=" logout .php" ><input nam e=" logout " t ype=" but t on" id=" Login" value=" Logout " / ></ a></ h3>
<h3></ h3> <p>
</ p> </ div>
<div class=" bloc rounded" st yle=" m argin-t op:20px;" &gargin-t;
<font face =" Agency FB"
size=" 5px" ><h3>Info</ h3><br>
<p>USER : <?php echo
$usr['COUNT(* )']; ?></ p>
<p>PRODUK : <?php echo
$prodk['COUNT(* )']; ?> </ p>
$ordr['COUNT(* )']; ?></ p>
<p>USER ONLINE : <?php echo $logg['COUNT(* )']; ?></ p>
</ font > </ div>
</ div> </ div>
<div class=" clear" ></ div> </ div>
<! -- end cont ent -->
<div class=" clear" st yle=" height :40px" ></ div> </ div>
<! -- end cont ainer --> </ div>
</ body> </ ht m l>
Daftar member
<! DOCTYPE ht m l PUBLIC " -/ / W3C/ / DTD XHTM L 1.0 Transit ional/ / EN" " ht t p:/ / w w w .w 3.org/ TR/ xht m l1/ DTD/ xht m l1-t ransit ional.dt d" >
<ht m l xm lns=" ht t p:/ / w w w.w 3.org/ 1999/ xht m l" xm l:lang=" en" > <head>
<t it le>Saint De Valo</ t it le>
<link rel=" short cut icon" HREF=" im ages/ aaa.png" / >
<m et a ht t p-equiv=" Cont ent -Type" cont ent =" t ext / ht m l; charset =iso-8859-1" / >
<m et a ht t p-equiv=" Cont ent -Type" cont ent =" t ext / ht m l; charset =ut f-8" / >
<m et a nam e=" t it le" cont ent =" Web sit e" / >
<m et a nam e=" descript ion" cont ent =" Sit e descript ion here" / > <m et a nam e=" keyw ords" cont ent =" keyw ords here" / > <m et a nam e=" language" cont ent =" en" / >
<m et a nam e=" subject " cont ent =" Sit e subject here" / > <m et a nam e=" robot s" cont ent =" All" / >