if (!$category['display']) { continue; } $navpath .= $category['categoryname'] . " » "; } while (list(, $board) = each($a_board[$category['categoryid']])) { if (isset($a_lastvisited[$board['boardid']]) && $board['boardlastpost'] > $a_lastvisited[$board['boardid']] && $a_lastvisited[$board['boardid']] != 0) { $imagepath = './templates/' . $style['styletemplate'] . '/images/board_new.png'; } else { $imagepath = './templates/' . $style['styletemplate'] . '/images/board.png'; } eval($Tboard->GetTemplate("INDEXROWS")); } } } $stats = "Das Forum hat <b>" . getusercount() . "</b> registrierte Benutzer, davon sind <b>" . getactiveusers() . "</b> aktiv."; $r_post = thwb_query("SELECT count(postid) AS postcount FROM " . $pref . "post"); $posts = mysql_result($r_post, 0); $r_thread = thwb_query("SELECT count(threadid) AS threadcount FROM " . $pref . "thread"); $threads = mysql_result($r_thread, 0); $stats .= '<br><b>' . $threads . '</b> Threads | <b>' . $posts . '</b> Posts'; $newthreads = '<a href="' . build_link("search.php?startsearch=1&searchfor=today") . '">Aktive Themen von Heute anzeigen</a> || '; $servertime = 'Serverzeit: ' . form_date(time(), 0) . '.'; $r_pm = thwb_query("SELECT count(pmid) AS pmcount FROM " . $pref . "pm WHERE pmtoid={$g_user['userid']} AND pmflags=1"); $r_pms = thwb_query("SELECT COUNT(pmid) AS pmcount FROM {$pref}pm WHERE pmtoid={$g_user['userid']}"); $pms = mysql_result($r_pm, 0); $allpms = mysql_result($r_pms, 0); $pmquotawarning = ''; $javascript = ''; if (!isset($g_user['usernoding'])) { $g_user['usernoding'] = '0';
<TR> <TD valign="top"> <TABLE border="0" cellspacing="1" cellpadding="1" bgcolor="black" width="300"> <TR> <TD bgcolor="#FCFCFC" colspan="2"><strong>Statistics: Users</strong></TD> </TR> <TR> <TD bgcolor="#FCFCFC"> <Table border="0" cellspacing="0" cellpadding="0" width="100%"> <TR> <TD width="150">Registered users:</TD> <TD width="150">' . getusercount() . '</TD> </TR> <TR> <TD width="150">Active users:</TD> <TD width="150">' . getactiveusers() . ' ( ' . round(getactiveusers() / getusercount() * 100) . ' % )</TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> <TD width="20"> </TD> <TD valign="top"> <TABLE border="0" cellspacing="1" cellpadding="1" bgcolor="black" width="300"> <TR> <TD bgcolor="#FCFCFC" colspan="2"><strong>Statistics: Threads & posts</strong></TD> </TR> <TR> <TD bgcolor="#FCFCFC">