user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-840,20' at line 1
query: SELECT id,title,size,status FROM referats WHERE razdel='509' AND category='d' LIMIT -840,20 in /home/referats/public_html/includes/database.mysql.inc on line 120.
strict warning: Declaration of SmartyTemplate::fetch() should be compatible with Smarty::fetch($resource_name, $cache_id = NULL, $compile_id = NULL, $display = false) in /home/referats/public_html/themes/engines/smarty/smartytemplate.php on line 30.