Current File : /home/k/a/r/karenpetzb/www/items/category/produits.tar
ajaxaddpanier.phtml000060400000000217150713633560010412 0ustar00<span class="messageSuccess"><?php echo $this->messageSuccess; ?></span> 
<span class="messageError"><?php echo $this->messageError; ?></span> monpaniertype.phtml000060400000007464150713633560010524 0ustar00

<script  type="text/javascript" >

$(function(){
	initEventsCaddyType();
});

</script>
<div class="spaceBG2" ></div> 
<div >
<?php  
$caddyTypes = $this->caddyType; 

if (empty($caddyTypes)) { ?>
<div class="col-xs-12 text-center" style="margin-top: 20px;">Il n'y a aucun article dans votre panier.</div>
<div class="col-xs-12 text-center" style="margin-top: 20px;">
		<a   data-placement="bottom" class="btn btn-default btn-lg" href="<?php if (isset($this->urlCurrentProduct) && !empty($this->urlCurrentProduct)) { echo $this->urlCurrentProduct; } else { echo $this->baseUrl.'/'; } ?>" >
			CONTINUER MES ACHATS
		</a>
</div>
<?php  } else { ?>
<div class="productAnnexeLabel caddyTypeUp">
	Retrouver les r�f�rences de vos produits
</div>

<form  id="caddyTypeCheckForm" action="<?php echo $this->baseUrl; ?>/mon-panier-type-actualiser.html" method="post">
	<div style="float: left;width: 100%;">
		<table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr align="center" height="50px" style="background-color: #e7e7e7">
				<th class="textTh1">Produit</th>
				<th class="textTh1">Dispo.</th>
				<th class="textTh1">Prix Unitaire (HT)</th> 
				<th class="textTh1">Quantit�</th>   
			</tr>
			<?php
			$index = 1;
			$i = 0;
			foreach($caddyTypes as $row) {
				?>
			<tr align="center"  height="25px"  style="background-color:<?php  if (!$row->isPromoCaddyType) { if ($index == 0) {echo '#E7E7E7'; $index=1;} else {$index=0; echo '#FFFFFF';} } else { echo "#92B901"; } ?>;">
				<td  >
					<div class="caddyProdImg" >  
						<a target="_blank" href="<?php echo $this->baseUrl; ?>/<?php echo Utils_Tool::getFormattedUrlProduct($row->navnom_urlparents, $row->navnom, $row->idProduit); ?>"
							title="<?php echo $this->escape($row->designation);?>" >
							<img src="<?php echo $this->baseUrl.'/'.$row->url; ?>">
						</a>
					</div>
					<div class="caddyProdTxt" >
						<div class="link17" style="width: auto;clear:both">
							<a target="_blank" href="<?php echo $this->baseUrl; ?>/<?php echo Utils_Tool::getFormattedUrlProduct($row->navnom_urlparents, $row->navnom, $row->idProduit); ?>">
								<?php echo $this->escape($row->designation);?>
							</a>
						</div>
						<div class="textA1 productDetail_ref">
							<?php echo "Ref. ".$this->escape($row->reference);?>
						</div>
					</div>
				</td> 
				<td width="70px">
					<?php if ((int)$row->stock == 1) { ?>
					<img alt="Disponible" title="Disponible" src="<?php echo $this->baseUrl; ?>/business/image/admin/stock11.png">
					<?php } else if ((int)$row->stock == 2) { ?>
					<img alt="Disponible sous 8 jours" title="Disponible sous 8 jours" src="<?php echo $this->baseUrl; ?>/business/image/admin/stock22.png">
					<?php } else if ((int)$row->stock == 3) { ?>
					<img alt="Nous contacter" title="Nous contacter" src="<?php echo $this->baseUrl; ?>/business/image/admin/stock33.png">
					<?php }?> 
				</td>
				<td valign="top" width="150px">
						
						<?php $this->currentData = $row;
						echo $this->render("/produits/ajaxshowpromopricecaddy.phtml"); ?>
				</td> 
				<td align="center">
					<div style="clear:both;width: 90px;margin: 0 auto 0 auto;">
						<input onclick="javascript:clearInput($(this), '0');" type="text" class="input3 caddyQuantity" maxlength="6" name="Quantity[]" value="<?php echo $row->qte; ?>" /> 
					</div>
					
					<input type="hidden" name="Child[]" value="<?php echo $row->idChild; ?>" /> 
					
					<input type="hidden" name="CaddyType[]" value="<?php if ($row->isPromoCaddyType) { echo $row->id; } else { echo '0'; } ?>" />  
					
					<input type="hidden" name="QuantityMin[]" value="<?php echo $row->qte_min; ?>" />  
				</td> 
			</tr>
			<?php $i++; } ?>
		</table>
	</div>
	<div  style="float: left;width: 100%;text-align: center;margin:10px;"><input class="button" type="submit" value="Ajouter"></div>
	</form>  
<?php } ?>
</div> nosproduits.phtml000060400000005045150713633560010214 0ustar00
<?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 } ?>ajaxdownloaddocument.phtml000060400000006362150713633560012040 0ustar00
<?php header('Content-Type: text/html; charset=ISO-8859-15'); ?>
 
<?php if (!$this->isSuccess) { ?>

<?php
	$product = $this->detailProduct;
    if (isset($product) && !empty($product)) { 
?>	

    <form id="dialog-form-doc" enctype="multipart/form-data"  class="white-popup-block mfp-hide form-horizontal" action="<?php echo $this->baseUrl.'/produits/ajaxdownloaddocument'; ?>" method="post">
	    <script type="text/javascript">
            $(function() {
                initDetailProductDialogSendDoc();
            });
        </script>
        <span class="indexBox4_title2">Fiche technique � t�l�charger</span>
	    <fieldset style="border:0;">
		    <p>Pour recevoir par mail notre fiche technique, veuillez renseigner le formulaire ci-dessous.</p>
		     
			    <div class="form-group">
				    <label for="civility_doc" class="col-sm-2 control-label">Civilit�</label>
                    <div class="col-sm-10">
                        <label class="radio-inline">
                          <input type="radio" name="civility_doc" value="M." checked="checked"> M.
                        </label>
                        <label class="radio-inline">
                          <input type="radio" name="civility_doc" value="Mme"> Mme
                        </label>
                        <label class="radio-inline">
                          <input type="radio" name="civility_doc" value="Mlle"> Mlle
                        </label>
			        </div>
			    </div>
			     <div class="form-group">
				    <label for="name_doc" class="col-sm-2 control-label">Nom</label>
                     <div class="col-sm-10">
				        <input id="name_doc" name="name_doc" type="text" placeholder="Nom" class="form-control" required="">
			        </div>
			    </div>
			     <div class="form-group">
				    <label for="firstname_doc" class="col-sm-2 control-label">Pr�nom</label>
                     <div class="col-sm-10">
				        <input id="firstname_doc" name="firstname_doc" type="text" placeholder="Pr�nom" class="form-control" required="">
			        </div>
			    </div>
			     <div class="form-group">
				    <label for="email_doc" class="col-sm-2 control-label">Email</label>
                     <div class="col-sm-10">
				        <input id="email_doc" name="email_doc" type="email" placeholder="exemple@domaine.com" class="form-control" required="">
			        </div>
			    </div>
			    <div class="form-group">
                    <div class="col-sm-12 text-center">
                        <input type="submit" class="btn btn-default" value="Recevoir par mail" /> 
                        <input type="hidden" name="product_id_doc" value="<?php echo $product['ID']; ?>" /> 
                     </div> 
			    </div> 
	    </fieldset>
    </form>
<?php } else { ?>
<div class="white-popup-block-medium">
    <div class="text-center">
        <input type="button" class="btn btn-danger" value="Fermer" onclick="$.magnificPopup.close();" /> 
    </div> 
</div> 
<?php } 
} else { ?>
<div class="white-popup-block-medium">
    <div class="text-center">
        <?php echo $this->message ;?><br /><br />
    </div> 
    <div class="text-center">
        <input type="button" class="btn btn-danger" value="Fermer" onclick="$.magnificPopup.close();" /> 
    </div> 
</div> 
<?php }  ?>ajaxshowpromopricecaddy.phtml000060400000002350150713633560012550 0ustar00<?php header('Content-type: text/html; charset=iso-8859-1');

if ($this->currentData) {
	$currentData = $this->currentData;
	if (!$currentData->isSurDevis()) {
		 if ($currentData->isPromo()) { ?>
				<div class="productDetail_priceBox" <?php if ($currentData->getPrixAfterRemise() > 999) { echo 'style="width:165px;"'; } ?>>   
		 		<div class="productDetail_promoImag hidden-print" >
					<img class="tooltips" data-placement="bottom" src="<?php echo $this->baseUrl; ?>/business/image/promo.png" alt="Ce produit est en promotion" title="Ce produit est en promotion" >
				</div>
		 		<div class="productDetail_price" >
			 		 <div class="text12" >
					 	<?php echo number_format($currentData->getPrixAfterRemise(), 2, ',', ' ').' ';?>
					 	<span style="color: #000000">&#8364;</span> 
					 </div>
					 <div>
					 	<span class='oldPromoPrice'> <?php echo number_format($currentData->item_prix, 2, ',', ' ').' ';?>&#8364;</span>
					 </div>
		 		</div> 
			</div>
			
		<?php } else { ?>
				<div class="text12" >
					<?php echo number_format($currentData->item_prix, 2, ',', ' ').' ';?>
					<span style="color: #000000">&#8364;</span>
				</div> 
		<?php } 
	} else { ?>
			<div  class="text12">
				<span>sur devis</span>
			</div> 
	<?php }} ?>categorie.phtml000060400000021152150713633560007562 0ustar00<?php  
	$currentCat = array();
	$currentCat = $this->currentCat; 
?> 

