SHOW FULL COLUMNS FROM `gk_hook` [ RunTime:0.000723s ]
SELECT `hook`,`id` FROM `gk_hook` WHERE ( ( `app` = '' OR `app` = 'cmf' ) AND `type` = 3 ) OR `type` = 1 [ RunTime:0.000395s ]
SHOW FULL COLUMNS FROM `gk_hook_plugin` [ RunTime:0.000397s ]
SELECT `hook`,`plugin` FROM `gk_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','user_login_start') ORDER BY `list_order` ASC [ RunTime:0.000348s ]
SHOW FULL COLUMNS FROM `gk_school` [ RunTime:0.001110s ]
SELECT `post`.* FROM `gk_school` `post` WHERE `post`.`id` = '13060' AND ( `post`.`published_time` >= '0' AND `post`.`published_time` < '1746511875' ) LIMIT 1 [ RunTime:0.002931s ]
UPDATE `gk_school` SET `hits` = `hits` + 1 WHERE `id` = 13060 [ RunTime:0.006120s ]
SHOW FULL COLUMNS FROM `gk_theme_file` [ RunTime:0.000590s ]
SELECT * FROM `gk_theme_file` WHERE `theme` = 't1' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000435s ]
SELECT `more`,`file`,`id` FROM `gk_theme_file` WHERE `theme` = 't1' AND ( `is_public` = 1 OR `file` = 'school/item/index' ) ORDER BY `is_public` DESC [ RunTime:0.000378s ]
SHOW FULL COLUMNS FROM `gk_option` [ RunTime:0.001228s ]
SELECT `option_value` FROM `gk_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000203s ]
SHOW FULL COLUMNS FROM `gk_school_tag_relation` [ RunTime:0.000374s ]
SHOW FULL COLUMNS FROM `gk_school_tag` [ RunTime:0.000366s ]
SELECT `gk_school_tag`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`tag_id` AS `pivot__tag_id`,`pivot`.`school_id` AS `pivot__school_id`,`pivot`.`status` AS `pivot__status` FROM `gk_school_tag` INNER JOIN `gk_school_tag_relation` `pivot` ON `pivot`.`tag_id`=`gk_school_tag`.`id` WHERE `pivot`.`school_id` = '13060' [ RunTime:0.002279s ]
SHOW FULL COLUMNS FROM `gk_school_galary` [ RunTime:0.000491s ]
SELECT `gk_school_tag`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`school_id` AS `pivot__school_id`,`pivot`.`name` AS `pivot__name`,`pivot`.`img_url` AS `pivot__img_url` FROM `gk_school_tag` INNER JOIN `gk_school_galary` `pivot` ON `pivot`.`school_id`=`gk_school_tag`.`id` WHERE `pivot`.`school_id` = '13060' [ RunTime:0.011502s ]
SHOW FULL COLUMNS FROM `gk_portal_post` [ RunTime:0.000920s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `gk_portal_post` `post` INNER JOIN `gk_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`.`post_title` LIKE '%温哥华岛大学%' ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1746511875' ) GROUP BY `post`.`id` ORDER BY `post`.`post_hits` DESC LIMIT 5 [ RunTime:0.184920s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `gk_portal_post` `post` INNER JOIN `gk_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` < '1746511875' ) GROUP BY `post`.`id` ORDER BY `post`.`post_hits` DESC LIMIT 5 [ RunTime:0.490788s ]