} // END - if
// Check for members who were active only this day
-$result = SQL_QUERY("SELECT
+$result = sqlQuery("SELECT
`userid`,
`last_online`
FROM
LIMIT {?active_limit?}", __FILE__, __LINE__);
// Entries found?
-if (!SQL_HASZERONUMS($result)) {
+if (!ifSqlHasZeroNums($result)) {
// At least one member was online so let's load them all
$OUT = '';
- while ($content = SQL_FETCHARRAY($result)) {
+ while ($content = sqlFetchArray($result)) {
// If ext-nickname is not installed, set 'nickname' to empty
if (!isExtensionActive('nickname')) {
$content['nickname'] = '';