<?php if (isset($currentCat['ID_THEME']) && $currentCat['ID_THEME'] == 2) {
	
	echo $this->render("/index/index.phtml");
	
} else { ?>

	<div id="page">

	<?php   
		if (isset($currentCat['NOM']) && !empty($currentCat['NOM'])) { ?>
		<div class="big_header"><h1 class="big_header"><?php echo $currentCat['NOM'];  ?></h1></div>
	<?php } 

	$isGallerie = isset($currentCat['ID_THEME']) && !empty($currentCat['ID_THEME']) && isset($this->listAllGalleries) && !empty($this->listAllGalleries);
	$isGallerieSlide = $isGallerie && $currentCat['ID_THEME'] == 6;
	$isArticles = isset($this->listAllArticles) && !empty($this->listAllArticles);// && !$isGallerieSlide;
	
	$subsCategory = $this->currentCatSubs['SUBS'];
	if (sizeof($subsCategory) > 0) { 
	 ?> 
        <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl; ?>/business/light/gamma/css/style.css"/> 
		 <div id="page_top"></div> 
		<div class="scroll-pane">
			<div class="page_block" >   
				<div class="gamma-container " id="gamma-container" >

					<ul class="gamma-gallery">

					<?php
					$isLeft = true; 
					foreach ($subsCategory as $row) { 
							$title = $this->escape($row['NOM']);
							$description = $this->escape($row['DESCRIPTION']);  
							$link_href = $this->baseUrl."/".Utils_Tool::getFormattedUrlCategory($row['NAVNOM_URLPARENTS'], $row['NAVNOM'], $row['ID']);
							
						?>
						<li > 
							<div style="float:left;width:100%;padding:30px 0 30px 0">
								<div style="float:<?php if ($isLeft) { echo "left"; } else {echo "right"; }?>">
									<?php if (!empty($row['URL'])) {  ?> 
										<a href="<?php echo $link_href;?>" alt="<?php echo $title;?>" /> 
											 <img src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 0);?>" alt="<?php echo $this->escape($row['NOM']);?>"/> 
										</a>   
									<?php } else { ?> 
										<a href="<?php echo $link_href;?>" alt="<?php echo $title;?>" />   <?php echo $title;?> </a>   
									<?php }  ?> 
								</div>
								<div style="float:<?php if ($isLeft) { echo "left"; } else {echo "right"; }?>; <?php if ($isLeft) {  echo "margin:0 0 0 30px"; } else {echo "margin:0 30px 0 0";}?> ; width: 350px; text-align: justify;    text-justify: inter-word;">
									<?php if (!empty($row['URL'])) {  ?> 
									<div style="clear:both">
										<a style="float:<?php if ($isLeft) { echo "left"; } else {echo "right"; }?>;" href="<?php echo $link_href;?>" alt="<?php echo $title;?>" />
											<?php echo $title;?>
										</a>
									</div><br /><br />
									<?php }  ?> 
									<a href="<?php echo $link_href;?>" alt="<?php echo $title;?>" style="text-decoration:none;color:#4F4F4F"/><p ><?php echo $description;?> </p>   </a>
								</div>
							</div>
						</li>
					<?php 
					$isLeft = !$isLeft; 
						}  ?> 
					
					</ul>

					<div class="gamma-overlay"></div> 
				</div>   
			</div> <!-- page_block -->
			<div class="page-footer">&copy; <?php echo $this->siteName; ?></div>
		</div> <!-- scroll-pane --> 	
	<?php 
	} else {
		if ($isArticles) { ?>

				<div class="submenu">
				<?php foreach ($this->listAllArticles as $row) { 
					if (!empty($row['CONTENT_SHORT'])) { ?>
					<a href="#article-<?php echo $row['ID'];  ?>" class="custom_font filter"><?php echo $row['CONTENT_SHORT'];  ?></a>
				<?php }
				} ?>
				</div>
				<div class="scroll-pane">
					<div class="page_block">

						<?php foreach ($this->listAllArticles as $row) { ?>
						<div id="article-<?php echo $row['ID'];  ?>">
							<?php echo $row['CONTENT']; ?>
						</div>
						<?php } ?>
						<div class="clear"></div>
					<?php if (!$isGallerie) { ?>
					</div> <!-- page_block -->
					<div class="page-footer">&copy; <?php echo $this->siteName; ?></div>
				</div> <!-- scroll-pane -->
				<?php } ?>
		<?php } 
		
		if ($isGallerie) { ?>

		<?php 
			$currentTheme = (int)$currentCat['ID_THEME'];
			$currentWithThumb = 0;
			if (isset($this->FeatureSiteThemeCms) && !empty($this->FeatureSiteThemeCms)) { 
				foreach ($this->FeatureSiteThemeCms as $row) { 
					if ($row['ID_THEME'] == $currentTheme && isset($row['WIDTH_THUMB']) && $row['WIDTH_THUMB'] > 0) {
						$currentWithThumb = $row['WIDTH_THUMB'];
						break;
					}
				} 
			}
			
			switch ($currentTheme) { 
				case 3: 
				case 4: 
				case 5:
				?>
				
			<link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl; ?>/business/light/gamma/css/style.css"/>
			<script src="<?php echo $this->baseUrl; ?>/business/light/gamma/js/modernizr.custom.70736.js"></script>
			<noscript><link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl; ?>/business/light/gamma/css/noJS.css"/></noscript>
			<script src="<?php echo $this->baseUrl; ?>/business/light/gamma/js/jquery.masonry.min.js"></script>
			<script src="<?php echo $this->baseUrl; ?>/business/light/gamma/js/js-url.min.js"></script>
			<script src="<?php echo $this->baseUrl; ?>/business/light/gamma/js/jquerypp.custom.js"></script>
			<script src="<?php echo $this->baseUrl; ?>/business/light/gamma/js/gamma.js"></script>
			
			
				<div id="page_top"></div>
				<?php if (!$isArticles) { ?>
				<div class="scroll-pane">
					<div class="page_block" >  
				<?php } ?>
						<div class="gamma-container gamma-loading" id="gamma-container">

							<ul class="gamma-gallery">

							<?php foreach ($this->listAllGalleries as $row) { 
								if (!empty($row['URL'])) { 
									$title = $this->escape($row['NOM']);
									$description = $this->escape($row['CONTENT_SHORT']);
									if (!empty($row['CONTENT_LONG'])) {
										if (!empty($description)) {
											$description .= " - ";
										}
										$description .= $this->escape($row['CONTENT_LONG']);
									}
								?>
								<li>
									<div data-alt="<?php echo $description;?>" data-description="<h3><?php echo $this->escape($row['CONTENT_SHORT']); ?></h3>" data-max-width="1800" data-max-height="1350">
										<div data-src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 0);?>" data-min-width="700"></div>
										<div data-src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 641);?>" data-min-width="600"></div>
										<div data-src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 295);?>" data-min-width="300"></div> 
										<div data-src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 180);?>" data-min-width="140"></div>
										<div data-src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 100);?>"></div> 
										<noscript>
											<img src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 100);?>" alt="<?php echo $description;?>"/>
										</noscript>
									</div>
								</li>
							<?php } } ?> 
							
							</ul>

							<div class="gamma-overlay"></div> 
						</div>  
				<?php if (!$isArticles) { ?>
					</div> <!-- page_block -->
					<div class="page-footer">&copy; <?php echo $this->siteName; ?></div>
				</div> <!-- scroll-pane -->
				<?php } ?>
			
					 
				<script type="text/javascript">
					
					$(function() {  
					
						var GammaSettings = { 
								viewport : [ {
									width : 600,
									columns : 3
								}, { 
									width : 0,
									columns : 2
								} ],
								overlayAnimated : false, 
						};

						Gamma.init( GammaSettings, fncallback );
		  
						function fncallback() { 

							var element = $('.scroll-pane').jScrollPane(); 
							var api = element.data('jsp');  
							api.reinitialise();
							
						}
					});

				</script>	

				<?php
					break;
				case 6:?>
				<div id="page_top"></div>
				<?php if (!$isArticles) { ?>
				<div class="scroll-pane">
					<div class="page_block">
				<?php } ?>
					<div class="col-md-12">
						<p class="margin_1line">&nbsp;</p>
						<p class="margin_1line margin_bottom_1line"><?php echo $currentCat['DESCRIPTION']; ?></p>
						<div class="responsiveslides-div" style="width:641px; height: 404px;">
							<ul class="rslides">
							<?php foreach ($this->listAllGalleries as $row) { 
								if (!empty($row['URL'])) { ?>
								<li><img src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], $currentWithThumb);?>" /></li>
							<?php } } ?>  
							</ul>
						</div>	
						
					</div>
				<?php if (!$isArticles) { ?>
					</div> <!-- page_block -->
					<div class="page-footer">&copy; <?php echo $this->siteName; ?></div>
				</div> <!-- scroll-pane -->
				<?php } ?>
					<?php
					break;
			}
		}
		if ($isArticles && $isGallerie) { ?>
				</div> <!-- page_block -->
			<div class="page-footer">&copy; <?php echo $this->siteName; ?></div>
		</div> <!-- scroll-pane -->
		<?php }
	}	 ?>
	
	</div>
<?php } ?>
		detail.phtml000060400000052067150713633560007073 0ustar00

<?php
	$product = $this->detailProduct;
	$userNamespace = new Zend_Session_Namespace($this->session_variable);
	$myCaddy = $userNamespace->myObjectCaddy;
	$nbOption = 3;

    $auth = Zend_Auth::getInstance();
	$auth->setStorage(new Zend_Auth_Storage_Session($this->session_storage));
	$storage = $auth->getStorage()->read(); 

?>	

