{hook h="displaySalesTop"}
{capture name=path} {l s='Private sales' mod='privatesales'} {/capture}

{l s='Nos ventes en cours' mod='privatesales'}

{if $currentsales|count > 0} {assign var=i value=0} {foreach $currentsales as $sale} {if $slider_active && ($currentsales|count == 1 || $i == 0)}
{*desktop*}
{foreach from=$slider item=slide key=key name=slider}
{if isset($slide.link) && $slide.link} {/if}
{/foreach}
{*mobile*}
{/if} {capture name=img_sale}{$base_dir}{$link_img}{$sale->id}/current/{$sale->id}_{$cookie->id_lang}.jpg{/capture} {if !$sale->news}
logged}onclick="window.location.href='{$link->getPageLink('authentication', true)|escape:'html':'UTF-8'}';"{/if}> {if $sale->concours && strtotime($sale->date_start) >= {mktime(strftime('%H') - $sale->concours_delay)}}
{/if} {if $sale->picto}
{/if}
univers && $cookie->logged}onclick="window.location.href='{$sale->link}';"{/if} {if $sale->image} style="background: url('{$smarty.capture.img_sale}') no-repeat left center / cover"{/if} >
univers && $cookie->logged}onclick="window.location.href='{$sale->link}';"{/if} > {$sale->title}
{if $sale->subtitle}

{$sale->subtitle}

{/if}

{$sale->description}

{if !$sale->univers}

{l s='To' mod='privatesales'} {$sale->date_end|date_format:"%A %d/%m à %Hh%M"}

{/if}
{if !$sale->univers} {/if}
{if !$sale->univers}
{hook h='displaySaleLink' id_sale={$sale->id} type='current'}
{/if}
{else}
logged}onclick="window.location.href='{$link->getPageLink('authentication', true)|escape:'html':'UTF-8'}';"{/if} style="{if $sale->image}background : url('{$smarty.capture.img_sale}') no-repeat 0 0 / 230% 100% {/if}"> {if $sale->image}{/if}
univers && $cookie->logged}onclick="window.location.href='{$sale->link}';"{/if} >
{if !$sale->univers} {l s='New' mod='privatesales'} {l s='Discover' mod='privatesales'} {else} {/if}
{if !$sale->univers} {l s='New' mod='privatesales'} {else} {l s='à venir' mod='privatesales'} {/if}
univers && $cookie->logged}onclick="window.location.href='{$sale->link}';"{/if} class="col-xs-12 smobile boximg">
univers && $cookie->logged}onclick="window.location.href='{$sale->link}';"{/if} > {$sale->title}

{$sale->description}

{if !$sale->univers}

{l s='To' mod='privatesales'} {$sale->date_end|date_format:"%A %d/%m à %Hh%M"}

{/if}
univers && $cookie->logged}onclick="window.location.href='{$sale->link}';"{/if} >
{if !$sale->univers}
{hook h='displaySaleLink' id_sale={$sale->id} type='current'}
{/if}
{/if} {assign var=i value=$i+1} {if $banner_link_top_active && ($currentsales|count == 1 || $i == 2)}
{/if} {if $banner_link_second_active && ($currentsales|count == 1 || $i == 4)}
{/if} {if $banner_link_third_active && ($currentsales|count == 1 || $i == 6)}
{/if} {if $banner_concour_link_active && ($currentsales|count == 1 || $i == 8)}
{/if} {*{if $currentsales|count == 1 || $i == 4}
{if isset($banner_link) && $banner_link} {/if}*} {**} {*{if isset($banner_link) && $banner_link!=''} {/if}
{if isset($banner_link_block) && $banner_link_block!=''} {/if} {if isset($banner_link_block) && $banner_link_block!=''} {/if}
{/if}*} {/foreach} {else}

{l s='There are no current sales' mod='privatesales'}

{*
*}
{*
{l s='Parrainez vos amis' mod='privatesales'}

{l s='Et gagnez 10€' mod='privatesales'}

{l s='J\'invite mes amis !' mod='privatesales'}*}
{/if}
{if $futuresales|count > 0}

{l s='Nos ventes à venir' mod='privatesales'}

{if $futuresales|count > 0} {foreach from=$futuresales item=sale name=antafutur} {if ($smarty.foreach.antafutur.index+1) % 3 == 0}
{/if} {capture name=img_sale}{$base_dir}{$link_img}{$sale->id}/future/{$sale->id}_{$cookie->id_lang}.jpg{/capture}
logged}onclick="window.location.href='{$sale->link}';"{/if} {if $sale->imagefuture} style="background: url('{$smarty.capture.img_sale}') no-repeat left center / cover "{/if}>
logged}onclick="window.location.href='{$sale->link}';"{/if}> {$sale->title}
{if $sale->subtitle}

{$sale->subtitle}

{/if}

{l s='From' mod='privatesales'} {$sale->date_start|date_format:"%A %d/%m à %Hh%M"}

{hook h='displaySaleLink' id_sale={$sale->id} type='future'}
{l s='Soon' mod='privatesales'}
{if ($smarty.foreach.antafutur.index+1) % 3 == 0}

{/if} {/foreach} {/if}
{/if}
{l s='Vos avantages' mod='privatesales'}
  • {l s='Profitez des nouveautés de marques prestigieuses avant tout le monde' mod='privatesales'}
  • {l s='Mixez plusieurs marques dans un seul panier et ne payez qu\'un seul frais de port' mod='privatesales'}
  • {l s='Vous avez 14 jours pour changer d\'avis' mod='privatesales'}
{l s='Parrainez vos amis' mod='privatesales'}

{l s='Et gagnez 10€' mod='privatesales'}

{l s='J\'invite mes amis !' mod='privatesales'}
{l s='Programme de fidélité' mod='privatesales'}

{l s='Cumulez des € avec notre programme de fidélité et réalisez des économies sur vos futurs achats !' mod='privatesales'}

{if $cookie->logged} {l s='En savoir plus' mod='privatesales'} {else} {l s='En savoir plus' mod='privatesales'} {/if}
{*if $popup_connection && !$cookie->logged && !$sales_mobile} {literal} {/literal} {/if*} {if $cookie->logged && $sale_customer_uniqid} {literal} {/literal} {/if} {literal} {/literal} {if $cookie->logged && !$alertedcat && $id_category} {assign var=params value=['id_sale_category' => $id_category, 'alias' => $alias]} {literal} {/literal} {/if}