[ SQL ] SHOW COLUMNS FROM `cg_hook_plugin` [ RunTime:0.000459s ]
[ SQL ] SELECT `hook`,`plugin` FROM `cg_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.000349s ]
[ SQL ] SHOW COLUMNS FROM `cg_sucai` [ RunTime:0.000545s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `cg_sucai` `a` INNER JOIN `cg_portal_category` `b` ON `b`.`id`=`a`.`classify` WHERE `state` = 1 AND `classify` IN (14,15,16,17,18,19,21,22,23,24,26,27,28,29,30,32,33,34,35,36,38,39,40,41,42,43,96,98,109,110,111,112,113,114,115,123,124,125,127,128,129,147,148) AND ( `keyword` LIKE '%DJ宣传片%' OR `title` LIKE '%DJ宣传片%' ) [ RunTime:0.012711s ]
[ SQL ] SELECT `a`.*,`b`.`name`,`b`.`seo_keywords` FROM `cg_sucai` `a` INNER JOIN `cg_portal_category` `b` ON `b`.`id`=`a`.`classify` WHERE `state` = 1 AND `classify` IN (14,15,16,17,18,19,21,22,23,24,26,27,28,29,30,32,33,34,35,36,38,39,40,41,42,43,96,98,109,110,111,112,113,114,115,123,124,125,127,128,129,147,148) AND ( `keyword` LIKE '%DJ宣传片%' OR `title` LIKE '%DJ宣传片%' ) ORDER BY `a`.`id` DESC LIMIT 0,20 [ RunTime:0.057724s ]