$br = '';
// Output row
- if (($row['curr_points'] > 0) && ($cnt > 0)) { $bl = "<strong>"; $br = "</strong>"; }
- if (($row['refs'] > 0) || ($cnt > 0)) {
- // Insert link to referal list
- //* DEBUG: */ outputHtml('-'.$row['userid'].'/'.$cnt.'/'.$row['refs']."-<br />");
- $cnt = generateUserProfileLink($row['userid'], $cnt, 'list_refs');
- $row['refs'] = generateUserProfileLink($row['userid'], $row['refs'], 'list_refs');
- } // END - if
+ if (($row['curr_points'] > 0) && ($cnt > 0)) { $bl = '<strong>'; $br = '</strong>'; }
// Get user points
$points = countSumTotalData($row['userid'], 'user_points', 'points', 'userid', false, " AND `ref_depth`=1 LIMIT 1");
//* DEBUG: */ outputHtml(basename(__FILE__).":userid={$row['userid']},points={$points},opoints={$row['curr_points']}<br />");
// Prepare content
- // @TODO Rewritings: userid->userid,opoints->curr_points,old->refs in template
+ // @TODO Rewritings: opoints->curr_points,old->refs in template
$row = array(
'sw' => $SW ,
- 'userid' => $row['userid'],
+ 'userid' => $row['userid'],
'bold_l' => $bl ,
'bold_r' => $br ,
'old' => $row['refs'],