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 s.id = m.par_id' at line 8
SELECT
s.id AS s_id,
s.name AS s_name,
date_format(m.date_in, '%d.%m.%Y') as data_in,
m.about
FROM gm_stenka s, gm_stenka_message m
WHERE m.par_id IN ()
AND s.id = m.par_id
/home/gayly/public_html/gm/board/index.phtml(60)
exception.type=sql.execute
sql /home/gayly/public_html/gm/board/index.phtml(60) if /home/gayly/public_html/gm/board/index.phtml(35) leftColumn /home/gayly/public_html/auto.p(951) body /home/gayly/public_html/auto.p(951) body /home/gayly/public_html/auto.p(146) connect /home/gayly/public_html/auto.p(146) server /home/gayly/public_html/auto.p(946)