'.$info.'
';
}
function getmoderators($boardID) {
$moderatoren=safe_query("SELECT * FROM ".PREFIX."forum_moderators WHERE boardID='$boardID'");
$j=1;
while($dm=mysql_fetch_array($moderatoren)) {
$username=getnickname($dm[userID]);
if($j>1) $moderators .= ', '.$username.'';
else $moderators = ''.$username.'';
$j++;
}
return $moderators;
}
function getlastpost($topicID) {
$ds=mysql_fetch_array(safe_query("SELECT postID FROM ".PREFIX."forum_posts WHERE topicID='$topicID' ORDER BY postID DESC LIMIT 0,1"));
return $ds[postID];
}
function getboardid($topicID) {
$ds=mysql_fetch_array(safe_query("SELECT boardID FROM ".PREFIX."forum_topics WHERE topicID='".$topicID."' LIMIT 0,1"));
return $ds[boardID];
}
?>