diff --git a/e107_admin/users.php b/e107_admin/users.php
index 386e05dea..b8497267d 100644
--- a/e107_admin/users.php
+++ b/e107_admin/users.php
@@ -9,8 +9,8 @@
* Administration Area - Users
*
* $Source: /cvs_backup/e107_0.8/e107_admin/users.php,v $
-* $Revision: 1.21 $
-* $Date: 2008-12-22 03:15:04 $
+* $Revision: 1.22 $
+* $Date: 2008-12-22 14:06:17 $
* $Author: mcfly_e107 $
*
*/
@@ -740,7 +740,7 @@ class users
}
elseif($disp == 'user_name')
{
- $text .= "{$row['user_name']}";
+ $text .= "{$row['user_name']}";
}
else
{
@@ -1431,9 +1431,19 @@ function users_adminmenu()
function show_ranks()
{
$e107 = e107::getInstance();
+ include_once(e_HANDLER.'file_class.php');
+ $f = new e_file;
+ $imageList = $f->get_files(e_IMAGE.'ranks', '.*?\.(png|gif|jpg)');
+
$fieldList = array('core' => array(), 'extended' => array());
+ $fieldList['core'] = array(
+ 'comments' => 'Number of comments',
+ 'visits' => 'Number of site visits',
+ 'days' => 'Number of days member'
+ );
+
foreach($e107->extended_struct as $field)
{
if(strpos($field['Type'], 'int') !== false && $field['Field'] != 'user_extended_id')
@@ -1445,43 +1455,49 @@ function show_ranks()
$text .= "