<?php if (Utils_Tool::isMobile()) { ?>
	  <?php echo $this->render("/produits/detailmobile.phtml"); ?>
<?php } else { ?>

<?php if ($this->prefixPromoClass == "eco-") { ?>
<style type="text/css">

html, body {
	background: url('/business/image/eco-bg1.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 } ?>
 
<div >
    
	<?php echo $this->render("/produits/ajaxdownloaddocument.phtml"); ?>
	<?php echo $this->render("/produits/ajaxsendfriend.phtml"); ?>
</div>

<div class="col-xs-12 prod-detail-box" itemscope itemtype="http://schema.org/Product">
	<div class="col-xs-12 prod-detail-title-box noPadding">
		<?php 
		$colTitle = "col-xs-12";
		if (!empty($product['DOCNAME']) && !empty($product['DOCURL'])) { 
			$colTitle = "col-xs-10";
		} ?> 
			
		<div class="<?php echo $colTitle?> noPadding">
			<h1 class="prod-detail-title "  itemprop="name">
				<?php echo $this->escape($product['NOM']); ?>
			</h1>
		</div>

        <?php  if (!empty($product['DOCNAME']) && !empty($product['DOCURL'])) { 
            if (($auth->hasIdentity() && isset($storage['user'])) || !$this->FeatureProductDocumentDownloadGuest) { ?>
			    <div class="col-xs-2 noPadding">
				    <div style="float: left;" class=" hidden-xs hidden-sm">			
					    <div class="prod-detail-document" style="width: 100px;">					
						    <a href="<?php echo $this->baseUrl.'/'.$this->escape($product['DOCURL']); ?>" target="_blank">
							    <span > 
								    <?php echo $this->escape($product['DOCNAME']); ?>
							    </span>
						    </a>
					    </div>
				    </div>
				    <div class="prod-detail-document prod-detail-document-pic">
					    <a style="line-height: 50px;" class="tooltips" data-placement="bottom" title="<?php echo $this->escape($product['DOCNAME']); ?>" href="<?php echo $this->baseUrl.'/'.$this->escape($product['DOCURL']); ?>" target="_blank">
						    <img src="<?php echo $this->baseUrl; ?>/business/image/icon-pdf.png" alt="<?php echo $this->escape($product['DOCNAME']); ?>">	
					    </a>
				    </div>
			    </div>
		    <?php } else if ($this->FeatureProductDocumentDownloadGuest) { ?>
                <div class="col-xs-2 noPadding">
				    <div style="float: left;" class=" hidden-xs hidden-sm">			
					    <div class="prod-detail-document" style="width: 100px;">					
						    <a href="#dialog-form-doc" class="popup-with-form-doc" >
							    <span > 
								    <?php echo $this->escape($product['DOCNAME']); ?>
							    </span>
						    </a>
					    </div>
				    </div>
				    <div class="prod-detail-document prod-detail-document-pic">
					    <a style="line-height: 50px;" class="tooltips popup-with-form-doc"  data-placement="bottom" title="<?php echo $this->escape($product['DOCNAME']); ?>" href="#dialog-form-doc" >
						    <img src="<?php echo $this->baseUrl; ?>/business/image/icon-pdf.png" alt="<?php echo $this->escape($product['DOCNAME']); ?>">	
					    </a>
				    </div>
			    </div>
        <?php } } ?> 
	</div>
	<div class="col-xs-12 noPadding prod-detail-mid-box">
		<div class="col-md-6 col-xs-12 prod-detail-pics-box noPadding">
			<div class="pikachoose" >
				<ul id="pikame" class="jcarousel-skin-pika">
				<?php    foreach ($product['LISTPICS'] as $pic) { ?>
					<li><a data-fancybox-group="prodpicdetail" href="<?php echo $this->baseUrl.'/'.$pic['URL']; ?>" title="<?php echo $this->escape($pic['STRING1'].' '.$pic['STRING2']) ; ?>"><img itemprop="image" src="<?php echo $this->baseUrl.'/'.$pic['URL']; ?>" style="height: 300px"/></a><span><?php if (!empty($pic['STRING1'])) {  
										echo $pic['STRING1'].'<br/>';
									} if (!empty($pic['STRING2'])) {  
										echo $pic['STRING2'] ;
									} ?></span></li>
				<?php } ?>
				</ul>
			</div>
		</div>
		<div class="col-md-6 col-xs-12 noPadding prod-detail-info-box"  >		
			<div class="col-xs-12 prod-detail-info-box-content">
				<input type="hidden" id="isEcoDurable" value="<?php echo $this->prefixPromoClass;?>">
				<div>
  					<a href="#1" class="btn btn-tab-link <?php if(empty($this->prefixPromoClass)) { echo "btn-danger"; } else { echo "btn-success";} ?> btn-tab-default-active" data-liquidslider-ref="prod-info-slider-id">Description</a>
					<?php 
					$count = 2;
					if (!empty($product['DESCTECH'])) { ?>
 					<a href="<?php echo '#'.$count; ?>" class="btn btn-tab-link btn-tab-default-link" data-liquidslider-ref="prod-info-slider-id">Informations techniques</a>
					<?php $count++;} 
					if (!empty($product['DESCNORME'])) { ?>
					<a href="<?php echo '#'.$count; ?>" class="btn btn-tab-link btn-tab-default-link" data-liquidslider-ref="prod-info-slider-id">Normes</a>
					
						<?php } ?>
				</div>
			
				<div class="liquid-slider liquid-slider-product-info" id="prod-info-slider-id">				
				     <div>
	      				<?php echo $product['DESCLONG']; ?>
	      			</div>      			
						<?php if (!empty($product['DESCTECH'])) { ?>
						  <div>
		      				<?php echo $product['DESCTECH']; ?>
		      			</div>
						<?php } if (!empty($product['DESCNORME'])) { ?>
						  <div>
			      				<?php echo $product['DESCNORME']; ?>
			      			</div>
						<?php } ?>
						
				</div>
			</div>
			
			<div class="prod-detail-price"  itemprop="offers" itemscope itemtype="http://schema.org/Offer">
					<?php if ($product['isDEVISPRODUCT'] == 1) { ?>
          <meta itemprop="priceCurrency" content="EUR" />
          <meta itemprop="price" content="<?php echo number_format($product['PRIXLOWEST'], 2, ',', ' '); ?>" /> 
					<div class="productPriceDetailBox" >
						<span class="<?php echo $this->prefixPromoClass; ?>productPriceTitle" style="float: right;" >� partir de</span><br />
						<span class="<?php echo $this->prefixPromoClass; ?>productPriceDetail" ><?php echo number_format($product['PRIXLOWEST'], 2, ',', ' ').' '; ?> &#8364;</span>
						<span class="<?php echo $this->prefixPromoClass; ?>productPriceDetailHT"  style="float: right;" > HT</span>
					</div>
					<?php } else { ?>
					<div class="productPriceDetailBox">
						<span  class="<?php echo $this->prefixPromoClass; ?>productPriceTitle" style="margin-left: 10px; margin-top: 5px">Sur devis</span>
					</div>
					<?php } ?>
			</div>
      
		 	<div class="col-xs-12 " >
				<?php if (!empty($product['STOCK']) && !empty($product['STOCK']) && !$this->isProductOutOfStock) { ?>
				<div class="<?php echo $this->prefixPromoClass; ?>prod-detail-liv-title">D�lais de livraison
					<?php if ((int)$product['STOCK'] == 1) { ?>
					<img class="tooltips" alt="Disponible imm�diatement" title="Disponible imm�diatement" src="<?php echo $this->baseUrl; ?>/business/image/stock111.png">
					<?php } else if ((int)$product['STOCK'] == 2) { ?>
					<img class="tooltips" alt="Disponible sous 8 jours" title="Disponible sous 8 jours" src="<?php echo $this->baseUrl; ?>/business/image/stock222.png">
					<?php } else if ((int)$product['STOCK'] == 3) { ?>
					<img class="tooltips" alt="Nous contacter" title="Nous contacter" src="<?php echo $this->baseUrl; ?>/business/image/stock333.png">
					<?php }?> 
				</div>
				<?php } ?>
			</div>
		</div> 
	</div>
	
		
			<div class="col-xs-12 noPadding" style="margin-bottom: 5px;">	
				<div  class="col-sm-6 col-xs-12 noPadding "> 
					<?php if ($this->escape($product['BRENDURL']) && $product['isSHOWBREND'] == 0) {?>
           <meta itemprop="brand" content="<?php echo $this->escape($product['BREND']); ?>" />

					<img class="prod-detail-brend tooltips" title="<?php echo $this->escape($product['BREND']); ?>" src="<?php echo $this->baseUrl.'/'.$product['BRENDURL']; ?>" alt="<?php echo $product['BREND']; ?>" title="<?php echo $product['BREND']; ?>" />
					<?php } ?> 
					<?php if ($product['isQTEPRIXACTIVE']) { ?>
					<img class="tooltips" data-placement="right" alt="D�couvrez nos prix d�gressif" title="D�couvrez nos prix d�gressif" src="<?php echo $this->baseUrl; ?>/business/image/degressif2.png">
					<?php } ?>
				</div>
				<div  class="col-sm-6 col-xs-12">
          <?php $url = "http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]; ?>
          <a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo $url; ?>" class="btn btn-facebook"><i class="fa fa-facebook"></i></a>
          <a target="_blank" href="https://plus.google.com/share?url=<?php echo $url; ?>" class="btn btn-google-plus"><i class="fa fa-google-plus"></i></a>
          <a target="_blank" href="https://twitter.com/home?status=<?php echo $url; ?>" class="btn btn-twitter"><i class="fa fa-twitter"></i></a>
          <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo $url; ?>&title=<?php echo utf8_encode($this->escape($product['NOM'])); ?>&summary=<?php echo utf8_encode($this->escape($product['DESCSHORT'])); ?>&source=<?php echo $this->baseUrl_SiteCommerceUrl; ?>" class="btn btn-linkedin"><i class="fa fa-linkedin"></i></a>
        
         <?php  if ($this->FeatureProductSendDetail) { ?>
            <a href="#dialog-form-send-friend" class="btn btn-default popup-with-form-send-friend"><i class="fa fa-envelope"></i> Conseillez cet article</a>
         <?php  } ?>
          
        </div> 
			
			</div>

  <form id="productAddForm" action="<?php echo $this->baseUrl; ?>/produits/ajaxaddpanier/<?php echo $product['NAVNOM']; ?>/p/<?php echo $product['ID']; ?>" method="post">
    
    <div class="col-xs-12 noPadding prod-detail-buy text-right">
      <?php if (!$this->isProductOutOfStock) { ?> 
          <div class=" col-xs-12 noPadding">
            <div id="detailAddInfo" style="display:none" class="detailAddInfoContent"></div>
          </div>
          <button type="submit" class="btn btn-success btn-lg">
            <img id="prod-detail-add-btn" src="<?php echo $this->baseUrl; ?>/business/image/add-caddy.png" class="glyphicon-caddy" /> AJOUTER AU PANIER
          </button>
      <?php } else { ?>
        <span class="btn btn-success btn-lg">Le produit est �puis�</span>
      <?php } ?>
    </div>

  <div class="col-xs-12 noPadding">

			<div class="col-xs-12 noPadding">
				<input type="hidden" name="idProd" id="idProd" value="<?php echo $this->escape($product['ID']); ?>" />
          <h2 class="prod-detail-desc"  itemprop="description">
            <b>Descriptif : </b>
            <?php echo strip_tags($product['DESCSHORT']); ?>
          </h2>
				<table border="0" cellpadding="0" cellspacing="0" width="100%" class="prod-detail-ref-table">
					<thead>
					<tr >
						<th class="textTh1" style="text-align: center;" >Produit</th>
							
						<?php for($i=0 ; $i < $nbOption; $i++) { 
						if (isset($product['LISTOPTION'][$i]) && isset($product['LISTOPTION'][$i]['NOMOPTION']) ) {
							?>
						<th  class="textTh1 productDetail_option" > 
							<?php echo $this->escape($product['LISTOPTION'][$i]['NOMOPTION']); ?>
						</th>
						<?php }
						} ?>
						<?php  if ($product['ONSELECT_IDOPTION'] > 0  && !empty($product['ONSELECT_OPTION'])) { ?>
						<th  class="textTh1 productDetail_option" > 	
						 	<?php $currentOption = $product['ONSELECT_OPTION'];
								echo $currentOption->name;
							 ?>
						</th>
						<?php } ?>
						<th  class="textTh1" style="text-align: center;" width="130px" nowrap="nowrap">Prix Unitaire (HT)</th>
            <?php if (!$this->isProductOutOfStock) { ?>
						<th  class="textTh1 hidden-print" id="qteTableHeader" width="100px" style="text-align: center">Quantit�</th>
            <?php } ?>
					</tr>
					</thead>
					<tbody>
					<?php 
					$index = 1;
					$count = 0; 
					if (sizeof($product['LISTCHILD']) > 0) { 
						foreach($product['LISTCHILD'] as $child) {  ?>
						<tr align="center" class="<?php if ($index == 0) {echo 'trStripOdd'; $index=1;} else {$index=0; echo 'trStripEven';} ?>" >
																
							<td>
								<?php 
									$isFTFDS = false;
									if ($this->listFTFDS) {
									foreach($this->listFTFDS as $rowFTFDS) { 
										if ($rowFTFDS['ID_CHILD'] == $child['ID']) { ?>
									<div class="prod-detail-document" style="float: left;margin: 10px;" >
                                      <?php  if (($auth->hasIdentity() && isset($storage['user'])) || !$this->FeatureProductDocumentDownloadGuest) { ?>
			        					<a class="tooltips" data-placement="bottom" title="Voir la fiche technique et donn�es de s�curit�" href="<?php echo $this->baseUrl.'/'.$rowFTFDS['URL']; ?>" target="_blank">
											<img src="<?php echo $this->baseUrl; ?>/business/image/icon-pdf.png" alt="Voir la fiche technique et donn�es de s�curit�">	
										</a>
                                      <?php  } else if ($this->FeatureProductDocumentDownloadGuest) { ?>
										<a class="tooltips popup-with-form-doc" data-placement="bottom" title="Voir la fiche technique et donn�es de s�curit�" href="#dialog-form-doc" >
											<img src="<?php echo $this->baseUrl; ?>/business/image/icon-pdf.png" alt="Voir la fiche technique et donn�es de s�curit�">	
										</a>
                                      <?php  } ?>
                                         
                                         
									</div>
									<?php }}} ?>
									
									<div style="float: left;">
										<div class="textA1" style="width: auto;"> 
											<?php echo $child['DESIGNATION'];?>
										</div>
										<div class="textA1 productDetail_ref" >
											<div style="float: left;margin: 5px 0 5px 0">
												<?php echo "Ref. ".$this->escape($child['REFERENCE']); ?>
											</div>
											<?php if ($child['isQTEPRIXACTIVE'] && $child['QTEPRIXITEM'] > 0) { ?>
											<div style="float: right;margin: 0 10px 5px 0">
												<a class="btn <?php if(empty($this->prefixPromoClass)) { echo "btn-danger"; } else { echo "btn-success";} ?> tooltips showModalPrice" data-placement="right" href="<?php echo $this->baseUrl; ?>/<?php echo Utils_Tool::getFormattedUrlProduct($product['NAVNOM_URLPARENTS'], $product['NAVNOM'], $product['ID']); ?>" title="Nos prix d�gressif" id="item-<?php echo $child['ID']; ?>-<?php echo $child['QTEPRIXITEM'];?>">
													Prix d�gressif
												</a>
							 				</div>
											<?php } ?>
										</div>
									</div>
							</td>
							<?php for($i=0 ; $i < $nbOption; $i++) { 
							if (isset($product['LISTOPTION'][$i]) && isset($product['LISTOPTION'][$i]['NOMOPTION'])) { ?>
							<td class="textTd1 ">
								<?php 
								 if (isset($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']])) {echo $this->escape($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']]['OPTIONVALUE']); } 
								?> 
							</td>
							<?php } } ?>
							
							<?php  if ($product['ONSELECT_IDOPTION'] > 0  && !empty($product['ONSELECT_OPTION'])) { ?>
							<td  class="textTh1" > 	
							 	<select name="selectedOption_<?php echo $count; ?>" class="selectedOption form-control">
									<?php 
									$optionsList = $product['ONSELECT_OPTION'];
									foreach($optionsList->values as $currentOption) {  ?>
									<option value="<?php echo $currentOption; ?>">
										<?php echo $currentOption; ?> 
									</option>
									<?php } ?>
								</select> 
							</td>
							<?php } ?>
							
							
							<td align="center" >
							<?php $this->currentData = $child;
								echo $this->render("/produits/ajaxshowpromoprice.phtml"); ?>
							</td>
              <?php if (!$this->isProductOutOfStock) { ?>
							<td class="textTd1  hidden-print" >
								<div class="col-md-8 col-md-offset-2 noPadding">
								<?php  
									if (isset($myCaddy->items))  {
										$myValue = $myCaddy->getQuantity($child['ID']);
									}
								
									?>
									<input onclick="clearById('quantity_<?php echo $this->escape($child['ID']); ?>', '0')" type="text" class="form-control text-center" maxlength="5" name="quantity_<?php echo $this->escape($child['ID']); ?>" id="quantity_<?php echo $this->escape($child['ID']); ?>" value="<?php echo $myValue; ?>" />
									<input type="hidden" name="idChild_<?php echo $count; ?>" value="<?php echo $this->escape($child['ID']); ?>" />
									<input type="hidden" name="qtyMinChild_<?php echo $count; ?>" value="<?php echo $this->escape($child['QUANTITYMIN']); ?>" />
									<input type="hidden" name="isAccessoire_<?php echo $count; ?>" value="N" >
								</div>
							</td>
              <?php } ?>
						</tr>
						<?php $count++; } }
						
						
						
						if (sizeof($product['PRODUCT_ACCESSOIRE']) > 0) {  
					foreach ($product['PRODUCT_ACCESSOIRE']  as $child ) { ?>
					<tr align="center" class="<?php if ($index == 0) {echo 'trStripOdd'; $index=1;} else {$index=0; echo 'trStripEven';} ?>"  >
																
							<td>
									<div style="float: left;">
										<div class="textA1" style="width: auto;"> 
											<?php echo $child['DESIGNATION'];?>
										</div>
										<div class="textA1 productDetail_ref" >
											<div style="float: left;margin: 5px 0 5px 0">
												<?php echo "Ref. ".$this->escape($child['REFERENCE']); ?>
											</div>
											<?php if ($child['isQTEPRIXACTIVE'] && $child['QTEPRIXITEM'] > 0) { ?>
											<div style="float: right;margin: 0 10px 5px 0">
												<a class="btn <?php if(empty($this->prefixPromoClass)) { echo "btn-danger"; } else { echo "btn-success";} ?> tooltips showModalPrice" data-placement="right" href="<?php echo $this->baseUrl; ?>/<?php echo Utils_Tool::getFormattedUrlProduct($product['NAVNOM_URLPARENTS'], $product['NAVNOM'], $product['ID']);?>" title="Nos prix d�gressif" id="item-<?php echo $child['ID']; ?>-<?php echo $child['QTEPRIXITEM'];?>">
													Prix d�gressif
												</a>
							 				</div>
											<?php } ?>
										</div>
									</div>
							</td>
							<?php for($i=0 ; $i < $nbOption; $i++) { 
							if (isset($product['LISTOPTION'][$i]) && isset($product['LISTOPTION'][$i]['NOMOPTION'])) { ?>
							<td class="textTd1">
								<?php 
								 if (isset($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']])) {echo $this->escape($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']]['OPTIONVALUE']); } 
								?> 
							</td>
							<?php } } ?>
							
							<?php  if ($product['ONSELECT_IDOPTION'] > 0  && !empty($product['ONSELECT_OPTION'])) { ?>
							<td  class="textTh1" > 	
							 	<select name="selectedOption_<?php echo $count; ?>" class="selectedOption form-control">
									<?php 
									$optionsList = $product['ONSELECT_OPTION'];
									foreach($optionsList->values as $currentOption) {  ?>
									<option value="<?php echo $currentOption; ?>">
										<?php echo $currentOption; ?> 
									</option>
									<?php } ?>
								</select> 
							</td>
							<?php } ?>
							
							<td align="center" >
							<?php $this->currentData = $child;
								echo $this->render("/produits/ajaxshowpromoprice.phtml"); ?>
							</td>
            <?php if (!$this->isProductOutOfStock) { ?>
							<td class="textTd1  hidden-print" >
								<div class="col-md-8 col-md-offset-2 noPadding">
								<?php  
									if (isset($myCaddy->items))  {
										$myValue = $myCaddy->getQuantity($child['ID']);
									}
								
									?>
									<input onclick="clearById('quantity_<?php echo $this->escape($child['ID']); ?>', '0')" type="text" class="form-control text-center" maxlength="5" name="quantity_<?php echo $this->escape($child['ID']); ?>" id="quantity_<?php echo $this->escape($child['ID']); ?>" value="<?php echo $myValue; ?>" />
									<input type="hidden" name="idChild_<?php echo $count; ?>" value="<?php echo $this->escape($child['ID']); ?>" />
									<input type="hidden" name="qtyMinChild_<?php echo $count; ?>" value="<?php echo $this->escape($child['QUANTITYMIN']); ?>" />
									<input type="hidden" name="isAccessoire_<?php echo $count; ?>" value="Y" >
								</div>
							</td>
            <?php } ?>
						</tr>
					<?php $count++; }}  ?>
					</tbody>
				</table>
				<input type="hidden" name="nbr" value="<?php echo $count; ?>" />
			</div>
			<div class="col-xs-12 noPadding">
			
				<div class="<?php echo $this->prefixPromoClass; ?>prod-detail-caracs col-sm-6 col-xs-12">
					<a class="showModalDetail tooltips" data-placement="bottom" data-nbrchilds="<?php echo $count;?>" href="<?php echo $this->baseUrl; ?>/<?php echo Utils_Tool::getFormattedUrlProduct($product['NAVNOM_URLPARENTS'], $product['NAVNOM'], $product['ID']);?>" title="Voir toutes les caract�ristiques - <?php echo $this->escape($product['NOM']); ?>">Voir toutes les caract�ristiques</a>
				</div>
				
				
				<div id="productAddFormLog"> </div>
			</div>
  </div>
  </form>
