SHOW FULL COLUMNS FROM `hook` [ RunTime:0.000568s ]
SELECT `hook`,`id` FROM `hook` WHERE ( ( `app` = '' OR `app` = 'cmf' ) AND `type` = 3 ) OR `type` = 1 [ RunTime:0.000332s ]
SHOW FULL COLUMNS FROM `hook_plugin` [ RunTime:0.000324s ]
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.000402s ]
SHOW FULL COLUMNS FROM `slide_item` [ RunTime:0.000720s ]
SELECT `title`,`image`,`url` FROM `slide_item` WHERE `slide_id` = 1 AND `status` = 1 ORDER BY `list_order` DESC,`id` DESC LIMIT 99 [ RunTime:0.000319s ]
SHOW FULL COLUMNS FROM `portal_post` [ RunTime:0.000483s ]
SELECT `a`.*,b.category_id term_id FROM `portal_post` `a` LEFT JOIN `portal_category_post` `b` ON `a`.`id`=`b`.`post_id` LEFT JOIN `portal_category` `c` ON `c`.`id`=`b`.`category_id` WHERE ( a.id = 12 AND a.post_status = 1 AND b.status = 1 AND a.delete_time=0 ) LIMIT 1 [ RunTime:0.000523s ]
SHOW FULL COLUMNS FROM `option` [ RunTime:0.000571s ]
SELECT `option_value` FROM `option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000303s ]
UPDATE `portal_post` SET `post_hits` = `post_hits` + 1 WHERE `id` = 12 [ RunTime:0.004541s ]
SHOW FULL COLUMNS FROM `portal_category` [ RunTime:0.000581s ]
SELECT * FROM `portal_category` WHERE `id` = 32 LIMIT 1 [ RunTime:0.000299s ]
SHOW FULL COLUMNS FROM `theme_file` [ RunTime:0.000603s ]
SELECT * FROM `theme_file` WHERE `theme` = 'default' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000264s ]
SELECT `more`,`file`,`id` FROM `theme_file` WHERE `theme` = 'default' AND ( `is_public` = 1 OR `file` = 'portal/news_info' ) ORDER BY `is_public` DESC [ RunTime:0.000394s ]