[ SQL ] SHOW COLUMNS FROM `zitu_hook_plugin` [ RunTime:0.001277s ]
[ 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.000646s ]
[ SQL ] SELECT * FROM `zitu_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 ORDER BY `list_order` ASC [ RunTime:0.000705s ]
[ SQL ] SELECT * FROM `zitu_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 6 ORDER BY `list_order` ASC [ RunTime:0.000504s ]
[ SQL ] SELECT * FROM `zitu_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 14 ORDER BY `list_order` ASC [ RunTime:0.000838s ]
[ SQL ] SHOW COLUMNS FROM `zitu_portal_post` [ RunTime:0.001953s ]
[ 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 ( `post`.`published_time` > 0 and `post`.`published_time` < 1770627500 ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.005038s ]
[ 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 ( `post`.`published_time` > 0 and `post`.`published_time` < 1770627500 ) GROUP BY `post`.`id` LIMIT 880,10 [ RunTime:0.045587s ]
[ SQL ] SHOW COLUMNS FROM `zitu_portal_category_post` [ RunTime:0.001169s ]
[ 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` = 1013 [ RunTime:0.000632s ]
[ 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` = 1014 [ RunTime:0.000489s ]
[ 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` = 1015 [ RunTime:0.000745s ]
[ 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` = 1016 [ RunTime:0.000674s ]
[ 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` = 1017 [ RunTime:0.000543s ]
[ 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` = 1018 [ RunTime:0.000796s ]
[ 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` = 1019 [ RunTime:0.000976s ]
[ 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` = 1020 [ RunTime:0.001022s ]
[ 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` = 1021 [ RunTime:0.000683s ]
[ 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` = 1022 [ RunTime:0.000697s ]
[ 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` < 1770627500 ) GROUP BY `post`.`id` ORDER BY `post`.`update_time` DESC LIMIT 5 [ RunTime:0.002920s ]
[ 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.000670s ]
[ 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.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` = 1041 [ RunTime:0.000397s ]
[ 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.000546s ]
[ 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.000636s ]
[ SQL ] SHOW COLUMNS FROM `zitu_community_course_post` [ RunTime:0.001435s ]
[ 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` < 1770627500 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 1 [ RunTime:0.001149s ]
[ 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` < 1770627500 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 1 [ RunTime:0.001680s ]
[ 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` < 1770627500 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 1 [ RunTime:0.001166s ]
[ 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` < 1770627500 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 1 [ RunTime:0.001226s ]
[ 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` < 1770627501 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 1 [ RunTime:0.001511s ]