Current File : /home/k/a/r/karenpetzb/www/items/category/produits.tar |
ajaxaddpanier.phtml 0000604 00000000217 15071363356 0010412 0 ustar 00 <span class="messageSuccess"><?php echo $this->messageSuccess; ?></span>
<span class="messageError"><?php echo $this->messageError; ?></span> monpaniertype.phtml 0000604 00000007464 15071363356 0010524 0 ustar 00
<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.phtml 0000604 00000005045 15071363356 0010214 0 ustar 00
<?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 } ?>