Current File : /home/karenpetzb/application/modules/default/views/scripts/produitspromotion/nosproduits.phtml
<?php
$prefixClass = $this->prefixPromoClass;
if ($prefixClass == "eco-") { ?>
<style type="text/css">
  .footer-content-divider{
  background: url('/business/image/eco-line.png') repeat-x top left;
  height: 15px;
  margin: 10px 0 0 0;
  }
  html, body {
  background: url('/business/image/eco-bg.jpg') no-repeat top center;
  background-color: #21530d;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  }
  .wrapBgContent-l,
  .wrapBgContent-r {
  background:none;
  }
  .wrapBgContent-1 {
  -webkit-box-shadow: 0px 0px 30px rgba(0, 0, 0, 1);
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 1);
  }

  .wrapBgContent-2 {
  -webkit-box-shadow: 0px 20px 30px rgba(0, 0, 0, 1);
  box-shadow: 0px 20px 30px rgba(0, 0, 0, 1);
  }

</style>
<?php } ?>
<script  type="text/javascript" >

$(function(){
	initEventsPromotionCats();
});

</script>
<?php

$listProducts = array();
$listProducts = $this->listAllProducts;
$listCat = array();
$listCat = $this->listCat;
?>
 
<div class="hidden-xs col-md-12 sliderPanelTop noPadding">
	<div class="col-md-9 col-xs-12  indexBigBox">		
		<?php
			$colPromo = "col-xs-12";
			 if ($prefixClass == "eco-") { ?>
			<div class="col-xs-12 index-big-box noPadding <?php echo $prefixClass; ?>bg" style="overflow: hidden;overflow-y: hidden; ">
				<div class="<?php echo $prefixClass; ?>title1">D�couvrer notre</div>
				<div class="<?php echo $prefixClass; ?>title2">Gamme</div>
				<div class="<?php echo $prefixClass; ?>title3">D�veloppement Durable</div>
				<?php 
						if (isset($listCat['CHOICEDOC']) && !empty($listCat['CHOICEDOC'])) { 
						$colPromo = "col-xs-7";?>
					<div class="col-xs-5 <?php echo $prefixClass; ?>choicedoc text-right noPadding">
						<a href="<?php echo $this->baseUrl; ?>/<?php echo $listCat['CHOICEDOC'];?>" target="_blank">
							<span class="col-xs-12 text-center">Comment choisir le bon produit ?</span>						
						</a>
					</div>
					<?php } ?>
				<?php if ($listCat['ID'] != 3) { ?>
				<div class="<?php echo $colPromo;?> <?php echo $prefixClass; ?>title4"><?php echo $listCat['NOM']; ?></div>
				<?php } ?>
			</div>
		<?php }
		if ($prefixClass == "") { ?>
			<div class="col-xs-12 index-big-box noPadding promo-bg" style="overflow: hidden;overflow-y: hidden; ">
				<?php 
					if (isset($listCat['CHOICEDOC']) && !empty($listCat['CHOICEDOC'])) { 
					?>
					<div class="col-xs-5 promo-choicedoc text-right noPadding">
						<a href="<?php echo $this->baseUrl; ?>/<?php echo $listCat['CHOICEDOC'];?>" target="_blank">
							<span class="col-xs-12 text-center">Comment choisir le bon produit ?</span>						
						</a>
					</div>
					<?php } ?>
			</div>
		<?php } ?>
	</div>
	
	<?php echo $this->render("/ajax/caddyaccountrightnoslide.phtml"); ?>
</div>

<?php if ($prefixClass == "") { ?>
<div class="col-xs-12 indexBox3_title" style="margin-top: 10px;margin-bottom: 10px">
  <h1 class="eco-title-h1">
    <?php echo $listCat['NOM']; ?>
  </h1>
</div>
<?php } ?>

<div class="col-xs-12 noPadding">
<?php if (!empty($listProducts)) {  
foreach ($listProducts as $row) {
		$this->currentData = $row;
		echo $this->render("/produits/ajaxshowproductbox.phtml");	
	}
}
	?>	  
</div>