// Free result
SQL_FREERESULT($result);
- // Load users array (!) with assigned prices
- $prices = getArrayFromReferalRallyeUsers($id);
-
// Init array
$DATA = array();
$count = '0';
$DATA['end'] = generateDateTime($end , 1);
$DATA['now_t'] = generateDateTime(time(), 1);
+ // Load users array (!) with assigned prices
+ $prices = getArrayFromReferalRallyeUsers($id);
+
// Just count...
$total = '0';
foreach ($prices['userid'] as $key => $userid) {
), __FUNCTION__, __LINE__);
while ($content = SQL_FETCHARRAY($result)) {
// Construct the message masked and add it
- $ret .= sprintf("%s %s %s (%s) - %s\n",
- translateGender($content['gender']),
+ $ret .= sprintf("{%%pipe,translateGender=%s%} %s %s (%s) - %s\n",
+ $content['gender'],
$content['surname'],
$content['family'],
$content['email'],