]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_bank_package.php
Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / what-list_bank_package.php
index f35badc028826a029d6b976f953a7642e7f63b9c..ed1427960b498126b2dfdb4485d4516709547add 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 - 2015 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -164,7 +164,7 @@ if (ifPostContainsSelections('id')) {
 if ($show === FALSE) return;
 
 // Load all banking packages from DB
-$result = SQL_QUERY('SELECT
+$result = sqlQuery('SELECT
        `id`,
        `title`,
        `description`,
@@ -178,10 +178,10 @@ ORDER BY
        `id` ASC', __FILE__, __LINE__);
 
 // Is there at lease one package?
-if (!SQL_HASZERONUMS($result)) {
+if (!ifSqlHasZeroNumRows($result)) {
        // List all packages
        $OUT = '';
-       while ($content = SQL_FETCHARRAY($result)) {
+       while ($content = sqlFetchArray($result)) {
                // Load row template
                $OUT .= loadTemplate('admin_list_bank_package_row', TRUE, $content);
        } // END - while
@@ -194,7 +194,7 @@ if (!SQL_HASZERONUMS($result)) {
 }
 
 // Free the result
-SQL_FREERESULT($result);
+sqlFreeResult($result);
 
 // [EOF]
 ?>