} // END - if
// Open div tag
-outputHtml("<div align=\"center\">");
+outputHtml('<div align="center">');
// Check for possible running rallyes
$ADMIN = " AND d.is_active='Y'";
$content['min_users'] = determineReferalRallyeMinimumUsers($min_users);
// Determine min prices (now in function)
- $content['min_prices'] = determineReferalRallyeMinimumPrices();
+ $content['min_prices'] = determineReferalRallyeMinimumPrices($min_prices);
if ($expired === true) {
$content['prices'] = addReferalRallyeWinners($id);
$content['can_win_this'] = getMessage('RALLYE_OUR_WINNERS_ARE');
} else {
$content['prices'] = addReferalRallyePrices($id, 'html');
- $content['top_users'] = addReferalRallyeTopUsers($id, getUserId());
+ $content['top_users'] = addReferalRallyeTopUsers($id, getMemberId());
$content['can_win_this'] = getMessage('RALLYE_YOU_CAN_WIN');
}