]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-refback.php
Parser error fixed + some empty lines added between table rows (tr)
[mailer.git] / inc / modules / member / what-refback.php
index 482d1d14aa7d82055855adc83818592c55d4a0bc..ff2333a22908a001f89fbbb436efbb1e9ea72aad 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -96,7 +96,7 @@ if ((isFormSent('edit')) && (isPostRequestElementSet('id'))) {
 } // END - if
 
 // Load all referral levels
-$result = SQL_QUERY('SELECT
+$result = sqlQuery('SELECT
        `r`.`level`,
        `r`.`percents`
 FROM
@@ -107,10 +107,10 @@ ORDER BY
        `r`.`level` ASC', __FILE__, __LINE__);
 
 // Are there some entries? (Shall be!)
-if (!SQL_HASZERONUMS($result)) {
+if (!ifSqlHasZeroNums($result)) {
        // List all levels
        $OUT = '';
-       while ($content = SQL_FETCHARRAY($result)) {
+       while ($content = sqlFetchArray($result)) {
                // Init variables
                $rows = '';
                $content['counter'] = 0;
@@ -124,8 +124,7 @@ if (!SQL_HASZERONUMS($result)) {
                        } // END - if
 
                        // Add/"translate" more content
-                       $refRow['click_rate']  = translateComma($refRow['click_rate'], TRUE, 1);
-                       $refRow['joined']      = generateDateTime($refRow['joined'], '3');
+                       $refRow['joined'] = generateDateTime($refRow['joined'], '3');
 
                        // Load row template
                        if ($deleted === TRUE) {
@@ -153,7 +152,7 @@ if (!SQL_HASZERONUMS($result)) {
 }
 
 // Free result
-SQL_FREERESULT($result);
+sqlFreeResult($result);
 
 // [EOF]
 ?>