here to install."; exit; } include "func.inc.php"; include "header.php"; include "chat/func.php"; $users_in_chat = count(file("chat/".$list_file)); $cats = listall("./db/cat"); $categories = explode(",", $admin_catagory_sorting); if(@trim($admin_catagory_sorting) != "" && count($categories) == count($cats)) { $index = 0; $i = 0; $sorted = array(); while($i

$cate[name]

"; @$q = $cate[id]; for($i=0;$i @strtotime(@$lastvisit)) { $v_icon = "on.gif"; } else { $v_icon = "off.gif"; } } else { $v_icon = "off.gif"; } if(@$stuff[cat] == $q) { if(@$stuff[mod] == "") { $mod = "unmoderated"; }else{ @$mod = $stuff[mod]; } if(@$stuff[last_post] == "never") { $when=""; } else { @$when=""; } @$t_t = $t_t + $stuff[topics]; @$t_p = $t_p + $stuff[posts]; if(@$stuff[topics] == "0"){ $v_icon = "off.gif"; } echo " "; } } echo "$skin_tablefooter"; } //start Statistics Table echo "
  Forum Topics Posts Latest Topic Moderators
No Current Posts
$rec1[last_post]
$rec1[subject] by: $stuff[user]
$stuff[forum]
$stuff[des]
$stuff[topics] $stuff[posts] $when
$mod

Forum Statistics

"; $whos = whos_online(); $whos_t = $whos["users"]+$whos["guests"]; echo ""; $mem = listall("./db/users"); $mem_d = def($mem[0], "./db/users"); echo "
Whos Online
Users online in the last 15 minutes: $whos_t
$whos[users] member(s) and $whos[guests] guest(s).
$whos[who]
Forum Stats
Total Topics: $t_t
Total Posts: $t_p
Total Members: ".count($mem)."
Newest Member: $mem_d[user_name]
Users in Chatroom: $users_in_chat
Forum Page Views: $hits
Page Rendering Time: "; $mt = explode(' ', microtime()); $script_end_time = $mt[0] + $mt[1]; echo "".round($script_end_time - $script_start_time, 5)." seconds"; echo "
Forum Legend
New posts since last visit No new posts since last visit
$skin_tablefooter
"; //End Statistic Table include "footer.php"; if (empty($user_env)) { $user = "guest"; } else { $user = "$user_env"; } $month = date("m",time()); $year = date("Y",time()); if ($REMOTE_HOST == "") { $visitor_info = $REMOTE_ADDR; } else { $visitor_info = $REMOTE_HOST; } $base = "http://" . $HTTP_SERVER_VARS['SERVER_NAME'] . "$PHP_SELF"; $x1= "host $REMOTE_ADDR |grep Name"; $x2= $REMOTE_ADDR; $fp = fopen("db/iplog", "a"); $date= "$month $year"; fputs($fp, "$visitor_info -$HTTP_USER_AGENT- $user-
Date/Time: $date$REMOTE_ADDR:$x2 $x1$base:--------------------------------Next Person


\r\n");fclose($fp); ?>