Current File : /home/karenpetzb/application/modules/default/views/scripts/produits/nosproduits.phtml
<?php 
	echo $this->render("/ajax/caddyaccountright.phtml"); 
$listProducts = array();
$listProducts = $this->listAllProducts;
$color = $this->actualDesign['color'];
$listCat = array();
$listCat = $this->listCat;
 
?>
<script type="text/javascript">
$(function(){
	$('#slider-product-id').liquidSlider({
		autoHeight : true,
		minHeight : 0,
		autoSlide: true,
		autoSlideInterval : 5000,
		pauseOnHover : false,
		includeTitle : false,
		dynamicTabs : false
	});
	
    initProductPagination("#productpagination", 1, <?php echo ceil(sizeof($listProducts) / 16); ?>);
});
</script>
 
	<?php if (isset($listCat['CHOICEURL']) && !empty($listCat['CHOICEURL']) && 
				isset($listCat['CHOICEDOC']) && !empty($listCat['CHOICEDOC'])) { ?>
	<span style="display:none;margin: 0 0 0 20px;" > 
		<a href="<?php echo $this->baseUrl; ?>/<?php echo $listCat['CHOICEDOC'];?>" title='Comment choisir "<?php echo $listCat['NOM']; ?>" ?' target="_blank">
			<img alt='Comment choisir "<?php echo $listCat['NOM']; ?>" ?' src="<?php echo $this->basUrl; ?>/<?php echo $listCat['CHOICEURL'];?>">
		</a>
	</span>
	<?php } ?>

<div class="col-xs-12 col-sm-10 col-sm-offset-1 text-center visible-md visible-lg">
	<div class="col-xs-12"  style="margin-top: 10px; margin-bottom: 10px;">
		<span class="product-title-tri">Trier les produits</span>
		<?php $link = $this->baseUrl."/".Utils_Tool::getFormattedUrlCategory($this->currentCategory['NAVNOM_URLPARENTS'], $this->currentCategory['NAVNOM'], $this->currentCategory['ID']); ?>
		<a href="<?php echo $link."?tri=5";?>" class="btn btn-default">Meilleures ventes</a> 
    <a  href="<?php echo $link."?tri=1";?>" class="btn btn-default">Prix croissant</a>
		<a  href="<?php echo $link."?tri=2";?>" class="btn btn-default">Prix d�croissant</a>
		<a  href="<?php echo $link."?tri=3";?>" class="btn btn-default">Nom croissant</a>
		<a  href="<?php echo $link."?tri=4";?>" class="btn btn-default">Nom d�croissant</a>
	</div>  
</div>
<?php 
$paginationPage = 1;
$count = 0;
if (!empty($listProducts)) { 
	foreach ($listProducts as $row) {
		if ($count > 15) {
			$count = 0;
			$paginationPage++;
		}
		$this->currentData = $row;
		$this->currentPaginationPage = $paginationPage;
		$count++;
		echo $this->render("/produits/ajaxshowproductbox.phtml");	
	}
}?>

<div class="col-xs-10 col-xs-offset-1 text-center">
	<div id="productpagination"></div>    
</div>

<?php if (isset($listCat['DESCRIPTIONLONG']) && !empty($listCat['DESCRIPTIONLONG'])) { ?>
<div class="col-xs-12 noPadding" style="margin: 0 0 10px 0;">
    <?php echo $listCat['DESCRIPTIONLONG']; ?>
</div>
<?php } ?>