[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.000728s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) AS think_count FROM `cmf_portal_post` `p` INNER JOIN `cmf_portal_category_post` `cp` ON `cp`.`post_id`=`p`.`id` WHERE `cp`.`category_id` IN (2,4,5,18,19,20,21,7,16,22) AND `p`.`post_type` = 1 AND `p`.`post_status` = 1 GROUP BY `p`.`id` ) `_group_count_` [ RunTime:0.000621s ]
[ SQL ] SELECT `p`.* FROM `cmf_portal_post` `p` INNER JOIN `cmf_portal_category_post` `cp` ON `cp`.`post_id`=`p`.`id` WHERE `cp`.`category_id` IN (2,4,5,18,19,20,21,7,16,22) AND `p`.`post_type` = 1 AND `p`.`post_status` = 1 GROUP BY `p`.`id` ORDER BY `p`.`published_time` DESC LIMIT 0,6 [ RunTime:0.000708s ]