Announcements

Here you will find the latest Stellarity news and announcements

Shape1
Shape2

Sample

In:
Like Up:
Like Down:
Created:
28 Oct 2024

This is a sample article

No comments yet...
Leave your comment
50773

Character Limit 400

Total execution time: 1765052516.3749 sec.

Framework 1.50 v6.20

Cpu Usage 5716 sec.

Memory Usage 845.02kB

POST:
Array
(
)

                         
GET:
Array
(
)

                         
Array
(
    [route] => blog/sample
    [path] => /blog/([a-z0-9_-]+)
    [segments] => Array
        (
            [0] => blog
            [1] => sample
        )

    [closure] => Array
        (
            [0] => Wojo\Controller\Front\Module\Blog\BlogController
            [1] => render
        )

    [template] => /var/www/community_st_usr/data/www/community.stellaritygroup.com/view/front/plugins/blog/blogcats/index.tpl.php
)

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: 1
SELECT a.*, a.slug_en as slug, c.slug_en as catslug, c.name_en as catname, CONCAT(u.fname,' ',u.lname) as user, u.username, GROUP_CONCAT(m.title_en SEPARATOR ', ') as memberships FROM `mod_blog` AS a LEFT JOIN `users` as u ON u.id = a.user_id LEFT JOIN `mod_blog_categories` as c ON c.id = a.category_id LEFT JOIN `memberships` as m ON FIND_IN_SET(m.id, a.membership_id) WHERE a.slug_en = "sample" AND a.active = 1 GROUP BY a.id ;

4. UPDATE | total: 1
UPDATE `mod_blog` SET `hits` = `hits` + 1 WHERE id = 3;

5. 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 ;

6. SELECT | total: 16
SELECT * FROM `menus` WHERE active = 1 ORDER BY parent_id, sorting;

7. SELECT | total: 1
SELECT COUNT(*) as items FROM `mod_comments` WHERE section = "blog" AND comment_id = 0 AND parent_id = 3 AND active = 1 LIMIT 1;

8. 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 = "blog" AND parent_id = 3 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 = "blog" AND parent_id = 3 AND c.active = 1 ORDER BY created DESC ;

9. 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 ;

10. 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 ;

11. 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 ;

12. 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 ;

13. 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 ;

14. 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: 1.  SELECT a.*, a.slug_en as slug, c.slug_en as catslug, c.name_en as catname, CONCAT(u.fname,' ',u.lname) as user, u.username, GROUP_CONCAT(m.title_en SEPARATOR ', ') as memberships FROM `mod_blog` AS a LEFT JOIN `users` as u ON u.id = a.user_id LEFT JOIN `mod_blog_categories` as c ON c.id = a.category_id LEFT JOIN `memberships` as m ON FIND_IN_SET(m.id, a.membership_id) WHERE a.slug_en = "sample" AND a.active = 1 GROUP BY a.id ;
4. UPDATE | total: 1. UPDATE `mod_blog` SET `hits` = `hits` + 1 WHERE id = 3;
5. 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 ;
6. SELECT | total: 16. SELECT * FROM `menus` WHERE active = 1 ORDER BY parent_id, sorting;
7. SELECT | total: 1. SELECT COUNT(*) as items FROM `mod_comments` WHERE section = "blog" AND comment_id = 0 AND parent_id = 3 AND active = 1 LIMIT 1;
8. 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 = "blog" AND parent_id = 3 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 = "blog" AND parent_id = 3 AND c.active = 1 ORDER BY created DESC ;
9. 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 ;
10. 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 ;
11. 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 ;
12. 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 ;
13. 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 ;
14. 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 ;