]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-reflist.php
Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / member / what-reflist.php
index dff7f2a93075e88c74a07bab8eedcb2cd528188b..456c45fb0bc73c174721f94b22e91302b96f3648 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 *
@@ -47,7 +47,7 @@ if (!defined('__SECURITY')) {
 addYouAreHereLink('member', __FILE__);
 
 // Load all referral levels
-$result = SQL_QUERY('SELECT
+$result = sqlQuery('SELECT
        `level`,
        `percents`
 FROM
@@ -58,10 +58,10 @@ ORDER BY
        `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 = '';
                $counter = '0';
@@ -95,7 +95,7 @@ if (!SQL_HASZERONUMS($result)) {
 }
 
 // Free result
-SQL_FREERESULT($result);
+sqlFreeResult($result);
 
 // [EOF]
 ?>