<?php echo $header; ?>
<?php if ($success) { ?>
<div class="success"><?php echo $success; ?></div>
<?php } ?>
<?php if ($error_warning) { ?>
<div class="warning"><?php echo $error_warning; ?></div>
<?php } ?>
<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">   
                    <?php echo $text_address_book; ?>           
                </div>
                <div id="checkout-step-billing" class="step a-item custom_class" style="">
                    <div id="content">
    <?php echo $content_top; ?>
 
  <?php foreach ($addresses as $result) { ?>
  <div class="content">
    <table style="width: 100%;">
      <tr>
        <td><?php echo $result['address']; ?></td>
        <td style="text-align: right;"><a href="<?php echo $result['update']; ?>" class="button btn-update"><?php echo $button_edit; ?></a> &nbsp; <a href="<?php echo $result['delete']; ?>" class="button btn-empty"><span><?php echo $button_delete; ?></span></a></td>
      </tr>
    </table>
  </div>
  <?php } ?>
  <div class="buttons">
   <a href="<?php echo $back; ?>" class="button btn-continue"><?php echo $button_back; ?></a>
    <a href="<?php echo $insert; ?>" class="button btn-continue"><?php echo $button_new_address; ?></a>
  </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; ?>