SHOW FULL COLUMNS FROM `xn_keyword` [ RunTime:0.014785s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'main' AND `type_resources` = 2 ORDER BY `sort` DESC [ RunTime:0.002810s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'main' AND `type_resources` = 3 ORDER BY `sort` DESC [ RunTime:0.002730s ]
SHOW FULL COLUMNS FROM `xn_category` [ RunTime:0.014253s ]
SELECT * FROM `xn_category` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.007896s ]
SELECT * FROM `xn_category` WHERE `type` = 1 AND `is_plan` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.003882s ]
SELECT * FROM `xn_category` WHERE `type` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.005182s ]
SELECT * FROM `xn_category` WHERE `type` = 2 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.004054s ]
SHOW FULL COLUMNS FROM `xn_online` [ RunTime:0.014881s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'index' AND `type` = 1 ORDER BY `sort` DESC [ RunTime:0.002630s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'index' AND `type` = 2 ORDER BY `sort` DESC [ RunTime:0.002604s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'index' AND `type` = 3 LIMIT 1 [ RunTime:0.002578s ]
SHOW FULL COLUMNS FROM `xn_main_category` [ RunTime:0.020551s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 0 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002701s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 46 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002604s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 49 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002623s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 74 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002615s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 75 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002655s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 76 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002617s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 77 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002575s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 78 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002764s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 79 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002647s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 50 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002564s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 51 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002590s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 52 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002591s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 61 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002583s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 62 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002568s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 53 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002586s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 63 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002591s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 64 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002549s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 57 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002554s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 60 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002553s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 58 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002588s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 72 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002642s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 80 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002613s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 54 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002590s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 55 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002598s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 56 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002706s ]
SHOW FULL COLUMNS FROM `xn_footer` [ RunTime:0.016611s ]
SELECT * FROM `xn_footer` ORDER BY `sort` DESC [ RunTime:0.002679s ]
SELECT * FROM `xn_footer` WHERE `type` = 1 ORDER BY `sort` DESC [ RunTime:0.002634s ]
SELECT * FROM `xn_footer` WHERE `type` = 2 ORDER BY `sort` DESC [ RunTime:0.002667s ]
SHOW FULL COLUMNS FROM `xn_main_banner` [ RunTime:0.014615s ]
SELECT * FROM `xn_main_banner` WHERE `category_id` = 79 ORDER BY `sort` DESC LIMIT 1 [ RunTime:0.002702s ]
SHOW FULL COLUMNS FROM `xn_books` [ RunTime:0.014454s ]
SELECT * FROM `xn_books` WHERE `id` = 4610 LIMIT 1 [ RunTime:0.002665s ]
SELECT * FROM `xn_books` WHERE `category_id` = 170 LIMIT 5 [ RunTime:0.009580s ]
SHOW FULL COLUMNS FROM `xn_download` [ RunTime:0.014167s ]
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` = '4610' [ RunTime:0.020293s ]
SHOW FULL COLUMNS FROM `xn_editor` [ RunTime:0.014185s ]
SELECT * FROM `xn_editor` WHERE `id` = 102 LIMIT 1 [ RunTime:0.002586s ]