]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_wernis.php
Re-added height, but smaller to make most menus appear shorter
[mailer.git] / inc / modules / admin / what-list_wernis.php
index a2ea24fd7c3bc5af1821efc7f73df7736428eef7..54327a079ad21a0edce50197f1638ce2f9ac230c 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 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 *
@@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Check for entries
-$result = SQL_QUERY('SELECT
+$result = sqlQuery('SELECT
        `id`,
        `userid`,
        `wernis_account`,
@@ -61,10 +61,10 @@ ORDER BY
        __FILE__, __LINE__);
 
 // Are there some entries to display?
-if (!SQL_HASZERONUMS($result)) {
+if (!ifSqlHasZeroNums($result)) {
        // List all entries
        $OUT = '';
-       while ($content = SQL_FETCHARRAY($result)) {
+       while ($content = sqlFetchArray($result)) {
                // Translate some data and add color
                $content['wernis_timestamp'] = generateDateTime($content['wernis_timestamp'], 2);
 
@@ -75,18 +75,18 @@ if (!SQL_HASZERONUMS($result)) {
                } // END - if
 
                // Append it and switch colors
-               $OUT .= loadTemplate('admin_list_wernis_row', true, $content);
+               $OUT .= loadTemplate('admin_list_wernis_row', TRUE, $content);
        } // END - while
 
        // Load main template
-       loadTemplate('admin_list_wernis_main', false, $OUT);
+       loadTemplate('admin_list_wernis_main', FALSE, $OUT);
 } else {
        // Nothing to display!
        displayMessage('{--ADMIN_WERNIS_NO_TRANSFERS--}');
 }
 
 // Free the result
-SQL_FREERESULT($result);
+sqlFreeResult($result);
 
 // [EOF]
 ?>