It is currently Sat 1 Oct 2016 - 12:22 - créer un forum

[Tuto] Cacher/Montrer les catégories

Skip to content

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

[Tuto] Cacher/Montrer les catégories
Author Message
An0nyme





PostPosted: Mon 26 Jan 2009 - 20:57    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

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

Salut, cherchez :

Code: Sélectionner - Agrandir
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr>
 <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM} PUISSANCE MUSCLES</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>


Remplacez par :

Code: Sélectionner - Agrandir

<table width="100%" cellspacing="1" border="0" class="tablebg">
  <tr>
 <th colspan="2" class="thCornerL" height="25" width="70%" 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>


Cherchez :

Code: Sélectionner - Agrandir
  <tr>
 <td class="catLeft" colspan="2" height="28"><span class="cattitle">{catrow.CAT_DESC}</span></td>
 <td class="rowpic" colspan="3" align="right">&nbsp;</td>
  </tr>


Remplacez par :

Code: Sélectionner - Agrandir
 <tbody id="cat_{catrow.CAT_ID}_f_h" style="display: none;">
  <tr>
    <td class="catLeft" colspan="5" height="28">
    <img style="padding-right: 5px; float: right; cursor: pointer;" src="http://img10.xooimage.com/files/a/c/c/maximise-176fb0.gif" onclick="javascript:ShowHide('cat_{catrow.CAT_ID}_f','cat_{catrow.CAT_ID}_f_h','cat_{catrow.CAT_ID}_f');" alt="Show">
    <span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
  </tr>
 </tbody>
 
 <tbody id="cat_{catrow.CAT_ID}_f">
<script type="text/javascript">
<!--
tmp = 'cat_{catrow.CAT_ID}_f';
if(GetCookie(tmp) == '2')
{
   ShowHide('cat_{catrow.CAT_ID}_f', 'cat_{catrow.CAT_ID}_f_h', 'cat_{catrow.CAT_ID}_f');
}
//-->
</script>
  <tr>
    <td class="catLeft" colspan="5" height="28">
    <img style="padding-right: 5px; float: right; cursor: pointer;" src="http://img4.xooimage.com/files/a/0/8/minimise-176fb7.gif" onclick="javascript:ShowHide('cat_{catrow.CAT_ID}_f','cat_{catrow.CAT_ID}_f_h','cat_{catrow.CAT_ID}_f');" alt="Hide">
    <span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
  </tr>



Cherchez :

Code: Sélectionner - Agrandir
  <!-- END forumrow -->
</table>
<br class="nav" />
  <!-- END catrow -->


Remplacez par :

Code: Sélectionner - Agrandir
  <!-- END forumrow -->
</tbody>
</table>
<br class="nav" />
  <!-- END catrow -->



Puis faites la partie dans l'overall_header.tpl
Author Message
jeanmi62
Membre


Offline
Membre

Joined: 26 Apr 2008
Posts: 50
Point(s): 50
Moyenne: 1.00
Windows XP (ou plus ancien) Internet Explorer Masculin Taureau (20avr-20mai)

PostPosted: Tue 27 Jan 2009 - 10:49    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

j ai bien essayé mais cela ne marche pas .il manque des parties d index du forum , il y a des fleches mais qui ne sont pas cliquable enfin rien ne va .merci beaucoup a ceux qui m aident
_______________________
merci pour l aide que vous m apportez amities


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 27 Jan 2009 - 10:59    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

bonjour

tu fais bien les modifs comme indiqué

en ne te trompant pas dans les codes que tu changes
_______________________


Forum
Author Message
jeanmi62
Membre


Offline
Membre

Joined: 26 Apr 2008
Posts: 50
Point(s): 50
Moyenne: 1.00
Windows XP (ou plus ancien) Internet Explorer Masculin Taureau (20avr-20mai)

PostPosted: Tue 27 Jan 2009 - 14:33    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

themalin wrote:
bonjour
tu fais bien les modifs comme indiqué

en ne te trompant pas dans les codes que tu changes

