= $active){ $image = 'images/on.gif'; } elseif ($header['last_date'] < $active){ $image = 'images/off.gif'; } $mod_select = mysql_query("SELECT id, nickname FROM dt_leden WHERE id = '".$header[moderator2]."'"); $mod = mysql_fetch_array($mod_select); $mod2_aantal = mysql_num_rows($mod_select); $topic_select = mysql_query("SELECT id FROM dt_topic WHERE forum = '".$header[id]."'"); $topics = mysql_num_rows($topic_select); $top_sel = mysql_query("SELECT lastpost, lastpost2, lastpost3 FROM dt_topic WHERE forum = '".$header[id]."' ORDER BY lastpostjaar DESC, last2 DESC, last DESC LIMIT 0, 1"); $top = mysql_fetch_array($top_sel); $lid_select = mysql_query("SELECT id, nickname FROM dt_leden WHERE id = '".$top[lastpost]."'"); $last = mysql_fetch_array($lid_select); ?>
 Index
   Forum:  Topics:  Posts:
 Laatste post:
 Moderator(s):
 Forum Announcements
 '.htmlspecialchars(stripslashes($topic['naam'])).''; ?>     
 Crew Announcements
 '.htmlspecialchars(stripslashes($topic['naam'])).''; ?>     
 
'; ?>
  '.htmlspecialchars(stripslashes($last['nickname'])).'
'.$top['lastpost2'].' / '.$top['lastpost3']; ?>
 
 Index
Aantal leden:
Aantal posts:
Aantal topics:
Nieuwste 5 leden:
' . htmlspecialchars(stripslashes($nicknam)) . ', '; } ?>
 Gebruikers online:
 Online: '.htmlspecialchars(stripslashes($nickname)).', '; } elseif ($mem['hide'] == 1 AND $forumstatus == 0 OR $mem['hide'] == 1 AND $ingelogd == 0){ echo ""; } elseif ($mem['status'] == 1){ echo ''.htmlspecialchars(stripslashes($nickname)).', '; } elseif ($mem['status'] == 2){ echo ''.htmlspecialchars(stripslashes($nickname)).', '; } elseif ($mem['status'] == 3) { echo ''.htmlspecialchars(stripslashes($nickname)).', '; } else { echo ''.htmlspecialchars(stripslashes($nickname)).', '; } } mysql_close(); ?>