SHOW COLUMNS FROM `sp_nav_cat` [ RunTime:0.0156s ]
SELECT * FROM `sp_nav_cat` WHERE ( active=1 ) LIMIT 1 [ RunTime:0.0000s ]
SELECT * FROM `sp_nav` WHERE ( cid=1 and status=1 ) ORDER BY `listorder` ASC [ RunTime:0.0000s ]
SHOW COLUMNS FROM `sp_term_relationships` [ RunTime:0.0156s ]
SELECT COUNT(*) AS tp_count FROM sp_term_relationships a INNER JOIN sp_posts as b on a.object_id =b.id INNER JOIN sp_users as c on b.post_author = c.id WHERE `status` = 1 AND `post_status` = 1 AND `term_id` IN ('2') LIMIT 1 [ RunTime:0.0000s ]
SELECT * FROM sp_term_relationships a INNER JOIN sp_posts as b on a.object_id =b.id INNER JOIN sp_users as c on b.post_author = c.id WHERE `status` = 1 AND `post_status` = 1 AND `term_id` IN ('2') ORDER BY post_date DESC LIMIT 0,20 [ RunTime:0.0000s ]
SHOW COLUMNS FROM `sp_links` [ RunTime:0.0000s ]
SELECT * FROM `sp_links` WHERE ( link_status=1 ) ORDER BY listorder ASC [ RunTime:0.0000s ]