PHP Code:
reset($imodcache["$mval1"]);
while ( list($mkey2,$moderator)=each($imodcache["$mval1"]) ) {
if ( !isset($forum['moderators']) )
{
eval("\$forum['moderators'] .= \",".gettemplate('forumhome_moderator')."\";");
}
else
{
eval("\$forum['moderators'] .= \", ".gettemplate('forumhome_moderator')."\";");
}
if ( !isset($forum['moderators']) )
{
$forum['moderators'] = ' ';
}
if ($forum['cancontainthreads']==1)
{
$tempext = '_post';
}
else
{
$tempext = '_nopost';
}