X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-beg2.php;h=0ccb815b622ec91872a2f55b0683875b0fe04add;hb=6b1e55213d76a67e9aa3d9f1e4dcb55e0bbf12ee;hp=510ddcc45dcdf28c06b09acabdb2c0ca5cb91345;hpb=596c8ab32594401ca84abfbfe35513ddfff31bec;p=mailer.git diff --git a/inc/modules/member/what-beg2.php b/inc/modules/member/what-beg2.php index 510ddcc45d..0ccb815b62 100644 --- a/inc/modules/member/what-beg2.php +++ b/inc/modules/member/what-beg2.php @@ -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 * @@ -60,7 +60,7 @@ if ((isExtensionActive('autopurge')) && (isBegActiveEnabled()) && ((getApInactiv } // END - if // Let's check if there are some points left we can pay... -$result = SQL_QUERY_ESC("SELECT +$result = sqlQueryEscaped("SELECT `userid`, `beg_points`, `last_online` @@ -82,10 +82,10 @@ LIMIT {?beg_ranks?}", // Reset temporary variable and check for users $OUT = ''; -if (!SQL_HASZERONUMS($result)) { +if (!ifSqlHasZeroNums($result)) { // Load our winners... $count = 1; - while ($content = SQL_FETCHARRAY($result)) { + while ($content = sqlFetchArray($result)) { // Prepare data for the template $content['count'] = $count; $content['last_online'] = generateDateTime($content['last_online'], '2'); @@ -105,7 +105,7 @@ if (!SQL_HASZERONUMS($result)) { $content['rows'] = $OUT; // Free memory -SQL_FREERESULT($result); +sqlFreeResult($result); // Load final template loadTemplate('member_list_beg', FALSE, $content);