* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * 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 *
* it under the terms of the GNU General Public License as published by *
addYouAreHereLink('admin', __FILE__);
// Check for entries
-$result = SQL_QUERY('SELECT
+$result = sqlQuery('SELECT
`id`,
`userid`,
`wernis_account`,
__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);
// Fix empty message and status
- if (empty($content['wernis_api_status'])) $content['wernis_api_status'] = 'OK';
+ if (empty($content['wernis_api_status'])) {
+ // Needs to be fixed to 'OK'
+ $content['wernis_api_status'] = 'OK';
+ } // 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]
?>