- $result_admins = SQL_QUERY("SELECT id AS aid, login, password, email".$ADD."
-FROM `{!_MYSQL_PREFIX!}_admins`
-ORDER BY login", __FILE__, __LINE__);
+ $result_admins = SQL_QUERY('SELECT
+ `id` AS admin_id, `login`, `password`, `email`' . $add . '
+FROM
+ `{?_MYSQL_PREFIX?}_admins`
+ORDER BY
+ `login` ASC', __FILE__, __LINE__);