- $content = array(
- 'sw' => $SW,
- 'uid' => ADMIN_USER_PROFILE_LINK($uid),
- 'sex' => TRANSLATE_SEX($sex),
- 'sname' => $sname,
- 'fname' => $fname,
- 'email' => "<A href=\"".CREATE_EMAIL_LINK($email, "user_data")."\">".stripslashes($email)."</A>",
- 'addr' => $IP,
- 'ref' => $ref,
- 'status' => TRANSLATE_STATUS($status),
- 'links' => $LINKS,
- 'nick' => $nick,
- 'alinks' => MEMBER_ACTION_LINKS($uid, $status)
- );
+ $content['sw'] = $SW;
+ $content['uid'] = generateUserProfileLink($content['userid']);
+ $content['gender'] = translateGender($content['gender']);
+ $content['email'] = "[<a href=\"".generateEmailLink($content['email'], 'user_data')."\">".$content['email']."</a>]";
+ $content['addr'] = $content['REMOTE_ADDR'];
+ $content['links'] = $LINKS;
+ $content['alinks'] = generateMemberAdminActionLinks($content['userid'], $content['status']);
+ $content['points'] = translateComma($pointsTotal);
+ $content['rate'] = translateComma($clickRate);
+ $content['locked'] = translateComma(GET_TOTAL_DATA($content['userid'], 'user_points', 'locked_points'));
+ $content['lock_timestamp'] = generateDateTime($content['lock_timestamp'], '2');
+ $content['status'] = translateUserStatus($content['status']);
+ $content['refs'] = 0;
+
+ // Get total refs
+ $refs = GET_TOTAL_DATA($content['userid'], 'refsystem', 'counter');
+ if ($refs > 0) $content['refs'] = $base."&what=list_refs&uid=".$content['userid']."\">".$refs."</a>]";
+
+ // Is the lock reason not set?
+ if (!isset($content['lock_reason'])) $content['lock_reason'] = '---';
+
+ // Is the extension 'country' installed?
+ // @TODO Rewrite this into a filter
+ if (EXT_IS_ACTIVE('country')) {
+ // Then overwrite country information
+ $content['country'] = COUNTRY_GENERATE_INFO($content['country_code']);
+ } elseif ($content['country'] == '') {
+ // Zero ID???
+ $content['country'] = '???';
+ }