сделать страницу стартовой  |  обратная связь  |  карта сайта | RSS

Сводка новостей





Новости за весь период

SQL 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 ie.el_id = ic.el_id AND (ic.icont_var = 'date' OR ic.icont_var='date2') ' at line 2 at /home/shef/polisportal.ru/html/dreamedit/includes/class.Events.php line 102
Array
(
    [code] => 1064
    [message] => 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 ie.el_id = ic.el_id  AND (ic.icont_var  = 'date' OR ic.icont_var='date2') ' at line 2
    [query] => SELECT DISTINCT ie.el_id AS ARRAY_KEY, ie.* FROM adm_ilines_element AS ie, adm_ilines_content AS ic INNER JOIN adm_ilines_content AS id ON id.el_id=ic.el_id AND (id.icont_var='date' OR id.icont_var='date2')
			AND date(id.icont_text) >= date('2007.01.01') AND date(id.icont_text) <= date('2017.12.31') INNER JOIN adm_ilines_content AS ss ON ss.el_id=ic.el_id AND ss.icont_var='status' AND ss.icont_text=1  LEFT OUTER JOIN adm_ilines_content AS s2 ON s2.el_id=ic.el_id AND s2.icont_var='status2'   INNER JOIN adm_ilines_element AS e ON e.el_id=ic.el_id WHERE ( ie.itype_id=) AND ie.el_id = ic.el_id  AND (ic.icont_var  = 'date' OR ic.icont_var='date2') AND ic.icont_text <> '' AND ic.icont_text IS NOT NULL  AND (e.itype_id<> 15 OR s2.icont_text=1) GROUP BY ie.el_id ORDER BY ie.el_date DESC  LIMIT 0, 20  
    [context] => /home/shef/polisportal.ru/html/dreamedit/includes/class.Events.php line 102
)