$result = SQL_QUERY_ESC("SELECT userid, ".$ADD.", total_logins, last_online
FROM "._MYSQL_PREFIX."_user_data
WHERE total_logins>0 AND status='CONFIRMED' ORDER BY total_logins DESC LIMIT %s",
$result = SQL_QUERY_ESC("SELECT userid, ".$ADD.", total_logins, last_online
FROM "._MYSQL_PREFIX."_user_data
WHERE total_logins>0 AND status='CONFIRMED' ORDER BY total_logins DESC LIMIT %s",