diff options
Diffstat (limited to 'views/default/admin/statistics_opt/basic.php')
-rw-r--r-- | views/default/admin/statistics_opt/basic.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/views/default/admin/statistics_opt/basic.php b/views/default/admin/statistics_opt/basic.php new file mode 100644 index 000000000..e2d58827b --- /dev/null +++ b/views/default/admin/statistics_opt/basic.php @@ -0,0 +1,28 @@ +<?php + /** + * Elgg statistics screen + * + * @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 entity statistics + $entity_stats = get_entity_statistics(); +?> +<div> + <h2><?php echo elgg_echo('admin:statistics:label:basic'); ?></h2> + <table> + <tr> + <td><b><?php echo elgg_echo('admin:statistics:label:numusers'); ?> :</b></td> + <td><?php echo $users_stats; ?></td> + </tr> + <tr> + <td><b><?php echo elgg_echo('admin:statistics:label:numonline'); ?> :</b></td> + <td><?php echo $users_online; ?></td> + </tr> + </table> +</div>
\ No newline at end of file |