<?php echo $header; ?>
<section class="main-container col2-left-layout">
    <article class="col-main">
        <div class="breadcrumbs">
            <ul>
                <?php foreach ($breadcrumbs as $breadcrumb) { ?>
                <li class="category11"><span><?php echo $breadcrumb['separator']; ?></span><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a> </li>
                <?php } ?>
            </ul>
        </div>
        <div class="page-title">
            <h2><?php echo $heading_title; ?></h2>
        </div>
        <ol class="one-page-checkout" id="checkoutSteps">
            <li id="opc-billing" class="section allow active custom_login_input_box">
                <div class="step-title"> 
                   <p><?php echo $text_total; ?><b> <?php echo $total; ?></b>.</p>
                </div>
                <div id="checkout-step-billing" class="step a-item custom_class" style="">

<div id="content">
    <?php echo $content_top; ?>
  <table class="list data-table cart-table">
        <colgroup>
            <col width="10%">
            <col width="10%">
            <col width="10%">
        </colgroup>
    <thead>
      <tr>
        <th ><?php echo $column_date_added; ?></th>
        <th ><?php echo $column_description; ?></th>
        <th ><?php echo $column_points; ?></th>
      </tr>
    </thead>
    <tbody>
      <?php if ($rewards) { ?>
      <?php foreach ($rewards  as $reward) { ?>
      <tr>
        <td ><?php echo $reward['date_added']; ?></td>
        <td ><?php if ($reward['order_id']) { ?>
          <a href="<?php echo $reward['href']; ?>"><?php echo $reward['description']; ?></a>
          <?php } else { ?>
          <?php echo $reward['description']; ?>
          <?php } ?></td>
        <td ><?php echo $reward['points']; ?></td>
      </tr>
      <?php } ?>
      <?php } else { ?>
      <tr>
        <td class="center" colspan="5"><?php echo $text_empty; ?></td>
      </tr>
      <?php } ?>
    </tbody>
  </table>
  <div class="pagination"><?php echo $pagination; ?></div>
    <div class="buttons">
    <button type="submit" value="<?php echo $button_continue; ?>" class="button btn-continue"><span><?php echo $button_continue; ?></span></button>
    </div>
  <?php echo $content_bottom; ?>
</div>
                </div>
            </li>

        </ol>
    </article>
    <!--	///*///======    End Col Main  ========= //*/// -->
    <aside class="col-right sidebar">
        <?php echo $column_right; ?>
    </aside>
</section>
<?php echo $footer; ?>