]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_transfer.php
Added update_year.sh (still not fully flexible) and updated all years with it.
[mailer.git] / inc / modules / admin / what-list_transfer.php
index e0ecf14f53422df6c4ef7efc1abea61def7bf87d..e2c939a1b89ac6314a190534086e2d5f09376496 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 *
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // We only need outgoing transfers
-$result = SQL_QUERY('SELECT
+$result = sqlQuery('SELECT
        `userid` AS `from_userid`,
        `to_userid`,
        `trans_id`,
@@ -57,10 +57,10 @@ ORDER BY
        `trans_id` ASC', __FILE__, __LINE__);
 
 $total = '0';
-if (!SQL_HASZERONUMS($result)) {
+if (!ifSqlHasZeroNums($result)) {
        // Output rows
        $OUT = '';
-       while ($content = SQL_FETCHARRAY($result)) {
+       while ($content = sqlFetchArray($result)) {
                // Prepare data for the row template
                $content['time_trans']  = generateDateTime($content['time_trans'], 3);
 
@@ -70,7 +70,7 @@ if (!SQL_HASZERONUMS($result)) {
        } // END - while
 
        // Free memory
-       SQL_FREERESULT($result);
+       sqlFreeResult($result);
 } else {
        // Nothing for in and out
        $OUT = '<tr>