<?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 } ?>
<?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <h1><?php echo $heading_title; ?></h1>
  <?php if ($products) { ?>
  <div class="wishlist-info">
    
	  <!-- TABLE -->
<table class="table table-action">
      <thead>
        <tr>
		  <th class="t-medium"><?php echo $column_image; ?></th>
		  <th class="t-medium"><?php echo $column_name; ?></th>
		  <th class="t-medium"><?php echo $column_model; ?></th>
		  <th class="t-medium"><?php echo $column_stock; ?></th>
		  <th class="t-medium"><?php echo $column_price; ?></th>
		  <th class="t-medium"><?php echo $column_action; ?></th>
        </tr>
      </thead>
	  <tbody>
    <tr>
      <?php foreach ($products as $product) { ?>
	  <td class="fix"></td>
      
        <td class="center_image">
		<img src="<?php if ($product['thumb'] != "" ){ echo $product['thumb'];}else{echo "image/data/sem-imagem.png";} ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>"/>
	  </td>
          
		  <td class="info_responsive"><b><?php echo $column_name; ?></b></td>
		  <td><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></td>
          
		  <td class="info_responsive"><b><?php echo $product['model']; ?></b></td>
		  <td><?php echo $product['model']; ?></td>
          
		  <td class="info_responsive"><b><?php echo $product['stock']; ?></b></td>
		  <td><?php echo $product['stock']; ?></td>
          
		  
		  <td><?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/<?php echo $this->config->get('config_template'); ?>/image/dresscode_images/shopping_cart_mini_delete_button.png" alt="<?php echo $button_remove; ?>" title="<?php echo $button_remove; ?>" /></a></td>
        </tr>
      </tbody>
      <?php } ?>
    </table>
		
  </div>
  <div class="buttons">
    <div class="right"><a href="<?php echo $continue; ?>" class="button"><?php echo $button_continue; ?></a></div>
  </div>
  <?php } else { ?>
  <div class="content"><?php echo $text_empty; ?></div>
  <div class="buttons">
    <div class="right"><a href="<?php echo $continue; ?>" class="button"><?php echo $button_continue; ?></a></div>
  </div>
  <?php } ?>
  <?php echo $content_bottom; ?></div>
<?php echo $footer; ?>