Headertemplate
Code:
<!-- header -->
<!-- logo -->
<a name="top"></a>
<table border="0" width="{tablewidth}" cellpadding="0" cellspacing="0" align="center" valign="bottom">
<tr>
<td background="{imagesfolder}/headbg.gif" align="left" valign="bottom"><a href="$headerlink"><img src="{imagesfolder}/header/logo.gif" border="0" alt="$bbtitle"></td>
<td background="{imagesfolder}/headbg.gif" align="right" valign="top"><smallfont><b><a href="$homeurl">Home</a> | <a href="$bburl">Forums</a> | <a href="$bburl/admin">Admin</a> </smallfont></td>
Forumdisplay.php
Code:
// get moderators
$forummoderators=$DB_site->query('SELECT user.userid,user.username,moderator.forumid
FROM moderator
LEFT JOIN user
ON (moderator.userid=user.userid)
ORDER BY user.username');
unset($imodcache);
if($forum[forumid] == 27) {
$headerlink = "forumdisplay.php?forumid=27";
} else {
$headerlink = "index.php?s=$session[sessionhash]";
}
while ($moderator=$DB_site->fetch_array($forummoderators)) {
$imodcache["$moderator[forumid]"][] = $moderator;
}
$DB_site->free_result($forummoderators);
http://forums.saiyanarena.com/forumd...php?forumid=27 still doesn't work