</div>

	<?php echo $this->render("/produits/ajaxannexelist.phtml"); ?>
<script type="text/javascript">
$(function(){
	initEventDetail(); 
}); 
</script> 
<?php } ?>

			ajaxshowchildqteprice.phtml000060400000003047150713633560012210 0ustar00<?php header('Content-type: text/html; charset=iso-8859-1');
$productQte = $this->detailProductQte; 
if (isset($productQte) && !empty($productQte)) {  
?>  
<link href="<?php echo $this->baseUrl; ?>/business/css/default-bootstrap.css" rel="stylesheet">
    <link href="<?php echo $this->baseUrl; ?>/business/css/default.css" rel="stylesheet">
<style>
html, body {
background-color: white;
}
</style>
<table cellpadding="0" cellspacing="0"   class="prod-detail-ref-table"> 
	<thead>
		<tr align="center"  >
			<th colspan="2"  >Quantit�</th>  
			<th  >Prix unitaire &#8364;</th>  
		</tr> 
		<tr align="center" class="headerQtePrice">
			<th width="70px"   >De</th> 
			<th width="70px"   >�</th> 
			<th width="120px" >HT</th>  
		</tr> 
	</thead>
	<tbody>
	<?php 
		$index = 1;
		foreach($productQte as $row) { ?>
	<tr  class=" <?php if ($index == 0) {echo 'trStripOdd'; $index=1;} else {$index=0; echo 'trStripEven';} ?>" style="height:30px">    
		<td align="center" >
			<span><?php echo $this->escape($row['MIN']);?></span> 
		</td> 
		<td align="center"  >
			<span>
			<?php if ($row['MAX'] <> 999999999) { echo $this->escape($row['MAX']); }
			else {echo "Et Plus"; } ?></span> 
		</td> 
		<td  align="center"  >
			<div class="text12" >
				<?php echo number_format($row['PRIX'], 2, ',', ' ').' ';?>
				<span style="color: #000000">&#8364;</span>
			</div> 
		</td>  
	</tr>
	<?php } ?>
	</tbody>
</table> 
<?php } else { ?>
<div style="clear: both;text-align: center;vertical-align:middle;">Aucun prix d�gressif n'est disponible pour cet article.</div>
<?php } ?>ajaxshowallchilds.phtml000060400000006516150713633560011333 0ustar00<?php header('Content-type: text/html; charset=iso-8859-1');
$product = $this->detailProduct; 
if (isset($product) && !empty($product)) { 
$nbOption = sizeof($product['LISTOPTION']);
?> 
<link href="<?php echo $this->baseUrl; ?>/business/css/default-bootstrap.css" rel="stylesheet">
    <link href="<?php echo $this->baseUrl; ?>/business/css/default.css" rel="stylesheet">
    <style>
html, body {
background-color: white;
}
</style>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="prod-detail-ref-table">
	<thead>
	<tr > 
		<th >Produit</th>
			
		<?php for($i=0 ; $i<$nbOption; $i++) { 
		if (isset($product['LISTOPTION'][$i]) && isset($product['LISTOPTION'][$i]['NOMOPTION']) ) {
			?>
		<th  class=" productDetail_option" style="padding: 10px"> 
			<?php echo $this->escape($product['LISTOPTION'][$i]['NOMOPTION']); ?>
		</th>
		<?php }
		} ?>
	</tr>
	</thead>
	<tbody>
	<?php 
	$index = 1;
	$count = 0;
	foreach($product['LISTCHILD'] as $child) { 
		
		?>
	<tr align="center" class="<?php if ($index == 0) {echo 'trStripOdd'; $index=1;} else {$index=0; echo 'trStripEven';} ?>" >
			<td valign="top" >	
			<div class="textA1" style="width: auto;clear:both"> 
				<?php echo $child['DESIGNATION'];?>
			</div>
			<div class="textA1 productDetail_ref" >
				<?php echo "Ref. ".$this->escape($child['REFERENCE']);?>
			</div>
		</td>
		<?php for($i=0 ; $i<$nbOption; $i++) { 
		if (isset($product['LISTOPTION'][$i]) && isset($product['LISTOPTION'][$i]['NOMOPTION'])) { ?>
		<td class="textTd1" >
		
			<?php if ($product['ONSELECT_IDOPTION'] > 0 ) {
					if (($product['LISTOPTION'][$i]['IDOPTION'] == $product['ONSELECT_IDOPTION']) && isset($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']])) { ?>
				 	<?php 
					$optionsForChild = explode(";", $this->escape($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']]['OPTIONVALUE']));;
					foreach($optionsForChild as $currentOption) {  
						echo $this->escape($currentOption)."<br/><br/>"; 
					} ?> 
			<?php } else {
				if (isset($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']])) {echo $this->escape($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']]['OPTIONVALUE']); } 
				} 
			} else {
				 if (isset($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']])) {echo $this->escape($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']]['OPTIONVALUE']); } 
			} ?> 
		</td>
		<?php } } ?> 
	</tr>
	<?php $count++; } ?>	
	 
	<?php  
	foreach ($product['PRODUCT_ACCESSOIRE']  as $childAccessoire ) {  
		?>
	<tr align="center" class="<?php if ($index == 0) {echo 'trStripOdd'; $index=1;} else {$index=0; echo 'trStripEven';} ?>"  >
						 
		<td valign="top" >	
			<div class="textA1" style="width: auto;clear:both"><?php echo $childAccessoire['DESIGNATION'];?></div>

			<div class="textA1 productDetail_ref">
				<?php echo "Ref. ".$this->escape($childAccessoire['REFERENCE']);?>
			</div>
		</td>
		<?php for($i=0 ; $i<$nbOption; $i++) { 
		if (isset($product['LISTOPTION'][$i]) && isset($product['LISTOPTION'][$i]['NOMOPTION'])) { ?>
		<td class="textTd1">
			<?php if (isset($childAccessoire['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']])) {echo $this->escape($childAccessoire['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']]['OPTIONVALUE']); } ?>
		</td>
		<?php } } ?> 
	</tr>
	<?php $count++; }  ?>
	</tbody>
