Advertisement
Guest User

Untitled

a guest
Jan 17th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.16 KB | None | 0 0
  1. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
  2.  
  3. <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  4. <tr>
  5. <td valign="bottom">
  6. <!-- BEGIN switch_user_logged_in -->
  7. <span class="gensmall">{LAST_VISIT_DATE}<br />
  8. {CURRENT_TIME}<br />
  9. </span>
  10. <!-- END switch_user_logged_in -->
  11. <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
  12. </td>
  13. <td class="gensmall" align="right" valign="bottom">
  14. <!-- BEGIN switch_user_logged_in -->
  15. <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
  16. <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
  17. <!-- END switch_user_logged_in -->
  18. <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
  19. </td>
  20. </tr>
  21. </table>
  22.  
  23.  
  24. <!-- DEBUT MODIF ONGLETS -->
  25.  
  26. <script type="text/javascript">
  27. <!--
  28.  
  29. document.write('<div align="center" style="display:none;" id="conteneur_barre_onglet">
  30. </div>');
  31.  
  32. var compteur_cat = 1;
  33.  
  34. function change_cat(numero)
  35. {
  36. if(document.getElementById('categorie_'+numero))
  37. {
  38. /* affichage de la bonne categorie */
  39. $('table[id^=categorie_]').css('display','none');
  40. $('table[id=categorie_'+numero+']').fadeIn();
  41.  
  42. /* affichage du bon onglet */
  43. $('.actif').removeClass("actif");
  44. $('.onglet[id=onglet_'+numero+']').addClass("actif");
  45. }
  46. }
  47.  
  48. function capture_cat()
  49. {
  50. if(compteur_cat == 1)
  51. {
  52. document.write('<table class="forumline" id="categorie_' + compteur_cat + '" >');
  53. }
  54. else
  55. {
  56. $('#conteneur_barre_onglet').css("display","block");
  57. document.write('</table><table class="forumline" id="categorie_' + compteur_cat + '" style="display:none;">');
  58. }
  59.  
  60. compteur_cat++;
  61. }
  62.  
  63. //-->
  64. </script>
  65.  
  66. <!-- BEGIN catrow --><!-- BEGIN tablehead -->
  67.  
  68. <script type="text/javascript">
  69. <!--
  70. capture_cat();
  71. //-->
  72. </script>
  73.  
  74. <!-- FIN MODIF ONGLETS -->
  75.  
  76.  
  77.  
  78. <!-- END tablehead -->
  79. <!-- BEGIN cathead -->
  80. <tr>
  81. <!-- BEGIN inc -->
  82. <td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
  83. <!-- END inc -->
  84. <td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
  85. <h{catrow.cathead.LEVEL} class="hierarchy">
  86. <span class="cattitle">
  87. <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
  88. </span>
  89. </h{catrow.cathead.LEVEL}>
  90. </td>
  91. <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
  92. </tr>
  93. <!-- END cathead -->
  94. <!-- BEGIN forumrow -->
  95. <tr>
  96. <!-- BEGIN inc -->
  97. <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
  98. <!-- END inc -->
  99.  
  100. <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
  101. <h{catrow.forumrow.LEVEL} class="hierarchy">
  102. <span class="forumlink">
  103. <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
  104. </span>
  105. </h{catrow.forumrow.LEVEL}>
  106. <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
  107. <span class="gensmall">
  108. <!-- BEGIN switch_moderators_links -->
  109. {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
  110. <!-- END switch_moderators_links -->
  111.  
  112. </span>
  113. </td>
  114.  
  115. <!-- BEGIN forum_link_no -->
  116.  
  117. <td class="row3 over" align="center" valign="middle" height="50">
  118. <span class="gensmall">{catrow.forumrow.LAST_POST} <br /><br /> <br /> <br /> <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></span>
  119. </td>
  120. <!-- END forum_link_no -->
  121. <!-- BEGIN forum_link -->
  122. <td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
  123. <!-- END forum_link -->
  124. </tr>
  125. <!-- END forumrow -->
  126. <!-- BEGIN catfoot -->
  127. <tr>
  128. <!-- BEGIN inc -->
  129. <td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
  130. <!-- END inc -->
  131. <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
  132. </tr>
  133. <!-- END catfoot -->
  134. <!-- BEGIN tablefoot -->
  135. <img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement