[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.000782s ]
[ 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` = 12 AND `p`.`post_type` = 1 AND `p`.`post_status` = 1 GROUP BY `p`.`id` ) `_group_count_` [ RunTime:0.000561s ]
[ 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` = 12 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.000909s ]