} // 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`
// 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');
$content['rows'] = $OUT;
// Free memory
-SQL_FREERESULT($result);
+sqlFreeResult($result);
// Load final template
loadTemplate('member_list_beg', FALSE, $content);