$content['rallye'] = getRequestParameter('rallye');
while ($row = SQL_FETCHARRAY($result)) {
// Check for referal count
- $cnt = getReferalRallyeRefsCount($row['userid'], $row['refs']);
+ $count = getReferalRallyeRefsCount($row['userid'], $row['refs']);
// Init variables
$bl = '';
$br = '';
// Output row
- if (($row['curr_points'] > 0) && ($cnt > 0)) {
+ if (($row['curr_points'] > 0) && ($count > 0)) {
$bl = '<strong>';
$br = '</strong>';
} // END - if
'bold_l' => $bl ,
'bold_r' => $br ,
'refs' => $row['refs'],
- 'cnt' => $cnt,
+ 'cnt' => $count,
'opoints' => ($points - $row['curr_points']),
);