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