<?php echo $header; ?>
<?php if ($success) { ?>
<div class="success"><?php echo $success; ?><img src="catalog/view/theme/default/image/close.png" alt="" class="close" /></div>
<?php } ?>
<section class="main-container col1-layout">
    <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>
    <article class="col-main">
       
         <div class=" multiple_addresses">
        <div class="addresses">
        <div id="content">
            <?php echo $content_top; ?>
            <div class="page-title">
                <h2><?php echo $heading_title; ?></h2>
            </div>
             <?php if ($products) { ?>
  <div class="wishlist-info">
    <table class="data-table cart-table " id="shopping-cart-table">
                        <colgroup>
                            <col width="10%">
                            <col width="70%">
                            <col width="10%">
                            <col width="10%">
                            <col width="10%">
                            <col width="10%">
                        </colgroup>
                        <thead>
                            <tr>
                               <th class="image a-center" rowspan="1"><?php echo $column_image; ?></th>
                                 <th class="name" rowspan="1"><span class="nobr"><?php echo $column_name; ?></th>
                               <th class="model"><?php echo $column_model; ?></th>
                               <th class="stock"><?php echo $column_stock; ?></th>
                                <th class="a-center" colspan="1"><?php echo $column_price; ?></th>
                               <th class="total a-center" colspan="1"><?php echo $column_action; ?></th>
                            </tr>
                        </thead>
     
      <?php foreach ($products as $product) { ?>
      <tbody id="wishlist-row<?php echo $product['product_id']; ?>">
        <tr>
          <td class="image"><?php if ($product['thumb']) { ?>
            <a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>" /></a>
            <?php } ?></td>
          <td class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></td>
          <td class="model"><?php echo $product['model']; ?></td>
          <td class="stock"><?php echo $product['stock']; ?></td>
          <td class="price"><?php if ($product['price']) { ?>
            <div class="price">
              <?php if (!$product['special']) { ?>
              <?php echo $product['price']; ?>
              <?php } else { ?>
              <s><?php echo $product['price']; ?></s> <b><?php echo $product['special']; ?></b>
              <?php } ?>
            </div>
            <?php } ?></td>
          <td class="action"><img src="catalog/view/theme/default/image/cart-add.png" alt="<?php echo $button_cart; ?>" title="<?php echo $button_cart; ?>" onclick="addToCart('<?php echo $product['product_id']; ?>');" />&nbsp;&nbsp;<a href="<?php echo $product['remove']; ?>"><img src="catalog/view/theme/default/image/remove.png" alt="<?php echo $button_remove; ?>" title="<?php echo $button_remove; ?>" /></a></td>
        </tr>
      </tbody>
      <?php } ?>
    </table>
  </div>
   <div class="buttons">
    <div ><a href="<?php echo $continue; ?>" class=" button btn-continue"><span><?php echo $button_continue; ?><span></a></div>
  </div>
  <?php } else { ?>
  <div class="content"><?php echo $text_empty; ?></div>
  <div class="buttons">
      <div ><a href="<?php echo $continue; ?>" class="button btn-continue "><span><?php echo $button_continue; ?></span></a></div>
  </div>
  <?php } ?>
           
       </div> 
    </div>
         </div>       
    </article>
    <!--	///*///======    End Col Main  ========= //*/// -->

    <!--	///*///======    End Main Container  ========= //*/// -->
</section>

<?php echo $footer; ?>