Embarassed merci pour l attention
en effet je met bien les codes comme indiqués.j ai meme crée un autre forum avec le theme sur lequel cela a etait fait mais ca veux pas .
est ce que sur theme de test cela marche ? car j ai essayé aussi et ca veux pas non plus . Crying or Very sad
_______________________
merci pour l aide que vous m apportez amities


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 27 Jan 2009 - 14:37    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

tu peux mettre ton template modifié ici entre les balises code pour voir
_______________________


Forum
Author Message
jeanmi62
Membre


Offline
Membre

Joined: 26 Apr 2008
Posts: 50
Point(s): 50
Moyenne: 1.00
Windows XP (ou plus ancien) Internet Explorer Masculin Taureau (20avr-20mai)

PostPosted: Tue 27 Jan 2009 - 14:50    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

themalin wrote:
tu peux mettre ton template modifié ici entre les balises code pour voir


Code: Sélectionner - Agrandir
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
  <tr>
 <td align="left" valign="bottom"><span class="gensmall">
 <!-- BEGIN switch_user_logged_in -->
 {LAST_VISIT_DATE}<br />
 <!-- END switch_user_logged_in -->
 {CURRENT_TIME}<br /></span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
 <td align="right" valign="bottom" class="gensmall">
  <!-- BEGIN switch_user_logged_in -->
  <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
  <!-- END switch_user_logged_in -->
  <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
</table>
<table width="100%" cellspacing="1" border="0" class="tablebg">
  <tr>
 <th colspan="2" class="thCornerL" height="25" width="70%" 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 catrow -->
 <tbody id="cat_{catrow.CAT_ID}_f_h" style="display: none;">
  <tr>
    <td class="catLeft" colspan="5" height="28">
    <img style="padding-right: 5px; float: right; cursor: pointer;" src="http://img10.xooimage.com/files/a/c/c/maximise-176fb0.gif" onclick="javascript:ShowHide('cat_{catrow.CAT_ID}_f','cat_{catrow.CAT_ID}_f_h','cat_{catrow.CAT_ID}_f');" alt="Show">
    <span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
  </tr>
 </tbody>
 
 <tbody id="cat_{catrow.CAT_ID}_f">
<script type="text/javascript">
<!--
tmp = 'cat_{catrow.CAT_ID}_f';
if(GetCookie(tmp) == '2')
{
   ShowHide('cat_{catrow.CAT_ID}_f', 'cat_{catrow.CAT_ID}_f_h', 'cat_{catrow.CAT_ID}_f');
}
//-->
</script>
  <tr>
    <td class="catLeft" colspan="5" height="28">
    <img style="padding-right: 5px; float: right; cursor: pointer;" src="http://img4.xooimage.com/files/a/0/8/minimise-176fb7.gif" onclick="javascript:ShowHide('cat_{catrow.CAT_ID}_f','cat_{catrow.CAT_ID}_f_h','cat_{catrow.CAT_ID}_f');" alt="Hide">
    <span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
  </tr>
  <!-- BEGIN forumrow -->
  <tr>
 <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
 <td class="row1" width="100%" height="50"><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}<br />
   </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></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 -->
</tbody>
</table>
<br class="nav" />
  <!-- END catrow -->
</table>
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
  <tr>
 <td align="left"><span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span></td>
 <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  <tr>
 <td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
  </tr>
  <tr>
 <td class="row1" align="center" valign="middle" rowspan="2"><img src="http://img3.xooimage.com/files/w/h/whosonline-35ae9.gif" alt="{L_WHO_IS_ONLINE}" /></td>
 <td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
 </td>
  </tr>
  <tr>
 <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
</table>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
<tr>
 <td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
  <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
 <tr>
   <td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
 </tr>
 <tr>
   <td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
  <input class="post" type="text" name="username" size="10" />
  &nbsp;&nbsp;&nbsp;{L_PASSWORD}:
  <input class="post" type="password" name="password" size="10" maxlength="32" />
  &nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN}
  <input class="text" type="checkbox" name="autologin" />
  &nbsp;&nbsp;&nbsp;
  <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
  </span> </td>
 </tr>
  </table>
