';
if ($_SESSION['cart']->count_contents() > 0) {
$content .= '
';
} else {
$content .= '' . BOX_SHOPPING_CART_EMPTY . '
';
}
if ($_SESSION['cart']->count_contents() > 0) {
$content .= '
';
$content .= '' . $currencies->format($_SESSION['cart']->show_total()) . '
';
$content .= '
';
}
if (isset($_SESSION['customer_id'])) {
$gv_query = "select amount
from " . TABLE_COUPON_GV_CUSTOMER . "
where customer_id = '" . $_SESSION['customer_id'] . "'";
$gv_result = $db->Execute($gv_query);
if ($gv_result->RecordCount() && $gv_result->fields['amount'] > 0 ) {
$content .= '';
$content .= '' . VOUCHER_BALANCE . $currencies->format($gv_result->fields['amount']) . '
';
}
}
$content .= '';
?>