* $Date:: $ *
* $Tag:: 0.2.1-FINAL $ *
* $Author:: $ *
- * Needs to be in all Files and every File needs "svn propset *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* Copyright (c) 2009, 2010 by Mailer Developer Team *
`level` ASC', __FILE__, __LINE__);
// Are there some entries? (Shall be!)
-if (SQL_NUMROWS($result) > 0) {
+if (!SQL_HASZERONUMS($result)) {
// List all levels
$OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
// Init variables
$rows = '';
$counter = '0';
- $SW = 2;
// Check for users ref in this level
foreach (getUserReferalPoints(getMemberId(), $content['level']) as $refRow) {
// Add/"translate" more content
- $refRow['sw'] = $SW;
$refRow['clickrate'] = translateComma($refRow['clickrate'], true, 1);
// Load row template
// Count this ref and switch color
$counter++;
- $SW = 3 - $SW;
} // END - foreach
// Remember the content