From 6584bc4ec2de3b1c377baf763ef5b0ac1e6c807a Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 12 Jun 2008 21:12:52 +0000 Subject: Marcus Povey * Some basic statistics committed after a fruitless day fighting with Eclipse. git-svn-id: https://code.elgg.org/elgg/trunk@904 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/main_opt/statistics.php | 17 +++++++++ views/default/admin/statistics.php | 54 ++++++++++++++++++++++++++++- 2 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 views/default/admin/main_opt/statistics.php (limited to 'views/default') diff --git a/views/default/admin/main_opt/statistics.php b/views/default/admin/main_opt/statistics.php new file mode 100644 index 000000000..da37decf6 --- /dev/null +++ b/views/default/admin/main_opt/statistics.php @@ -0,0 +1,17 @@ + +
+

+


+ ">

+
diff --git a/views/default/admin/statistics.php b/views/default/admin/statistics.php index ad9356276..d8e2bd276 100644 --- a/views/default/admin/statistics.php +++ b/views/default/admin/statistics.php @@ -12,5 +12,57 @@ global $CONFIG; + echo "

" . nl2br(elgg_echo("admin:statistics:description")) . "

"; + + + + // Get entity statistics + $entity_stats = get_entity_statistics(); + + // Work out number of users + $users_stats = get_number_users(); + + // users online + $users_online = get_number_online(); + + -?> \ No newline at end of file +?> +
+

+ + + + + + + + + +
:
:
+ +

+ + $entry) + { + echo "
"; + foreach ($entry as $a => $b) + { + if ($a == "__base__") + $a=$k; + else + $a = "$k $a"; + echo <<< END + + + + +END; + } + echo "
$a :$b
"; + } + ?> + + +
\ No newline at end of file -- cgit v1.2.3