SHOW FULL COLUMNS FROM `kd_hook` [ RunTime:0.001236s ]
SELECT `hook`,`id` FROM `kd_hook` WHERE ( ( `app` = '' OR `app` = 'cmf' ) AND `type` = 3 ) OR `type` = 1 [ RunTime:0.000695s ]
SHOW FULL COLUMNS FROM `kd_hook_plugin` [ RunTime:0.001155s ]
SELECT `hook`,`plugin` FROM `kd_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.000457s ]
SHOW FULL COLUMNS FROM `kd_portal_category` [ RunTime:0.001248s ]
SELECT * FROM `kd_portal_category` WHERE `id` = '2' AND `status` = 1 LIMIT 1 [ RunTime:0.000444s ]
SELECT `path` FROM `kd_portal_category` WHERE `id` = '2' LIMIT 1 [ RunTime:0.000255s ]
SELECT * FROM `kd_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `path` LIKE '0-1-2-%' [ RunTime:0.000338s ]
SHOW FULL COLUMNS FROM `kd_portal_post` [ RunTime:0.001154s ]
SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `kd_portal_post` `post` INNER JOIN `kd_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`.`status` = '1' AND ( `post`.`post_title` LIKE '%植物油蒸汽机%' OR `post`.`post_excerpt` LIKE '%植物油蒸汽机%' OR `post`.`post_content` LIKE '%植物油蒸汽机%' ) AND ( `category_post`.`category_id` = '2' ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1786282176' ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.000608s ]
SELECT * FROM `kd_portal_category` WHERE `id` = '1' AND `status` = 1 LIMIT 1 [ RunTime:0.000448s ]
SELECT `id`,`name` FROM `kd_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = '1' ORDER BY `list_order` ASC [ RunTime:0.000356s ]
SHOW FULL COLUMNS FROM `kd_theme_file` [ RunTime:0.001099s ]
SELECT * FROM `kd_theme_file` WHERE `theme` = 'kedao' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000405s ]
SELECT * FROM `kd_theme_file` WHERE `theme` = 'kedao' [ RunTime:0.000426s ]
SHOW FULL COLUMNS FROM `kd_theme` [ RunTime:0.001210s ]
UPDATE `kd_theme` SET `name` = 'kedao' , `version` = '1.0.0' , `demo_url` = '' , `author` = 'Kedao' , `author_url` = 'http://www.fstjjn.com' , `keywords` = 'kedao,thinkcmf,portal,company website' , `description` = 'Kedao company website theme migrated from static HTML pages.' WHERE `theme` = 'kedao' [ RunTime:0.004693s ]
SELECT `more`,`file`,`id`,`is_public` FROM `kd_theme_file` WHERE `theme` = 'kedao' AND ( `is_public` = 1 OR `file` = 'portal/list_product' ) ORDER BY `is_public` DESC [ RunTime:0.000546s ]
SHOW FULL COLUMNS FROM `kd_nav_menu` [ RunTime:0.001261s ]
SELECT * FROM `kd_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000469s ]
SHOW FULL COLUMNS FROM `kd_slide` [ RunTime:0.001154s ]
SELECT COUNT(*) AS think_count FROM `kd_slide` WHERE `id` = 3 AND `status` = 1 AND `delete_time` = 0 [ RunTime:0.000460s ]
SHOW FULL COLUMNS FROM `kd_slide_item` [ RunTime:0.001590s ]
SELECT * FROM `kd_slide_item` WHERE `status` = 1 AND `slide_id` = 3 ORDER BY `list_order` ASC [ RunTime:0.000474s ]
SELECT COUNT(*) AS think_count FROM `kd_slide` WHERE `id` = 6 AND `status` = 1 AND `delete_time` = 0 [ RunTime:0.000393s ]
SELECT * FROM `kd_slide_item` WHERE `status` = 1 AND `slide_id` = 6 ORDER BY `list_order` ASC [ RunTime:0.000389s ]
SELECT * FROM `kd_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000487s ]