</table>
<?php } ?>monpanier.phtml000060400000001157150713633560007613 0ustar00

<script  type="text/javascript" >

$(function(){
	initEventsCaddy();
});

</script>
<div class="col-xs-12 caddy-header-box" style="padding-left: 0;">
	<div class="col-xs-10 col-xs-offset-1 caddy_flux" style="padding-left: 0;">
		<div class="caddy_flux_panier_over"></div>
		<div class="caddy_flux_separator"></div>
		<div class="caddy_flux_id"></div>
		<div class="caddy_flux_separator"></div>
		<div class="caddy_flux_livraison"></div>
		<div class="caddy_flux_separator"></div>
		<div class="caddy_flux_validation"></div>
	</div>
</div>
<div id="caddyArea">
<?php echo $this->render("/ajax/ajaxcaddy.phtml"); ?>

</div>ajaxannexelist.phtml000060400000001444150713633560010640 0ustar00<?php header('Content-type: text/html; charset=iso-8859-1'); ?>


<?php if (isset($this->listAnnexes) && !empty($this->listAnnexes)) { ?>
<div
	class="col-xs-12 hidden-print <?php echo $this->prefixPromoClass; ?>footer-content-divider"></div>
<div class="col-xs-12 noPadding prod-detail-annexe-box">
<div class="col-xs-12 noPadding">
<div class="productAnnexeLabel" style="color : <?php if(empty($this->prefixPromoClass)) { echo $this->actualDesign['color']; } else { echo "#000";} ?>;">
<h3>Les clients ayant consult� cet article ont �galement regard� ces produits</h3></div>
</div>
<?php
//$color = "none";
$color = $this->actualDesign['color'];
foreach ($this->listAnnexes as $product) {
	$this->currentData = $product;
	echo $this->render("/produits/ajaxshowproductbox.phtml");
}  ?></div>
<?php } ?>ajaxsendfriend.phtml000060400000006776150713633560010624 0ustar00
 <?php header('Content-Type: text/html; charset=ISO-8859-15'); ?>

<?php if (!$this->isSuccess) { ?>
<?php
	$product = $this->detailProduct;
?>	

    <form id="dialog-form-send-friend" class="white-popup-block-medium mfp-hide form-horizontal" action="<?php echo $this->baseUrl.'/produits/ajaxsendfriend'; ?>" method="post">
	    <script type="text/javascript">
            $(function() {
                initDetailProductDialogSendFriend();
            });
        </script>
        <span class="indexBox4_title2">Conseillez cet article</span>
	    <fieldset style="border:0;">
		    <p>Pour partager cet article, veuillez renseigner le formulaire ci-dessous.</p>
		    
            <?php 
	        $auth = Zend_Auth::getInstance();
	        $auth->setStorage(new Zend_Auth_Storage_Session($this->session_storage));
	        $storage = $auth->getStorage()->read();  
            $currentName = "";
		    if ($auth->hasIdentity() && isset($storage['user'])) {
             $currentName = $storage['user']['prenom'].' '.$storage['user']['nom'];
            }
            ?>
             <div class="form-group">
				<label for="name_friend" class="col-sm-3 control-label">Nom de l'exp�diteur</label>
                 <div class="col-sm-9">
				    <input id="name_friend" name="name_friend" type="text" value="<?php echo $currentName; ?>" placeholder="Nom de l'exp�diteur" class="form-control" required="">
			   </div>
			</div>
			<div class="form-group">
				<label for="email_friend" class="col-sm-3 control-label" >Email de destination</label>
				<div class="col-sm-9">
                     <input id="email_friend" name="email_friend" type="email" placeholder="exemple@domaine.com" class="form-control" required="">
			     </div>
			</div>
             <div class="form-group">
				    <label for="message_friend" class="col-sm-3 control-label">Votre message</label>
                  <div class="col-sm-9">
                    <?php 
                     $linkProd = Utils_Tool::getFormattedUrlProduct($product['NAVNOM_URLPARENTS'], $product['NAVNOM'], $product['ID']);
	                 $linkCat = Utils_Tool::getFormattedUrlCategory($product['NAVNOM_URLPARENTS'], $product['CATNAVNOM'], $product['IDCATEGORY']);
                    
                    ?>
                    <textarea id="message_friend" name="message_friend" class="form-control" rows="10" cols="70">Bonjour,
                      
Voici un produit int�ressant trouv� sur le site <?php echo $this->baseUrl_SiteCommerceUrl; ?> : 

Le nom du produit est : <?php echo $this->escape($product['NOM']); ?>


Pour y acc�der : 

<?php echo $this->baseUrl_SiteCommerceUrl."/".$linkProd; ?>


<?php echo $this->siteName; ?> pr�sente toute une gamme de <?php echo $product['CATNOM'] ?>, � d�couvrir en cliquant sur le lien suivant :

<?php echo $this->baseUrl_SiteCommerceUrl."/".$linkCat; ?>
                    </textarea>
			    </div>
			</div>
			<div class="form-group">
                <div class="col-sm-12 text-center">
                    <input type="submit" class="btn btn-default" value="Envoyer le mail" /> 
                    <input type="hidden" name="product_id_friend" value="<?php echo $product['ID']; ?>" /> 
                    </div> 
			</div> 
	    </fieldset>
    </form>

<?php } else { ?>
<div class="white-popup-block-medium">
    <div class="text-center">
        <?php echo $this->message ;?><br /><br />
    </div> 
    <div class="text-center">
        <input type="button" class="btn btn-danger" value="Fermer" onclick="$.magnificPopup.close();" /> 
    </div> 
</div> 
<?php } ?>categorie_gamma.phtml000060400000011350150713633560010723 0ustar00<?xml version="1.0" encoding="Windows-1252"?>

<?php  
	$currentCat = array();
	$currentCat = $this->currentCat;
?> 

<?php if (isset($currentCat['ID_THEME']) && $currentCat['ID_THEME'] == 2) {
	
	echo $this->render("/index/index.phtml");
	
} else { ?>

	<div id="page">

	<?php   
		if (isset($currentCat['NOM']) && !empty($currentCat['NOM'])) { ?>
		<div class="big_header"><h1 class="big_header"><?php echo $currentCat['NOM'];  ?></h1></div>
	<?php } 

	if (isset($currentCat['ID_THEME']) && !empty($currentCat['ID_THEME']) && isset($this->listAllGalleries) && !empty($this->listAllGalleries)) { ?>

	<?php
		$currentTheme = (int)$currentCat['ID_THEME'];
		$currentWithThumb = 0;
		if (isset($this->FeatureSiteThemeCms) && !empty($this->FeatureSiteThemeCms)) { 
			foreach ($this->FeatureSiteThemeCms as $row) { 
				if ($row['ID_THEME'] == $currentTheme && isset($row['WIDTH_THUMB']) && $row['WIDTH_THUMB'] > 0) {
					$currentWithThumb = $row['WIDTH_THUMB'];
					break;
				}
			} 
		}
		
		switch ($currentTheme) { 
			case 3: 
			case 4: 
			case 5:
			?>
			
        <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl; ?>/business/light/gamma/css/style.css"/>
		
        <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl; ?>/business/light/gamma/css/stylesite.css"/>
		<script src="<?php echo $this->baseUrl; ?>/business/light/gamma/js/modernizr.custom.70736.js"></script>
		<noscript><link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl; ?>/business/light/gamma/css/noJS.css"/></noscript>
		<script src="<?php echo $this->baseUrl; ?>/business/light/gamma/js/jquery.masonry.min.js"></script>
		<script src="<?php echo $this->baseUrl; ?>/business/light/gamma/js/js-url.min.js"></script>
		<script src="<?php echo $this->baseUrl; ?>/business/light/gamma/js/jquerypp.custom.js"></script>
		<script src="<?php echo $this->baseUrl; ?>/business/light/gamma/js/gamma.js"></script>
		
		
			<div id="page_top"></div>
			<div class="scroll-pane">
				<div class="page_block">
					<div class="gamma-container gamma-loading" id="gamma-container">

						<ul class="gamma-gallery">

						<?php foreach ($this->listAllGalleries as $row) { 
							if (!empty($row['URL'])) { ?>
							<li>
								<div data-alt="<?php echo $this->escape($row['CONTENT_SHORT']);?>" data-max-width="1800" data-max-height="1350">
									<div data-src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 641);?>" data-min-width="700"></div>
									<div data-src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 295);?>" data-min-width="300"></div>
									<div data-src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 0);?>"></div>
									<noscript>
										<img src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 0);?>" alt="<?php echo $this->escape($row['CONTENT_SHORT']);?>"/>
									</noscript>
								</div>
							</li>
						<?php } } ?>
						</ul>

					<div class="gamma-overlay"></div> 
				</div>
			</div>
			

		<script type="text/javascript">
			
			$(function() {

				var GammaSettings = { 
						viewport : [ {
							width : 600,
							columns : 3
						}, { 
							width : 0,
							columns : 2
						} ]
				};

				Gamma.init( GammaSettings, fncallback );
  
				function fncallback() {  }

			});

		</script>	
		
			<?php
				break;
			case 6:?>
			<div id="page_top"></div>
			<div class="scroll-pane">
				<div class="page_block">
					<p class="margin_1line">&nbsp;</p>
					<p class="margin_1line margin_bottom_1line"><?php echo $currentCat['DESCRIPTION']; ?></p>
					<div class="responsiveslides-div" style="width:641px; height: 404px;">
						<ul class="rslides">
						<?php foreach ($this->listAllGalleries as $row) { 
							if (!empty($row['URL'])) { ?>
							<li><img src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], $currentWithThumb);?>" /></li>
						<?php } } ?>  
						</ul>
					</div>	
				</div>
				<div class="page-footer">&copy; <?php echo $this->siteName; ?></div>
			</div>		
				<?php
				break;
		}
	} else if (isset($this->listAllArticles) && !empty($this->listAllArticles)) { ?>

			<div class="submenu">
			<?php foreach ($this->listAllArticles as $row) { 
				if (!empty($row['CONTENT_SHORT'])) { ?>
				<a href="#article-<?php echo $row['ID'];  ?>" class="custom_font filter"><?php echo $row['CONTENT_SHORT'];  ?></a>
			<?php }
			} ?>
			</div>
			<div class="scroll-pane">
				<div class="page_block">

					<?php foreach ($this->listAllArticles as $row) { ?>
					<div id="article-<?php echo $row['ID'];  ?>">
						<?php echo $row['CONTENT']; ?>
					</div>
					<?php } ?>
					<div class="clear"></div>
				</div>
				<div class="page-footer">&copy; <?php echo $this->siteName; ?></div>
			</div>

	<?php } ?>
	</div>
