// Check for entries
$result = SQL_QUERY("SELECT id, userid, primera_account, primera_amount, primera_timestamp, primera_type, primera_api_message, primera_api_status FROM `{!_MYSQL_PREFIX!}_user_primera` ORDER BY primera_timestamp DESC, id DESC",
- __FILE__, __LINE__);
+__FILE__, __LINE__);
// Are there some entries to display?
if (SQL_NUMROWS($result) > 0) {
while ($content = SQL_FETCHARRAY($result)) {
// Translate some data and add color
$content['sw'] = $SW;
- $content['link'] = ADMIN_USER_PROFILE_LINK($content['userid']);
- $content['primera_amount'] = TRANSLATE_COMMA($content['primera_amount']);
- $content['primera_timestamp'] = MAKE_DATETIME($content['primera_timestamp'], "2");
+ $content['link'] = generateUserProfileLink($content['userid']);
+ $content['primera_amount'] = translateComma($content['primera_amount']);
+ $content['primera_timestamp'] = generateDateTime($content['primera_timestamp'], '2');
$content['raw_type'] = strtolower($content['primera_type']);
$content['primera_type'] = PRIMERA_TRANSFER_STATUS($content['primera_type']);