friend
i need seven tabs the forum category are Tab . 1 . home, tab 2 : cat 25, tab3 : cat 30 , tab4 : 28 , tab 5 : 27, tab 6 : 29 , tab7 :26 , i need the tabs to look like as the first one in your demo forums ,
i'm placing the index php code :
PHP Code:
// Construct Tabbed Forum Home forumbits
// Category for Tab 2, pulls forum and sub form data from Category (Forum ID 1)
$forumbits2 = construct_forum_bit(25,1,0);
// Category 1 for Tab 3
$forumbits3a = construct_forum_bit(30,1,0);
// Category 2 for Tab 4
$forumbits3b = construct_forum_bit(28,1,0);
// Category 3 for Tab 5
$forumbits3c = construct_forum_bit(27,1,0);
eval('$forumhome_markread_script = "' . fetch_template('forumhome_markread_script') . '";');
and this is the Forum Main code :
PHP Code:
<!-- main -->
<!-- Tabbed Forum Home Tabs Layout -->
<ul id="forumtabs" class="shadetabs">
<li><a href="#" rel="tcontent1" class="selected">Home</a></li>
<li><a href="#" rel="tcontent2">Free Calls</a></li>
<li><a href="#" rel="tcontent3">Premium Section</a></li>
<li><a href="#" rel="tcontent4">IPO</a></li>
<li><a href="#" rel="tcontent5">General</a></li>
<li><a href="#" rel="tcontent6">Markets</a></li>
<li><a href="#" rel="tcontent7">Ask Us</a></li>
</ul>
<!-- /Tabbed Forum Home Tabs Layout -->
<!-- Tabbed Forum Home ? START Tab 1 Content Layout -->
<div id="tcontent1" class="tabcontent">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a><if condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if></strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
</div>
<!-- /Tabbed Forum Home ? END Tab 1 Content Layout -->
<!-- Tabbed Forum Home ? START Tab 2 Content Layout -->
<div id="tcontent2" class="tabcontent">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
<tbody>
<tr>
<td class="tcat" colspan="5"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_66')"><img id="collapseimg_forumbit_66" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=25">Free Calls</a></td>
</tr>
</tbody>
<tbody id="collapseobj_forumbit_66" style="">
$forumbits2
</tbody>
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a><if condition="$vboptions['forumleaders']"> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if></strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
</div>
<!-- /Tabbed Forum Home ? END Tab 2 Content Layout -->
<!-- Tabbed Forum Home ? START Tab 3 Content Layout -->
<div id="tcontent3" class="tabcontent">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
<tbody>
<tr>
<td class="tcat" colspan="5"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_808')"><img id="collapseimg_forumbit_808" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=30">Premium</a></td>
</tr>
</tbody>
<tbody id="collapseobj_forumbit_808" style="">
$forumbits3
</tbody>
<tbody>
<tr>
<td class="tcat" colspan="5"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_55')"><img id="collapseimg_forumbit_55" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=5">CATEGORY NAME</a></td>
</tr>
</tbody>
<tbody id="collapseobj_forumbit_55" style="">
$forumbits4
</tbody>
<tbody>
<tr>
<td class="tcat" colspan="5"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_33')"><img id="collapseimg_forumbit_33" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=3">CATEGORY NAME</a></td>
</tr>
</tbody>
<tbody id="collapseobj_forumbit_33" style="">
$forumbits5
</tbody>
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
</div>
<!-- /Tabbed Forum Home ? END Tab 3 Content Layout -->
<!-- /main -->
<!-- Tabbed Forums switch tab script -->
<script type="text/javascript">
var myforumtabs=new ddtabcontent("forumtabs")
myforumtabs.setpersist(true)
myforumtabs.setselectedClassTarget("link")
myforumtabs.init()
</script>
<!-- /end Tabbed Forums switch tab script -->
Please correct it accordingly as it would be of great help since i'm too bad in coding these .....