<?php } ?>
		ajaxfacets.phtml000060400000003522150713633560007732 0ustar00

<?php  
  $listFacets = $this->listSearchFacets;  
  $facetPosition = 0;
if (!empty($listFacets) && !empty($listFacets)) {?>
  <form action="<?php echo $this->baseUrl; ?>/produits/recherche" method="post" id="searchfacet">
    <input type="hidden" value="<?php echo $this->searchKey; ?>>" name="key" />
    <div class="facet-main" id="facet-main">
	    <?php foreach ($listFacets as $row) { 
       $facetPosition++;
        if (isset($row->Values->ProductFacetValue)) { 
          $displayUl = "none";
          if ($facetPosition < 4 || $row->IsSelected) {
            $displayUl="block";
          }
        ?>
        <div class="facet-content">
          <div class="facet-name"><?php echo $row->Name; ?></div>
          <ul style="display:<?php echo $displayUl; ?>">
	        <?php
          
            $facetValue = array();
            if (!is_array($row->Values->ProductFacetValue)) { 
                array_push($facetValue, $row->Values->ProductFacetValue); 
            } else {
                $facetValue = $row->Values->ProductFacetValue;
            }
            
            $count = 1; 
            foreach ($facetValue as $rowValue) { 
              $idFacet =  $row->Id."_".$count;
            ?>
              <li>
                <input type="checkbox" name="facet_<?php echo $idFacet;  ?>" 
                id="facet_<?php echo $idFacet; ?>" 
                onclick="selectCurrentFacetSubmit()" 
                value="<?php echo $rowValue->Value; ?>" 
                <?php if ($rowValue->IsSelected) { echo "checked"; } ?> /> 
                <a href="javascript:;" class="facet-value-link" onclick="selectCurrentFacet('facet_<?php echo $idFacet; ?>');"><?php echo $rowValue->Value; ?></a> 
              </li>
            <?php $count++; } ?>
          
          </ul>
        </div>
      <?php }
      } ?>
    </div>
  </form>
<?php } ?> catalogue.phtml000060400000000026150713633560007561 0ustar00Catalogue ou Connexioncategorie_default_theme.phtml000060400000012775150713633560012463 0ustar00<?xml version="1.0" encoding="Windows-1252"?>


<?php  
	$currentCat = array();
	$currentCat = $this->currentCat;
?> 

<?php if (isset($currentCat['ID_THEME']) && $currentCat['ID_THEME'] == 2) {
	
	echo $this->render("/index/index.phtml");
	
} else { ?>

	<div id="page">

	<?php   
		if (isset($currentCat['NOM']) && !empty($currentCat['NOM'])) { ?>
		<div class="big_header"><h1 class="big_header"><?php echo $currentCat['NOM'];  ?></h1></div>
	<?php } 

	if (isset($currentCat['ID_THEME']) && !empty($currentCat['ID_THEME']) && isset($this->listAllGalleries) && !empty($this->listAllGalleries)) { ?>

	<?php
		$currentTheme = (int)$currentCat['ID_THEME'];
		$currentWithThumb = 0;
		if (isset($this->FeatureSiteThemeCms) && !empty($this->FeatureSiteThemeCms)) { 
			foreach ($this->FeatureSiteThemeCms as $row) { 
				if ($row['ID_THEME'] == $currentTheme && isset($row['WIDTH_THUMB']) && $row['WIDTH_THUMB'] > 0) {
					$currentWithThumb = $row['WIDTH_THUMB'];
					break;
				}
			} 
		}
		
		switch ($currentTheme) { 
			case 3:
			?>
			<div id="page_top"></div>
			<div class="scroll-pane">
				<div class="page_block">
					<ul class="portfolio2c margin_1line" id="portfolio-list">	
						<?php foreach ($this->listAllGalleries as $row) { 
							if (!empty($row['URL'])) { ?>
						<li class="category2 category3">
							<div class="item">
								<img style="width:310px;" src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], $currentWithThumb);?>" alt="<?php echo $this->escape($row['CONTENT_SHORT']);?>"/>
								<a class="gallery_group" rel="gallery_group" href="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 0);?>" title="<?php echo $this->escape($row['CONTENT_LONG']);?>">
								</a>
								<div class="details">
									<div class="mblogfooter2 custom_font"><p><?php echo $this->escape($row['CONTENT_SHORT']);?></p></div>
								</div>				
							</div>
						</li>
						<?php } } ?>
					</ul>
				</div>
				<div class="page-footer">&copy; <?php echo $this->siteName; ?></div>
			</div>
			<?php
				break;
			case 4:
			?>
			<div id="page_top"></div>
			<div class="scroll-pane">
				<div class="page_block">
					<ul class="portfolio3c margin_1line" id="portfolio-list">	
						<?php foreach ($this->listAllGalleries as $row) { 
							if (!empty($row['URL'])) { ?>
						<li class="category2 category3">
							<div class="item">
								<img style="width:200px;" src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], $currentWithThumb);?>" alt="<?php echo $this->escape($row['CONTENT_SHORT']);?>"/>
								<a class="gallery_group" rel="gallery_group" href="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 0);?>" title="<?php echo $this->escape($row['CONTENT_LONG']);?>">
								</a>
								<div class="details">
									<div class="mblogfooter2 custom_font"><p><?php echo $this->escape($row['CONTENT_SHORT']);?></p></div>
								</div>				
							</div>
						</li>
						<?php } } ?>
					</ul>
				</div>
				<div class="page-footer">&copy; <?php echo $this->siteName; ?></div>
			</div>
			<?php
				break;
			case 5:
			?>
			<div id="page_top"></div>
			<div class="scroll-pane">
				<div class="page_block">
					<ul class="portfolio4c margin_1line" id="portfolio-list">	
						<?php foreach ($this->listAllGalleries as $row) { 
							if (!empty($row['URL'])) { ?>
						<li class="category2 category3">
							<div class="item">
								<img style="width:142px;" src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], $currentWithThumb);?>" alt="<?php echo $this->escape($row['CONTENT_SHORT']);?>"/>
								<a class="gallery_group" rel="gallery_group" href="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], 0);?>" title="<?php echo $this->escape($row['CONTENT_LONG']);?>">
								</a>
								<div class="details">
									<div class="mblogfooter2 custom_font"><p><?php echo $this->escape($row['CONTENT_SHORT']);?></p></div>
								</div>				
							</div>
						</li>
						<?php } } ?>
					</ul>
				</div>
				<div class="page-footer">&copy; <?php echo $this->siteName; ?></div>
			</div>
			<?php
				break;
			case 6:?>
			<div id="page_top"></div>
			<div class="scroll-pane">
				<div class="page_block">
					<p class="margin_1line">&nbsp;</p>
					<p class="margin_1line margin_bottom_1line"><?php echo $currentCat['DESCRIPTION']; ?></p>
					<div class="responsiveslides-div" style="width:641px; height: 404px;">
						<ul class="rslides">
						<?php foreach ($this->listAllGalleries as $row) { 
							if (!empty($row['URL'])) { ?>
							<li><img src="<?php echo $this->baseUrl.'/'.Utils_Tool::find_thumb($row['URL'], $currentWithThumb);?>" /></li>
						<?php } } ?>  
						</ul>
					</div>	
				</div>
				<div class="page-footer">&copy; <?php echo $this->siteName; ?></div>
			</div>		
				<?php
				break;
		}
	} else if (isset($this->listAllArticles) && !empty($this->listAllArticles)) { ?>

			<div class="submenu">
			<?php foreach ($this->listAllArticles as $row) { 
				if (!empty($row['CONTENT_SHORT'])) { ?>
				<a href="#article-<?php echo $row['ID'];  ?>" class="custom_font filter"><?php echo $row['CONTENT_SHORT'];  ?></a>
			<?php }
			} ?>
			</div>
			<div class="scroll-pane">
				<div class="page_block">

					<?php foreach ($this->listAllArticles as $row) { ?>
					<div id="article-<?php echo $row['ID'];  ?>">
						<?php echo $row['CONTENT']; ?>
					</div>
					<?php } ?>
					<div class="clear"></div>
				</div>
				<div class="page-footer">&copy; <?php echo $this->siteName; ?></div>
			</div>

	<?php } ?>
	</div>
<?php } ?>
		ajaxshowpromoprice.phtml000060400000002325150713633560011545 0ustar00<?php header('Content-type: text/html; charset=iso-8859-1');

if ($this->currentData) {
	$currentData = $this->currentData;
if ($currentData['isDEVIS'] == 1) { 
			if ($currentData['isPROMO'] == 0) { ?> 
			<div class="productDetail_priceBox" <?php if ($currentData['PROMOPRIX'] > 999) { echo 'style="width:165px;"'; } ?>>   
		 		<div class="productDetail_promoImag hidden-print" >
					<img class="tooltips" data-placement="bottom" src="<?php echo $this->baseUrl; ?>/business/image/promo.png" alt="Ce produit est en promotion" title="Ce produit est en promotion" >
				</div>
		 		<div class="productDetail_price" >
			 		 <div class="text12" >
					 	<?php echo number_format($currentData['PROMOPRIX'], 2, ',', ' ').' ';?>
					 	<span style="color: #000000">&#8364;</span> 
					 </div>
					 <div>
					 	<span class='oldPromoPrice'> <?php echo number_format($currentData['PRIX'], 2, ',', ' ').' ';?>&#8364;</span>
					 </div>
		 		</div> 
			</div>
		<?php } else { ?> 
				<div class="text12" >
					<?php echo number_format($currentData['PRIX'], 2, ',', ' ').' ';?>
					<span style="color: #000000">&#8364;</span>
				</div> 
		<?php } 
	 } else { ?> 
			<div  class="text12">
				<span>sur devis</span>
			</div> 
	<?php }} ?>nosmarquesdetail.phtml000060400000000626150713633560011203 0ustar00
