Location: PHPKode > scripts > Encaps Gallery > encaps-2.3.22s/admin/shopcart.php
<?php 
include_once(dirname(__FILE__)."/common.ini.php"); 
include("catalog_head.html");
$cart = new ShopCart($db,$config,$catalog->items);
//$config["pagination"] = 3;
$html["pagination"] = Misc::pagination($cart->get_db_count(),$config["pagination"],@$postget["page"]);
$html["items"] = $cart->get_orders($html["pagination"]["offset"],$config["pagination"]);
?>
<table class="block" >
<tr >
<th>payment date</th>
<th>item name</th>
<th>qty</th>
<th>mc gross</th>
<th>payer email</th>
<th>payer business name</th>
<th>address</th>
<?php if(@$config["sc_type"]=="paypal"){?>
<th>first name</th>
<th>last name</th>
<th>address country</th>
<th>address city</th>
<th>address state</th>
<th>address zip</th>
<th>address street</th>
<th>payment status</th>
<th>VERIFIED</th>
<?php } ?>
</tr>
<?php foreach($html['items'] as $item){?>
<tr bgcolor="#EFEFEF">
<td><?php echo $item["payment_date"]?></td>
<td><a href="catalog_item.php?id=<?php echo $item["item_number"]?>"><?php echo $item["item_name"]?></a></td>
<td><?php echo $item["quantity"]?></td>
<td><?php echo $item["mc_gross"]?></td>
<td><?php echo $item["payer_email"]?></td>
<td><?php echo urldecode($item["payer_business_name"])?></td>
<td><?php echo urldecode($item["address_name"])?></td>
<?php if(@$config["sc_type"]=="paypal"){?>
<td><?php echo urldecode($item["first_name"])?></td>
<td><?php echo urldecode($item["last_name"])?></td>
<td><?php echo urldecode($item["address_country"])?></td>
<td><?php echo urldecode($item["address_city"])?></td>
<td><?php echo urldecode($item["address_state"])?></td>
<td><?php echo urldecode($item["address_zip"])?></td>
<td><?php echo urldecode($item["address_street"])?></td>
<td><?php echo $item["payment_status"]?></td>
<td><?php echo $item["VERIFIED"]?></td>
<?php } ?>
</tr>
<?php  }?>
</table>
<?php include("html/pagination.html");?>
<?php 
include("catalog_foot.html");
?>
Return current item: Encaps Gallery