PHP Code:
<!-- top category table setup -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" style="background-image: url($stylevar[imgdir_misc]/cat_back.gif)">
<tr>
<td width="150" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="150" height="27" alt="" /></td>
<td width="100%" valign="middle">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<div align="center">
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><b>$forum[title]</b></a></div>
<if condition="$show['forumdescription']"><div align="center" class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><!-- Subforum pull-down menu --------------------------------------->
<form action="forumdisplay.php" method="get">
<input name="s" value="" type="hidden">
<input name="daysprune" value="-1" type="hidden">
<select name="f" onchange="this.form.submit();">
<if condition="$forum[statusicon] == 'new'">
<option value="$forum[forumid]" style="font-weight:bold;">$forum[title]</option>
<else />
<option value="$forum[forumid]">$forum[title]</option>
</if>
$forum[subforums]
</select>
<input class="button" value="$vbphrase[go]" type="submit">
</form>
<!-- Subforum pull-down menu ---------------------------------------></div></div></if>
</td>
<td width="150" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="150" height="27" alt="" /></td>
</tr>
</table>
<!-- End top category table setup -->