<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;">
        <strong><?php echo $item['name'];?></strong><br />
        <?php echo @$item['term'];?><span class="right"><?php echo @$item['total'];?></span>
      </div>
    <?php } // end foreach ?>
  
    <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 } 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>