ERREUR TEMPLATE 06Juste après, même souci de calage condition if et cellule de tableau. En outre, il y a une condition cumulative avec <{if not $preview}> et <{if $annonce.isauthor}>, la syntaxe est peut être perfectible ?
Code original
<!-- gestion ANNONCEUR -->
<{if not $preview}>
<{if $annonce.isauthor}>
<td>
<div id="centerCcolumn" class="blockTitle" alt="<{$smarty.const._MD_DIFFUADS_GESTIONAUTEUR}>" title="<{$smarty.const._MD_DIFFUADS_GESTIONAUTEUR}>"><{$smarty.const._MD_DIFFUADS_GESTIONAUTEUR}></div>
<div style="clear: both;"></div>
<!-- gestion ANNONCEUR: modifier votre annonce -->
<{if $annonce.canedit}>
<img src="<{$xoops_url}>/modules/DiffuAds/images/icon/modifier.png" border="0" alt="<{$smarty.const._MD_DIFFUADS_MODIFIER_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" title="<{$smarty.const._MD_DIFFUADS_MODIFIER_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" style="vertical-align: middle; padding: .2em;" /> <a href="<{$xoops_url}>/modules/DiffuAds/adsedit.php?op=edit&ads_id=<{$annonce.id}>" alt="<{$smarty.const._MD_DIFFUADS_MODIFIER_ANNCEUR}>" title="<{$smarty.const._MD_DIFFUADS_MODIFIER_ANNCEUR}>"><{$smarty.const._MD_DIFFUADS_MODIFIER_ANNCEUR}></a>
<{/if}>
<div style="clear: both;"></div>
<!-- gestion ANNONCEUR: suspendre et reactiver -->
<{if $annonce.suspend > 0}>
<img src="<{$xoops_url}>/modules/DiffuAds/images/icon/reprendre.png" border="0" alt="<{$smarty.const._MD_DIFFUADS_NOSUSP_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" title="<{$smarty.const._MD_DIFFUADS_NOSUSP_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" style="vertical-align: middle; padding: .2em;" /> <a href="<{$xoops_url}>/modules/DiffuAds/adsitem.php?op=stopandgo&ads_id=<{$annonce.id}>" alt="<{$smarty.const._MD_DIFFUADS_NOSUSP_ANNCEUR}>" title="<{$smarty.const._MD_DIFFUADS_NOSUSP_ANNCEUR}>"><{$smarty.const._MD_DIFFUADS_NOSUSP_ANNCEUR}></a>
<{else}>
<img src="<{$xoops_url}>/modules/DiffuAds/images/icon/suspendreproprio.png" border="0" alt="<{$smarty.const._MD_DIFFUADS_SUSP_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" title="<{$smarty.const._MD_DIFFUADS_SUSP_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" style="vertical-align: middle; padding: .2em;" /> <a href="<{$xoops_url}>/modules/DiffuAds/adsitem.php?op=stopandgo&ads_id=<{$annonce.id}>" alt="<{$smarty.const._MD_DIFFUADS_SUSP_ANNCEUR}>" title="<{$smarty.const._MD_DIFFUADS_SUSP_ANNCEUR}>"><{$smarty.const._MD_DIFFUADS_SUSP_ANNCEUR}></a>
<{/if}>
</td>
<td>
<!-- mise en forme -->
<div id="centerCcolumn" class="blockTitle"> </div>
<div style="clear: both;"></div>
<!-- gestion ANNONCEUR: supprimer votre annonce -->
<{if $annonce.candelete}>
<img src="<{$xoops_url}>/modules/DiffuAds/images/icon/supprimer.png" border="0" alt="<{$smarty.const._MD_DIFFUADS_SUPPRIMER_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" title="<{$smarty.const._MD_DIFFUADS_SUPPRIMER_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" style="vertical-align: middle; padding: .2em;" /> <a href="<{$xoops_url}>/modules/DiffuAds/adsedit.php?op=delete&ads_id=<{$annonce.id}>" alt="<{$smarty.const._MD_DIFFUADS_SUPPRIMER_ANNCEUR}>" title="<{$smarty.const._MD_DIFFUADS_SUPPRIMER_ANNCEUR}>"><{$smarty.const._MD_DIFFUADS_SUPPRIMER_ANNCEUR}></a>
<{/if}>
<div style="clear: both;"></div>
<!-- gestion ANNONCEUR: voir toutes vos annonces -->
<{if $annonce.uid > 0}>
<img src="<{$xoops_url}>/modules/DiffuAds/images/icon/annonceur.png" border="0" alt="<{$smarty.const._MD_DIFFUADS_VOIRTOUT_ANNCEUR}>" title="<{$smarty.const._MD_DIFFUADS_VOIRTOUT_ANNCEUR}>" style="vertical-align: middle; padding: .2em;" /> <a href="<{$xoops_url}>/modules/DiffuAds/adsuserlist.php?uid=<{$annonce.uid}>" alt="<{$smarty.const._MD_DIFFUADS_VOIRTOUT_ANNCEUR}>" title="<{$smarty.const._MD_DIFFUADS_VOIRTOUT_ANNCEUR}>"><{$smarty.const._MD_DIFFUADS_VOIRTOUT_ANNCEUR}></a>
<{/if}>
<{/if}>
<{/if}>
</td>
</tr>
</table>
<!--- fin gestion par annonceur et admin --->
Correction
<!-- gestion ANNONCEUR ***** A REVOIR ADDITION CONDITIONS -->
<{if not $preview}>
<{if $annonce.isauthor}>
<td>
<div id="centerCcolumn" class="blockTitle" alt="<{$smarty.const._MD_DIFFUADS_GESTIONAUTEUR}>" title="<{$smarty.const._MD_DIFFUADS_GESTIONAUTEUR}>"><{$smarty.const._MD_DIFFUADS_GESTIONAUTEUR}></div>
<div style="clear: both;"></div>
<!-- gestion ANNONCEUR: modifier votre annonce -->
<{if $annonce.canedit}>
<img src="<{$xoops_url}>/modules/DiffuAds/images/icon/modifier.png" border="0" alt="<{$smarty.const._MD_DIFFUADS_MODIFIER_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" title="<{$smarty.const._MD_DIFFUADS_MODIFIER_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" style="vertical-align: middle; padding: .2em;" /> <a href="<{$xoops_url}>/modules/DiffuAds/adsedit.php?op=edit&ads_id=<{$annonce.id}>" alt="<{$smarty.const._MD_DIFFUADS_MODIFIER_ANNCEUR}>" title="<{$smarty.const._MD_DIFFUADS_MODIFIER_ANNCEUR}>"><{$smarty.const._MD_DIFFUADS_MODIFIER_ANNCEUR}></a>
<{/if}>
<div style="clear: both;"></div>
<!-- gestion ANNONCEUR: suspendre et reactiver -->
<{if $annonce.suspend > 0}>
<img src="<{$xoops_url}>/modules/DiffuAds/images/icon/reprendre.png" border="0" alt="<{$smarty.const._MD_DIFFUADS_NOSUSP_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" title="<{$smarty.const._MD_DIFFUADS_NOSUSP_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" style="vertical-align: middle; padding: .2em;" /> <a href="<{$xoops_url}>/modules/DiffuAds/adsitem.php?op=stopandgo&ads_id=<{$annonce.id}>" alt="<{$smarty.const._MD_DIFFUADS_NOSUSP_ANNCEUR}>" title="<{$smarty.const._MD_DIFFUADS_NOSUSP_ANNCEUR}>"><{$smarty.const._MD_DIFFUADS_NOSUSP_ANNCEUR}></a>
<{else}>
<img src="<{$xoops_url}>/modules/DiffuAds/images/icon/suspendreproprio.png" border="0" alt="<{$smarty.const._MD_DIFFUADS_SUSP_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" title="<{$smarty.const._MD_DIFFUADS_SUSP_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" style="vertical-align: middle; padding: .2em;" /> <a href="<{$xoops_url}>/modules/DiffuAds/adsitem.php?op=stopandgo&ads_id=<{$annonce.id}>" alt="<{$smarty.const._MD_DIFFUADS_SUSP_ANNCEUR}>" title="<{$smarty.const._MD_DIFFUADS_SUSP_ANNCEUR}>"><{$smarty.const._MD_DIFFUADS_SUSP_ANNCEUR}></a>
<{/if}>
</td>
<td>
<!-- mise en forme -->
<div id="centerCcolumn" class="blockTitle"> </div>
<div style="clear: both;"></div>
<!-- gestion ANNONCEUR: supprimer votre annonce -->
<{if $annonce.candelete}>
<img src="<{$xoops_url}>/modules/DiffuAds/images/icon/supprimer.png" border="0" alt="<{$smarty.const._MD_DIFFUADS_SUPPRIMER_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" title="<{$smarty.const._MD_DIFFUADS_SUPPRIMER_ANNCEUR}>: <{$annonce.type}> <{$annonce.title}>" style="vertical-align: middle; padding: .2em;" /> <a href="<{$xoops_url}>/modules/DiffuAds/adsedit.php?op=delete&ads_id=<{$annonce.id}>" alt="<{$smarty.const._MD_DIFFUADS_SUPPRIMER_ANNCEUR}>" title="<{$smarty.const._MD_DIFFUADS_SUPPRIMER_ANNCEUR}>"><{$smarty.const._MD_DIFFUADS_SUPPRIMER_ANNCEUR}></a>
<{/if}>
<div style="clear: both;"></div>
<!-- gestion ANNONCEUR: voir toutes vos annonces -->
<{if $annonce.uid > 0}>
<img src="<{$xoops_url}>/modules/DiffuAds/images/icon/annonceur.png" border="0" alt="<{$smarty.const._MD_DIFFUADS_VOIRTOUT_ANNCEUR}>" title="<{$smarty.const._MD_DIFFUADS_VOIRTOUT_ANNCEUR}>" style="vertical-align: middle; padding: .2em;" /> <a href="<{$xoops_url}>/modules/DiffuAds/adsuserlist.php?uid=<{$annonce.uid}>" alt="<{$smarty.const._MD_DIFFUADS_VOIRTOUT_ANNCEUR}>" title="<{$smarty.const._MD_DIFFUADS_VOIRTOUT_ANNCEUR}>"><{$smarty.const._MD_DIFFUADS_VOIRTOUT_ANNCEUR}></a>
<{/if}>
</td>
<!-- ***** DEPLACEMENT CONDITION ***** -->
<{/if}>
<{/if}>