X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-beg2.php;h=0ccb815b622ec91872a2f55b0683875b0fe04add;hp=2ededc22273ce6917ee5c6b65ae436bc42bb7fa8;hb=155492a5b96cec674846973a8524238b0365a848;hpb=da5c63bacddced77a951cbe7b223f314885a6c87 diff --git a/inc/modules/member/what-beg2.php b/inc/modules/member/what-beg2.php index 2ededc2227..0ccb815b62 100644 --- a/inc/modules/member/what-beg2.php +++ b/inc/modules/member/what-beg2.php @@ -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);