SELECT `more`,`file`,`id` FROM `cmf_theme_file` WHERE `theme` = 'Factory' AND ( `is_public` = 1 OR `file` = 'portal/list' ) ORDER BY `is_public` DESC [ RunTime:0.000541s ]
SHOW FULL COLUMNS FROM `cmf_nav_menu` [ RunTime:0.000588s ]
SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000357s ]
SELECT `path` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000404s ]
SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `id` = 0 LIMIT 1 [ RunTime:0.000367s ]
SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 [ RunTime:0.000309s ]
SELECT `path` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.010925s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 0 ORDER BY `path` ASC [ RunTime:0.000342s ]
SHOW FULL COLUMNS FROM `cmf_portal_post` [ RunTime:0.000799s ]
SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` = '1' ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1734868748' ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.000563s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` = '1' ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1734868748' ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 0,1 [ RunTime:0.000625s ]
SHOW FULL COLUMNS FROM `cmf_link` [ RunTime:0.000588s ]
SELECT * FROM `cmf_link` WHERE `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000340s ]
SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 2 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000306s ]
SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 [ RunTime:0.000595s ]