45 lines
2.6 KiB
Smarty
Executable File
45 lines
2.6 KiB
Smarty
Executable File
<h1 class="border" style="text-align:center"><span style="color:#BFDA3F ">[</span>{l s='Votre rituel beauté magique'}<span style="color:#BFDA3F ">]</span></h1>
|
||
<h2>{l s='Découvrez votre rituel beauté personnalisé complètement magique !'}</h2>
|
||
<p style="text-align:center;">{$final['profil'][0]['description']}</p>
|
||
<h3 style="color:#92AF06;text-align:center">{l s='Votre formule magique'}</h3>
|
||
<table class="produits">
|
||
{foreach from=$final['product'] item=product}
|
||
<tr class="produit">
|
||
<td class="col2" style="width:25%">
|
||
<a href="{$product.link|escape:'htmlall':'UTF-8'}" class="product_img_link" title="{$product.name|escape:'htmlall':'UTF-8'}" style="text-decoration:none">
|
||
{if file_exists($link->getImageLink($product.link_rewrite, $product.id_image, 'home_default'))}{/if}
|
||
<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" width="108" height="150" style="border:1px solid transparent;"/>
|
||
</a>
|
||
<p> </p>
|
||
</td>
|
||
<td class="col3" style="width:75%">
|
||
<h4 style="color:#000000;text-decoration:none;">{$product.name|escape:'htmlall':'UTF-8'|truncate:48:'...'}</h4>
|
||
{if $product.description != ""}
|
||
<div class="product_desc"><span style="color:#000000;text-decoration:none;">{$product.description|replace:'<p':'<span'|replace:'</p>':'</span><br/>'}</span></div>
|
||
{/if}
|
||
</td>
|
||
</tr>
|
||
{/foreach}
|
||
</table>
|
||
<h3 style="color:#92AF06;text-align:center">{l s='Pour compléter votre formule'}</h3>
|
||
<table class="produits">
|
||
{foreach from=$final['complement'] item=product}
|
||
<tr class="produit">
|
||
<td class="col2" style="width:25%">
|
||
<a href="{$product.link|escape:'htmlall':'UTF-8'}" class="product_img_link" title="{$product.name|escape:'htmlall':'UTF-8'}" style="text-decoration:none">
|
||
{if file_exists($link->getImageLink($product.link_rewrite, $product.id_image, 'home_default'))}{/if}
|
||
<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" width="108" height="150" style="border:1px solid transparent;"/>
|
||
</a>
|
||
<p> </p>
|
||
</td>
|
||
<td class="col3" style="width:75%">
|
||
<h4 style="color:#000000;text-decoration:none;">{$product.name|escape:'htmlall':'UTF-8'|truncate:48:'...'}</h4>
|
||
{if $product.description != ""}
|
||
<div class="product_desc"><span style="color:#000000;text-decoration:none;">{$product.description|replace:'<p':'<span'|replace:'</p>':'</span><br/>'}</span></div>
|
||
{/if}
|
||
</td>
|
||
</tr>
|
||
{/foreach}
|
||
</table>
|
||
<div class="clear"></div>
|