SHOW FULL COLUMNS FROM `cmf_hook` [ RunTime:0.002898s ]
SELECT `hook`,`id` FROM `cmf_hook` WHERE ( ( `app` = '' OR `app` = 'cmf' ) AND `type` = 3 ) OR `type` = 1 [ RunTime:0.001044s ]
SHOW FULL COLUMNS FROM `cmf_hook_plugin` [ RunTime:0.002360s ]
SELECT `hook`,`plugin` FROM `cmf_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','app_dispatch') ORDER BY `list_order` ASC [ RunTime:0.001108s ]
SHOW FULL COLUMNS FROM `cmf_portal_post` [ RunTime:0.002756s ]
SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = '1' AND `post`.`post_status` = '1' AND `post`.`delete_time` = '0' AND `relation`.`category_id` = '2' AND `relation`.`post_id` = '12' AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1732390975' ) LIMIT 1 [ RunTime:0.001291s ]
SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = '1' AND `post`.`post_status` = '1' AND `post`.`delete_time` = '0' AND `relation`.`category_id` = '2' AND `relation`.`post_id` < '12' AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1732390975' ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001381s ]
SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = '1' AND `post`.`post_status` = '1' AND `post`.`delete_time` = '0' AND `relation`.`category_id` = '2' AND `relation`.`post_id` > '12' AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1732390975' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.001110s ]
SHOW FULL COLUMNS FROM `cmf_portal_category` [ RunTime:0.002321s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 2 AND `status` = 1 LIMIT 1 [ RunTime:0.000943s ]
UPDATE `cmf_portal_post` SET `post_hits` = `post_hits` + 1 WHERE `id` = 12 [ RunTime:0.005150s ]
SHOW FULL COLUMNS FROM `cmf_theme_file` [ RunTime:0.003295s ]
SELECT * FROM `cmf_theme_file` WHERE `theme` = 'tinyape' AND `file` = 'portal/about' LIMIT 1 [ RunTime:0.001075s ]
SELECT `more`,`file`,`id` FROM `cmf_theme_file` WHERE `theme` = 'tinyape' AND ( `is_public` = 1 OR `file` = 'portal/article' ) ORDER BY `is_public` DESC [ RunTime:0.000826s ]
SHOW FULL COLUMNS FROM `cmf_nav` [ RunTime:0.002274s ]
SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.000793s ]
SHOW FULL COLUMNS FROM `cmf_nav_menu` [ RunTime:0.002180s ]
SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.001012s ]
SHOW FULL COLUMNS FROM `cmf_option` [ RunTime:0.002291s ]
SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000697s ]
SHOW FULL COLUMNS FROM `cmf_user` [ RunTime:0.002756s ]
SELECT * FROM `cmf_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000938s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `cmf_portal_post` `post` INNER JOIN `cmf_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` = '2' ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1732390975' ) GROUP BY `post`.`id` ORDER BY `post`.`post_hits` DESC LIMIT 5 [ RunTime:0.001675s ]
SHOW FULL COLUMNS FROM `cmf_portal_tag` [ RunTime:0.002456s ]
SELECT * FROM `cmf_portal_tag` `tags` INNER JOIN `cmf_portal_tag_post` `tag_post` ON `tags`.`id`=`tag_post`.`tag_id` WHERE `tags`.`status` = '1' AND `tag_post`.`post_id` = '12' [ RunTime:0.000886s ]