It is currently Thu 29 Sep 2016 - 22:17 - créer un forum

[tuto]séparateur d'annonce et post-it

Skip to content

Post new topic Reply to topic Goto page: <  1, 2, 35, 6, 735, 36, 37  >

[tuto]séparateur d'annonce et post-it
Author Message
themalin


Joined: 19 Apr 2006
Posts: 8,897

PostPosted: Wed 22 Aug 2007 - 17:20    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

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

tu mets le code que je t'ai mis après celui qui est la

http://xooit.xooit.com/p192524.htm
Forum
Author Message
hermine


Offline
Guest




PostPosted: Wed 22 Aug 2007 - 17:23    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Le tout donne: donne mon template? Bon je vais essayer!

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 22 Aug 2007 - 17:34    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

oui tu le fais dans le template viewforum body
_______________________


Forum
Author Message
hermine


Offline
Guest




PostPosted: Thu 23 Aug 2007 - 08:16    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

sa la remplace entiérement ou juste je mais sa au début? Ou a la place de autre chose?
Je suis nul en html mais comme sa devient vraiment génant!!!


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: Thu 23 Aug 2007 - 16:42    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

ben comme je te l'ai dis tu cherches le code que je te montres dans mon précéndent post et tu rajoutes l'autre

juste en dessous

tu ne supprimes rien tu rajoutes juste le code
_______________________


Forum
Author Message
hermine


Offline
Guest




