".TEAM_103." ".TEAM_104." ".TEAM_105." ".TEAM_106." ".TEAM_107." \n"; while($data = dbarray($result)) { $lastseen = time() - $data['user_lastvisit']; if($lastseen < 60) { $lastseen = ""; } else { $lastseen = ""; } if (!$data['user_avatar']) { $data['user_avatar'] = 'noav.gif'; } echo " ".$data['user_name']." ".getuserlevel($data['user_level'])." ".$lastseen.""; if ($data['user_id'] != $userdata['user_id']) { echo "".TEAM_113.""; } } echo "\n"; } else { echo "\n

".TEAM_108."

\n"; } closetable(); //Technische Administratoren Ende tablebreak(); //Administratoren Anfang opentable(TEAM_101); $result2 = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_level = 102 "); if($result2 && dbrows($result2)) { echo "\n"; while ($data = dbarray($result2)) { $lastseen = time() - $data['user_lastvisit']; if($lastseen < 60) { $lastseen = ""; } else { $lastseen = ""; } if(!$data['user_avatar']) { $data['user_avatar'] = 'noav.gif'; } echo ""; if ($data['user_id'] != $userdata['user_id']) { echo ""; } } echo "
".TEAM_103." ".TEAM_104." ".TEAM_105." ".TEAM_106." ".TEAM_107."
".$data['user_name']." ".getuserlevel($data['user_level'])." ".$lastseen."".TEAM_113."
\n"; } else { echo ""; echo "\n"; echo "

".TEAM_109."

\n"; } closetable(); //Administratoren Ende tablebreak(); //Moderatoren Anfang // erstmal machen wir uns ne liste aller moderatoren. $mod_list = array(); $query_id = dbquery("SELECT forum_moderators FROM ".DB_PREFIX."forums" ." WHERE forum_cat!=0 AND forum_moderators!=''"); if($query_id) { while($mod = dbarray($query_id)) { $mod_list = array_merge($mod_list, explode(".", $mod['forum_moderators'])); } } $mod_list = array_unique($mod_list); if(count($mod_list)) { $cond = "user_id=".implode(" OR user_id=", $mod_list); } else { $cond = "user_id=0"; } // opentable(TEAM_102); $result3 = dbquery("SELECT * FROM ".$db_prefix."users WHERE $cond"); if($result3 && dbrows($result3) != 0) { echo "\n"; while ($data = dbarray($result3)){ $lastseen = time() - $data['user_lastvisit']; if($lastseen < 60) { $lastseen = ""; } else { $lastseen = ""; } if(!$data['user_avatar']) { $data['user_avatar'] = 'noav.gif'; } echo ""; if ($data['user_id'] != $userdata['user_id']) { echo ""; } } echo "
".TEAM_103." ".TEAM_104." ".TEAM_105." ".TEAM_106." ".TEAM_107."
".$data['user_name']." ".getuserlevel($data['user_level'])." ".$lastseen."".TEAM_113."
\n"; } else { echo "\n

".TEAM_110."

\n"; } closetable(); //Moderatoren Ende require_once BASEDIR."side_right.php"; require_once BASEDIR."footer.php"; ?>