Fork me on GitHub

Rapport de message :*
 

Re: CATADS: placer les photos au dessus du texte d'annonce.

Titre du sujet : Re: CATADS: placer les photos au dessus du texte d'annonce.
par Nikita sur 19/05/2013 18:45:03

Bonsoir,

Le fichier à modifier est catads_item.html, tu fais comme t'indique alain01

tu coupes toute la partie
<tr>
    <
td class="odd" align="center">
      <
table width="100%" border="0" cellpadding="0" cellspacing="0" >
        <
tr
          <
td align="center">
           <
div style="float: left"><{$annonce.photo0}></div>
           <
div style="float: left"><{$annonce.photo1}></div>
           <
div style="float: left"><{$annonce.photo2}></div>
           <
div style="float: left"><{$annonce.photo3}></div>
           <
div style="float: left"><{$annonce.photo4}></div>
           <
div style="float: left"><{$annonce.photo5}></div>
          </
td>
        </
tr>
      </
table>
    </
td>
  </
tr>


et tu vas la placer après cette partie
<tr
          <
td>
            <!-- 
ADMIN approve ad  -->
            <{if 
$xoops_isadmin and $annonce.date_pub == 0}> <a href="admin/adsmod.php?op=approve&amp;ads_id=<{$annonce.id}>"><img src="images/icon/valid.gif" border="0" alt="<{$smarty.const._MD_CATADS_VALIDADS}>" title="<{$smarty.const._MD_CATADS_VALIDADS}>" /></a>&nbsp;
            <{/if}> 
            <!-- 
ADMIN edit icon -->
            <{if 
$xoops_isadmin}> <a href="admin/adsmod.php?op=edit&amp;ads_id=<{$annonce.id}>"><img src="images/icon/edit_mini.gif" border="0" alt="<{$smarty.const._MD_CATADS_EDITADS}>" title="<{$smarty.const._MD_CATADS_EDITADS}>" /></a>&nbsp;
            <!-- 
ADMIN delete icon -->
            <
a href="admin/adsmod.php?op=delete&amp;ads_id=<{$annonce.id}>"><img src="images/icon/delete.gif" border="0" alt="<{$smarty.const._MD_CATADS_DELETEADS}>" title="<{$smarty.const._MD_CATADS_DELETEADS}>" /></a>&nbsp;
            <!-- 
User my-ads icon -->
            <{if 
$annonce.uid 0}> <a href="adsuserlist.php?uid=<{$annonce.uid}>"><img src="images/icon/who.gif" border="0" alt="<{$smarty.const._MD_CATADS_ALLADS}><{$annonce.submitter}>" title="<{$smarty.const._MD_CATADS_ALLADS}><{$annonce.submitter}>" /></a>&nbsp
            <{/if}> 
            <!-- 
User IP address icon -->
            <
img src="images/icon/ip.gif" border="0" alt="<{$annonce.poster_ip}>" title="<{$annonce.poster_ip}>" />&nbsp
            <
img src="images/icon/separateur.gif" border="0" alt="" />&nbsp;&nbsp;
            <{/if}>
            <!-- 
User controls editdeletesuspendrenew -->
            <{if 
not $preview}> <{if $annonce.isauthor}> <{if $annonce.canedit}> 
            <
a href="adsedit.php?op=edit&amp;ads_id=<{$annonce.id}>"><img src="images/icon/edit_mini.gif" border="0" alt="<{$smarty.const._MD_CATADS_EDITADS}>" title="<{$smarty.const._MD_CATADS_EDITADS}>" /></a>&nbsp;
            <{/if}> <{if 
$annonce.candelete}> <a href="adsedit.php?op=delete&ads_id=<{$annonce.id}>"><img src="images/icon/delete.gif" border="0" alt="<{$smarty.const._MD_CATADS_DELETEADS}>"  title="<{$smarty.const._MD_CATADS_DELETEADS}>" /></a>&nbsp
            <{/if}> 
            <!-- 
renew -->
            <{if (
$annonce.show_renewal == || $annonce.date_exp == 0) and $annonce.countpub and $annonce.date_pub 0}> <{$smarty.const._MD_CATADS_PUB_AGAIN}>&nbsp;<{$sel_box}>&nbsp;<{$smarty.const._MD_CATADS_DAYS}>
            <{elseif 
$annonce.date_pub and $annonce.date_exp 0}> <{if $annonce.suspend
            
0}> <a href="adsitem.php?op=stopandgo&amp;ads_id=<{$annonce.id}>"><img src="images/icon/valid.gif" border="0" alt="<{$smarty.const._MD_CATADS_PUB_GO}>" title="<{$smarty.const._MD_CATADS_PUB_GO}>" /></a>
            <{else}> <
a href="adsitem.php?op=stopandgo&amp;ads_id=<{$annonce.id}>"><img src="images/icon/suspend.gif" border="0" alt="<{$smarty.const._MD_CATADS_PUB_STOP}>" title="<{$smarty.const._MD_CATADS_PUB_STOP}>" /></a
            <{/if}> <{/if}> <{/if}> <{/if}> </
td>
        </
tr>
      </
table>
    </
td>
  </
tr>




Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

52 Personne(s) en ligne (40 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 52 | Plus ...