<div class="right" style="background:#ffffee; border:1px solid #efefbb; margin-bottom:20px; padding:10px; width:180px;-moz-border-radius: 5px;-webkit-border-radius: 5px;">
  <h3><?php echo $this->lang('Cart Summary');?></h3>

  <?php if(is_array($this->cartItems)) { ?>

    <?php foreach($this->cartItems AS $item) { ?>
      <div style="border-top:1px solid #eee; padding-top:10px; margin-bottom:10px;">
        <?php if($item['groupType'] == '3') { ?>
        	<strong><?php echo $item['name'];?></strong><br />
        	<i><?php echo $item['domainName']; ?></i><br />
        <?php } else { ?>
        	<strong><?php echo $item['name'];?></strong><br />
        	<?php if($item['associatedDomain'] != false) { ?> <i><?php echo $item['associatedDomain'];?></i><br /><?php } ?>
        <?php } ?>
        <?php echo @$item['term'];?> @ <?php echo @$item['totalFormatted'];?>
      </div>
    <?php } // end foreach ?>
  
    <?php if(isset($this->cartCancel)) { ?>
		<div style="border-top:1px solid #eee; padding-top:10px; text-align:right;">
			<a href="order.php?step=3"><?php echo $this->lang('Back to Cart');?></a>
			/
			<a href="#" onclick="confirmCartCancel();"><?php echo $this->lang('Cancel Order');?></a>
		</div>
    <?php } else { ?>
		<div style="border-top:1px solid #eee; padding-top:10px; text-align:right;"><?php echo $this->lang('Current total');?>: <strong><?php echo $this->cartTotal;?></strong>
			<br>
			<a href="order.php?step=3"><?php echo $this->lang('View Order Summary');?></a>
		</div>
	<?php } ?>

  <?php } else {  ?>
    <div style="border-top:1px solid #eee; padding-top:10px; margin-bottom:10px;">
      <i><?php echo $this->lang('Your cart is empty');?>.</i>
    </div>
  <?php } // end if ?>
  
</div>