SHOW FULL COLUMNS FROM `xn_keyword` [ RunTime:0.015683s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 1 ORDER BY `sort` DESC [ RunTime:0.003397s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 2 ORDER BY `sort` DESC [ RunTime:0.003382s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 3 ORDER BY `sort` DESC [ RunTime:0.003324s ]
SHOW FULL COLUMNS FROM `xn_category` [ RunTime:0.016343s ]
SELECT * FROM `xn_category` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.009055s ]
SELECT * FROM `xn_category` WHERE `type` = 1 AND `is_plan` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.004701s ]
SELECT * FROM `xn_category` WHERE `type` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.006287s ]
SELECT * FROM `xn_category` WHERE `type` = 2 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.004791s ]
SHOW FULL COLUMNS FROM `xn_online` [ RunTime:0.015381s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 1 ORDER BY `sort` DESC [ RunTime:0.003257s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 2 ORDER BY `sort` DESC [ RunTime:0.003239s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 3 LIMIT 1 [ RunTime:0.003188s ]
SHOW FULL COLUMNS FROM `xn_ad_category` [ RunTime:0.015220s ]
SELECT * FROM `xn_ad_category` WHERE `pid` = 0 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.003261s ]
SHOW FULL COLUMNS FROM `xn_footer` [ RunTime:0.014913s ]
SELECT * FROM `xn_footer` ORDER BY `sort` DESC [ RunTime:0.003348s ]
SELECT * FROM `xn_footer` WHERE `type` = 1 ORDER BY `sort` DESC [ RunTime:0.003276s ]
SELECT * FROM `xn_footer` WHERE `type` = 2 ORDER BY `sort` DESC [ RunTime:0.003266s ]
SELECT `id` FROM `xn_category` WHERE `pid` = 0 AND `type` = 2 AND `category_type` = 'ad' ORDER BY `sort` ASC LIMIT 1 [ RunTime:0.003273s ]
SELECT `title` FROM `xn_category` WHERE `id` = 330 LIMIT 1 [ RunTime:0.003225s ]
SELECT `title` FROM `xn_category` WHERE `id` = 1648 LIMIT 1 [ RunTime:0.003148s ]
SELECT `title` FROM `xn_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.003173s ]
SELECT `title` FROM `xn_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.003147s ]
SHOW FULL COLUMNS FROM `xn_books` [ RunTime:0.015754s ]
SELECT COUNT(*) AS think_count FROM `xn_books` WHERE `cid` = 8 AND `type` = 2 AND `category_id` = 1648 LIMIT 1 [ RunTime:0.005491s ]
SELECT COUNT(*) AS think_count FROM `xn_books` WHERE `cid` = 8 AND `type` = 2 AND `category_id` = 1648 LIMIT 1 [ RunTime:0.005418s ]
SELECT * FROM `xn_books` WHERE `cid` = 8 AND `type` = 2 AND `category_id` = 1648 ORDER BY `sort` DESC,`create_time` DESC LIMIT 0,12 [ RunTime:0.006053s ]