[ SQL ] SHOW COLUMNS FROM `kj_hook_plugin` [ RunTime:0.000454s ]
[ SQL ] SELECT `hook`,`plugin` FROM `kj_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.000351s ]
[ SQL ] SHOW COLUMNS FROM `kj_portal_post` [ RunTime:0.000518s ]
[ SQL ] SELECT `a`.`id`,`a`.`published_time`,`a`.`post_title`,`a`.`post_excerpt`,`a`.`thumbnail`,`b`.`category_id`,c.name as category_mame FROM `kj_portal_post` `a` INNER JOIN `kj_portal_category_post` `b` ON `a`.`id`=`b`.`post_id` INNER JOIN `kj_portal_category` `c` ON `b`.`category_id`=`c`.`id` WHERE `a`.`delete_time` = 0 AND `a`.`post_status` = 1 AND `b`.`category_id` = 3 ORDER BY `a`.`is_top` DESC,`a`.`published_time` DESC LIMIT 3 [ RunTime:0.000471s ]
[ SQL ] SELECT `a`.`id`,`a`.`thumbnail`,`a`.`post_title`,`a`.`post_excerpt`,`a`.`is_top`,`a`.`published_time`,`b`.`category_id`,c.name as category_mame FROM `kj_portal_post` `a` INNER JOIN `kj_portal_category_post` `b` ON `a`.`id`=`b`.`post_id` INNER JOIN `kj_portal_category` `c` ON `b`.`category_id`=`c`.`id` WHERE `a`.`post_status` = 1 AND `b`.`category_id` <> 3 ORDER BY `a`.`is_top` DESC,`a`.`published_time` DESC LIMIT 3 [ RunTime:0.034817s ]