SHOW FULL COLUMNS FROM `xn_keyword` [ RunTime:0.015165s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 1 ORDER BY `sort` DESC [ RunTime:0.003076s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 2 ORDER BY `sort` DESC [ RunTime:0.002981s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 3 ORDER BY `sort` DESC [ RunTime:0.002932s ]
SHOW FULL COLUMNS FROM `xn_category` [ RunTime:0.014919s ]
SELECT * FROM `xn_category` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.008048s ]
SELECT * FROM `xn_category` WHERE `type` = 1 AND `is_plan` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.004471s ]
SELECT * FROM `xn_category` WHERE `type` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.005757s ]
SELECT * FROM `xn_category` WHERE `type` = 2 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.004429s ]
SHOW FULL COLUMNS FROM `xn_online` [ RunTime:0.015624s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 1 ORDER BY `sort` DESC [ RunTime:0.002919s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 2 ORDER BY `sort` DESC [ RunTime:0.002913s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 3 LIMIT 1 [ RunTime:0.002812s ]
SHOW FULL COLUMNS FROM `xn_ad_category` [ RunTime:0.015012s ]
SELECT * FROM `xn_ad_category` WHERE `pid` = 0 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002901s ]
SHOW FULL COLUMNS FROM `xn_footer` [ RunTime:0.018180s ]
SELECT * FROM `xn_footer` ORDER BY `sort` DESC [ RunTime:0.003168s ]
SELECT * FROM `xn_footer` WHERE `type` = 1 ORDER BY `sort` DESC [ RunTime:0.002943s ]
SELECT * FROM `xn_footer` WHERE `type` = 2 ORDER BY `sort` DESC [ RunTime:0.002902s ]
SELECT `id` FROM `xn_category` WHERE `pid` = 0 AND `type` = 2 AND `category_type` = 'ad' ORDER BY `sort` ASC LIMIT 1 [ RunTime:0.002917s ]
SELECT `title` FROM `xn_category` WHERE `id` = 1762 LIMIT 1 [ RunTime:0.002846s ]
SELECT `title` FROM `xn_category` WHERE `id` = 1765 LIMIT 1 [ RunTime:0.002793s ]
SELECT `title` FROM `xn_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.002800s ]
SELECT `title` FROM `xn_category` WHERE `id` = 0 LIMIT 1 [ RunTime:0.002785s ]
SHOW FULL COLUMNS FROM `xn_books` [ RunTime:0.022192s ]
SELECT COUNT(*) AS think_count FROM `xn_books` WHERE `cid` = 8 AND `type` = 2 AND `category_id` = 1765 LIMIT 1 [ RunTime:0.005264s ]
SELECT COUNT(*) AS think_count FROM `xn_books` WHERE `cid` = 8 AND `type` = 2 AND `category_id` = 1765 LIMIT 1 [ RunTime:0.005093s ]
SELECT * FROM `xn_books` WHERE `cid` = 8 AND `type` = 2 AND `category_id` = 1765 ORDER BY `sort` DESC,`create_time` DESC LIMIT 0,12 [ RunTime:0.005983s ]