- $result_load = SQL_QUERY_ESC("SELECT holiday_start AS start, holiday_end AS end
-FROM "._MYSQL_PREFIX."_user_holidays
-WHERE userid=%d LIMIT 1", array(bigintval($_GET['u_id'])), __FILE__, __LINE__);
- if (SQL_NUMROWS($result_load) == 1)
- {
+ $result_load = SQL_QUERY_ESC("SELECT
+ `holiday_start` AS start, `holiday_end` AS end
+FROM
+ `{?_MYSQL_PREFIX?}_user_holidays`
+WHERE
+ `userid`=%s
+LIMIT 1",
+ array(bigintval(getRequestElement('userid'))), __FILE__, __LINE__);
+ if (SQL_NUMROWS($result_load) == 1) {