[ SQL ] SHOW COLUMNS FROM `cs_hook_plugin` [ RunTime:0.000000s ]
[ SQL ] SELECT `hook`,`plugin` FROM `cs_hook_plugin` WHERE `status` = 1 AND `hook` IN ('app_begin','module_init','action_begin','view_filter','app_end','log_write','response_end','admin_init','home_init','send_mobile_verification_code','body_start','before_head_end','footer_start','before_footer','before_footer_end','before_body_end','left_sidebar_start','before_left_sidebar_end','right_sidebar_start','before_right_sidebar_end','comment','guestbook','switch_theme','after_content','before_content','log_write_done','switch_admin_theme','captcha_image') ORDER BY `list_order` ASC [ RunTime:0.000000s ]
[ SQL ] SHOW COLUMNS FROM `cs_portal_category` [ RunTime:0.000000s ]
[ SQL ] SELECT * FROM `cs_portal_category` WHERE ( `status` = 1 AND `parent_id` = 0 AND `status` = 1 ) AND `cs_portal_category`.`delete_time` = 0 ORDER BY `list_order` ASC [ RunTime:0.000000s ]
[ SQL ] SELECT * FROM `cs_portal_category` WHERE ( `status` = 1 AND `parent_id` = 0 AND `status` = 1 ) AND `cs_portal_category`.`delete_time` = 0 ORDER BY `list_order` ASC [ RunTime:0.000000s ]
[ SQL ] SELECT `a`.* FROM `cs_portal_post` `a` INNER JOIN `cs_portal_category_post` `b` ON `a`.`id`=`b`.`post_id` WHERE ( `a`.`post_type` = 1 AND `a`.`post_status` = 1 AND `b`.`category_id` IN (1,2,3,4,5,6,7) ) AND `a`.`delete_time` = 0 ORDER BY `published_time` DESC LIMIT 0,6 [ RunTime:0.000000s ]
[ SQL ] SELECT `a`.* FROM `cs_portal_post` `a` INNER JOIN `cs_portal_category_post` `b` ON `a`.`id`=`b`.`post_id` WHERE ( `a`.`post_type` = 1 AND `a`.`post_status` = 1 AND `b`.`category_id` IN (9,14,15,16,17,18,19,20,21,22,23) ) AND `a`.`delete_time` = 0 ORDER BY `published_time` DESC LIMIT 0,8 [ RunTime:0.000000s ]