aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/statistics_opt/basic.php
blob: 1ea3578b5af4e8465874c474cfd5bb27f8e9913a (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
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Curverider Ltd
	 * @copyright Curverider Ltd 2008
	 * @link http://elgg.org/
	 */

	// Work out number of users
	$users_stats = get_number_users();
	$total_users = get_number_users(true);
	
	
	global $CONFIG;
	
	include_once($CONFIG->path . "version.php");
?>
<div class="admin_statistics">
    <h3><?php echo elgg_echo('admin:statistics:label:basic'); ?></h3>
    <table>
    	<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>