// Read data from refback table
$content = getArrayFromUserRefbackData(postRequestParameter('id'));
- // Translate comma
- $content['refback'] = translateComma($content['refback']);
-
// Load form for editing
loadTemplate('member_refback_edit', false, $content);
}
while ($content = SQL_FETCHARRAY($result)) {
// Init variables
$rows = '';
- $counter = '0';
+ $content['counter'] = 0;
$SW = 2;
// Check for users ref in this level
// Add/"translate" more content
$refRow['sw'] = $SW;
- $refRow['points'] = translateComma($refRow['points']);
- $refRow['refback'] = translateComma($refRow['refback']);
- // UNUSED: $refRow['status'] = translateUserStatus($refRow['status']);
+ // @TODO UNUSED: $refRow['status'] = translateUserStatus($refRow['status']);
$refRow['joined'] = generateDateTime($refRow['joined'], '3');
if (empty($refRow['nickname'])) $refRow['nickname'] = '---';
}
// Count this ref and switch color
- $counter++;
+ $content['counter']++;
$SW = 3 - $SW;
} // END - foreach
// Remember the content
- $content['counter'] = translateComma($counter);
- $content['percents'] = translateComma($content['percents']);
$content['rows'] = $rows;
// Load level template
// Free result
SQL_FREERESULT($result);
-//
+// [EOF]
?>