aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/statistics_opt/basic.php
blob: f89314fef844f3e5d2c6a69eb19e743cfb977da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
 * Elgg statistics screen
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */

// Work out number of users
$users_stats = get_number_users();
$total_users = get_number_users(true);

global $CONFIG;

// Get version information
$version = get_version();
$release = get_version(true);

?>
<div class="admin_settings site_stats">
	<h3><?php echo elgg_echo('admin:statistics:label:basic'); ?></h3>
	<table class="styled">
		<tr class="odd">
			<td class="column_one"><b><?php echo elgg_echo('admin:statistics:label:version'); ?> :</b></td>
			<td><?php echo elgg_echo('admin:statistics:label:version:release'); ?> - <?php echo $release; ?>, <?php echo elgg_echo('admin:statistics:label:version:version'); ?> - <?php echo $version; ?></td>
		</tr>
		<tr class="even">
			<td class="column_one"><b><?php echo elgg_echo('admin:statistics:label:numusers'); ?> :</b></td>
			<td><?php echo $users_stats; ?> <?php echo elgg_echo('active'); ?> / <?php echo $total_users; ?> <?php echo elgg_echo('total') ?></td>
		</tr>

	</table>
</div>