PostPosted: Sun 2 Sep 2007 - 14:43    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

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="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
      <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
    </tr>
    <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>
    <!-- BEGIN catrow -->
    <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
      <tr>
       <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
       <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
       <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
       <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
      </tr>
      <!-- BEGIN forumrow -->
      <tr>
       <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}"  alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
       <td class="row1" width="100%" height="50">
             <!-- BEGIN switch_ficons -->
             <table style="padding:0;margin:0;" cellspacing="0" cellpadding="0"><tr><td style="width:{FICONSW}px;padding:3px">{catrow.forumrow.FORUM_ICON}</td><td>
             <!-- END switch_ficons -->
             <span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
         </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}
              <!-- BEGIN switch_has_subforums -->
              <br />
              <!-- END switch_has_subforums -->
              <!-- BEGIN subforumrow -->
              <img src="{catrow.forumrow.subforumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.subforumrow.L_FORUM_FOLDER_ALT}" /><b><a href="{catrow.forumrow.subforumrow.U_VIEWFORUM}" class="postlink">{catrow.forumrow.subforumrow.FORUM_NAME}</a></b>
              <!-- END subforumrow -->
              <br />
         </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
              <!-- BEGIN switch_ficons -->
              </td></tr></table>
              <!-- END switch_ficons -->
    </td>
       <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
       <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
       <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
      </tr>
      <!-- END forumrow -->
    </table>
    <br />
    <!-- END catrow -->
  <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}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
      <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{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="row2" 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="row2" 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="left" colspan="3"><span class="nav">{PAGE_NUMBER}</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">&nbsp;</td>
        <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
    </tr>
</table>


Voici le template de Theme xand created by spleen.
Il a était modifié de fasons a séparer les sous forum des post-it mais sa n'a marcher cas moitié . Les sous-forums sont bien séparé mais ils reste en bas de page donc personne ne les voies.


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: Sun 2 Sep 2007 - 14:57    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

bonjour

utilises ce guide pour mettre tes post it en premier il suffit de suivre ce message

http://xooit.xooit.com/t19554-S%C3%A9parer-les-sous-sous-forums-de-la-liste…

http://xooit.xooit.com/p193761.htm
_______________________


Forum
Author Message
hermine


Offline
Guest




PostPosted: Sun 2 Sep 2007 - 15:06    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

D'accord merci

Author Message
Estelle


Offline
Guest




PostPosted: Mon 3 Sep 2007 - 13:42    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

bonjour

j'ai fait les modifications que vous m'avez dites. Pour tester ce script, j'ai tout d'abord créer un forum "test". Sur celui-ci : aucun problème j'ai vu la séparation s'afficher. Mais lorsque j'ai changé sur mon forum "normal" c'est là que tout c'est compliqué ! Voici une capture d'écran pour exemple : (j'ai enlevé les scripts que j'avais inséré car rien ne changé). Maintenant je me retrouve avec une case blanche qui n'est pas censé l'être !!!


Voici mon viewforum_body.tpl


Merci pour tout Very Happy
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="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}"><img src="http://img7.xooimage.com/files/i/c/icon_nav-3118c.gif" border="0" align="absmiddle">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
      <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
    </tr>
    <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 -->



    <script language="Javascript" type="text/javascript">
    <!--
    annonce = 0;
    monreg = /(folder-|folder_n|folder_h|folder_l)/g;
    zone = "{topicrow.TOPIC_FOLDER_IMG}";
    if (monreg.test(zone)) {
    annonce = 1;
    }
    if (imprim == 0 && annonce == 1) {
    teststicky(annonce);
    }
    -->
    </script> 

    <tr> 
      <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
      <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{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="left" colspan="3"><span class="nav">{PAGE_NUMBER}</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="19" height="18" /></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="19" height="18" /></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="19" height="18" /></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="19" height="18" /></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="19" height="18" /></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="19" height="18" /></td>
                <td class="gensmall">{L_STICKY}</td>
            </tr>
            <tr>
                <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="19" height="18" /></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="19" height="18" /></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>





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 4 Sep 2007 - 09:45    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

bonjour

je t'ai répondu dans ton autre topic
_______________________


Forum
Author Message
Cocoon


Offline
Guest




PostPosted: Wed 5 Sep 2007 - 11:37    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Bonjour,

Merci beaucoup pour ce tuto, c'est justement ce qu'il me fallait.

Cocoon,
Abc Photo Design.


Author Message
Arawn


Offline
Guest




PostPosted: Fri 14 Sep 2007 - 15:07    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Bonjour,

j'ai essayé le tuto, mais tout ce que ça m'a fait c'est d'agrandir la largeur de mes lignes, pas de les séparer

Je le colle mon template en dessous, si y'a moyen de me dire ce qui ne va pas, merci d'avance !

<script language="Javascript" type="text/javascript">
<!--
imprim = 0;
-->
</script>
<script language="Javascript" type="text/javascript">
<!--
function teststicky(annonce){
var elems=document.getElementsByTagName('img');
var issticky=false;
for(var i=0;i<elems.length;i++){
if(elems[i].src.search(/(announce|sticky)/g) < 0) continue;
issticky=true;
break;
}
if (issticky == true) {
document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"></td></tr>');
imprim = 1;
}
}
-->
</script>
<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
 <tr>
   <td align="left" valign="bottom" colspan="2">{FORUM_NAME}
<span class="gensmall">{L_MODERATOR}: {MODERATORS}

{LOGGED_IN_USER_LIST}
</span></td>
   <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall">{PAGINATION}</span></td>
 </tr>
 <tr>
   <td align="left" valign="middle" width="50">
</td>
   <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;{L_INDEX} -> {FORUM_NAME}</span></td>
   <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall">{L_MARK_TOPICS_READ}</span></td>
 </tr>
  </table>
<!-- BEGIN catrow -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr>
   <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
   <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN forumrow -->
  <tr>
   <td class="row1" align="center" valign="middle" height="50">
</td>
   <td class="row1" width="100%" height="50">
         <!-- BEGIN switch_ficons -->
         <table style="padding:0;margin:0;" cellspacing="0" cellpadding="0"><tr><td style="width:{FICONSW}px;padding:3px">{catrow.forumrow.FORUM_ICON}</td><td>
         <!-- END switch_ficons -->
         <span class="forumlink"> {catrow.forumrow.FORUM_NAME}

     </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}
          <!-- BEGIN switch_has_subforums -->
         

          <!-- END switch_has_subforums -->
          <!-- BEGIN subforumrow -->
         
{catrow.forumrow.subforumrow.FORUM_NAME}
          <!-- END subforumrow -->
         

     </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
          <!-- BEGIN switch_ficons -->
          </td></tr></table>
          <!-- END switch_ficons -->
</td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
   <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
</table>


<!-- END catrow -->
  <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 -->
 <script language="Javascript" type="text/javascript">
<!--
annonce = 0;
monreg = /(folder-|folder_n|folder_h|folder_l)/g;
zone = "{topicrow.TOPIC_FOLDER_IMG}";
if (monreg.test(zone)) {
annonce = 1;
}
if (imprim == 0 && annonce == 1) {
teststicky(annonce);
}
-->
</script>
         <tr>
   <td class="row1" align="center" valign="middle" width="20">
</td>
   <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}{topicrow.TOPIC_TITLE}</span><span class="gensmall">

  {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}
{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">
</td>
   <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;{L_INDEX} -> {FORUM_NAME}</span></td>
   <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span>
<span class="nav">{PAGINATION}</span>
  </td>
 </tr>
 <tr>
   <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</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">
</td>
    <td class="gensmall">{L_NEW_POSTS}</td>
    <td>&nbsp;&nbsp;</td>
    <td width="20" align="center">
</td>
    <td class="gensmall">{L_NO_NEW_POSTS}</td>
    <td>&nbsp;&nbsp;</td>
    <td width="20" align="center">
</td>
    <td class="gensmall">{L_ANNOUNCEMENT}</td>
   </tr>
   <tr>
    <td width="20" align="center">
</td>
    <td class="gensmall">{L_NEW_POSTS_HOT}</td>
    <td>&nbsp;&nbsp;</td>
    <td width="20" align="center">
</td>
    <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
    <td>&nbsp;&nbsp;</td>
    <td width="20" align="center">
</td>
    <td class="gensmall">{L_STICKY}</td>
   </tr>
   <tr>
    <td class="gensmall">
</td>
    <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
    <td>&nbsp;&nbsp;</td>
    <td class="gensmall">
</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>



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 14 Sep 2007 - 20:01    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

bonjour
ton code semble bon tu peux faire un screen de ce que tu as après modif
_______________________


Forum
Author Message
Arawn


Offline
Guest




PostPosted: Fri 14 Sep 2007 - 21:18    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Voilà le screen :

http://img518.imageshack.us/img518/4403/screenkn8.gif


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 14 Sep 2007 - 21:24    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

remplaces le premier code donné par ça

 
Code: Sélectionner - Agrandir

 <script language="Javascript" type="text/javascript"> 
<!-- 
imprim = 0; 
--> 
</script> 
<script language="Javascript" type="text/javascript"> 
<!-- 
function teststicky(annonce){ 
var elems=document.getElementsByTagName('img'); 
var issticky=false; 
for(var i=0;i<elems.length;i++){ 
if(elems[i].src.search(/(announce|sticky)/g) < 0) continue; 
issticky=true; 
break; 

if (issticky == true) { 
document.write('<tr><td class="row3" align="center" valign="middle" colspan="7"><br></td></tr>'); 
imprim = 1; 


--> 
</script> 

_______________________


Forum
Author Message
Arawn


Offline
Guest




PostPosted: Fri 14 Sep 2007 - 22:18    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

J'ai changer le script, mais ça change rien, ça a pas bougé d'un chouilla.

J'avais mis y'a peu un script pour séparer les sous-sous-forum, y'aurait pas un conflit des fois ?


Author Message
Contenu Sponsorisé





PostPosted: Today at 22:17    Post subject: [tuto]séparateur d'annonce et post-it

Display posts from previous:   
Reply to topic Page 6 of 37 Goto page: <  1, 2, 35, 6, 735, 36, 37  >




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