-if (REQUEST_ISSET_GET('uid')) {
- // Load user's data
- $result_user = SQL_QUERY_ESC("SELECT status, gender, surname, family, email FROM `{!_MYSQL_PREFIX!}_user_data` WHERE userid=%s LIMIT 1",
- array(bigintval(REQUEST_GET('uid'))), __FILE__, __LINE__);
- $ACT = false;
- if (SQL_NUMROWS($result_user) == 1) {
- // User found
- list($status, $gender, $sname, $fname, $email) = SQL_FETCHROW($result_user);
-
- // Free result
- SQL_FREERESULT($result_user);