SHOW FULL COLUMNS FROM `hook` [ RunTime:0.000547s ]
SELECT `hook`,`id` FROM `hook` WHERE ( ( `app` = '' OR `app` = 'cmf' ) AND `type` = 3 ) OR `type` = 1 [ RunTime:0.000405s ]
SHOW FULL COLUMNS FROM `hook_plugin` [ RunTime:0.000389s ]
SELECT `hook`,`plugin` FROM `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.000344s ]
SELECT `hook` FROM `hook` WHERE `app` = 'portal' [ RunTime:0.000387s ]
SELECT `hook`,`plugin` FROM `hook_plugin` WHERE `status` = 1 AND `hook` IN ('portal_before_assign_article','portal_admin_after_save_article','portal_admin_article_index_view','portal_admin_article_add_view','portal_admin_article_edit_view','portal_admin_category_index_view','portal_admin_category_add_view','portal_admin_category_edit_view','portal_admin_page_index_view','portal_admin_page_add_view','portal_admin_page_edit_view','portal_admin_tag_index_view','portal_admin_article_edit_view_right_sidebar','portal_admin_article_edit_view_main') ORDER BY `list_order` ASC [ RunTime:0.000339s ]
SHOW FULL COLUMNS FROM `option` [ RunTime:0.000457s ]
SELECT `option_value` FROM `option` WHERE `option_name` = 'cdn_settings' LIMIT 1 [ RunTime:0.000233s ]
SHOW FULL COLUMNS FROM `product_class` [ RunTime:0.000449s ]
SELECT `id`,`parent_id`,`name`,more img FROM `product_class` WHERE ( status = 1 AND delete_time = 0 ) ORDER BY `list_order` DESC,`id` ASC [ RunTime:0.000370s ]
SELECT `option_value` FROM `option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000181s ]
SHOW FULL COLUMNS FROM `type` [ RunTime:0.000379s ]
SELECT `id`,`name`,`img` FROM `type` WHERE ( isshow = 1 ) ORDER BY `list_order` DESC,`id` ASC [ RunTime:0.000215s ]
SHOW FULL COLUMNS FROM `portal_category` [ RunTime:0.000333s ]
SELECT `id`,`parent_id`,`name` FROM `portal_category` WHERE ( status = 1 AND delete_time = 0 ) ORDER BY `list_order` DESC,`id` ASC [ RunTime:0.000233s ]
SHOW FULL COLUMNS FROM `brand` [ RunTime:0.000366s ]
SELECT * FROM `brand` WHERE ( isshow = 1 ) ORDER BY `list_order` DESC,`id` ASC [ RunTime:0.001138s ]
SHOW FULL COLUMNS FROM `slide_item` [ RunTime:0.000514s ]
SELECT `title`,`image`,`url` FROM `slide_item` WHERE `slide_id` = 7 AND `status` = 1 ORDER BY `list_order` DESC,`id` DESC LIMIT 1 [ RunTime:0.000295s ]
SHOW FULL COLUMNS FROM `portal_category_post` [ RunTime:0.000519s ]
SELECT COUNT(*) AS think_count FROM `portal_category_post` `a` LEFT JOIN `portal_post` `b` ON `a`.`post_id`=`b`.`id` WHERE ( (a.category_id = '4'
OR a.category_id IN (SELECT id FROM portal_category WHERE parent_id = '4')
)
AND b.post_status = 1
AND a.status = 1
AND b.delete_time=0 ) LIMIT 1 [ RunTime:0.000478s ]
SELECT `a`.`category_id`,`b`.`id`,`b`.`post_title`,`b`.`post_excerpt`,`b`.`post_hits`,`b`.`more` FROM `portal_category_post` `a` LEFT JOIN `portal_post` `b` ON `a`.`post_id`=`b`.`id` WHERE ( (a.category_id = '4'
OR a.category_id IN (SELECT id FROM portal_category WHERE parent_id = '4')
)
AND b.post_status = 1
AND a.status = 1
AND b.delete_time=0 ) ORDER BY `a`.`list_order` DESC,`b`.`id` DESC LIMIT 0,10 [ RunTime:0.000455s ]
SELECT * FROM `portal_category` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000248s ]
SELECT `option_value` FROM `option` WHERE `option_name` = 'site_info' LIMIT 1 [ RunTime:0.000175s ]
SHOW FULL COLUMNS FROM `theme_file` [ RunTime:0.000437s ]
SELECT * FROM `theme_file` WHERE `theme` = 'default' [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `theme` [ RunTime:0.000414s ]
SELECT `more`,`file`,`id` FROM `theme_file` WHERE `theme` = 'default' AND ( `is_public` = 1 OR `file` = 'portal/solution/index' ) ORDER BY `is_public` DESC [ RunTime:0.000234s ]