SHOW FULL COLUMNS FROM `gz_hook` [ RunTime:0.001660s ]
SELECT `hook`,`id` FROM `gz_hook` WHERE ( ( `app` = '' OR `app` = 'cmf' ) AND `type` = 3 ) OR `type` = 1 [ RunTime:0.001172s ]
SHOW FULL COLUMNS FROM `gz_hook_plugin` [ RunTime:0.001311s ]
SELECT `hook`,`plugin` FROM `gz_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','app_dispatch') ORDER BY `list_order` ASC [ RunTime:0.001047s ]
SHOW FULL COLUMNS FROM `gz_period` [ RunTime:0.001486s ]
SELECT * FROM `gz_period` WHERE `status` = 1 ORDER BY `sort_order` ASC [ RunTime:0.000661s ]
SHOW FULL COLUMNS FROM `gz_grade` [ RunTime:0.001443s ]
SELECT * FROM `gz_grade` WHERE `status` = 1 ORDER BY `sort_order` ASC [ RunTime:0.000728s ]
SELECT * FROM `gz_period` WHERE `id` IN (10,11,12,13) [ RunTime:0.000850s ]
SHOW FULL COLUMNS FROM `gz_subject` [ RunTime:0.001438s ]
SELECT * FROM `gz_subject` WHERE `status` = 1 ORDER BY `sort_order` ASC [ RunTime:0.000768s ]
SELECT * FROM `gz_period` WHERE `id` IN (0,10,11,12,13) [ RunTime:0.000974s ]
SHOW FULL COLUMNS FROM `gz_content` [ RunTime:0.001809s ]
SELECT COUNT(*) AS think_count FROM `gz_content` WHERE `status` = 'approved' LIMIT 1 [ RunTime:0.000984s ]
SELECT * FROM `gz_content` WHERE `status` = 'approved' ORDER BY `id` DESC LIMIT 144,12 [ RunTime:0.002439s ]
SELECT * FROM `gz_period` WHERE `id` IN (12,13,11,10) [ RunTime:0.000800s ]
SELECT * FROM `gz_grade` WHERE `id` IN (38,39,37,36) [ RunTime:0.000717s ]
SHOW FULL COLUMNS FROM `gz_option` [ RunTime:0.001650s ]
SELECT `option_value` FROM `gz_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000865s ]
SHOW FULL COLUMNS FROM `gz_theme_file` [ RunTime:0.001610s ]
SELECT * FROM `gz_theme_file` WHERE `theme` = 'default' AND `file` = 'demo/index' LIMIT 1 [ RunTime:0.000991s ]
SELECT `more`,`file`,`id` FROM `gz_theme_file` WHERE `theme` = 'default' AND ( `is_public` = 1 OR `file` = 'post/index' ) ORDER BY `is_public` DESC [ RunTime:0.000762s ]