SELECT `more`,`file`,`id` FROM `cmf_theme_file` WHERE `theme` = 'blog' AND ( `is_public` = 1 OR `file` = 'portal/list_news' ) ORDER BY `is_public` DESC [ RunTime:0.000403s ]
SHOW FULL COLUMNS FROM `cmf_nav` [ RunTime:0.000861s ]
SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.000249s ]
SHOW FULL COLUMNS FROM `cmf_nav_menu` [ RunTime:0.000866s ]
SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000314s ]
SELECT `path` FROM `cmf_portal_category` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000310s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 0 ORDER BY `path` ASC [ RunTime:0.000280s ]
SELECT `path` FROM `cmf_portal_category` WHERE `id` = 23 LIMIT 1 [ RunTime:0.000266s ]
SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `path` LIKE '0-23-%' [ RunTime:0.000373s ]
SHOW FULL COLUMNS FROM `cmf_portal_post` [ RunTime:0.000915s ]
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 ( `post`.`create_time` >= '0' ) AND ( `category_post`.`category_id` IN ('23','24','25','26','27','28','29') ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1715230978' ) GROUP BY `post`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.000686s ]
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 ( `post`.`create_time` >= '0' ) AND ( `category_post`.`category_id` IN ('23','24','25','26','27','28','29') ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1715230978' ) GROUP BY `post`.`id` ORDER BY `post`.`create_time` DESC LIMIT 0,10 [ RunTime:0.001855s ]
SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 252 LIMIT 1 [ RunTime:0.000342s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000293s ]
SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 251 LIMIT 1 [ RunTime:0.000312s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000265s ]
SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 250 LIMIT 1 [ RunTime:0.000330s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000291s ]
SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 249 LIMIT 1 [ RunTime:0.000325s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000309s ]
SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 248 LIMIT 1 [ RunTime:0.000293s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000274s ]
SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 239 LIMIT 1 [ RunTime:0.000300s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000263s ]
SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 238 LIMIT 1 [ RunTime:0.000321s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000301s ]
SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 236 LIMIT 1 [ RunTime:0.000352s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000308s ]
SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 234 LIMIT 1 [ RunTime:0.000345s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 24 LIMIT 1 [ RunTime:0.000283s ]
SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 233 LIMIT 1 [ RunTime:0.000334s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 25 LIMIT 1 [ RunTime:0.000278s ]
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 ( `post`.`published_time` > '0' AND `post`.`published_time` < '1715230978' ) GROUP BY `post`.`id` ORDER BY `post`.`post_hits` DESC LIMIT 5 [ RunTime:0.003749s ]
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 ( `post`.`published_time` > '0' AND `post`.`published_time` < '1715230978' ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 5 [ RunTime:0.003076s ]
SHOW FULL COLUMNS FROM `cmf_link` [ RunTime:0.000915s ]
SELECT * FROM `cmf_link` WHERE `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000315s ]