SHOW FULL COLUMNS FROM `xn_keyword` [ RunTime:0.014803s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 1 ORDER BY `sort` DESC [ RunTime:0.003070s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 2 ORDER BY `sort` DESC [ RunTime:0.003024s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 3 ORDER BY `sort` DESC [ RunTime:0.002993s ]
SHOW FULL COLUMNS FROM `xn_category` [ RunTime:0.015016s ]
SELECT * FROM `xn_category` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.008353s ]
SELECT * FROM `xn_category` WHERE `type` = 1 AND `is_plan` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.004435s ]
SELECT * FROM `xn_category` WHERE `type` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.005734s ]
SELECT * FROM `xn_category` WHERE `type` = 2 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.004386s ]
SHOW FULL COLUMNS FROM `xn_online` [ RunTime:0.015834s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 1 ORDER BY `sort` DESC [ RunTime:0.002951s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 2 ORDER BY `sort` DESC [ RunTime:0.002922s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 3 LIMIT 1 [ RunTime:0.002904s ]
SHOW FULL COLUMNS FROM `xn_ad_category` [ RunTime:0.018640s ]
SELECT * FROM `xn_ad_category` WHERE `pid` = 0 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002987s ]
SHOW FULL COLUMNS FROM `xn_footer` [ RunTime:0.020902s ]
SELECT * FROM `xn_footer` ORDER BY `sort` DESC [ RunTime:0.003013s ]
SELECT * FROM `xn_footer` WHERE `type` = 1 ORDER BY `sort` DESC [ RunTime:0.002932s ]
SELECT * FROM `xn_footer` WHERE `type` = 2 ORDER BY `sort` DESC [ RunTime:0.002964s ]
SELECT `id` FROM `xn_category` WHERE `pid` = 0 AND `type` = 2 AND `category_type` = 'ad' ORDER BY `sort` ASC LIMIT 1 [ RunTime:0.002957s ]
SELECT `title` FROM `xn_category` WHERE `id` = 1590 LIMIT 1 [ RunTime:0.002870s ]
SELECT `title` FROM `xn_category` WHERE `id` = 1676 LIMIT 1 [ RunTime:0.002817s ]
SELECT `title` FROM `xn_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.002812s ]
SELECT `title` FROM `xn_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.002864s ]
SHOW FULL COLUMNS FROM `xn_books` [ RunTime:0.028706s ]
SELECT COUNT(*) AS think_count FROM `xn_books` WHERE `cid` = 8 AND `type` = 2 AND `category_id` = 1676 LIMIT 1 [ RunTime:0.006737s ]
SELECT COUNT(*) AS think_count FROM `xn_books` WHERE `cid` = 8 AND `type` = 2 AND `category_id` = 1676 LIMIT 1 [ RunTime:0.005274s ]
SELECT * FROM `xn_books` WHERE `cid` = 8 AND `type` = 2 AND `category_id` = 1676 ORDER BY `sort` DESC,`create_time` DESC LIMIT 0,12 [ RunTime:0.006326s ]