garancia/themes/default/pdf/Antdiagnostic.tpl
2016-10-10 15:24:25 +02:00

45 lines
2.6 KiB
Smarty
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>&nbsp;</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>&nbsp;</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>