<?php echo $header; ?>
<section class="main-container col2-left-layout">
    <article class="col-main">
      <?php echo $breadcrumbs; ?>
        <div class="page-title">
            <h2 class="heading-2"><?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" class="btn-default btn-medium btn-continue">
      <span><?php echo $button_continue; ?></span>
      <i class="fas fa-arrow-right" aria-hidden="true"></i>
    </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; ?>
