It is currently Sat 1 Oct 2016 - 09:00 - créer un forum

[tuto] Vos annonces et post it en couleur

Skip to content

Post new topic Reply to topic Goto page: <  1, 2, 37, 8, 918, 19, 20  >

[tuto] Vos annonces et post it en couleur
Author Message
themalin


Joined: 19 Apr 2006
Posts: 8,897

PostPosted: Fri 15 Aug 2008 - 20:01    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

PublicitéSupprimer les publicités ?
Previous post review:

non tu dois bien mettre comme ça


 
Code: Sélectionner - Agrandir
<a style="font-size: 16px; color: #F90528;" 
tu as un exemple au début du tuto
Forum
Author Message
___MoneM___


Offline
Guest




PostPosted: Fri 15 Aug 2008 - 20:03    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

ah le # personne ne m'a di de mettre un # !!!!!

merci kn mm XD


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Fri 15 Aug 2008 - 20:04    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

oui tu doit mettre un # si tu mets ton code couleur en numéro sinon tu peux juste mettre le nom de la couleur en anglais
_______________________


Forum
Author Message
___MoneM___


Offline
Guest




PostPosted: Fri 15 Aug 2008 - 20:07    Post subject: ............ Reply with quote

mais ca s'affiche pa en couleur c un titre normal

moi je ve la meme couleur de ce forum de xooit

donne moi le code que je doi mettre stp


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Fri 15 Aug 2008 - 20:09    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

ben c'est le code vert

tu peux l'avoir en utilisant la palette que je t'ai mis en lien

sinon tu fais bien les modif en thème normal
_______________________


Forum
Author Message
___MoneM___


Offline
Guest




PostPosted: Fri 15 Aug 2008 - 20:10    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

pffff,laisse tomber

ca s'affichera jamais en couleur,g tout essayer

allé
++


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Fri 15 Aug 2008 - 20:14    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

remplaces ton template viewforum body par ça

fais le bien en thème normal


 
Code: Sélectionner - Agrandir

