- $result_main = SQL_QUERY("SELECT
- `id`, `gender`, `surname`, `family`, `email`, `status`,
- `sponsor_created`, `last_online`, `points_amount`, `points_used`, `remote_addr`
+ $result_main = sqlQuery("SELECT
+ `id`, `sex`, `surname`, `family`, `email`, `status`,
+ UNIX_TIMESTAMP(`sponsor_created`) AS `sponsor_created`,
+ UNIX_TIMESTAMP(`last_online`) AS `last_online`,
+ `points_amount`, `points_used`,
+ (`points_amount` + `points_used`) AS `points`,
+ `remote_addr`