';
/*
foreach($_SESSION['cart']->get_products() as $product)
// if($products[$i]['products_priced_by_attribute'])
$reward_points+=GetRewardPoints($product['id'],$product['attributes'])*$product['quantity'];
// else
// $reward_points+=GetRewardPoints($product['id'])*$product['quantity'];
*/
if($reward_points>0)
$content.='
'.(int)$reward_points.' '.REWARD_POINTS_IN_CART_TAG.'
';
else
$warning.=NO_REWARD_POINTS_IN_CART_TAG;
if(isset($_SESSION['customer_id']))
$content.='
'.GetCustomersRewardPoints($_SESSION['customer_id']).' '.CUSTOMER_EARNED_POINT_TAG.'
'.GetCustomersPendingPoints($_SESSION['customer_id']).' '.CUSTOMER_PENDING_POINT_TAG.'
';
else
$warning.=($warning?'
':'').CUSTOMER_NOT_LOGGED_IN_TAG;
if($warning)
$content.='
'.$warning.'
';
$content.='
';
?>