<?php
/**
 * @package Genesis
 * @copyright Copyright 2012 - 2015 Sammycorp
 * @author Sammycorp
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 */

?>
<div class="footer-module-about">
	<h3 class="footer-module-title"><?php echo $title; ?></h3>
	<div class="footer-module-content">
	<?php while (!$best_sellers->EOF) : ?>
		<div class="media products">
			<div class="media-left">
	      <a href="<?php echo zen_href_link(zen_get_info_page($best_sellers->fields["products_id"]), 'cPath=' . zen_get_generated_category_path_rev($best_sellers->fields["master_categories_id"]) . '&products_id=' . $best_sellers->fields["products_id"]); ?>"><?php echo zen_image(DIR_WS_IMAGES . $best_sellers->fields['products_image'], $best_sellers->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'class="media-object img-responsive"'); ?></a>
	    </div>
	    <div class="media-body">
	      <h4 class="media-heading product-name"><a href="<?php echo zen_href_link(zen_get_info_page($best_sellers->fields["products_id"]), 'cPath=' . zen_get_generated_category_path_rev($best_sellers->fields["master_categories_id"]) . '&products_id=' . $best_sellers->fields["products_id"]); ?>"><?php echo $best_sellers->fields['products_name']; ?></a></h4>
	      <div class="product-price"><?php echo zen_get_products_display_price($best_sellers->fields['products_id']); ?></div>
	    </div>
	  </div>
	  <?php $best_sellers->MoveNext(); ?>
	<?php endwhile; ?>
	</div>
</div>