<?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 (!$random_whats_new_sidebox_product->EOF) : ?>
		<div class="media products">
			<div class="media-left">
	      <a href="<?php echo zen_href_link(zen_get_info_page($random_whats_new_sidebox_product->fields["products_id"]), 'cPath=' . zen_get_generated_category_path_rev($random_whats_new_sidebox_product->fields["master_categories_id"]) . '&products_id=' . $random_whats_new_sidebox_product->fields["products_id"]); ?>"><?php echo zen_image(DIR_WS_IMAGES . $random_whats_new_sidebox_product->fields['products_image'], $random_whats_new_sidebox_product->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($random_whats_new_sidebox_product->fields["products_id"]), 'cPath=' . zen_get_generated_category_path_rev($random_whats_new_sidebox_product->fields["master_categories_id"]) . '&products_id=' . $random_whats_new_sidebox_product->fields["products_id"]); ?>"><?php echo $random_whats_new_sidebox_product->fields['products_name']; ?></a></h4>
	      <div class="product-price"><?php echo zen_get_products_display_price($random_whats_new_sidebox_product->fields['products_id']); ?></div>
	    </div>
	  </div>
	  <?php $random_whats_new_sidebox_product->MoveNextRandom(); ?>
	<?php endwhile; ?>
	</div>
</div>