</form>
<!-- END switch_user_logged_out -->
<br clear="all" />
<table cellspacing="3" border="0" align="center" cellpadding="0">
  <tr>
 <td width="20" align="center"><img src="http://img10.xooimage.com/files/f/o/folder_new_big-35adc.gif" alt="{L_NEW_POSTS}"/></td>
 <td><span class="gensmall">{L_NEW_POSTS}</span></td>
 <td>&nbsp;&nbsp;</td>
 <td width="20" align="center"><img src="http://img9.xooimage.com/files/f/o/folder_big-35adb.gif" alt="{L_NO_NEW_POSTS}" /></td>
 <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
 <td>&nbsp;&nbsp;</td>
 <td width="20" align="center"><img src="http://img2.xooimage.com/files/f/o/folder_locked_big-35add.gif" alt="{L_FORUM_LOCKED}" /></td>
 <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
  </tr>
</table>

 

_______________________
merci pour l aide que vous m apportez amities


Forum
Author Message
An0nyme


Offline
Guest




PostPosted: Tue 27 Jan 2009 - 23:58    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

Avez-vous bien ajouté dans le template overall_header.tpl avant la balise </head> le script :

Code: Sélectionner - Agrandir
<script type="text/javascript">
var PreloadFlag = false;
var expDays = 90;
var exp = new Date();
var tmp = '';
var tmp_counter = 0;
var tmp_open = 0;

exp.setTime(exp.getTime() + (expDays*24*60*60*1000));

function SetCookie(name, value)
{
   var argv = SetCookie.arguments;
   var argc = SetCookie.arguments.length;
   var expires = (argc > 2) ? argv[2] : null;
   var path = (argc > 3) ? argv[3] : null;
   var domain = (argc > 4) ? argv[4] : null;
   var secure = (argc > 5) ? argv[5] : false;
   document.cookie = name + "=" + escape(value) +
      ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
      ((path == null) ? "" : ("; path=" + path)) +
      ((domain == null) ? "" : ("; domain=" + domain)) +
      ((secure == true) ? "; secure" : "");
}

