Gallery
Fully featured gallery module
Fully featured gallery module
Total execution time: 1776798299.6772 sec.
Framework 1.50 v6.20
Cpu Usage 9485 sec.
Memory Usage 1.01MB
POST:Array
(
)
GET:
Array
(
)
Array
(
[route] => gallery
[path] => /gallery
[segments] => Array
(
[0] => gallery
)
[closure] => Array
(
[0] => Wojo\Controller\Front\Module\Gallery\GalleryController
[1] => index
)
[template] => view/front/themes/master/mod_index.tpl.php
)
1. select | total: 1. SELECT * FROM `settings` WHERE (`id` = 1) ;
2. select | total: 1. SELECT * FROM `pages` WHERE (`slug_en` = "page-with-comments") and (`active` = 1) ;
3. SELECT | total: 27. SELECT * FROM `menus` WHERE active = 1 ORDER BY parent_id, sorting;
4. SELECT | total: 1. SELECT COUNT(*) as items FROM `mod_comments` WHERE section = "page" AND comment_id = 0 AND parent_id = 12 AND active = 1 LIMIT 1;
5. SELECT | total: 0. SELECT c.id, c.user_id, c.comment_id, c.parent_id, c.section, c.vote_down, c.vote_up, c.body, c.created, c.username as uname, u.username, CONCAT(u.fname, ' ', u.lname) as name, u.avatar FROM `mod_comments` as c INNER JOIN (SELECT id FROM `mod_comments` WHERE section = "page" AND parent_id = 12 AND comment_id = 0 AND active = 1 ORDER BY created DESC ) as ch ON ch.id IN (c.id, c.comment_id) LEFT JOIN `users` as u ON u.id = c.user_id WHERE section = "page" AND parent_id = 12 AND c.active = 1 ORDER BY created DESC ;
2. select | total: 5. SELECT title_en as title, info_en, keywords_en, description_en FROM `modules` WHERE (`modalias` = "gallery") ;
3. SELECT | total: 0. SELECT m.*, COUNT(d.parent_id) as pics, SUM(IFNULL(d.likes, 0)) as likes FROM `mod_gallery` as m LEFT JOIN `mod_gallery_data` as d ON m.id = d.parent_id GROUP BY m.id, m.sorting ORDER BY m.sorting ;
4. SELECT | total: 0. 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 = "gallery" AND p.active = 1 ORDER BY l.sorting ;
5. SELECT | total: 27. SELECT * FROM `menus` WHERE active = 1 ORDER BY parent_id, sorting;