<?php $brend = $this->brends; ?>
<div class="page-header">
  <div class="col-xs-6 col-md-3">
    <a href="#" class="thumbnail">
      <img src="<?php echo $this->baseUrl."/".$brend["URL"]; ?>" alt="<?php echo $brend["BREND"]; ?>" />
    </a>
  </div>
  <h1><?php echo $brend["BREND"]; ?><small><?php echo $brend["DESCRIPTIONSHORT"]; ?></small></h1>
  <p><?php echo $brend["DESCRIPTIONLONG"]; ?></p>
</div>recherche.phtml000060400000002134150713633560007547 0ustar00

<div id="productContainer" class="col-md-12 noPadding">

<?php 
$listProducts = array();
$listProducts = $this->listSearchPages;
$listCat = array();
$listCat = $this->listCat;

echo $this->render("/produits/ajaxfacets.phtml");
?>

<div class="col-md-12 prod-detail-title-box noPadding" id="prod-search-title">
	<h1 class="prod-detail-title ">
		<?php if (sizeof($listProducts) == 0) { 
			if (strlen($this->searchKey) > 0) { ?>
			<span >Votre recherche de "<span ><?php echo $this->searchKey; ?></span>" n'a retourn�e aucun r�sultats </span>
			<?php } else { ?>
			<span >Votre recherche n'a retourn�e aucun r�sultats </span>
			<?php }
		} else { ?>
			<span>R�SULTATS DE LA RECHERCHE : "<span ><?php echo $this->searchKey; ?></span>"</span>
		<?php } ?>
	</h1>
</div>


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

  <script type="text/javascript">
  $(document).ready(function() {
    initSearch();
    });
  </script>

