- {strip}{assign var=sales_index value=0}
{foreach $sales as $sale name=sales}
{if count(array_intersect($customer_groups, $sale->groups))>0}
- isLogged() OR $showtoguests}
onclick="window.location.href='{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}';"
{/if}>
{**}
{include file="./themes/site/delay.tpl" delivery_delay=$sale->delivery_delay}
{$sale->title[$cookie->id_lang]}
{if isset($extrafields[$sale->id])} {$extrafields[$sale->id]} {/if}{$sale->description[$cookie->id_lang]|truncate:165:'...'|escape:'htmlall':'UTF-8'}{if $smarty.now|date_format == $sale->date_start|date_format} {l s='From now !' mod='privatesales'} {else} {l s='To' mod='privatesales'} {$sale->date_end|date_format:'%d/%m'} {l s='at' mod='privatesales'} {$sale->date_end|date_format:'%H:%M'} {/if}{l s='To' mod='privatesales'} {$sale->date_end|date_format:'%d/%m'}{*{l s='Trailer' mod='privatesales'}*} {l s='Share on Facebook' mod='privatesales'} {l s='Tweet this page' mod='privatesales'} {l s='Send to a friend' mod='privatesales'} {l s='View the sale' mod='privatesales'}
{if $sales_index == 1}
- {elseif $sales_index == 3}
-
{* HOOK bestSaleHome *} {$bestSaleHome}{if $cookie->id_lang == 2} {elseif $cookie->id_lang == 3} {/if}
{/if}
{assign var=sales_index value=$sales_index+1}
{/if}
{/foreach}
{/strip}
{l s='No active sale at the moment' mod='privatesales'}
{/if}