Comments Demo

Comments

Page With Comments

Perhaps you are a new entrepreneur about to launch a business or innovation you have been dreaming about for years. Or maybe you have an established business and things are going well, or maybe even too well. In both instances you are going to need capital - the 'oxygen' that every business needs to grow and prosper.

So now you are writing your first business plan or touching up the old one in anticipation of raising capital. Capital can only come into a business in one of two ways. Capital that is generated internally through positive cash flow from business operations (e.g., selling stuff), or from external funding sources. The new entrepreneur is limited to only one option - external funding sources.

Image Description
Should Product Owners think like entrepreneurs?

Cms Pro is a financial technology company. We build products. We do it fast and we do it well.

No comments yet...
Leave your comment
51030

Character Limit 400

Total execution time: 1714231230.5838 sec.

Framework 1.50 v6.20

Cpu Usage 5082 sec.

Memory Usage 2.84MB

POST:
Array
(
)

                         
GET:
Array
(
)

                         
Array
(
    [route] => page/page-with-comments
    [path] => /page/([a-z0-9_-]+)
    [segments] => Array
        (
            [0] => page
            [1] => page-with-comments
        )

    [closure] => Array
        (
            [0] => Wojo\Controller\Front\IndexController
            [1] => page
        )

    [template] => view/front/themes/master/page.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 ;

6. SELECT | total: 0
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 ;

7. SELECT | total: 1
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 * 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 ;
6. SELECT | total: 0.  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 ;
7. SELECT | total: 1.  SELECT title_en as title, slug_en as slug, thumb, created, id FROM `mod_blog` WHERE active = 1 ORDER BY hits DESC LIMIT 5 ;