$DATA['userid'][] = $userid;
$DATA['ref'][] = $cnt;
$DATA['cpoints'][] = $content['curr_points'];
- $DATA['min_users'] = $content['min_users'];
- $DATA['min_prices'] = $content['min_prices'];
+ $min_users = $content['min_users'];
+ $min_prices = $content['min_prices'];
} // END - while
// Free memory
} // END - for
// Translate min_prices/users
- $DATA['min_prices'] = determineReferalRallyeMinimumPrices($content['min_prices']);
- $DATA['min_users'] = determineReferalRallyeMinimumUsers($content['min_users']);
+ $content['min_prices'] = determineReferalRallyeMinimumPrices($min_prices);
+ $content['min_users'] = determineReferalRallyeMinimumUsers($min_users);
// Add footer
- $OUT .= loadTemplate('guest_rallye_footer', true);
+ $OUT .= loadTemplate('guest_rallye_footer', true, $content);
// And finnally return the output
return $OUT;