SHOW FULL COLUMNS FROM `xn_keyword` [ RunTime:0.033005s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 1 ORDER BY `sort` DESC [ RunTime:0.003641s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 2 ORDER BY `sort` DESC [ RunTime:0.003594s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 3 ORDER BY `sort` DESC [ RunTime:0.003578s ]
SHOW FULL COLUMNS FROM `xn_category` [ RunTime:0.021676s ]
SELECT * FROM `xn_category` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.009263s ]
SELECT * FROM `xn_category` WHERE `type` = 1 AND `is_plan` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.004844s ]
SELECT * FROM `xn_category` WHERE `type` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.006208s ]
SELECT * FROM `xn_category` WHERE `type` = 2 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.005050s ]
SHOW FULL COLUMNS FROM `xn_online` [ RunTime:0.023797s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 1 ORDER BY `sort` DESC [ RunTime:0.003549s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 2 ORDER BY `sort` DESC [ RunTime:0.003545s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 3 LIMIT 1 [ RunTime:0.003470s ]
SHOW FULL COLUMNS FROM `xn_ad_category` [ RunTime:0.019458s ]
SELECT * FROM `xn_ad_category` WHERE `pid` = 0 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.003522s ]
SHOW FULL COLUMNS FROM `xn_footer` [ RunTime:0.016123s ]
SELECT * FROM `xn_footer` ORDER BY `sort` DESC [ RunTime:0.003567s ]
SELECT * FROM `xn_footer` WHERE `type` = 1 ORDER BY `sort` DESC [ RunTime:0.003454s ]
SELECT * FROM `xn_footer` WHERE `type` = 2 ORDER BY `sort` DESC [ RunTime:0.003474s ]
SELECT `id` FROM `xn_category` WHERE `pid` = 0 AND `type` = 2 AND `category_type` = 'ad' ORDER BY `sort` ASC LIMIT 1 [ RunTime:0.003504s ]
SELECT `title` FROM `xn_category` WHERE `id` = 327 LIMIT 1 [ RunTime:0.003411s ]
SELECT `title` FROM `xn_category` WHERE `id` = 1632 LIMIT 1 [ RunTime:0.003414s ]
SELECT `title` FROM `xn_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.003370s ]
SELECT `title` FROM `xn_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.003386s ]
SHOW FULL COLUMNS FROM `xn_books` [ RunTime:0.019955s ]
SELECT COUNT(*) AS think_count FROM `xn_books` WHERE `cid` = 8 AND `type` = 2 AND `category_id` = 1632 LIMIT 1 [ RunTime:0.005840s ]
SELECT COUNT(*) AS think_count FROM `xn_books` WHERE `cid` = 8 AND `type` = 2 AND `category_id` = 1632 LIMIT 1 [ RunTime:0.005742s ]
SELECT * FROM `xn_books` WHERE `cid` = 8 AND `type` = 2 AND `category_id` = 1632 ORDER BY `sort` DESC,`create_time` DESC LIMIT 0,12 [ RunTime:0.006568s ]