MySQL error:
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 mainpage=1' at line 1
/home/u58381/en.rinaldi.ru/app/code/lib.php:3; in query:
SELECT * FROM site_structure WHERE site__ID= AND mainpage=1