Novedades
Novedades 4
No se encontraron noticias para el mes seleccionado.
mySQL Error (1064): 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 'index
AND is_active = 1
AND is_deleted = 0
ORDER BY datepub DESC' at line 7
Error occurred while running query:
SELECT title, description, datepub,
CONCAT('espanol/novedades/', YEAR(datepub),'/', MONTH(datepub),'/', url, '.html') AS url,
IF( LENGTH(thumbnail)=0, 'images/espanol/thumb-home.png', CONCAT('uploads/news/thumbnail/', thumbnail) ) AS thumbnail
FROM news
WHERE id_language = 1
AND YEAR(datepub) = 4
AND MONTH(datepub) = index
AND is_active = 1
AND is_deleted = 0
ORDER BY datepub DESC
No se encontraron noticias para el mes seleccionado.