aboutsummaryrefslogtreecommitdiff
path: root/admin/statistics
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-12 21:12:52 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-12 21:12:52 +0000
commit6584bc4ec2de3b1c377baf763ef5b0ac1e6c807a (patch)
treee827ceb550d4035515bc394b89e94ca7a07cae9d /admin/statistics
parentdb557a6331d2be1496d22627b3de61575567ad1a (diff)
downloadelgg-6584bc4ec2de3b1c377baf763ef5b0ac1e6c807a.tar.gz
elgg-6584bc4ec2de3b1c377baf763ef5b0ac1e6c807a.tar.bz2
Marcus Povey <marcus@elgg.com>
* 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
Diffstat (limited to 'admin/statistics')
-rw-r--r--admin/statistics/index.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/admin/statistics/index.php b/admin/statistics/index.php
new file mode 100644
index 000000000..cea6526df
--- /dev/null
+++ b/admin/statistics/index.php
@@ -0,0 +1,25 @@
+<?php
+
+ /**
+ * Elgg administration statistics index
+ * This is a special page that displays a number of statistics
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ // Get the Elgg framework
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+ // Make sure only valid admin users can see this
+ admin_gatekeeper();
+
+
+ // Display main admin menu
+ page_draw(elgg_echo("admin:statistics"),elgg_view("admin/statistics"));
+
+?>