<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="nav" valign="top"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br />
{PAGINATION}</td>
<td class="gensmall" align="right" valign="bottom">{LOGGED_IN_USER_LIST}<br />
<strong><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></strong></td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" title="{L_POST_NEW_TOPIC}" width="82" height="25" /></a></td>
<td class="nav" width="100%">&nbsp;<a href="{U_INDEX}">{L_INDEX}</a> &raquo; <a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td>
</tr>
</table>
<table border="0" cellpadding="2" cellspacing="1" width="100%" class="forumline">
<tr>
<th colspan="2">&nbsp;{L_TOPICS}&nbsp;</th>
<th width="50">&nbsp;{L_REPLIES}&nbsp;</th>
<th width="100">&nbsp;{L_AUTHOR}&nbsp;</th>
<th width="50">&nbsp;{L_VIEWS}&nbsp;</th>
<th>&nbsp;{L_LASTPOST}&nbsp;</th>
</tr>
<!-- BEGIN topicrow -->
<tr>
<td height="34" class="row1"><a href="{topicrow.U_VIEW_TOPIC}"><img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" border="0" /></a></td>
<td class="row1" width="100%">{topicrow.NEWEST_POST_IMG}<!-- IF topicrow.TOPIC_TYPE == "<b>Annonce Globale :</b> " -->
<span class="postdetails"><b>Annonce Globale :</b></span> <a style="font-size:12px; color:#0909CC" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Annonce :</b> " -->
<span class="postdetails"><b>Annonce :</b></span> <a style="font-size:12px; color:#0909CC" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Post-it :</b> " -->
<span class="postdetails"><b>Post-it :</b></span> <a style="font-size:12px; color:#0909CC" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ELSE -->
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ENDIF -->
{topicrow.TOPIC_TITLE}</a><span class="gensmall"><br />
{topicrow.GOTO_PAGE}</span></td>
<td class="row2" align="center"><span class="postdetails">{topicrow.REPLIES}</span></td>
<td class="row3" align="center"><span class="postdetails">{topicrow.TOPIC_AUTHOR}</span></td>
<td class="row2" align="center"><span class="postdetails">{topicrow.VIEWS}</span></td>
<td class="row3" align="center" nowrap="nowrap"><span class="postdetails">&nbsp;{topicrow.LAST_POST_TIME}&nbsp;<br />
{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
</tr>
<!-- END topicrow -->
<!-- BEGIN switch_no_topics -->
<tr>
<td class="row1" colspan="6" align="center">{L_NO_TOPICS}</td>
</tr>
<!-- END switch_no_topics -->
<tr>
<td class="cat" align="center" colspan="6">
<form method="post" action="{S_POST_DAYS_ACTION}">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td class="genmed">{L_DISPLAY_TOPICS}:&nbsp;</td>
<td>{S_SELECT_TOPIC_DAYS}&nbsp;&nbsp;</td>
<td><input type="submit" class="catbutton" value="{L_GO}" name="submit" /></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" title="{L_POST_NEW_TOPIC}" width="82" height="25" /></a></td>
<td class="nav" width="100%">&nbsp;<a href="{U_INDEX}">{L_INDEX}</a> &raquo; <a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="nav" valign="top">{PAGINATION}<br />
<br />
{JUMPBOX}<br />
</td>
<td class="gensmall" align="right" valign="top"><strong><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></strong>{LOGGED_IN_USER_LIST}
</td>
</tr>
</table>
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
<tr>
<td valign="top">
<table border="0" cellspacing="3" cellpadding="0">
<tr>
<td><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" title="{L_NEW_POSTS}"  /></td>
<td class="gensmall">&nbsp;{L_NEW_POSTS}</td>
<td>&nbsp;&nbsp;</td>
<td><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" title="{L_NO_NEW_POSTS}"  /></td>
<td class="gensmall">&nbsp;{L_NO_NEW_POSTS}</td>
<td>&nbsp;&nbsp;</td>
<td><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" title="{L_ANNOUNCEMENT}"  /></td>
<td class="gensmall">{L_ANNOUNCEMENT}</td>
</tr>
<tr>
<td><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" title="{L_NEW_POSTS_HOT}" /></td>
<td class="gensmall">{L_NEW_POSTS_HOT}</td>
<td>&nbsp;</td>
<td><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" title="{L_NO_NEW_POSTS_HOT}"  /></td>
<td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
<td>&nbsp;</td>
<td><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" title="{L_STICKY}"  /></td>
<td class="gensmall">{L_STICKY}</td>
</tr>
<tr>
<td><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" title="{L_NEW_POSTS_LOCKED}"  /></td>
<td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
<td>&nbsp;</td>
<td><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" title="{L_NO_NEW_POSTS_LOCKED}"  /></td>
<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</td>
<td align="right" valign="top"><span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table> 

_______________________


Forum
Author Message
___MoneM___


Offline
Guest




PostPosted: Fri 15 Aug 2008 - 20:19    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

Okiii,c parfait mais il ya pas moyen d'effacer "Annonce global :"avant le titre ????

Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Fri 15 Aug 2008 - 20:21    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

ben supprimes


 
Code: Sélectionner - Agrandir
<span class="postdetails"><b>Annonce Globale :</b></span> 

_______________________


Forum
Author Message
R4PHAEL
Membre


Offline
Membre

Joined: 17 Mar 2008
Posts: 89
Niveau:
Point(s): 89
Moyenne: 1.00
Windows XP (ou plus ancien) Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...) Masculin Bélier (21mar-19avr) 鷄 Coq

PostPosted: Tue 16 Dec 2008 - 03:37    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

salut themalin,

Chez moi la 2ème partie du tuto ne prend pas, celle pour les sondage en post-it, ça m'indique une erreur de syntaxe, sinon le reste tout baigne Wink
tu as une idée du pourquoi?


Forum
Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Tue 16 Dec 2008 - 10:31    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

bonjour

pourrait tu mettre le template modifié entre les balise code ici
_______________________


Forum
Author Message
R4PHAEL
Membre


Offline
Membre

Joined: 17 Mar 2008
Posts: 89
Niveau:
Point(s): 89
Moyenne: 1.00
Windows XP (ou plus ancien) Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...) Masculin Bélier (21mar-19avr) 鷄 Coq

