SHOW FULL COLUMNS FROM `gk_hook` [ RunTime:0.002352s ]
SELECT `hook`,`id` FROM `gk_hook` WHERE ( ( `app` = '' OR `app` = 'cmf' ) AND `type` = 3 ) OR `type` = 1 [ RunTime:0.005012s ]
SHOW FULL COLUMNS FROM `gk_hook_plugin` [ RunTime:0.001830s ]
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.002248s ]
SHOW FULL COLUMNS FROM `gk_portal_area` [ RunTime:0.004982s ]
SELECT * FROM `gk_portal_area` WHERE `areacode` = 5109 AND `status` = 1 LIMIT 1 [ RunTime:0.001617s ]
SHOW FULL COLUMNS FROM `gk_portal_category` [ RunTime:0.002604s ]
SELECT `id` FROM `gk_portal_category` WHERE `status` = 1 [ RunTime:0.001334s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `areacode` = 51 LIMIT 1 [ RunTime:0.001244s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `parent_id` = 0 [ RunTime:0.005070s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `areacode` = 5109 LIMIT 1 [ RunTime:0.001641s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `parent_id` = 51 [ RunTime:0.003191s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `parent_id` = 5109 [ RunTime:0.005241s ]
SHOW FULL COLUMNS FROM `gk_portal_category_post` [ RunTime:0.002099s ]
SELECT `post_id` FROM `gk_portal_category_post` WHERE `status` = 1 AND `category_id` IN (9,2) [ RunTime:0.001352s ]
SHOW FULL COLUMNS FROM `gk_portal_post` [ RunTime:0.002351s ]
SELECT COUNT(*) AS think_count FROM `gk_portal_post` WHERE `post_status` = 1 AND `post_areacode` LIKE '5109%' AND `id` IN (1,2,3,4,7,6,10,15,16,17,18,19,20,13,14,23,24,25,26) [ RunTime:0.001614s ]
SELECT `id`,`name` FROM `gk_portal_category` WHERE `status` = 1 [ RunTime:0.001338s ]
SHOW FULL COLUMNS FROM `gk_theme_file` [ RunTime:0.002207s ]
SELECT * FROM `gk_theme_file` WHERE `theme` = 'simpleboot3' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.001136s ]
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.002154s ]
SHOW FULL COLUMNS FROM `gk_nav` [ RunTime:0.028205s ]
SELECT `id` FROM `gk_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.014251s ]
SHOW FULL COLUMNS FROM `gk_nav_menu` [ RunTime:0.267376s ]
SELECT * FROM `gk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.001346s ]
SHOW FULL COLUMNS FROM `gk_link` [ RunTime:0.045080s ]
SELECT * FROM `gk_link` WHERE `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.014754s ]