1. select |
total: 1SELECT * FROM `settings` WHERE (`id` = 1) ;
2. select |
total: 1SELECT title_en as title, info_en, keywords_en, description_en FROM `modules` WHERE (`modalias` = "blog") ;
3. select |
total: 1SELECT * FROM `mod_blog_categories` WHERE (`slug_en` = "news") ;
4. SELECT |
total: 1 SELECT COUNT(a.id) as items FROM `mod_blog` as a INNER JOIN `mod_blog_related_categories` as rc ON a.id = rc.item_id WHERE rc.category_id = 1 AND a.active = 1 LIMIT 1 ;
5. SELECT |
total: 1 SELECT a.id, a.created, a.title_en as title, a.slug_en as slug, a.body_en as body, a.thumb, a.rating, a.membership_id, c.slug_en as cslug, c.name_en as ctitle, GROUP_CONCAT(m.title_en SEPARATOR ', ') as memberships, (SELECT COUNT(parent_id) FROM `mod_comments` WHERE `mod_comments`.parent_id = a.id AND section = 'blog') as comments FROM `mod_blog` as a LEFT JOIN `mod_blog_categories` as c ON c.id = a.category_id INNER JOIN `mod_blog_related_categories` as rc ON a.id = rc.item_id LEFT JOIN `memberships` as m ON FIND_IN_SET(m.id, a.membership_id) WHERE rc.category_id = 1 AND a.active = 1 AND c.active = 1 GROUP BY a.id ORDER BY created DESC LIMIT 0,10;
6. SELECT |
total: 2 SELECT p.id, l.plug_id, l.space, l.place, p.system, p.alt_class, p.plugalias, p.plugin_id, p.title_en as title, p.body_en as body, p.jscode, p.show_title, p.cplugin FROM `layout` as l LEFT JOIN plugins as p ON p.id = l.plug_id WHERE l.modalias = "blog" AND p.active = 1 ORDER BY l.sorting ;
7. SELECT |
total: 16SELECT * FROM `menus` WHERE active = 1 ORDER BY parent_id, sorting;
8. SELECT |
total: 2 SELECT YEAR(created) as year, DATE_FORMAT(created, '%m') as month,COUNT(id) as total FROM `mod_blog` WHERE active = 1 AND created <= DATE_SUB(NOW(), INTERVAL 1 MONTH) GROUP BY year, month ORDER BY year DESC, month DESC ;
9. SELECT |
total: 2 SELECT title_en as title, slug_en as slug, thumb, created, id FROM `mod_blog` WHERE active = 1 ORDER BY hits DESC LIMIT 5 ;
10. SELECT |
total: 1 SELECT c.body, a.title_en as title, a.slug_en as slug, c.created FROM `mod_comments` as c LEFT JOIN `mod_blog` as a ON a.id = c.parent_id WHERE c.section = "blog" AND c.active = 1 AND a.active = 1 ORDER BY c.created DESC LIMIT 5 ;
11. SELECT |
total: 2 SELECT c.id, c.parent_id, c.name_en as name, c.slug_en as slug, (SELECT COUNT(p.id) FROM mod_blog p INNER JOIN `mod_blog_related_categories` rc ON p.id = rc.item_id WHERE rc.category_id = c.id AND p.active = 1) as items FROM `mod_blog_categories` as c GROUP BY c.id, parent_id, sorting ORDER BY parent_id, sorting ;
12. SELECT |
total: 2 SELECT YEAR(created) as year, DATE_FORMAT(created, '%m') as month,COUNT(id) as total FROM `mod_blog` WHERE active = 1 AND created <= DATE_SUB(NOW(), INTERVAL 1 MONTH) GROUP BY year, month ORDER BY year DESC, month DESC ;
13. SELECT |
total: 2 SELECT title_en as title, slug_en as slug, thumb, created, id FROM `mod_blog` WHERE active = 1 ORDER BY hits DESC LIMIT 5 ;
1. select | total: 1. SELECT * FROM `settings` WHERE (`id` = 1) ;
2. select | total: 1. SELECT title_en as title, info_en, keywords_en, description_en FROM `modules` WHERE (`modalias` = "blog") ;
3. select | total: 15. SELECT title_en AS title, slug_en AS slug FROM `pages` WHERE (`page_type` = "normal") and (`active` = 1) ;
4. SELECT | total: 16. SELECT * FROM `menus` WHERE active = 1 ORDER BY parent_id, sorting;
5. select | total: 2. SELECT title_en AS title, slug_en AS slug FROM `mod_blog` WHERE (`active` = 1) ORDER BY `created` DESC;
6. SELECT | total: 2. SELECT p.id, l.plug_id, l.space, l.place, p.system, p.alt_class, p.plugalias, p.plugin_id, p.title_en as title, p.body_en as body, p.jscode, p.show_title, p.cplugin FROM `layout` as l LEFT JOIN plugins as p ON p.id = l.plug_id WHERE l.modalias = "blog" AND p.active = 1 ORDER BY l.sorting ;
7. SELECT | total: 2. SELECT title_en as title, slug_en as slug, thumb, created, id FROM `mod_blog` WHERE active = 1 ORDER BY hits DESC LIMIT 5 ;
3. select | total: 1. SELECT * FROM `mod_blog_categories` WHERE (`slug_en` = "news") ;
4. SELECT | total: 1. SELECT COUNT(a.id) as items FROM `mod_blog` as a INNER JOIN `mod_blog_related_categories` as rc ON a.id = rc.item_id WHERE rc.category_id = 1 AND a.active = 1 LIMIT 1 ;
5. SELECT | total: 1. SELECT a.id, a.created, a.title_en as title, a.slug_en as slug, a.body_en as body, a.thumb, a.rating, a.membership_id, c.slug_en as cslug, c.name_en as ctitle, GROUP_CONCAT(m.title_en SEPARATOR ', ') as memberships, (SELECT COUNT(parent_id) FROM `mod_comments` WHERE `mod_comments`.parent_id = a.id AND section = 'blog') as comments FROM `mod_blog` as a LEFT JOIN `mod_blog_categories` as c ON c.id = a.category_id INNER JOIN `mod_blog_related_categories` as rc ON a.id = rc.item_id LEFT JOIN `memberships` as m ON FIND_IN_SET(m.id, a.membership_id) WHERE rc.category_id = 1 AND a.active = 1 AND c.active = 1 GROUP BY a.id ORDER BY created DESC LIMIT 0,10;
7. SELECT | total: 16. SELECT * FROM `menus` WHERE active = 1 ORDER BY parent_id, sorting;
8. SELECT | total: 2. SELECT YEAR(created) as year, DATE_FORMAT(created, '%m') as month,COUNT(id) as total FROM `mod_blog` WHERE active = 1 AND created <= DATE_SUB(NOW(), INTERVAL 1 MONTH) GROUP BY year, month ORDER BY year DESC, month DESC ;
9. SELECT | total: 2. SELECT title_en as title, slug_en as slug, thumb, created, id FROM `mod_blog` WHERE active = 1 ORDER BY hits DESC LIMIT 5 ;
10. SELECT | total: 1. SELECT c.body, a.title_en as title, a.slug_en as slug, c.created FROM `mod_comments` as c LEFT JOIN `mod_blog` as a ON a.id = c.parent_id WHERE c.section = "blog" AND c.active = 1 AND a.active = 1 ORDER BY c.created DESC LIMIT 5 ;
11. SELECT | total: 2. SELECT c.id, c.parent_id, c.name_en as name, c.slug_en as slug, (SELECT COUNT(p.id) FROM mod_blog p INNER JOIN `mod_blog_related_categories` rc ON p.id = rc.item_id WHERE rc.category_id = c.id AND p.active = 1) as items FROM `mod_blog_categories` as c GROUP BY c.id, parent_id, sorting ORDER BY parent_id, sorting ;
12. SELECT | total: 2. SELECT YEAR(created) as year, DATE_FORMAT(created, '%m') as month,COUNT(id) as total FROM `mod_blog` WHERE active = 1 AND created <= DATE_SUB(NOW(), INTERVAL 1 MONTH) GROUP BY year, month ORDER BY year DESC, month DESC ;
13. SELECT | total: 2. SELECT title_en as title, slug_en as slug, thumb, created, id FROM `mod_blog` WHERE active = 1 ORDER BY hits DESC LIMIT 5 ;