'; if ($_SESSION['cart']->count_contents() > 0) { $content .= '
' . "\n" . '' . "\n" . '
'; } else { $content .= '
' . BOX_SHOPPING_CART_EMPTY . '
'; } if ($_SESSION['cart']->count_contents() > 0) { $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 .= '
' . zen_image_button(BUTTON_IMAGE_SEND_A_GIFT_CERT , BUTTON_SEND_A_GIFT_CERT_ALT) . '
'; $content .= '
' . VOUCHER_BALANCE . $currencies->format($gv_result->fields['amount']) . '
'; } } $content .= ''; ?>