- $result = SQL_QUERY_ESC("SELECT `userid`, `email`, `gender`, `surname`, `family`, ".$USE." AS points, `last_online`
-FROM `{?_MYSQL_PREFIX?}_user_data`
-WHERE `status`='CONFIRMED' AND ".$USE." > 0".$lastOnline."
-ORDER BY `points` DESC, `last_online` DESC, `userid` ASC",
- array($ONLINE), __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT
+ `userid`,
+ `email`,
+ " . $USE . " AS `points`,
+ `last_online`
+FROM
+ `{?_MYSQL_PREFIX?}_user_data`
+WHERE
+ `status`='CONFIRMED' AND
+ " . $USE . " > 0
+ " . $lastOnline . "
+ORDER BY
+ `points` DESC,
+ `last_online` DESC,
+ `userid` ASC", __FILE__, __LINE__);