</div>
detailmobile.phtml000060400000032275150713633560010262 0ustar00
<?php
$product = $this->detailProduct;
$userNamespace = new Zend_Session_Namespace($this->session_variable);
$myCaddy = $userNamespace->myObjectCaddy;
$nbOption = 3;
?>
 <style>
   .productPriceDetailBox {
    position:relative;
   }
 </style>

  <div class="col-xs-12 prod-detail-box noPadding">
    <div class="col-xs-12 prod-detail-title-box noPadding"> 
      <div class="noPadding">
        <h1 class="prod-detail-title "><?php echo $this->escape($product['NOM']); ?></h1>
      </div>
    </div>
    
    <div class="col-xs-12 noPadding">
      <div class='prod-detailimg-mobile-content'>
          <div class='prod-detailimg-mobile-main' style='<?php $width = 300 * sizeof($product['LISTPICS']); echo 'width:'.$width.'px';  ?>'>
            <ul >
              <?php    foreach ($product['LISTPICS'] as $pic) { ?>
	                <li class='prod-detailimg-mobile-content-li'>
                      <div class="col-xs-12">
                        <?php if (!empty($pic['STRING1'])) {  
			                    echo $pic['STRING1'].'<br/>';
		                    } if (!empty($pic['STRING2'])) {
			                    echo $pic['STRING2'] ;
		                    } ?>
                      </div>
                      <div class="col-xs-12 prod-detailimg-mobile noPadding">
                        <center><a href="<?php echo $this->baseUrl.'/'.$pic['URL']; ?>" title="<?php echo $this->escape($pic['STRING1'].' '.$pic['STRING2']) ; ?>">
                          <img src="<?php echo $this->baseUrl.'/'.$pic['URL']; ?>" alt="<?php echo $this->escape($pic['STRING1']) ; ?>" />
                        </a></center>
                      </div>
                  </li>
		            <?php } ?>
            </ul>
          </div>
      </div>
      
      <div  class="col-xs-12">
          <?php $url = "http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]; ?>
          <a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo $url; ?>" class="btn btn-facebook"><i class="fa fa-facebook"></i></a>
          <a target="_blank" href="https://plus.google.com/share?url=<?php echo $url; ?>" class="btn btn-google-plus"><i class="fa fa-google-plus"></i></a>
          <a target="_blank" href="https://twitter.com/home?status=<?php echo $url; ?>" class="btn btn-twitter"><i class="fa fa-twitter"></i></a>
          <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo $url; ?>&title=<?php echo utf8_encode($this->escape($product['NOM'])); ?>&summary=<?php echo utf8_encode($this->escape($product['DESCSHORT'])); ?>&source=<?php echo $this->baseUrl_SiteCommerceUrl; ?>" class="btn btn-linkedin"><i class="fa fa-linkedin"></i></a>
        
          <?php  if ($this->FeatureProductSendDetail) { ?>
            <a href="#dialog-form-send-friend" class="btn btn-default popup-with-form-send-friend"><i class="fa fa-envelope"></i> Conseillez cet article</a>
          <?php  } ?>
      </div>
  </div>
  
    
  <div class="col-xs-12 prod-detail-title ">Nos R�f�rences</div>
    
  <div class="col-xs-12">
      <form id="productAddForm" action="<?php echo $this->baseUrl; ?>/produits/ajaxaddpanier/<?php echo $product['NAVNOM']; ?>/p/<?php echo $product['ID']; ?>" method="post">
        <input type="hidden" name="idProd" id="idProd" value="<?php echo $this->escape($product['ID']); ?>" />
          <?php
	        $index = 1;
	        $count = 0;
	        if (sizeof($product['LISTCHILD']) > 0) {
		        foreach($product['LISTCHILD'] as $child) {  
						    if (isset($child['DESIGNATION']) && !empty($child['DESIGNATION'])) { ?>
			    <div class="col-xs-12"><?php echo $child['DESIGNATION'];?> ( Ref. <?php echo $this->escape($child['REFERENCE']); ?> )</div>
          
          <?php for($i=0 ; $i<$nbOption; $i++) {
				    if (isset($product['LISTOPTION'][$i]) && isset($product['LISTOPTION'][$i]['NOMOPTION']) && isset($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']])) { ?>
			      <div class="col-xs-12 noPadding" style="margin-top:10px;">
              <div class="col-xs-6 noPadding"><b><?php echo $this->escape($product['LISTOPTION'][$i]['NOMOPTION']); ?> : </b></div>
              <div class="col-xs-6 noPadding">
                <?php echo $this->escape($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']]['OPTIONVALUE']);  ?>
              </div>
            </div>
			    <?php } } ?>
          
          
			    <?php  if ($product['ONSELECT_IDOPTION'] > 0  && !empty($product['ONSELECT_OPTION'])) { ?>
			    <div class="col-xs-12 noPadding"  style="margin-top:10px;">
            <div class="col-xs-6 noPadding"><b><?php  $optionsList = $product['ONSELECT_OPTION']; echo $optionsList->name; ?> : </b></div>
            <div class="col-xs-6 noPadding">
              <select name="selectedOption_<?php echo $count; ?>" class="selectedOption form-control">
				        <?php
				            foreach($optionsList->values as $currentOption) {  ?>
				            <option value="<?php echo $currentOption; ?>"><?php echo $currentOption; ?></option>
				        <?php } ?>
			        </select>
             </div>
          </div>
			    <?php } ?>
          
          <div class="col-xs-12 noPadding"  style="margin-top:10px;">
            <?php if (!$this->isProductOutOfStock) { ?>
			        <div class="col-xs-6 noPadding">
                <div class="col-xs-6 noPadding"><b>Quantit� : </b></div>
                <div class="col-xs-6 noPadding">
                    <?php  if (isset($myCaddy->items))  { $myValue = $myCaddy->getQuantity($child['ID']); } ?> 
                  <input onclick="clearById('quantity_<?php echo $this->escape($child['ID']); ?>', '0')"
				          type="text" class="form-control text-center" maxlength="5" name="quantity_<?php echo $this->escape($child['ID']); ?>"
				          id="quantity_<?php echo $this->escape($child['ID']); ?>" value="<?php echo $myValue; ?>" /> 
                  <input type="hidden" name="idChild_<?php echo $count; ?>" value="<?php echo $this->escape($child['ID']); ?>" /> 
                  <input type="hidden" name="qtyMinChild_<?php echo $count; ?>" value="<?php echo $this->escape($child['QUANTITYMIN']); ?>" /> 
                  <input type="hidden" name="isAccessoire_<?php echo $count; ?>" value="N">
                </div>
              </div>
            <?php } ?>
            <div>
              <?php $this->currentData = $child; echo $this->render("/produits/ajaxshowpromoprice.phtml"); ?>
            </div>
          </div>
          
          <div class="col-xs-12 noPadding">
            <div class="col-xs-12 noPadding">
              <?php if (!$this->isProductOutOfStock) { ?>
                <div class="col-xs-12 noPadding text-center">
                  <button type="submit" class="btn btn-success btn-lg">
                    <img id="prod-detail-add-btn" src="<?php echo $this->baseUrl; ?>/business/image/add-caddy.png" class="glyphicon-caddy" /> AJOUTER AU PANIER
                  </button> 
                </div> 
              <?php } else { ?>
                <span class="btn btn-success btn-lg">Le produit est �puis�</span>
              <?php } ?>
            </div>
          </div>
		  <?php $count++; } } } ?>
    
    <?php
	        if (sizeof($product['PRODUCT_ACCESSOIRE']) > 0) {
		        foreach($product['PRODUCT_ACCESSOIRE'] as $child) {  
						    if (isset($child['DESIGNATION']) && !empty($child['DESIGNATION'])) { ?>
			    <div class="col-xs-12"><?php echo $child['DESIGNATION'];?> ( Ref. <?php echo $this->escape($child['REFERENCE']); ?> )</div>
          
          <?php for($i=0 ; $i<$nbOption; $i++) {
				    if (isset($product['LISTOPTION'][$i]) && isset($product['LISTOPTION'][$i]['NOMOPTION']) && isset($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']])) { ?>
			      <div class="col-xs-12 noPadding" style="margin-top:10px;">
              <div class="col-xs-6 noPadding"><b><?php echo $this->escape($product['LISTOPTION'][$i]['NOMOPTION']); ?> : </b></div>
              <div class="col-xs-6 noPadding">
                <?php echo $this->escape($child['OPTION_VALUES'][$product['LISTOPTION'][$i]['IDOPTION']]['OPTIONVALUE']);  ?>
              </div>
            </div>
			    <?php } } ?>
          
          
			    <?php  if ($product['ONSELECT_IDOPTION'] > 0  && !empty($product['ONSELECT_OPTION'])) { ?>
			    <div class="col-xs-12 noPadding"  style="margin-top:10px;">
            <div class="col-xs-6 noPadding"><b><?php  $optionsList = $product['ONSELECT_OPTION']; echo $optionsList->name; ?> : </b></div>
            <div class="col-xs-6 noPadding">
              <select name="selectedOption_<?php echo $count; ?>" class="selectedOption form-control">
				        <?php
				            foreach($optionsList->values as $currentOption) {  ?>
				            <option value="<?php echo $currentOption; ?>"><?php echo $currentOption; ?></option>
				        <?php } ?>
			        </select>
             </div>
          </div>
			    <?php } ?>
          
          <div class="col-xs-12 noPadding"  style="margin-top:10px;">
            <?php if (!$this->isProductOutOfStock) { ?>
			        <div class="col-xs-6 noPadding">
                <div class="col-xs-6 noPadding"><b>Quantit� : </b></div>
                <div class="col-xs-6 noPadding">
                    <?php  if (isset($myCaddy->items))  { $myValue = $myCaddy->getQuantity($child['ID']); } ?> 
                  <input onclick="clearById('quantity_<?php echo $this->escape($child['ID']); ?>', '0')"
				          type="text" class="form-control text-center" maxlength="5" name="quantity_<?php echo $this->escape($child['ID']); ?>"
				          id="quantity_<?php echo $this->escape($child['ID']); ?>" value="<?php echo $myValue; ?>" /> 
                  <input type="hidden" name="idChild_<?php echo $count; ?>" value="<?php echo $this->escape($child['ID']); ?>" /> 
                  <input type="hidden" name="qtyMinChild_<?php echo $count; ?>" value="<?php echo $this->escape($child['QUANTITYMIN']); ?>" /> 
                  <input type="hidden" name="isAccessoire_<?php echo $count; ?>" value="Y">
                </div>
              </div>
            <?php } ?>
            <div>
              <?php $this->currentData = $child; echo $this->render("/produits/ajaxshowpromoprice.phtml"); ?>
            </div>
          </div>
          
          <div class="col-xs-12 noPadding">
            <div class="col-xs-12 noPadding">
              <?php if (!$this->isProductOutOfStock) { ?>
                <div class="col-xs-12 noPadding text-center">
                  <button type="submit" class="btn btn-success btn-lg">
                    <img id="prod-detail-add-btn" src="<?php echo $this->baseUrl; ?>/business/image/add-caddy.png" class="glyphicon-caddy" /> AJOUTER AU PANIER
                  </button> 
                </div> 
              <?php } else { ?>
                <span class="btn btn-success btn-lg">Le produit est �puis�</span>
              <?php } ?>
            </div>
          </div>
		  <?php $count++; } } } ?>
          
      <input type="hidden" name="nbr" value="<?php echo $count; ?>" />
      <div id="productAddFormLog"></div>
    </form>
  </div> 
    
  <div class="col-xs-12 noPadding"> 
      <div class="col-xs-12">
        <?php if ($this->escape($product['BRENDURL']) && $product['isSHOWBREND'] == 0) {?>
          <img class="prod-detail-brend tooltips" title="<?php echo $this->escape($product['BREND']); ?>"
	          src="<?php echo $this->baseUrl.'/'.$product['BRENDURL']; ?>"
	          alt="<?php echo $product['BREND']; ?>"
	          title="<?php echo $product['BREND']; ?>" /> 
        <?php } 
        if ($product['isQTEPRIXACTIVE']) { ?>
          <img class="tooltips" data-placement="right"
	          alt="D�couvrez nos prix d�gressif" title="D�couvrez nos prix d�gressif"
	          src="<?php echo $this->baseUrl; ?>/business/image/header/degressif2.png">
	      <?php } ?>
        <div class="prod-detail-price">
          <?php if ($product['isDEVISPRODUCT'] == 1) { ?>
            <div class="productPriceDetailBox"><span class="productPriceTitle" style="float: right;">� partir de</span><br />
              <span class="productPriceDetail"><?php echo number_format($product['PRIXLOWEST'], 2, ',', ' ').' '; ?> &#8364;</span> <span class="productPriceDetailHT" style="float: right;"> HT</span></div>
	        <?php } else { ?>
            <div class="productPriceDetailBox"><span class="productPriceTitle" style="margin-left: 10px; margin-top: 5px">Sur devis</span></div>
	        <?php } ?>
        </div>
      
        <h2 class="prod-detail-desc"><?php echo strip_tags($product['DESCSHORT']); ?></h2>
      </div> 
      <?php if (!empty($product['DESCLONG'])) { ?>
      <div class="col-xs-12 prod-detail-title ">Description</div>
      <div class="col-xs-12"> 
          <?php echo $product['DESCLONG']; ?>
      </div>
      <?php } ?>
      <?php if (!empty($product['DESCTECH'])) { ?>
      <div class="col-xs-12 prod-detail-title ">Informations techniques</div>
      <div class="col-xs-12"> 
          <?php echo $product['DESCTECH']; ?>
      </div>
      <?php } ?>
      <?php if (!empty($product['DESCNORME'])) { ?>
      <div class="col-xs-12 prod-detail-title ">Normes</div>
      <div class="col-xs-12"> 
          <?php echo $product['DESCNORME']; ?>
      </div>
      <?php } ?>
  </div>
  <script type="text/javascript">
  $(function(){
	  initEventDetail(); 
  }); 
  </script> ajaxshowproductbox.phtml000060400000007320150713633560011557 0ustar00<?php header('Content-type: text/html; charset=iso-8859-1');

$prefixClass = $this->prefixPromoClass;

if ($this->currentData) {
	$row = $this->currentData;
	$paginationPage = "";
	if (!empty($this->currentPaginationPage)) {
		$paginationPage = "prod-pagination prod-pagination-".$this->currentPaginationPage;
	}
	$link = "";
	if(isset($row['PRODUCT_URL'])) {
		$link = $this->baseUrl."/".$row['PRODUCT_URL'];
	} else if (isset($row['NAVNOM'])) {
		$link = $this->baseUrl."/".Utils_Tool::getFormattedUrlProduct($row['NAVNOM_URLPARENTS'], $row['NAVNOM'], $row['ID']);
	} else if (isset($row['PRODNAVNOM'])){
		$link = $this->baseUrl."/".Utils_Tool::getFormattedUrlProduct($row['NAVNOM_URLPARENTS'], $row['PRODNAVNOM'], $row['ID']);
	}
		$name = $this->escape($row['NOM']);
		$desc = $row['DESCSHORT'];
		$nametitle = $name;
		$brendurl= '';
		if ($row['isSHOWBREND'] == 0) {
			$nametitle =  strtoupper($row['BREND'].' - ').$name;
			$brendurl = $row['BRENDURL'];
		} 
		$nametitle = $this->escape($nametitle);

		$filter = new Zend_Filter();
		$filter	->addFilter(new Zend_Filter_StripTags())
		->addFilter(new Zend_Filter_StringTrim());
		$descFiltered = $filter->filter($desc);
	?>	
 
 <div class="col-md-3 col-sm-4 col-xs-12 categorieBoxContent  <?php echo $paginationPage; ?>">
		<div class="productBox text-center">
			<div class="col-xs-12 productHeader noPadding">
				<?php  if ($row['isSHOWBREND'] == 0) { ?>
					<img src="<?php echo '/'.$this->escape($row['BRENDURL']); ?>" alt="<?php echo $nametitle; ?>"/>
				<?php } ?>
				<?php if ($row['isPROMO'] == 0) { ?>
					<div >
						<img class="tooltips" data-placement="top" alt="Ce produit est en promotion" title="Ce produit est en promotion" src="<?php echo $this->baseUrl; ?>/business/image/promo.png" />
					</div>
				<?php } else if ($row['isPRIXDEGRESSIF']) { ?>
					<div>
						<img alt="Les prix sont d�gressifs" src="<?php echo $this->baseUrl; ?>/business/image/prixdeg.png" />
					</div>
				<?php } ?>
			
				<?php if ($row['isDEVISPRODUCT'] == 1) { ?>
					<div class="productPriceBox">
						<span class="<?php echo $prefixClass; ?>productPriceTitle" >� partir de</span><br />
						<span class="<?php echo $prefixClass; ?>productPrice" ><?php echo number_format($row['PRIXLOWEST'], 2, ',', ' ').' '; ?> &#8364;</span>
						<span class="<?php echo $prefixClass; ?>productPriceHT">HT</span>
					</div>
				<?php } else { ?>
					<div class="productPriceBox">
						<span  class="productPrice" style="margin-left: 10px; margin-top: 5px">Sur devis</span>
					</div>
				<?php } ?>
			</div>
			<div class="col-xs-12 noPadding">
				<center><a title="<?php echo $descFiltered;?>" class="tooltips" data-placement="bottom" href="<?php echo $link;?>" >
					<span class="categorieBoxImg">
						<img src="<?php echo '/'.$this->escape($row['URL']); ?>" alt="<?php echo $nametitle; ?>"/>
					</span>
				</a></center>
			</div>
			<div class="col-xs-12 noPadding  text-left">
				<div class="productBoxTitleContent">
					<a class="productBoxTitle"  href="<?php echo $link;?>" >
						<?php echo $name; ?>
					</a>
				</div>
			</div>
			<div class="col-xs-12 productBoxDesc text-left">
				<?php echo $desc; ?>
			</div>
			<div class="col-xs-12 productBoxTitleSubContent">
				<a class="col-xs-12 <?php echo $prefixClass; ?>productBoxTitleGo tooltips" data-placement="bottom" title="<?php echo $nametitle;?>" href="<?php echo $link;?>" >
					Voir la fiche produit
					<?php 
						$filter = new Zend_Filter();
						$filter	->addFilter(new Zend_Filter_StripTags())
						->addFilter(new Zend_Filter_StringTrim());
					?>
					<img src="/business/image/<?php echo $prefixClass; ?>category-icon.png" alt="<?php echo $descFiltered; ?>"  style="margin-left: 15px;">
				</a>	
			</div>
		</div>
	</div>

<?php } ?>nosmarques.phtml000060400000002063150713633560010015 0ustar00
<div>
  <div class="col-xs-12 prod-detail-title-box noPadding">
      <h1 class="prod-detail-title ">
        Nos marques
      </h1>
  </div>
  
  <?php
  foreach ($this->brends as $row) { 
  $link = $this->baseUrl."/nos-marques/".Utils_Tool::generateNavigationString($row['BREND'])."-".$row['IDBREND'].".html";
  ?>
  <div class="col-md-3 col-sm-4 col-xs-6 categorieBoxContent nolink">
    <a href="<?php echo $link; ?>">
    <div class="productBox text-center">
      <div class="col-xs-10 col-xs-offset-1 noPadding">
          <span class="categorieBoxImg">
            <img src="<?php echo $this->baseUrl; ?>/<?php echo $this->escape($row['URL']); ?>" alt="<?php echo $row['BREND']; ?>"/>
          </span>
      </div>
      <div class="col-xs-12 noPadding  text-left">
        <div class="productBoxTitleContent">
            <?php echo $row['BREND']; ?>
        </div>
      </div>
      <div class="col-xs-12 productBoxDesc text-left" style="height:auto">
        <?php echo $row['DESCRIPTIONSHORT']; ?>
      </div>
    </div>
    </a>
  </div>
  <?php } ?>
</div>ajaxshowallproducts.phtml000060400000002160150713633560011717 0ustar00<?php header('Content-type: text/html; charset=iso-8859-1'); ?>  
<?php if (isset($this->listAllProducts) && !empty($this->listAllProducts)) { 
	 //$color = "none";
	 $color = $this->actualDesign['color']; 
		foreach ($this->listAllProducts as $row) { 
			$link = $this->baseUrl."/".Utils_Tool::getFormattedUrlProduct($row['NAVNOM_URLPARENTS'], $row['PRODNAVNOM'], $row['ID']);
			$desc = $this->escape($row['DESCSHORT']);
			$name = $this->escape($row['NOM']);
		?>  
	 <div class="col-md-3 categorieBoxContent">
		<div class="categorieBox text-center">
			<div class="col-md-10 col-md-offset-1 noPadding">
				<a class="tooltips" data-placement="bottom" title="<?php echo $desc;?>" href="<?php echo $link;?>" >
					<span class="categorieBoxImg">
						<img src="<?php echo '/'.$this->escape($row['URL']); ?>" alt="<?php echo $name; ?>"/>
					</span>
				</a>
			</div>
			<div class="col-md-12 noPadding categorieBoxTitleContent">
				<a class="categorieBoxTitle tooltips" data-placement="bottom" title="<?php echo $desc;?>" href="<?php echo $link;?>" >
					<?php echo $name; ?>
				</a>
			</div>
		</div>
	</div>
<?php } }?>