diff -r 508400fc5282 -r a8f0e99883d1 htdocs/ajax-active.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/htdocs/ajax-active.php Tue Jan 20 22:08:17 2009 -0500
@@ -0,0 +1,52 @@
+
+
Active members
+ For the last 1, 5, and 15 minutes:
+
+
+ Currently active members:
+ These people have posted in the last 3 minutes:
+
+ No recent posts.';
+ foreach ( $datum as $usernick => $pct )
+ {
+ $total = round($pct * $count);
+ $pct = round(100 * $pct, 1);
+ echo "- $usernick - $pct% ($total)
\n";
+ }
+ ?>
+
+ Last 20 minutes:
+
+ No recent posts.';
+ foreach ( $datum as $usernick => $pct )
+ {
+ $total = round($pct * $count);
+ $pct = round(100 * $pct, 1);
+ echo "- $usernick - $pct% ($total)
\n";
+ }
+ ?>
+
+