PostPosted: Tue 16 Dec 2008 - 22:26    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

Bonjour,

oui, voila celle avec la ligne pour les sondages (qui ne fonctionne pas):

Code: Sélectionner - Agrandir
<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
   
   <tr>
     <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
     <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
     <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
   </tr>
  </table>

  <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
   <tr>
     <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
     <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
     <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
     <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
     <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
   </tr>
   <!-- BEGIN topicrow -->
   <tr>
     <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="46" height="46" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
    
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='{T_TD_COLOR1}'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="{T_TR_COLOR1}" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'"><span class="topictitle">{topicrow.NEWEST_POST_IMG}<!-- IF topicrow.TOPIC_TYPE == "<b>Annonce Globale :</b> " -->
<a style="color: couleur pour les annonces globales" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Annonce :</b> " -->
<a style="color: #FF0000" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Post-it :</b> " -->
<a style="color: #FF9900" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ELSE IF topicrow.TOPIC_TYPE == "<b>Post-it :</b> <b>[ Sondage ]</b> " --> 
<b>[ Sondage ]</b> <a style="color: couleur pour les post-it" href="{topicrow.U_VIEW_TOPIC}" class="topictitle"> 
<!-- ELSE -->
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ENDIF --> 
{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />{topicrow.GOTO_PAGE}</span></td>
     <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
     <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
     <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
     <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
   </tr>
   <!-- END topicrow -->
   <!-- BEGIN switch_no_topics -->
   <tr>
     <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
   </tr>
   <!-- END switch_no_topics -->
   <tr>
     <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
      <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
      </span></td>
   </tr>
  </table>

  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
   <tr>
     <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
     <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
     <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
      </td>
   </tr>
   <tr>
     <td align="center" width="80" ><span class="nav">{PAGE_NUMBER}</span></td>
     <td align="left" valign="middle" width="100%"><span class="gensmall"><b>&nbsp;&nbsp;&nbsp;{L_MODERATOR}: {MODERATORS}</br>&nbsp;&nbsp;&nbsp;{LOGGED_IN_USER_LIST}</b></span></td>
   </tr>
   <tr>
     <td valign="middle" width="20%" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
   </tr>
  </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
   <td align="right">{JUMPBOX}</td>
  </tr>
 
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
   <tr>
      <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
         <tr>
            <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="46" height="46" /></td>
            <td class="gensmall">{L_NEW_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="46" height="46" /></td>
            <td class="gensmall">{L_NO_NEW_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="46" height="46" /></td>
            <td class="gensmall">{L_ANNOUNCEMENT}</td>
         </tr>
         <tr>
            <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="46" height="46" /></td>
            <td class="gensmall">{L_NEW_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="46" height="46" /></td>
            <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="46" height="46" /></td>
            <td class="gensmall">{L_STICKY}</td>
         </tr>
         <tr>
            <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="46" height="46" /></td>
            <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
            <td>&nbsp;&nbsp;</td>
            <td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="46" height="46" /></td>
            <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
         </tr>
      </table></td>
      <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
   </tr>
</table>


Et celle sans la ligne sondages qui fonctionne parfaitement

Code: Sélectionner - Agrandir
<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
   
   <tr>
     <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
     <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
     <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
   </tr>
  </table>

  <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
   <tr>
     <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
     <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
     <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
     <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
     <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
   </tr>
   <!-- BEGIN topicrow -->
   <tr>
     <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="46" height="46" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
    
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='{T_TD_COLOR1}'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="{T_TR_COLOR1}" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'"><span class="topictitle">{topicrow.NEWEST_POST_IMG}<!-- IF topicrow.TOPIC_TYPE == "<b>Annonce Globale :</b> " -->
<a style="color: couleur pour les annonces globales" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Annonce :</b> " -->
<a style="color: #FF0000" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Post-it :</b> " -->
<a style="color: #FF9900" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">

<!-- ELSE -->
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ENDIF --> 
{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />{topicrow.GOTO_PAGE}</span></td>
     <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
     <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
     <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
     <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
   </tr>
   <!-- END topicrow -->
   <!-- BEGIN switch_no_topics -->
   <tr>
     <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
   </tr>
   <!-- END switch_no_topics -->
   <tr>
     <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
      <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
      </span></td>
   </tr>
  </table>

  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
   <tr>
     <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
     <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
     <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
      </td>
   </tr>
   <tr>
     <td align="center" width="80" ><span class="nav">{PAGE_NUMBER}</span></td>
     <td align="left" valign="middle" width="100%"><span class="gensmall"><b>&nbsp;&nbsp;&nbsp;{L_MODERATOR}: {MODERATORS}</br>&nbsp;&nbsp;&nbsp;{LOGGED_IN_USER_LIST}</b></span></td>
   </tr>
   <tr>
     <td valign="middle" width="20%" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
   </tr>
  </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
   <td align="right">{JUMPBOX}</td>
  </tr>
 
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
   <tr>
      <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
         <tr>
            <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="46" height="46" /></td>
            <td class="gensmall">{L_NEW_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="46" height="46" /></td>
            <td class="gensmall">{L_NO_NEW_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="46" height="46" /></td>
            <td class="gensmall">{L_ANNOUNCEMENT}</td>
         </tr>
         <tr>
            <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="46" height="46" /></td>
            <td class="gensmall">{L_NEW_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="46" height="46" /></td>
            <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="46" height="46" /></td>
            <td class="gensmall">{L_STICKY}</td>
         </tr>
         <tr>
            <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="46" height="46" /></td>
            <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
            <td>&nbsp;&nbsp;</td>
            <td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="46" height="46" /></td>
            <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
         </tr>
      </table></td>
      <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
   </tr>
</table>


Forum
Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Wed 17 Dec 2008 - 10:06    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

c'est normal

ici

Code: Sélectionner - Agrandir
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Annonce :</b> " -->
<a style="color: #FF0000" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Post-it :</b> " -->
<a style="color: #FF9900" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">

<!-- ELSE -->


mets comme ça

Code: Sélectionner - Agrandir
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Annonce : </b> " -->
<a style="color: #FF0000" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">
<!-- ELSEIF topicrow.TOPIC_TYPE == "<b>Post-it : </b> " -->
<a style="color: #FF9900" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">

<!-- ELSE -->

_______________________


Forum
Author Message
R4PHAEL
Membre


Offline
Membre

Joined: 17 Mar 2008
Posts: 89
Niveau:
Point(s): 89
Moyenne: 1.00
Windows XP (ou plus ancien) Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...) Masculin Bélier (21mar-19avr) 鷄 Coq

PostPosted: Thu 18 Dec 2008 - 14:39    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

Non ceux la fonctionne très bien; c'est lorsque j'ajoute les ligne pour les sondage qu'il ne fonctionne plus,
malgré la correction que tu viens de me donner.
Et celle ci ne fonctionne pas, l'ajout des espaces désactive les couleurs...


Forum
Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sat 20 Dec 2008 - 12:49    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

tu mets bien le code comme indiqué
avec les espace
_______________________


Forum
Author Message
R4PHAEL
Membre


Offline
Membre

Joined: 17 Mar 2008
Posts: 89
Niveau:
Point(s): 89
Moyenne: 1.00
Windows XP (ou plus ancien) Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...) Masculin Bélier (21mar-19avr) 鷄 Coq

PostPosted: Mon 22 Dec 2008 - 06:31    Post subject: [tuto] Vos annonces et post it en couleur Reply with quote

Bonjour,

Oui, j'utilise le code que tu me donne ici, mais avec il ne fonctionne pas, ni la couleur, ni la ligne pour les sondages en annonces/post-it, l'ajout des espaces fait planter le script


Forum
Author Message
Contenu Sponsorisé





PostPosted: Today at 09:00    Post subject: [tuto] Vos annonces et post it en couleur

Display posts from previous:   
Reply to topic Page 8 of 20 Goto page: <  1, 2, 37, 8, 918, 19, 20  >




Portal | Index | Administration Panel | Create a forum | Free support forum | Free forums directory | Report a violation | Conditions générales d'utilisation
Propulsé par p h p B B © 2016 p h p B B Group |
 
© 2003-2013 Xooit.com - Contact - Mentions légales - CGU - Charte - CNIL : 1381401