SHOW FULL COLUMNS FROM `gk_hook` [ RunTime:0.002803s ]
SELECT `hook`,`id` FROM `gk_hook` WHERE ( ( `app` = '' OR `app` = 'cmf' ) AND `type` = 3 ) OR `type` = 1 [ RunTime:0.001699s ]
SHOW FULL COLUMNS FROM `gk_hook_plugin` [ RunTime:0.002382s ]
SELECT `hook`,`plugin` FROM `gk_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.002419s ]
SHOW FULL COLUMNS FROM `gk_portal_area` [ RunTime:0.001300s ]
SELECT * FROM `gk_portal_area` WHERE `areacode` = 21 AND `status` = 1 LIMIT 1 [ RunTime:0.000794s ]
SHOW FULL COLUMNS FROM `gk_portal_category` [ RunTime:0.001135s ]
SELECT `id` FROM `gk_portal_category` WHERE `status` = 1 [ RunTime:0.000665s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `areacode` = 21 LIMIT 1 [ RunTime:0.000650s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `parent_id` = 0 [ RunTime:0.002911s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `parent_id` = 21 [ RunTime:0.003054s ]
SHOW FULL COLUMNS FROM `gk_portal_category_post` [ RunTime:0.001162s ]
SELECT `post_id` FROM `gk_portal_category_post` WHERE `status` = 1 AND `category_id` IN (11,10) [ RunTime:0.000907s ]
SHOW FULL COLUMNS FROM `gk_portal_post` [ RunTime:0.001766s ]
SELECT COUNT(*) AS think_count FROM `gk_portal_post` WHERE `post_status` = 1 AND `post_areacode` LIKE '21%' AND 0 = 1 [ RunTime:0.000604s ]
SELECT `id`,`name` FROM `gk_portal_category` WHERE `status` = 1 [ RunTime:0.000679s ]
SHOW FULL COLUMNS FROM `gk_theme_file` [ RunTime:0.001076s ]
SELECT * FROM `gk_theme_file` WHERE `theme` = 'simpleboot3' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000716s ]
SELECT `more`,`file`,`id` FROM `gk_theme_file` WHERE `theme` = 'simpleboot3' AND ( `is_public` = 1 OR `file` = 'portal/./area' ) ORDER BY `is_public` DESC [ RunTime:0.001756s ]
SHOW FULL COLUMNS FROM `gk_nav` [ RunTime:0.002218s ]
SELECT `id` FROM `gk_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.001649s ]
SHOW FULL COLUMNS FROM `gk_nav_menu` [ RunTime:0.001884s ]
SELECT * FROM `gk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.001252s ]
SHOW FULL COLUMNS FROM `gk_link` [ RunTime:0.001982s ]
SELECT * FROM `gk_link` WHERE `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.001330s ]