Salut ai facut ceva modificari la tema?
Pe forumul meu de teste totul este ok.
In caz contrar te rog inlocuieste index_box cu acesta:
Cod:
<!-- BEGIN catrow --><!-- BEGIN tablehead -->
<div class="main_content">
<table class="index_box" width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: 4px 0px!important;">
<div class="main3d"> {catrow.tablehead.L_FORUM}</div>
<tr>
<th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" align="left">Forum</th>
<th nowrap="nowrap" width="50">{L_TOPICS}</th>
<th nowrap="nowrap" width="50">{L_POSTS}</th>
<th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th>
</tr>
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
<h{catrow.cathead.LEVEL} class="hierarchy">
<span class="cattitle">
<a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
</span>
</h{catrow.cathead.LEVEL}>
</td>
<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
</tr>
<!-- END cathead -->
<!-- BEGIN forumrow -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
<!-- END inc -->
<td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle" width="40" id="first">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</td>
<td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="30">
<h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
</span>
</h{catrow.forumrow.LEVEL}>
<div class="descriere">{catrow.forumrow.FORUM_DESC}</div>
<p class="subforums">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</p>
</td>
<td class="row3" align="center" valign="middle" height="30">
<span class="subiecte">{catrow.forumrow.TOPICS}</span>
</td>
<td class="row2" align="center" valign="middle" height="30">
<span class="mesaje">{catrow.forumrow.POSTS}</span>
</td>
<td class="row3" align="left" valign="middle" height="30" style="min-width: 200px!important;width: 200px!important;">
<!-- BEGIN ads -->
<span class="AD_LastPA">
<span class="lastpost-avatar"><img src="{catrow.forumrow.ads.IMG}" alt="{catrow.forumrow.ads.TITLE}" /></span>
<span class="AD_LastInfos">
<b><a href="{catrow.forumrow.ads.LINK}">{catrow.forumrow.ads.TITLE}</a></b><br />
{catrow.forumrow.ads.DATE}<br />
{catrow.forumrow.ads.LOCATION}
</span>
</span>
<!-- END ads -->
<!-- BEGIN avatar -->
<div style="width: 260px;"></div>
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td>
</tr>
<!-- END forumrow -->
<!-- BEGIN catfoot -->
<!-- END catfoot -->
<!-- BEGIN tablefoot -->
<tr>
<td colspan="5" style="background: #069!important;padding: none!important;height: 3px!important;padding: 0px!important"></td>
</tr>
</table>
</div><!-- END tablefoot --><!-- END catrow -->
In css sterge codul actual de la subforum si apoi adaugal pe acesta.
Cod:
<!-- BEGIN catrow --><!-- BEGIN tablehead -->
<div class="main_content">
<table class="index_box" width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: 4px 0px!important;">
<div class="main3d"> {catrow.tablehead.L_FORUM}</div>
<tr>
<th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" align="left">Forum</th>
<th nowrap="nowrap" width="50">{L_TOPICS}</th>
<th nowrap="nowrap" width="50">{L_POSTS}</th>
<th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th>
</tr>
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
<h{catrow.cathead.LEVEL} class="hierarchy">
<span class="cattitle">
<a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
</span>
</h{catrow.cathead.LEVEL}>
</td>
<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
</tr>
<!-- END cathead -->
<!-- BEGIN forumrow -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
<!-- END inc -->
<td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle" width="40" id="first">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</td>
<td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="30">
<h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
</span>
</h{catrow.forumrow.LEVEL}>
<div class="descriere">{catrow.forumrow.FORUM_DESC}</div>
<p class="subforums">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</p>
</td>
<td class="row3" align="center" valign="middle" height="30">
<span class="subiecte">{catrow.forumrow.TOPICS}</span>
</td>
<td class="row2" align="center" valign="middle" height="30">
<span class="mesaje">{catrow.forumrow.POSTS}</span>
</td>
<td class="row3" align="left" valign="middle" height="30" style="min-width: 200px!important;width: 200px!important;">
<!-- BEGIN ads -->
<span class="AD_LastPA">
<span class="lastpost-avatar"><img src="{catrow.forumrow.ads.IMG}" alt="{catrow.forumrow.ads.TITLE}" /></span>
<span class="AD_LastInfos">
<b><a href="{catrow.forumrow.ads.LINK}">{catrow.forumrow.ads.TITLE}</a></b><br />
{catrow.forumrow.ads.DATE}<br />
{catrow.forumrow.ads.LOCATION}
</span>
</span>
<!-- END ads -->
<!-- BEGIN avatar -->
<div style="width: 260px;"></div>
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td>
</tr>
<!-- END forumrow -->
<!-- BEGIN catfoot -->
<!-- END catfoot -->
<!-- BEGIN tablefoot -->
<tr>
<td colspan="5" style="background: #069!important;padding: none!important;height: 3px!important;padding: 0px!important"></td>
</tr>
</table>
</div><!-- END tablefoot --><!-- END catrow -->
Sterge si codul actual javascript de subforum si punel pe acesta.
Cod:
/*
** IPS Subforums by Zeus & StaarK*
*/
var ips_subForums = {
init : function() {
ips_subForums.exec();
},
exec : function() {
$('p.subforums').each(function(a, c) {
this.innerHTML=this.innerHTML.replace(/(\,)/g, "");
var id = a+1;
$('a.gensmall', this).wrap('<ul class="ipsList_inline ipsType_small subforums'+ id +'" id="subforum_'+ id +'"><li />');
var sub = $('.ipsType_small', this);
for (var i = 0; i < sub.length; i++) {
$(sub[i]).prev('a').insertBefore($(sub[i]).find('li a'));
$(sub[i]).find('a:eq(0)').hide();
};
});
// Executare functia new post
$('.ipsType_small li:has("img.sprite-icon_post_target_unread")').each(function(a, c) {
c.className = 'new';
});
}
};
$(document).ready(ips_subForums.init);
Daca nu merge o sa incercam o alta varianta.