It is currently Wed 28 Sep 2016 - 12:14 - 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, 310, 11, 1235, 36, 37  >

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


Joined: 19 Apr 2006
Posts: 8,897

PostPosted: Fri 2 Nov 2007 - 15:29    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

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

essayes avec ç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"></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"><a class="maintitle" href="{U_VIEW_FORUM}"><img src="http://img2.xooimage.com/files/e/0/0/pas_de11-1c6dc1.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>
 
 
 
<!-- 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 -->
<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}" 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}" /></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}" /></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}" /></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}" /></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}" /></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}" /></td>
    <td class="gensmall">{L_STICKY}</td>
   </tr>
   <tr>
    <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" /></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}" /></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
angelsjenifer
Membre


Offline
Membre

Joined: 11 Jul 2007
Posts: 23
Niveau:
Point(s): 23
Moyenne: 1.00
Windows XP (ou plus ancien) Internet Explorer Féminin

PostPosted: Fri 2 Nov 2007 - 15:33    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

ça marche pas Embarassed c'est le même mais les espaces sont plus grands
_______________________
http://angelsjenifer.xooit.com


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: Fri 2 Nov 2007 - 15:52    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

tu peux faire un screen ou donner le lien vers un forum ou tu as des annonces pour voir
_______________________


Forum
Author Message
angelsjenifer
Membre


Offline
Membre

Joined: 11 Jul 2007
Posts: 23
Niveau:
Point(s): 23
Moyenne: 1.00
Windows XP (ou plus ancien) Internet Explorer Féminin

PostPosted: Fri 2 Nov 2007 - 15:54    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote


_______________________
http://angelsjenifer.xooit.com


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

essayes avec ceci



 
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><br></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"><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>
<!-- 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="3" cellpadding="4" cellspacing="1" width="100%" class="forumline" bgcolor="red">
    <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%"><!-- BEGIN switch_ficons -->
                 <!-- END switch_ficons --><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></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="row3" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
   
    <!-- 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>
 

_______________________


Forum
Author Message
Enix


Offline
Guest




PostPosted: Sun 18 Nov 2007 - 18:44    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Bonjour themalin, j'ai suivi ton tuto à la lettre, mais comme d'habitude je n'ai pas le bon theme : ) Mon thème en question est le zonecopper. Voilà ce que j'obtiens avec ton script :



Tu peux faire quelque chose ? Merci d'avance.


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 18 Nov 2007 - 19:39    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

bonjour
tu peux mettre ton template modifier ici entre les balises code
_______________________


Forum
Author Message
Enix


Offline
Guest




PostPosted: Mon 19 Nov 2007 - 00:26    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Bien sur, le voici :

Viewforum_body.tpl

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"></td></tr>');
imprim = 1;
}
}
-->
</script>






<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">{L_MODERATOR}: {MODERATORS}<br />
{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}" /></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" align="center" class="thcornerl" nowrap height="28">&nbsp;{L_TOPICS}&nbsp;</th>
<th width="50" align="center" class="thtop" nowrap>&nbsp;{L_REPLIES}&nbsp;</th>
<th width="100" align="center" class="thtop" nowrap>&nbsp;{L_AUTHOR}&nbsp;</th>
<th width="50" align="center" class="thtop" nowrap>&nbsp;{L_VIEWS}&nbsp;</th>
<th align="center" class="thcornerr" 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 height="34" bgcolor="#404040" nowrap ><a href="{topicrow.U_VIEW_TOPIC}"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="33" height="25" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" border="0" /></a></td>
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></span><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="name">{topicrow.TOPIC_AUTHOR}</span></td>
<td class="row2" align="center"><span class="postdetails">{topicrow.VIEWS}</span></td>
<td class="row3" align="center" 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="catbottom" align="center" colspan="6" height="28">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<form method="post" action="{S_POST_DAYS_ACTION}">
<td><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
<input type="submit" class="liteoption" value="{L_GO}" name="submit" />
</span></td>
</form>
</tr>
</table>
</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}"  /></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><br />
{L_MODERATOR}: {MODERATORS}<br />
{LOGGED_IN_USER_LIST}
</td>
</tr>
</table>
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
   <tr>
      <td align="left" valign="top">
<table border="0" cellspacing="3" cellpadding="0">
<tr>
<td><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" title="{L_NEW_POSTS}" width="33" height="25" /></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}" width="33" height="25" /></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}" width="33" height="25" /></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}" width="33" height="25" /></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}" width="33" height="25" /></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}" width="33" height="25" /></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}" width="33" height="25" /></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}" width="33" height="25" /></td>
<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td class="gensmall">&nbsp;</td>
</tr>
</table>
</td>
      
