1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
| {* si le choix de la présentation réduite est sélectionné *}
{elseif $choix_apparence_articles eq 1}
<form name="form_articles_1" method="post" action="index.php?num_hierarchie=?">
<table id="table_art_1">
{if $titre_table_articles_1 eq 1}
<thead id="thead_art_1">
<tr>
{if $art1col_num eq 1}
<td>{$smarty.const.NUMERO}</td>
{/if}
{if $art1col_photo eq 1}
<td>{$smarty.const.PHOTO}</td>
{/if}
{if $art1col_nom_p eq 1}
<td>{$smarty.const.NOM}</td>
{/if}
{if $art1col_description eq 1}
<td>{$smarty.const.DESCRIPTION}</td>
{/if}
{if $art1col_marque eq 1}
<td>{$smarty.const.MARQUE}</td>
{/if}
{if $art1col_prix_vente eq 1}
<td>{$smarty.const.PRIX_VENTE}</td>
{/if}
</tr>
</thead>
{/if}
<tfoot>
<tr><td colspan=3>{html_image file="../design/images/fleche_selection_articles.png"}</td><td colspan=2><label onclick="alert('e');">{$smarty.const.ARTICLES_SELECTION_VISIBLE}</label></td></tr>
</tfoot>
<tbody>
{foreach from=$liste_articles key=k item=v}
<tr class="tr_art_1">
{if $art1col_num eq 1}
<td style="text-align:center;">{html_checkboxes name="select_art_1" values=$v[0] output=""}</td>
{/if}
{if $art1col_photo eq 1}
<td style="text-align:center;">{html_image_mini file_photo="../photo_produit/$v[4]" nom_classe="img_art_reduite"}</td>
{/if}
{if $art1col_nom_p eq 1}
<td style="text-align:center;">{$v[1]}</td>
{/if}
{if $art1col_description eq 1}
<td style="text-align:left;">{BBCode citation=$v[2]}</td>
{/if}
{if $art1col_marque eq 1}
<td style="text-align:center;">{$v[5]}</td>
{/if}
{if $art1col_prix_vente eq 1}
<td style="text-align:center;">{Tarif tarif=$v[3] precision=2}</td>
{/if}
<td>Ajouter au panier</td>
</tr>
{/foreach}
</tbody>
</table>
</form> |