You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$dates = $db->GetAll("SELECT MONTH(date_publish) AS month_number, YEAR(date_publish) AS year_number, COUNT(*) AS count FROM ".T_BLOG." WHERE status='active' AND DATE(date_publish) <= CURDATE() GROUP BY year_number, month_number ORDER BY year_number DESC, month_number DESC");