[ SQL ] SHOW COLUMNS FROM `cmf_portal_category_post` [ RunTime:0.002452s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_category_post` `a` INNER JOIN `cmf_portal_post` `p` ON `a`.`post_id`=`p`.`id` WHERE `a`.`category_id` IN ('3') AND ( p.post_status=1 and a.status=1 ) LIMIT 1 [ RunTime:0.002390s ]
[ SQL ] SELECT p.id as id,p.thumbnail as thumb,p.post_title as title FROM `cmf_portal_category_post` `a` INNER JOIN `cmf_portal_post` `p` ON `a`.`post_id`=`p`.`id` WHERE `a`.`category_id` IN ('3') AND ( p.post_status=1 and a.status=1 ) ORDER BY `p`.`published_time` DESC,`p`.`recommended` DESC,`p`.`id` DESC LIMIT 0,9 [ RunTime:0.002403s ]