// Put rows to constant for the main template
$content['rows'] = $OUT;
-// Fetch user account
-if (!fetchUserData(getMemberId())) {
- // Something really bad happened
- debug_report_bug('User account ' . getMemberId() . ' not found.');
-} // END - if
-
// Initialize variables
$CONFIRMED = '---'; $SENT = '---'; $RECEIVED = '---';
if ($TLOCK == '0') $TLOCK = '0.00000';
// Remember several values in constants
-$content['used'] = translateComma(getUserData('used_points'));
$content['sum'] = translateComma($totalPoints - getUserData('used_points'));
$content['tref'] = $TREF;
$content['tlock'] = translateComma($TLOCK);
// Remeber values for the final template
$content['receive'] = $RECEIVED;
-$content['pay'] = getUserData('ref_payout');
$content['confirmed'] = $CONFIRMED;
$content['sent'] = $SENT;