Произошла исключительная ситуация (ExceptionMySQL) при обращении к СУБД MySQL.

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 'AND mainpageanons = 'yes' AND hide = 'show'' at line 3
SELECT * FROM system_news_position
WHERE id_news=
AND mainpageanons = 'yes'
AND hide = 'show'

Ошибка в файле /home/zalari/zalari.ru/docs/new.php в строке 38.