} // END - if
// Open div tag
-outputHtml("<div align=\"center\">");
+outputHtml('<div align="center">');
// Check for possible running rallyes
$ADMIN = " AND d.is_active='Y'";
}
// Set start and end time
- $content['start'] = generateDateTime($start, '1');
- $content['end'] = generateDateTime($end , '1');
+ $content['start'] = generateDateTime($start, 1);
+ $content['end'] = generateDateTime($end , 1);
// Determine min_users
$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');
}