MySQL Error!
MySQL error in file: /engine/modules/show.full.php at line 776
Error Number: 1064
The Error returned was:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND approve=1 AND date<'2015-05-27 10:40:46' ORDER BY date DESC LIMIT 1' at line 1
SQL query:

SELECT id, short_story, title, category, alt_name FROM dle_post WHERE AND approve=1 AND date<'2015-05-27 10:40:46' ORDER BY date DESC LIMIT 1