SHOW FULL COLUMNS FROM `xn_keyword` [ RunTime:0.015983s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 1 ORDER BY `sort` DESC [ RunTime:0.003414s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 2 ORDER BY `sort` DESC [ RunTime:0.003366s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'ad' AND `type_resources` = 3 ORDER BY `sort` DESC [ RunTime:0.003280s ]
SHOW FULL COLUMNS FROM `xn_category` [ RunTime:0.015152s ]
SELECT * FROM `xn_category` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.008900s ]
SELECT * FROM `xn_category` WHERE `type` = 1 AND `is_plan` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.004849s ]
SELECT * FROM `xn_category` WHERE `type` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.006058s ]
SELECT * FROM `xn_category` WHERE `type` = 2 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.004829s ]
SHOW FULL COLUMNS FROM `xn_online` [ RunTime:0.015204s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 1 ORDER BY `sort` DESC [ RunTime:0.003260s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 2 ORDER BY `sort` DESC [ RunTime:0.003218s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'ad' AND `type` = 3 LIMIT 1 [ RunTime:0.003283s ]
SHOW FULL COLUMNS FROM `xn_ad_category` [ RunTime:0.015033s ]
SELECT * FROM `xn_ad_category` WHERE `pid` = 0 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.003266s ]
SHOW FULL COLUMNS FROM `xn_footer` [ RunTime:0.014910s ]
SELECT * FROM `xn_footer` ORDER BY `sort` DESC [ RunTime:0.003287s ]
SELECT * FROM `xn_footer` WHERE `type` = 1 ORDER BY `sort` DESC [ RunTime:0.003198s ]
SELECT * FROM `xn_footer` WHERE `type` = 2 ORDER BY `sort` DESC [ RunTime:0.003264s ]
SHOW FULL COLUMNS FROM `xn_books` [ RunTime:0.015240s ]
SELECT * FROM `xn_books` WHERE `id` = 3706 LIMIT 1 [ RunTime:0.003277s ]
SELECT `pid` FROM `xn_category` WHERE `id` = 1707 LIMIT 1 [ RunTime:0.003224s ]
SELECT `id` FROM `xn_category` WHERE `pid` = 1595 [ RunTime:0.003144s ]
SELECT * FROM `xn_books` WHERE `category_id` IN (1705,1706,1707,1708,1709,1710) LIMIT 5 [ RunTime:0.008316s ]
SHOW FULL COLUMNS FROM `xn_main_banner` [ RunTime:0.015139s ]
SELECT * FROM `xn_main_banner` WHERE `category_id` = 169 ORDER BY `sort` DESC [ RunTime:0.003308s ]
SHOW FULL COLUMNS FROM `xn_download` [ RunTime:0.014892s ]
SELECT `d`.*,c.title as category_name FROM `xn_download` `d` INNER JOIN `xn_category` `c` ON `c`.`id`=`d`.`category_id` WHERE `d`.`book_id` = '3706' [ RunTime:0.021285s ]
SHOW FULL COLUMNS FROM `xn_editor` [ RunTime:0.016656s ]
SELECT * FROM `xn_editor` WHERE `id` = 0 LIMIT 1 [ RunTime:0.003215s ]