SHOW FULL COLUMNS FROM `gk_hook` [ RunTime:0.002022s ]
SELECT `hook`,`id` FROM `gk_hook` WHERE ( ( `app` = '' OR `app` = 'cmf' ) AND `type` = 3 ) OR `type` = 1 [ RunTime:0.005847s ]
SHOW FULL COLUMNS FROM `gk_hook_plugin` [ RunTime:0.005280s ]
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.003085s ]
SHOW FULL COLUMNS FROM `gk_portal_area` [ RunTime:0.002243s ]
SELECT * FROM `gk_portal_area` WHERE `areacode` = 510522 AND `status` = 1 LIMIT 1 [ RunTime:0.014255s ]
SHOW FULL COLUMNS FROM `gk_portal_category` [ RunTime:0.002582s ]
SELECT `id` FROM `gk_portal_category` WHERE `status` = 1 [ RunTime:0.000869s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `areacode` = 51 LIMIT 1 [ RunTime:0.001149s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `parent_id` = 0 [ RunTime:0.005842s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `areacode` = 5105 LIMIT 1 [ RunTime:0.001346s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `parent_id` = 51 [ RunTime:0.005556s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `areacode` = 510522 LIMIT 1 [ RunTime:0.001513s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `parent_id` = 5105 [ RunTime:0.011253s ]
SHOW FULL COLUMNS FROM `gk_portal_category_post` [ RunTime:0.003063s ]
SELECT `post_id` FROM `gk_portal_category_post` WHERE `status` = 1 AND `category_id` IN (2,4) [ RunTime:0.001789s ]
SHOW FULL COLUMNS FROM `gk_portal_post` [ RunTime:0.009532s ]
SELECT COUNT(*) AS think_count FROM `gk_portal_post` WHERE `post_status` = 1 AND `post_areacode` LIKE '510522%' AND `id` IN (1,2,3,4,7,6,10,15,16,17,18,19,20,13,14,23,24,25,26) [ RunTime:0.001587s ]
SELECT `id`,`name` FROM `gk_portal_category` WHERE `status` = 1 [ RunTime:0.001053s ]
SHOW FULL COLUMNS FROM `gk_theme_file` [ RunTime:0.002350s ]
SELECT * FROM `gk_theme_file` WHERE `theme` = 'simpleboot3' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.001612s ]
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.001908s ]
SHOW FULL COLUMNS FROM `gk_nav` [ RunTime:0.002366s ]
SELECT `id` FROM `gk_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.001538s ]
SHOW FULL COLUMNS FROM `gk_nav_menu` [ RunTime:0.003737s ]
SELECT * FROM `gk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.001898s ]
SHOW FULL COLUMNS FROM `gk_link` [ RunTime:0.003722s ]
SELECT * FROM `gk_link` WHERE `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.001835s ]