<tdcolspan="2"><ahref='?cmd=o'<?=tooltip('Click here to display the forums overview')?>><?=($mode=='o')?"<i>":""?>Overview<?=($mode=='o')?"</i>":""?></a></td>
</tr>
<tr><tdcolspan="2"><ahref='?cmd=l'<?=tooltip('Click here to display the latest messages in all forums')?>><?=($mode=='l')?"<i>":""?>Latest messages<?=($mode=='l')?"</i>":""?></a></td></tr>
echo"<td colspan='2'><a href='?cmd=".urlencode("C#$cid")."' ".tooltip('Click here to display this forums category main page').">$cb".($sel1?"<i>":"").utf8entities($cat['title']);
echo($sel1?"</i>":"")."$ceb</a></td></tr>\n";
if($sel)
foreach($cat['forums']as$f)
{
$au=$f['unread'];
$cb=$au?'<b>':'';$ceb=$au?" ($au)</b>":'';
$fid="F#".$cat['type']."#".$f['id'];
$selF=($mode==$fid);
echo"<tr><td class='mmspc'> </td>";
echo" <td><a href='?cmd=".urlencode($fid)."' ".tooltip('Click here to display the contents of this forum').">$cb".($selF?"<i>":"").utf8entities($f['title']).($selF?"</i>":"")."$ceb</a></td>";
echo"</tr>\n";
}
echo'<tr><td class="mmspc"> </td>';
echo"<td><a href='?cmd=".urlencode("L#$cid")."' ".tooltip('Click here to display the latest messages this forums category').">".($selL?"<i>":"").'Latest messages'.($selL?"</i>":"")."</a></td></tr>\n";
echo"<tr><td colspan='3'> </td>\n";
}
?>
<tr>
<tdclass="mmspc"rowspan="2"> </td>
<tdcolspan="2"><ahref='?cmd=s'<?=tooltip('Click here to go to the forums search page')?>><?=($mode=='s')?"<i>":""?>Search forums<?=($mode=='s')?"</i>":""?></a></td>
</tr>
<tr><tdcolspan="3"> </td>
<tr><thcolspan="3"><ahref="message"<?=tooltip('click here to go to the messaging system page')?>>Messages</a></th></tr>