- define('_REFS' , $REFS);
- define('_CATS' , $CATS);
- define('_LINKS', $LINKS);
- define('_ADMIN_LINKS', MEMBER_ACTION_LINKS($uid, $DATA['status']));
- $DATA['gender'] = TRANSLATE_GENDER($DATA['gender']);
- $DATA['email_link'] = CREATE_EMAIL_LINK($DATA['email'], "user_data");
- $DATA['status'] = TRANSLATE_STATUS($DATA['status']);
- $DATA['last_online'] = MAKE_DATETIME($DATA['last_online'], "0");
- $DATA['used_points'] = TRANSLATE_COMMA($DATA['used_points']);
- if ($DATA['emails_sent'] > 0) $DATA['emails_sent'] = $BASE."&what=email_details&uid=".$uid."\">".TRANSLATE_COMMA($DATA['emails_sent'])."</a>]";
- $DATA['joined'] = MAKE_DATETIME($DATA['joined'], "0");
- $DATA['last_update'] = MAKE_DATETIME($DATA['last_update'], "0");
- $DATA['last_profile_sent'] = MAKE_DATETIME($DATA['last_profile_sent'], "0");
- $DATA['total'] = TRANSLATE_COMMA(GET_TOTAL_DATA($uid, "user_points", "points"));
- $DATA['locked'] = TRANSLATE_COMMA(GET_TOTAL_DATA($uid, "user_points", "locked_points"));
- $DATA['lock_timestamp'] = MAKE_DATETIME($DATA['lock_timestamp'], "2");
-
- // Is the lock reason not set?
- if (!isset($DATA['lock_reason'])) $DATA['lock_reason'] = "---";
+ $content['email_link'] = generateEmailLink($content['email'], 'user_data');
+ $content['last_online'] = generateDateTime($content['last_online'], 0);
+ if ($content['emails_sent'] > 0) $content['emails_sent'] = $base . '&what=email_details&userid=' . $userid . '%}">' . translateComma($content['emails_sent']) . '</a>]';
+ $content['joined'] = generateDateTime($content['joined'], 0);
+ $content['last_update'] = generateDateTime($content['last_update'], 0);
+ $content['last_profile_sent'] = generateDateTime($content['last_profile_sent'], 0);
+ $content['total'] = countSumTotalData($userid, 'user_points', 'points');
+ $content['locked'] = countSumTotalData($userid, 'user_points', 'locked_points');
+ $content['lock_timestamp'] = generateDateTime($content['lock_timestamp'], 2);
+ $content['nickname'] = '{--EXT_NICKNAME_404--}';