SHOW FULL COLUMNS FROM `cmf_hook` [ RunTime:0.015473s ]
SELECT `hook`,`id` FROM `cmf_hook` WHERE ( ( `app` = '' OR `app` = 'cmf' ) AND `type` = 3 ) OR `type` = 1 [ RunTime:0.014996s ]
SHOW FULL COLUMNS FROM `cmf_hook_plugin` [ RunTime:0.015309s ]
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','app_dispatch') ORDER BY `list_order` ASC [ RunTime:0.015065s ]
SHOW FULL COLUMNS FROM `cmf_portal_post` [ RunTime:0.015694s ]
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` = '42' AND `relation`.`post_id` = '45' AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1764472984' ) LIMIT 1 [ RunTime:0.015551s ]
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` = '42' AND `relation`.`post_id` < '45' AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1764472985' ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.015747s ]
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` = '42' AND `relation`.`post_id` > '45' AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1764472985' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.015565s ]
SHOW FULL COLUMNS FROM `cmf_portal_category` [ RunTime:0.015356s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 42 AND `status` = 1 LIMIT 1 [ RunTime:0.014964s ]
UPDATE `cmf_portal_post` SET `post_hits` = `post_hits` + 1 WHERE `id` = 45 [ RunTime:0.024353s ]
SHOW FULL COLUMNS FROM `cmf_theme_file` [ RunTime:0.015581s ]
SELECT * FROM `cmf_theme_file` WHERE `theme` = 'storage' AND `file` = 'portal/article_article' LIMIT 1 [ RunTime:0.014955s ]
SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'storage' AND ( `is_public` = 1 OR `file` = 'portal/article_article17' ) [ RunTime:0.014846s ]
SHOW FULL COLUMNS FROM `cmf_nav` [ RunTime:0.015489s ]
SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.014887s ]
SHOW FULL COLUMNS FROM `cmf_nav_menu` [ RunTime:0.016511s ]
SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.015107s ]
SHOW FULL COLUMNS FROM `cmf_slide` [ RunTime:0.015447s ]
SELECT COUNT(*) AS think_count FROM `cmf_slide` WHERE `id` = 1 AND `status` = 1 AND `delete_time` = 0 LIMIT 1 [ RunTime:0.015036s ]
SHOW FULL COLUMNS FROM `cmf_slide_item` [ RunTime:0.015635s ]
SELECT * FROM `cmf_slide_item` WHERE `status` = 1 AND `slide_id` = 1 ORDER BY `list_order` ASC [ RunTime:0.015090s ]
SHOW FULL COLUMNS FROM `cmf_option` [ RunTime:0.015321s ]
SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.015601s ]
SELECT `path` FROM `cmf_portal_category` WHERE `id` = 42 LIMIT 1 [ RunTime:0.014909s ]
SELECT `name`,`id` FROM `cmf_portal_category` WHERE `id` = 3 LIMIT 1 [ RunTime:0.014886s ]
SELECT `path` FROM `cmf_portal_category` WHERE `id` = 42 LIMIT 1 [ RunTime:0.014719s ]
SELECT `name`,`id` FROM `cmf_portal_category` WHERE `id` = 3 LIMIT 1 [ RunTime:0.014771s ]
SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 3 ORDER BY `list_order` ASC [ RunTime:0.015192s ]
SELECT `id` FROM `cmf_portal_category` WHERE ( `path` LIKE '%-3-%' OR `path` LIKE '3-%' OR `path` LIKE '%-3' OR `path` = '3' ) [ RunTime:0.015016s ]
SELECT post.*,min(category_post.category_id) as category_id,category.name as category_name FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` LEFT JOIN `cmf_portal_category` `category` ON `category`.`id`=`category_post`.`category_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` IN ('3','40','41','42','44','45','46','47','48','49') ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1764472985' ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 999 [ RunTime:0.039273s ]
SELECT `id` FROM `cmf_portal_category` WHERE ( `path` LIKE '%-2-%' OR `path` LIKE '2-%' OR `path` LIKE '%-2' OR `path` = '2' ) [ RunTime:0.015328s ]
SELECT post.*,min(category_post.category_id) as category_id,category.name as category_name FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` LEFT JOIN `cmf_portal_category` `category` ON `category`.`id`=`category_post`.`category_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` IN ('2','23','24') ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1764472985' ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 7 [ RunTime:0.161274s ]
SELECT `path` FROM `cmf_portal_category` WHERE `id` = 42 LIMIT 1 [ RunTime:0.015063s ]
SELECT * FROM `cmf_portal_category` WHERE `id` IN (0,3) ORDER BY `path` ASC [ RunTime:0.015072s ]
SHOW FULL COLUMNS FROM `cmf_user` [ RunTime:0.015564s ]
SELECT * FROM `cmf_user` WHERE `id` = 2 LIMIT 1 [ RunTime:0.014983s ]
SHOW FULL COLUMNS FROM `cmf_portal_tag` [ RunTime:0.015440s ]
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` = '45' [ RunTime:0.015273s ]
SELECT `id` FROM `cmf_portal_category` WHERE ( `path` LIKE '%-42-%' OR `path` LIKE '42-%' OR `path` LIKE '%-42' OR `path` = '42' ) [ RunTime:0.014897s ]
SELECT post.*,min(category_post.category_id) as category_id,category.name as category_name FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` LEFT JOIN `cmf_portal_category` `category` ON `category`.`id`=`category_post`.`category_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `category_post`.`category_id` = '42' ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1764472985' ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 100 [ RunTime:0.015631s ]
SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.014732s ]
SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.014751s ]
SHOW FULL COLUMNS FROM `cmf_link` [ RunTime:0.015618s ]
SELECT * FROM `cmf_link` WHERE `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.015044s ]
SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.014772s ]
SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.014855s ]
SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 3 ORDER BY `list_order` ASC LIMIT 0,10 [ RunTime:0.015639s ]