SHOW FULL COLUMNS FROM `gk_hook` [ RunTime:0.006923s ]
SELECT `hook`,`id` FROM `gk_hook` WHERE ( ( `app` = '' OR `app` = 'cmf' ) AND `type` = 3 ) OR `type` = 1 [ RunTime:0.013900s ]
SHOW FULL COLUMNS FROM `gk_hook_plugin` [ RunTime:0.032210s ]
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.008583s ]
SHOW FULL COLUMNS FROM `gk_portal_area` [ RunTime:0.002836s ]
SELECT * FROM `gk_portal_area` WHERE `areacode` = 42 AND `status` = 1 LIMIT 1 [ RunTime:0.001825s ]
SHOW FULL COLUMNS FROM `gk_portal_category` [ RunTime:0.002289s ]
SELECT `id` FROM `gk_portal_category` WHERE `status` = 1 [ RunTime:0.037563s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `areacode` = 42 LIMIT 1 [ RunTime:0.001681s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `parent_id` = 0 [ RunTime:0.004998s ]
SELECT * FROM `gk_portal_area` WHERE `status` = 1 AND `parent_id` = 42 [ RunTime:0.008468s ]
SHOW FULL COLUMNS FROM `gk_portal_category_post` [ RunTime:0.021471s ]
SELECT `post_id` FROM `gk_portal_category_post` WHERE `status` = 1 AND `category_id` IN (2,9) [ RunTime:0.013621s ]
SHOW FULL COLUMNS FROM `gk_portal_post` [ RunTime:0.004499s ]
SELECT COUNT(*) AS think_count FROM `gk_portal_post` WHERE `post_status` = 1 AND `post_areacode` LIKE '42%' AND `id` IN (1,2,3,4,7,6,10,15,16,17,18,19,20,13,14,23,24,25,26) [ RunTime:0.021838s ]
SELECT * FROM `gk_portal_post` WHERE `post_status` = 1 AND `post_areacode` LIKE '42%' AND `id` IN (1,2,3,4,7,6,10,15,16,17,18,19,20,13,14,23,24,25,26) ORDER BY `published_time` DESC LIMIT 5,5 [ RunTime:0.005956s ]
SELECT `id`,`name` FROM `gk_portal_category` WHERE `status` = 1 [ RunTime:0.013106s ]
SHOW FULL COLUMNS FROM `gk_theme_file` [ RunTime:0.058585s ]
SELECT * FROM `gk_theme_file` WHERE `theme` = 'simpleboot3' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.001869s ]
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.001482s ]
SHOW FULL COLUMNS FROM `gk_nav` [ RunTime:0.002000s ]
SELECT `id` FROM `gk_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.001148s ]
SHOW FULL COLUMNS FROM `gk_nav_menu` [ RunTime:0.002158s ]
SELECT * FROM `gk_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.001865s ]
SHOW FULL COLUMNS FROM `gk_link` [ RunTime:0.002655s ]
SELECT * FROM `gk_link` WHERE `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.001614s ]