aboutsummaryrefslogtreecommitdiff
path: root/admin/statistics.php
blob: a267937f86aad144c9c0ff6530d02b3e07658951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Elgg administration statistics index
 * This is a special page that displays a number of statistics
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */

// Get the Elgg framework
require_once(dirname(dirname(__FILE__)) . "/engine/start.php");

// Make sure only valid admin users can see this
admin_gatekeeper();

// Display main admin menu
$title = elgg_view_title(elgg_echo('admin:statistics'));
$main_box = elgg_view("admin/statistics");
$content = elgg_view_layout("one_column_with_sidebar", '', $title . $main_box);

page_draw(elgg_echo("admin:statistics"), $content);