basic.php 789 B

12345678910111213141516171819
  1. <?php
  2. // Work out number of users
  3. $users_stats = get_number_users();
  4. $total_users = get_number_users(true);
  5. // Get version information
  6. $version = elgg_get_version();
  7. $release = elgg_get_version(true);
  8. ?>
  9. <table class="elgg-table-alt">
  10. <tr class="odd">
  11. <td><b><?php echo elgg_echo('admin:statistics:label:version'); ?> :</b></td>
  12. <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>
  13. </tr>
  14. <tr class="even">
  15. <td><b><?php echo elgg_echo('admin:statistics:label:numusers'); ?> :</b></td>
  16. <td><?php echo $users_stats; ?> <?php echo elgg_echo('active'); ?> / <?php echo $total_users; ?> <?php echo elgg_echo('total') ?></td>
  17. </tr>
  18. </table>