[ SQL ] SHOW COLUMNS FROM `zitu_hook_plugin` [ RunTime:0.001381s ]
[ SQL ] SELECT `hook`,`plugin` FROM `zitu_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.000555s ]
[ SQL ] SELECT * FROM `zitu_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 ORDER BY `list_order` ASC [ RunTime:0.000348s ]
[ SQL ] SELECT * FROM `zitu_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 6 ORDER BY `list_order` ASC [ RunTime:0.000535s ]
[ SQL ] SELECT * FROM `zitu_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 14 ORDER BY `list_order` ASC [ RunTime:0.000849s ]
[ SQL ] SHOW COLUMNS FROM `zitu_portal_post` [ RunTime:0.001268s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) AS think_count FROM `zitu_portal_post` `post` INNER JOIN `zitu_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND ( `category_post`.`category_id` = '5' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1770633455 ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.001182s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `zitu_portal_post` `post` INNER JOIN `zitu_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND ( `category_post`.`category_id` = '5' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1770633455 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` ASC LIMIT 20,10 [ RunTime:0.002377s ]
[ SQL ] SHOW COLUMNS FROM `zitu_portal_category_post` [ RunTime:0.001563s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 291 [ RunTime:0.001496s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 525 [ RunTime:0.002002s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 527 [ RunTime:0.001689s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 533 [ RunTime:0.001894s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 541 [ RunTime:0.000716s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 552 [ RunTime:0.002510s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 558 [ RunTime:0.001635s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `zitu_portal_post` `post` INNER JOIN `zitu_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND ( `category_post`.`category_id` = '23' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1770633455 ) GROUP BY `post`.`id` ORDER BY `post`.`update_time` DESC LIMIT 5 [ RunTime:0.001126s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 1043 [ RunTime:0.000392s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 1042 [ RunTime:0.000665s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 1041 [ RunTime:0.000659s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 1040 [ RunTime:0.000434s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 1039 [ RunTime:0.000550s ]
[ SQL ] SHOW COLUMNS FROM `zitu_community_course_post` [ RunTime:0.001114s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `zitu_community_course_post` `post` INNER JOIN `zitu_community_course_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `recommended` = 1 AND ( `category_post`.`category_id` = '1' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1770633456 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 1 [ RunTime:0.001693s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `zitu_community_course_post` `post` INNER JOIN `zitu_community_course_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `recommended` = 1 AND ( `category_post`.`category_id` = '2' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1770633456 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 1 [ RunTime:0.001745s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `zitu_community_course_post` `post` INNER JOIN `zitu_community_course_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `recommended` = 1 AND ( `category_post`.`category_id` = '3' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1770633456 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 1 [ RunTime:0.001386s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `zitu_community_course_post` `post` INNER JOIN `zitu_community_course_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `recommended` = 1 AND ( `category_post`.`category_id` = '4' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1770633456 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 1 [ RunTime:0.001437s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `zitu_community_course_post` `post` INNER JOIN `zitu_community_course_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `recommended` = 1 AND ( `category_post`.`category_id` = '1' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1770633456 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 1 [ RunTime:0.000503s ]