function getCookieVal(offset)
{
   var endstr = document.cookie.indexOf(";",offset);
   if (endstr == -1)
   {
      endstr = document.cookie.length;
   }
   return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie(name)
{
   var arg = name + "=";
   var alen = arg.length;
   var clen = document.cookie.length;
   var i = 0;
   while (i < clen)
   {
      var j = i + alen;
      if (document.cookie.substring(i, j) == arg)
      {
         return getCookieVal(j);
      }
      i = document.cookie.indexOf(" ", i) + 1;
      if (i == 0)
      {
         break;
      }
   }
   return null;
}

function ShowHide(id1, id2, id3)
{
   var res = expMenu(id1);
   if (id2 != '')
   {
      expMenu(id2);
   }
   if (id3 != '')
   {
      SetCookie(id3, res, exp);
   }
}

function expMenu(id)
{
   var itm = null;
   if (document.getElementById)
   {
      itm = document.getElementById(id);
   }
   else if (document.all)
   {
      itm = document.all[id];
   }
   else if (document.layers)
   {
      itm = document.layers[id];
   }
   if (!itm)
   {
      // do nothing
   }
   else if (itm.style)
   {
      if (itm.style.display == "none")
      {
         itm.style.display = "";
         return 1;
      }
      else
      {
         itm.style.display = "none";
         return 2;
      }
   }
   else
   {
      itm.visibility = "show";
      return 1;
   }
}
</script>


Author Message
jeanmi62
Membre


Offline
Membre

Joined: 26 Apr 2008
Posts: 50
Point(s): 50
Moyenne: 1.00
Windows XP (ou plus ancien) Internet Explorer Masculin Taureau (20avr-20mai)

PostPosted: Wed 28 Jan 2009 - 08:28    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

Embarassed  jeanmi62 admin de puissancemuscles.xooit.fr .
oui j ai bien rajouté le code dans l overall header avant la balise head .

est ce que cela peut provenir des sous forums ou des sous sous forums , des descriptions ,des categorie .

as tu etais visiter mon forum car peut etre qu il faut que je le refasse  avec des  categorie et des sous forums dedans .pour chaque section . en tout cas merci beaucoup de m aider Embarassed Embarassed
_______________________
merci pour l aide que vous m apportez amities


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 28 Jan 2009 - 09:31    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

je vois bien le code mais il n'est pas avant la balise /head tu dois bien le mettre avant ça


Code: Sélectionner - Agrandir

</head><body bgcolor="#E5E5E5" text="#000000" link="#006699" vlink="#5493B4">
<a name="top"></a>


_______________________


Forum
Author Message
jeanmi62
Membre


Offline
Membre

Joined: 26 Apr 2008
Posts: 50
Point(s): 50
Moyenne: 1.00
Windows XP (ou plus ancien) Internet Explorer Masculin Taureau (20avr-20mai)

PostPosted: Wed 28 Jan 2009 - 10:06    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

themalin wrote:
je vois bien le code mais il n'est pas avant la balise /head tu dois bien le mettre avant ça


Code: Sélectionner - Agrandir
</head><body bgcolor="#E5E5E5" text="#000000" link="#006699" vlink="#5493B4">
<a name="top"></a>




Embarassed Embarassed ok j ai merdouiller car je l ai mis avant <head>  seul .je retente et t en fais part merci Wink
_______________________
merci pour l aide que vous m apportez amities


Forum
Author Message
jeanmi62
Membre


Offline
Membre

Joined: 26 Apr 2008
Posts: 50
Point(s): 50
Moyenne: 1.00
Windows XP (ou plus ancien) Internet Explorer Masculin Taureau (20avr-20mai)

PostPosted: Wed 28 Jan 2009 - 10:21    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

Code: Sélectionner - Agrandir
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta name="verify-v1" content="eoYfzDxOw24j7P8muPz7JN33WW4ybg5wngkOfef05lA=" />
</script>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">

<style type="text/css">
<!--
-->
</style>
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="http://img7.xooimage.com/files/c/3/c/subblade-a8c401.css" type="text/css">
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
 if ( {PRIVATE_MESSAGE_NEW_FLAG} )
 {
  window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
 }
//-->
</script>
<!-- END switch_enable_pm_popup -->
<script type="text/javascript">
var PreloadFlag = false;
var expDays = 90;
var exp = new Date();
var tmp = '';
var tmp_counter = 0;
var tmp_open = 0;
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
function SetCookie(name, value)
{
   var argv = SetCookie.arguments;
   var argc = SetCookie.arguments.length;
   var expires = (argc > 2) ? argv[2] : null;
   var path = (argc > 3) ? argv[3] : null;
   var domain = (argc > 4) ? argv[4] : null;
   var secure = (argc > 5) ? argv[5] : false;
   document.cookie = name + "=" + escape(value) +
      ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
      ((path == null) ? "" : ("; path=" + path)) +
      ((domain == null) ? "" : ("; domain=" + domain)) +
      ((secure == true) ? "; secure" : "");
}
function getCookieVal(offset)
{
   var endstr = document.cookie.indexOf(";",offset);
   if (endstr == -1)
   {
      endstr = document.cookie.length;
   }
   return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie(name)
{
   var arg = name + "=";
   var alen = arg.length;
   var clen = document.cookie.length;
   var i = 0;
   while (i < clen)
   {
      var j = i + alen;
      if (document.cookie.substring(i, j) == arg)
      {
         return getCookieVal(j);
      }
      i = document.cookie.indexOf(" ", i) + 1;
      if (i == 0)
      {
         break;
      }
   }
   return null;
}
function ShowHide(id1, id2, id3)
{
   var res = expMenu(id1);
   if (id2 != '')
   {
      expMenu(id2);
   }
   if (id3 != '')
   {
      SetCookie(id3, res, exp);
   }
}
function expMenu(id)
{
   var itm = null;
   if (document.getElementById)
   {
      itm = document.getElementById(id);
   }
   else if (document.all)
   {
      itm = document.all[id];
   }
   else if (document.layers)
   {
      itm = document.layers[id];
   }
   if (!itm)
   {
      // do nothing
   }
   else if (itm.style)
   {
      if (itm.style.display == "none")
      {
         itm.style.display = "";
         return 1;
      }
      else
      {
         itm.style.display = "none";
         return 2;
      }
   }
   else
   {
      itm.visibility = "show";
      return 1;
   }
}
</script>
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<a name="top"></a>
<table width="100%" height="64"  border="0" cellpadding="0" cellspacing="0">
  <tr align="center" valign="top">
    <td height="80" colspan="2" bgcolor="#FFFFFF"><div align="center"><a href="%7BU_INDEX%7D"><img src="http://img7.xooimage.com/files/c/3/f/header3-7e7329.jpg" alt="{L_INDEX}" border="0"></a></div></td>
  </tr>
</table>
<table width="97%" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
  <td class="bodyline"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
   <tr>
    <td>&nbsp;</td>
    <td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span>
    <table cellspacing="0" cellpadding="0" border="0">
               <tr>
                  <td align="center" valign="top" ><a href="{U_FAQ}"><img src="http://img1.xooimage.com/files/2/4/1/faq-5681e4.png" border="0"></a></span><span class="mainmenu"><a href="{U_SEARCH}"><img src="http://img5.xooimage.com/files/e/7/c/chercher-5682ad.png" border="0"></a><a href="{U_MEMBERLIST}"><img src="http://img3.xooimage.com/files/9/1/4/membres-568213.png" border="0"></a><a href="{U_GROUP_CP}"><img src="http://img9.xooimage.com/files/2/6/4/groupes-56822d.png" border="0"></a><a href="{U_PROFILE}"><img src="http://img1.xooimage.com/files/2/9/d/profil-568243.png" border="0"></a><a href="{U_PRIVATEMSGS}"><!-- IF PRIVATE_MESSAGE_INFO == "Vous avez 1 nouveau message" --><img src="http://img5.xooimage.com/files/0/0/f/news_messages-5682e9.gif" border="0"><!-- ELSEIF PRIVATE_MESSAGE_INFO == "Vous n’avez pas de nouveaux messages" --><img src="http://img9.xooimage.com/files/7/d/b/messages-56825a.png" border="0"><!-- ELSEIF PRIVATE_MESSAGE_INFO == "Se connecter pour vérifier ses messages privés" --><img src="http://img9.xooimage.com/files/7/d/b/messages-56825a.png" border="0"><!-- ELSE --><img src="http://img5.xooimage.com/files/0/0/f/news_messages-5682e9.gif" border="0"><!-- ENDIF --></a><!-- BEGIN switch_user_logged_out --><a href="{U_REGISTER}"><img src="http://img1.xooimage.com/files/2/5/2/inscription-5681f0.png" border="0"></a><a href="{U_LOGIN_LOGOUT}"><img src="http://img7.xooimage.com/files/4/f/3/connexion-56826e.png" border="0"></a><!-- END switch_user_logged_out --><!-- BEGIN switch_user_logged_in --><a href="{U_LOGIN_LOGOUT}"><img src="http://img9.xooimage.com/files/8/4/d/deconnexion-5682c3.png" border="0"></a><!-- END switch_user_logged_in --></td>
               </tr>
            </table>
   </tr>
  </table>
  <br />
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5054319-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>

<!-- DEBUT DU SCRIPT -->
<style type="text/css">
.ejs_context_menuitems{padding-left:12px; padding-right:7px; }
</style><script language="JavaScript1.2">
/*
Source du Script: Editeur Javascript (http://editeurjavascript.com)
Script adapté pour: Xooit.com (http://www.xooit.com)
*/
ejs_context_elemt = new Array;
ejs_context_elemt[0] = "Page précédente|history.go(-1)";
ejs_context_elemt[1] = "Page suivante|history.go(1)";
ejs_context_elemt[2] = "";
ejs_context_elemt[3] = 'Portail|document.location.href=\'portal.php\'';
ejs_context_elemt[4] = 'Index|document.location.href=\'index.php\'';
ejs_context_elemt[5] = 'Aide Générale|document.location.href=\'faq.php\'';
ejs_context_elemt[6] = 'Aide BBCode|document.location.href=\'faq.php?mode=bbcode\'';
ejs_context_elemt[7] = 'Recherche|document.location.href=\'search.php\'';
ejs_context_elemt[8] = 'Membres|document.location.href=\'memberlist.php\'';
ejs_context_elemt[9] = 'Groupes|document.location.href=\'groupcp.php\'';
ejs_context_elemt[10] = 'Profil|document.location.href=\'profile.php?mode=editprofile\'';
ejs_context_elemt[11] = '';
ejs_context_elemt[12] = 'Connexion|document.location.href=\'login.php\'';
ejs_context_elemt[13] = 'Inscription|document.location.href=\'profile.php?mode=register\'';
ejs_context_elemt[14] = 'Messages Privés|document.location.href=\'privmsg.php?folder=inbox\'';
ejs_context_elemt[15] = 'Statistiques|document.location.href=\'stats.php\'';
ejs_context_elemt[16] = 'Qui est en ligne?|document.location.href=\'viewonline.php\'';
ejs_context_elemt[17] = '';
ejs_context_elemt[18] = 'Xooit.com|document.location.href=\'http://www.xooit.com/\'';
ejs_context_elemt[19] = 'Créer un forum|document.location.href=\'http://www.xooit.com/fr/creer-forum.html?\'';
ejs_context_elemt[20] = 'Forum d\'entraide|document.location.href=\'http://xooit.xooit.com\'';
ejs_context_elemt[21] = 'Annuaire|document.location.href=\'http://www.xooit.com/fr/annuaire\'';
ejs_context_elemt[22] = 'TopForums|document.location.href=\'http://topforums.xooit.net/xooit/index.php\'';
function ejs_context_position(e)
   {
   ejs_context_x = (navigator.appName.substring(0,3) == "Net") ? e.pageX : event.x+document.body.scrollLeft;
   ejs_context_y = (navigator.appName.substring(0,3) == "Net") ? e.pageY : event.y+document.body.scrollTop;
   }
function ejs_context_open()
   {
   document.getElementById("ejs_context_box").style.top = ejs_context_y;
   document.getElementById("ejs_context_box").style.left = ejs_context_x;
   document.getElementById("ejs_context_ombre").style.top = ejs_context_y+2;
   document.getElementById("ejs_context_ombre").style.left = ejs_context_x+2;
   document.getElementById("ejs_context_box").style.visibility = "visible";
   document.getElementById("ejs_context_ombre").style.visibility = "visible";
   return(false);
   }
function ejs_context_close()
   {
   if (document.getElementById)
      {
      document.getElementById("ejs_context_box").style.top = 0;
      document.getElementById("ejs_context_box").style.left = 0;
      document.getElementById("ejs_context_ombre").style.top = 0;
      document.getElementById("ejs_context_ombre").style.left = 0;
      document.getElementById("ejs_context_box").style.visibility = "hidden";
      document.getElementById("ejs_context_ombre").style.visibility = "hidden";
      }
   }
function ejs_context_hl(mode, element)
   {
   if(mode == 1)
      {
      element.style.background = '#316AC5';
      element.style.color = '#FFFFFF';
      }
   else
      {
      element.style.background ='#FFFFFF';
      element.style.color = '#000000';
      }
   }
if(navigator.appName.substring(0,3) == "Net")
   document.captureEvents(Event.MOUSEMOVE);
</script>
<!-- FIN DU SCRIPT -->
<!-- DEBUT DU SCRIPT -->
<div id=ejs_context_box style="z-index:500;position:absolute;width:200px; border:1px solid #9D9DA1; background-color:#ffffff; font-family:Microsoft sans serif; font-size:12px; cursor:default; visibility:hidden;padding:3">
<script language="JavaScript">
/*
Source du Script: Editeur Javascript (http://editeurjavascript.com)
Script adapté pour: Xooit.com (http://www.xooit.com)
*/
ejs_context_ombre_txt = '';
for(a=0;a<ejs_context_elemt.length;a++)
   {
   if(ejs_context_elemt[a].indexOf("|") > 0)
      {
      splited = new Array;
      splited = ejs_context_elemt[a].split("|");
      document.write('<div class="ejs_context_menuitems" onClick="'+splited[1]+'" onMouseOver="ejs_context_hl(1, this)" onMouseOut="ejs_context_hl(0, this)">'+splited[0]+'</div>');
      ejs_context_ombre_txt += '<div class="ejs_context_menuitems">'+splited[0]+'</div>';
      }
   else
      {
      document.write('<div class="ejs_context_menuitems" onClick="'+splited[1]+'" onMouseOver="ejs_context_hl(1, this)" onMouseOut="ejs_context_hl(0, this)"><hr width="195" size="1" color="9D9DA1" /></div>');
      ejs_context_ombre_txt += '<div class="ejs_context_menuitems"><hr width="195" size="1" color="9D9DA1" /></div>';
      }
   }
document.write('</div><div id=ejs_context_ombre style="z-index:400;position:absolute;width:200px; border:1px solid #9D9DA1; background-color:#9D9DA1; font-family:Microsoft sans serif; font-size:12px; color:#9D9DA1 ;cursor:default; visibility:hidden;padding:3">'+ejs_context_ombre_txt+'</div>');
// EVENEMENTS
document.onmousemove = ejs_context_position;
document.oncontextmenu = ejs_context_open;
document.onclick = ejs_context_close;
</script>
<!-- FIN DU SCRIPT -->


 

_______________________
merci pour l aide que vous m apportez amities


Forum
Author Message
jeanmi62
Membre


Offline
Membre

Joined: 26 Apr 2008
Posts: 50
Point(s): 50
Moyenne: 1.00
Windows XP (ou plus ancien) Internet Explorer Masculin Taureau (20avr-20mai)

PostPosted: Wed 28 Jan 2009 - 10:22    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

Code: Sélectionner - Agrandir
<table width="98%" cellspacing="0" cellpadding="2" border="0" align="center">
  <tr>
 <td align="left" valign="bottom"><span class="gensmall">
 <!-- BEGIN switch_user_logged_in -->
 {LAST_VISIT_DATE}<br />
 <!-- END switch_user_logged_in -->
 {CURRENT_TIME}<br /></span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
 <td align="right" valign="bottom" class="gensmall">
  <!-- BEGIN switch_user_logged_in -->
  <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
  <!-- END switch_user_logged_in -->
  <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
</table>
<!-- BEGIN catrow -->
 <table width="100%" cellspacing="1" border="0" class="tablebg">
  <tr>
 <th colspan="2" class="thCornerL" height="25" width="70%" 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>
  <tbody id="cat_{catrow.CAT_ID}_f_h" style="display: none;">
  <tr>
    <td class="catLeft" colspan="5" height="28">
    <img style="padding-right: 5px; float: right; cursor: pointer;" src="http://img10.xooimage.com/files/a/c/c/maximise-176fb0.gif" onclick="javascript:ShowHide('cat_{catrow.CAT_ID}_f','cat_{catrow.CAT_ID}_f_h','cat_{catrow.CAT_ID}_f');" alt="Show">
    <span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
  </tr>
 </tbody>
 
 <tbody id="cat_{catrow.CAT_ID}_f">
<script type="text/javascript">
<!--
tmp = 'cat_{catrow.CAT_ID}_f';
if(GetCookie(tmp) == '2')
{
   ShowHide('cat_{catrow.CAT_ID}_f', 'cat_{catrow.CAT_ID}_f_h', 'cat_{catrow.CAT_ID}_f');
}
//-->
</script>
  <tr>
    <td class="catLeft" colspan="5" height="28">
    <img style="padding-right: 5px; float: right; cursor: pointer;" src="http://img4.xooimage.com/files/a/0/8/minimise-176fb7.gif" onclick="javascript:ShowHide('cat_{catrow.CAT_ID}_f','cat_{catrow.CAT_ID}_f_h','cat_{catrow.CAT_ID}_f');" alt="Hide">
    <span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
  </tr>
  <!-- BEGIN forumrow -->
  <tr>
 <td class="row1" align="center" valign="middle" height="40"><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" class="forumline" ><span class="forumlink"> <center><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a></center><br />
   </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br /><!-- BEGIN subforumrow -->
<!-- END subforumrow -->
   </span></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 -->
</tbody>
</table>
<br class="nav" />
  <!-- END catrow -->
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
  <tr>
 <td align="left"><span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span></td>
 <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  <tr>
 <td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
  </tr>
  <tr>
 <td class="row1" align="center" valign="middle" rowspan="2"><img src="http://img9.xooimage.com/files/1/2/9/dnext1-450a2c.png" alt="{L_WHO_IS_ONLINE}" /></td>
 <td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
 </td>
  </tr>
  <tr>
 <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
</table>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
<tr>
 <td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
  <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
 <tr>
   <td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
 </tr>
 <tr>
   <td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
  <input class="post" type="text" name="username" size="10" />
  &nbsp;&nbsp;&nbsp;{L_PASSWORD}:
  <input class="post" type="password" name="password" size="10" maxlength="32" />
  &nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN}
  <input class="text" type="checkbox" name="autologin" />
  &nbsp;&nbsp;&nbsp;
  <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
  </span> </td>
 </tr>
  </table>
</form>
<!-- END switch_user_logged_out -->
<br clear="all" />
<table cellspacing="3" border="0" align="center" cellpadding="0">
  <tr>
 <td width="20" align="center"><img src="http://img7.xooimage.com/files/7/1/2/shnouveau-84357.gif" alt="{L_NEW_POSTS}"/></td>
 <td><span class="gensmall">{L_NEW_POSTS}</span></td>
 <td>&nbsp;&nbsp;</td>
 <td width="20" align="center"><img src="http://img1.xooimage.com/files/4/7/8/fc0ksicawy6777caf...ccalrub1r-966842.jpg" alt="{L_NO_NEW_POSTS}" /></td>
 <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
 <td>&nbsp;&nbsp;</td>
 <td width="20" align="center"><img src="http://img4.xooimage.com/files/f/c/e/d-1179c3.jpg" alt="{L_FORUM_LOCKED}" /></td>
 <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
  </tr>
</table>
<table width="100%" cellspacing="1" border="0" class="forumline">
<tr>
 
<td class="row1" width="40"><img
src="http://img1.xooimage.com/files/9/e/d/pdt_flag_19-21c83.gif"
alt="Ecouter la Radio"></td>
<td class="row1" valign="middle" width="100%">
<center><p class="gensmall">  


 

_______________________
merci pour l aide que vous m apportez amities


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 28 Jan 2009 - 10:25    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

ok pour ton header tu as bien placé le code la ou il faut 
_______________________


Forum
Author Message
jeanmi62
Membre


Offline
Membre

Joined: 26 Apr 2008
Posts: 50
Point(s): 50
Moyenne: 1.00
Windows XP (ou plus ancien) Internet Explorer Masculin Taureau (20avr-20mai)

PostPosted: Wed 28 Jan 2009 - 10:46    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

themalin wrote:
ok pour ton header tu as bien placé le code la ou il faut 


Razz  oui mais cela ne fonctionne pas .je le fais sur mon forum de test .car je pense que si je le fais sur mon forum normal je vais merdouiller undecided
_______________________
merci pour l aide que vous m apportez amities


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 28 Jan 2009 - 10:54    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

Forum
Author Message
jeanmi62
Membre


Offline
Membre

Joined: 26 Apr 2008
Posts: 50
Point(s): 50
Moyenne: 1.00
Windows XP (ou plus ancien) Internet Explorer Masculin Taureau (20avr-20mai)

PostPosted: Wed 28 Jan 2009 - 11:50    Post subject: [Tuto] Cacher/Montrer les catégories Reply with quote

themalin wrote:
ça marche pour moi
http://puissancemuscles.xooit.fr/index.php?theme=test



Mr. Green  impecable je te remercie pour tout themalin thepartout et thetresbien mes amitiés
_______________________
merci pour l aide que vous m apportez amities


Forum
Author Message
Contenu Sponsorisé





PostPosted: Today at 12:22    Post subject: [Tuto] Cacher/Montrer les catégories

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