Home Biathlon
No valid database connection 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 (c.publish_up <= SUBTIME(NOW(), '0 1:0:0') AND (c.publish_down = 0 OR c.pu' at line 5 SQL=SELECT c.*, m.catid, CONCAT(c.introtext, c.fulltext) AS content, DATE_FORMAT(c.created, '%d.%m.%Y') AS datum, e.aimage, e.aimage2, e.img_x, e.img_y, e.img_w, e.img_h FROM ew_content AS c LEFT JOIN ew_multicontent AS m ON m.contentid = c.id LEFT JOIN ew_content_extend AS e ON e.id = c.id WHERE c.state > 0 AND m.catid IN () AND (c.publish_up <= SUBTIME(NOW(), '0 1:0:0') AND (c.publish_down = 0 OR c.publish_down >= SUBTIME(NOW(), '0 1:0:0'))) GROUP BY c.id ORDER BY m.first DESC, DATE_FORMAT(c.created, '%Y%m%d') DESC, c.ordering LIMIT 0, 5
No valid database connection 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 (c.publish_up <= SUBTIME(NOW(), '0 1:0:0') AND (c.publish_down = 0 OR c.pu' at line 5 SQL=SELECT count(*) FROM ew_content AS c LEFT JOIN ew_multicontent AS m ON m.contentid = c.id LEFT JOIN ew_content_extend AS e ON e.id = c.id WHERE c.state > 0 AND m.catid IN () AND (c.publish_up <= SUBTIME(NOW(), '0 1:0:0') AND (c.publish_down = 0 OR c.publish_down >= SUBTIME(NOW(), '0 1:0:0'))) ORDER BY DATE_FORMAT(c.created, '%Y%m%d') DESC, c.ordering