<td align="right" valign="top"><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: Mon 19 Nov 2007 - 12:41    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

ici

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"></td></tr>');
imprim = 1;
}
}
-->
</script>
 

remplaces  par


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><br></td></tr>');
imprim = 1;
}
}
-->
</script>

 

_______________________


Forum
Author Message
Enix


Offline
Guest




PostPosted: Mon 19 Nov 2007 - 21:30    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Salut, alors j'ai fait ce que tu m'as dit, mais ça ne change pas grand chose hormis la hauteur de la barre qui sépare les messages normaux des anonces, post-ip. Je te te remet le code en entier que j'ai appliqué au cas ou :

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><br></td></tr>');
imprim = 1;
}
}
-->
</script>






<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">{L_MODERATOR}: {MODERATORS}<br />
{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}" /></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" align="center" class="thcornerl" nowrap height="28">&nbsp;{L_TOPICS}&nbsp;</th>
<th width="50" align="center" class="thtop" nowrap>&nbsp;{L_REPLIES}&nbsp;</th>
<th width="100" align="center" class="thtop" nowrap>&nbsp;{L_AUTHOR}&nbsp;</th>
<th width="50" align="center" class="thtop" nowrap>&nbsp;{L_VIEWS}&nbsp;</th>
<th align="center" class="thcornerr" 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 height="34" bgcolor="#404040" nowrap ><a href="{topicrow.U_VIEW_TOPIC}"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="33" height="25" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" border="0" /></a></td>
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></span><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="name">{topicrow.TOPIC_AUTHOR}</span></td>
<td class="row2" align="center"><span class="postdetails">{topicrow.VIEWS}</span></td>
<td class="row3" align="center" 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="catbottom" align="center" colspan="6" height="28">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<form method="post" action="{S_POST_DAYS_ACTION}">
<td><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
<input type="submit" class="liteoption" value="{L_GO}" name="submit" />
</span></td>
</form>
</tr>
</table>
</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}"  /></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><br />
{L_MODERATOR}: {MODERATORS}<br />
{LOGGED_IN_USER_LIST}
</td>
</tr>
</table>
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
   <tr>
      <td align="left" valign="top">
<table border="0" cellspacing="3" cellpadding="0">
<tr>
<td><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" title="{L_NEW_POSTS}" width="33" height="25" /></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}" width="33" height="25" /></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}" width="33" height="25" /></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}" width="33" height="25" /></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}" width="33" height="25" /></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}" width="33" height="25" /></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}" width="33" height="25" /></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}" width="33" height="25" /></td>
<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td class="gensmall">&nbsp;</td>
</tr>
</table>
</td>
      
<td align="right" valign="top"><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 20 Nov 2007 - 10:39    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

tu peux donner le lien vers un sous forum pour voir
_______________________


Forum
Author Message
Enix


Offline
Guest




PostPosted: Tue 20 Nov 2007 - 11:25    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Ouaip voilà : http://psp-axe-v.2.xooit.fr/f1-PSP-AXE.htm

Author Message
Poloiste-LCK
Membre


Offline
Membre

Joined: 12 Jun 2007
Posts: 78
Niveau:
Point(s): 78
Moyenne: 1.00
Windows Vista ou 7 Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...) Masculin Taureau (20avr-20mai)

PostPosted: Tue 20 Nov 2007 - 11:46    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Ça marche impect mais dommage que sa défigure un peu au niveau des image de sous forum.
_______________________


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

enix ça marche bien chez toi ou est le problème

sinon lck que veux tu dire par au niveau des images tu peux faire un screen de ce que tu as
_______________________


Forum
Author Message
Poloiste-LCK
Membre


Offline
Membre

Joined: 12 Jun 2007
Posts: 78
Niveau:
Point(s): 78
Moyenne: 1.00
Windows Vista ou 7 Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...) Masculin Taureau (20avr-20mai)

PostPosted: Tue 20 Nov 2007 - 16:32    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote



Au niveau de l'icone la barre horizontale est couper.
_______________________


Forum
Author Message
Enix


Offline
Guest




PostPosted: Tue 20 Nov 2007 - 17:00    Post subject: [tuto]séparateur d'annonce et post-it Reply with quote

Quote:
enix ça marche bien chez toi ou est le problème


Bah tu vois pas la grosse bande noir et le texte qui est écrasé ??


Author Message
Contenu Sponsorisé





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

Display posts from previous:   
Reply to topic Page 11 of 37 Goto page: <  1, 2, 310, 11, 1235, 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