SHOW FULL COLUMNS FROM `hook` [ RunTime:0.000476s ]
SELECT `hook`,`id` FROM `hook` WHERE ( ( `app` = '' OR `app` = 'cmf' ) AND `type` = 3 ) OR `type` = 1 [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `hook_plugin` [ RunTime:0.000340s ]
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.000323s ]
SHOW FULL COLUMNS FROM `slide_item` [ RunTime:0.000725s ]
SELECT `title`,`image`,`url` FROM `slide_item` WHERE `slide_id` = 3 AND `status` = 1 ORDER BY `list_order` DESC,`id` DESC LIMIT 99 [ RunTime:0.000347s ]
SELECT `title`,`image`,`url` FROM `slide_item` WHERE `slide_id` = 4 AND `status` = 1 ORDER BY `list_order` DESC,`id` DESC LIMIT 99 [ RunTime:0.000302s ]
SELECT `title`,`image`,`url` FROM `slide_item` WHERE `slide_id` = 5 AND `status` = 1 ORDER BY `list_order` DESC,`id` DESC LIMIT 99 [ RunTime:0.000263s ]
SELECT `title`,`image`,`url` FROM `slide_item` WHERE `slide_id` = 6 AND `status` = 1 ORDER BY `list_order` DESC,`id` DESC LIMIT 99 [ RunTime:0.000233s ]
SELECT `title`,`image`,`url` FROM `slide_item` WHERE `slide_id` = 7 AND `status` = 1 ORDER BY `list_order` DESC,`id` DESC LIMIT 99 [ RunTime:0.000183s ]
SHOW FULL COLUMNS FROM `portal_category` [ RunTime:0.000456s ]
SELECT * FROM `portal_category` WHERE ( status=1 and parent_id=7 ) ORDER BY `list_order` ASC [ RunTime:0.000244s ]
SHOW FULL COLUMNS FROM `portal_category_post` [ RunTime:0.000408s ]
SELECT COUNT(*) AS think_count FROM `portal_category_post` `a` LEFT JOIN `portal_post` `b` ON `a`.`post_id`=`b`.`id` LEFT JOIN `portal_category` `c` ON `a`.`category_id`=`c`.`id` WHERE ( (a.category_id IN (SELECT id FROM portal_category WHERE parent_id = 8) AND b.post_status = 1 AND
a.status = 1 AND b.delete_time=0) OR (a.category_id = 8 AND b.post_status = 1 AND a.status = 1 AND b.delete_time=0 )
AND b.post_status = 1 AND a.status = 1 AND b.delete_time=0 AND post_status = 1 ) [ RunTime:0.000492s ]
SELECT b.post_title, b.post_content, b.post_excerpt, b.post_keywords, b.post_hits, b.more, FROM_UNIXTIME(b.create_time, '%Y/%m/%d') time, b.published_time, b.id, c.name cname FROM `portal_category_post` `a` LEFT JOIN `portal_post` `b` ON `a`.`post_id`=`b`.`id` LEFT JOIN `portal_category` `c` ON `a`.`category_id`=`c`.`id` WHERE ( (a.category_id IN (SELECT id FROM portal_category WHERE parent_id = 8) AND b.post_status = 1 AND
a.status = 1 AND b.delete_time=0) OR (a.category_id = 8 AND b.post_status = 1 AND a.status = 1 AND b.delete_time=0 )
AND b.post_status = 1 AND a.status = 1 AND b.delete_time=0 AND post_status = 1 ) ORDER BY `a`.`list_order` DESC,`b`.`id` DESC LIMIT 0,12 [ RunTime:0.000505s ]
SHOW FULL COLUMNS FROM `theme_file` [ RunTime:0.000571s ]
SELECT * FROM `theme_file` WHERE `theme` = 'default' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000254s ]
SELECT `more`,`file`,`id` FROM `theme_file` WHERE `theme` = 'default' AND ( `is_public` = 1 OR `file` = 'portal/news_dynamic_list' ) ORDER BY `is_public` DESC [ RunTime:0.000408s ]
SHOW FULL COLUMNS FROM `option` [ RunTime:0.000694s ]
SELECT `option_value` FROM `option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000247s ]