Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/1040): Too many connections in /home2/via/public_html/startpoint.esp.br/admin/includes/classes.php on line 8

Warning: mysqli::set_charset() [mysqli.set-charset]: Couldn't fetch mysqli in /home2/via/public_html/startpoint.esp.br/admin/includes/classes.php on line 9

Warning: mysqli_real_escape_string() [function.mysqli-real-escape-string]: Couldn't fetch mysqli in /home2/via/public_html/startpoint.esp.br/admin/includes/classes.php on line 737

Warning: mysqli::query() [mysqli.query]: Couldn't fetch mysqli in /home2/via/public_html/startpoint.esp.br/admin/includes/classes.php on line 15

Warning: Connection::Query() [connection.query]: Couldn't fetch mysqli in /home2/via/public_html/startpoint.esp.br/admin/includes/classes.php on line 18


SELECT events_categories.title AS category_title, events.id, DATE_FORMAT(registration_date, "%Y") AS year, DATE_FORMAT(registration_date, "%m") AS month, DATE_FORMAT(registration_date, "%d") AS day, registration_date, events.title, events.local, events.content, events.url, events.source, img, img_ext, img_w_tn, img_h_tn, events.friendly FROM events INNER JOIN events_categories ON events.category_id = events_categories.id WHERE DATE_FORMAT(registration_date, "%Y") = 2014 AND DATE_FORMAT(registration_date, "%m") = 04 AND DATE_FORMAT(registration_date, "%d") = 05 ORDER BY registration_date ASC