SHOW FULL COLUMNS FROM `xn_keyword` [ RunTime:0.009763s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'main' AND `type_resources` = 1 ORDER BY `sort` DESC [ RunTime:0.002627s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'main' AND `type_resources` = 3 ORDER BY `sort` DESC [ RunTime:0.002429s ]
SHOW FULL COLUMNS FROM `xn_category` [ RunTime:0.009526s ]
SELECT * FROM `xn_category` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.006852s ]
SELECT * FROM `xn_category` WHERE `type` = 1 AND `is_plan` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.003582s ]
SELECT * FROM `xn_category` WHERE `type` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.004700s ]
SELECT * FROM `xn_category` WHERE `type` = 2 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.003594s ]
SHOW FULL COLUMNS FROM `xn_online` [ RunTime:0.010105s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'index' AND `type` = 1 ORDER BY `sort` DESC [ RunTime:0.002212s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'index' AND `type` = 2 ORDER BY `sort` DESC [ RunTime:0.002225s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'index' AND `type` = 3 LIMIT 1 [ RunTime:0.002373s ]
SHOW FULL COLUMNS FROM `xn_main_category` [ RunTime:0.014333s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 0 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002361s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 46 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002212s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 49 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002203s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 74 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002210s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 75 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002191s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 76 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002148s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 77 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002177s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 78 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002218s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 79 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002182s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 50 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002179s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 51 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002233s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 52 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002220s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 61 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002139s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 62 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002218s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 53 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002435s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 63 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002197s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 64 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002260s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 57 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002313s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 60 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002196s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 58 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002227s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 72 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002221s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 54 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002260s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 55 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002447s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 56 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002200s ]
SHOW FULL COLUMNS FROM `xn_footer` [ RunTime:0.015154s ]
SELECT * FROM `xn_footer` ORDER BY `sort` DESC [ RunTime:0.002206s ]
SELECT * FROM `xn_footer` WHERE `type` = 1 ORDER BY `sort` DESC [ RunTime:0.002829s ]
SELECT * FROM `xn_footer` WHERE `type` = 2 ORDER BY `sort` DESC [ RunTime:0.002400s ]
SHOW FULL COLUMNS FROM `xn_main_banner` [ RunTime:0.012300s ]
SELECT * FROM `xn_main_banner` WHERE `category_id` = 172 ORDER BY `sort` DESC LIMIT 1 [ RunTime:0.002285s ]
SELECT * FROM `xn_main_banner` WHERE `category_id` = 175 ORDER BY `sort` DESC [ RunTime:0.002286s ]
SHOW FULL COLUMNS FROM `xn_books` [ RunTime:0.012799s ]
SELECT `b`.*,`r`.`location`,r.sort as rsort,`r`.`book_id` FROM `xn_books` `b` INNER JOIN `xn_books_recommend` `r` ON `r`.`book_id`=`b`.`id` WHERE `b`.`type` = '2' AND `r`.`location` = '3' AND `r`.`category_name` = 'main' ORDER BY `r`.`sort` ASC LIMIT 6 [ RunTime:0.002596s ]
SELECT `b`.*,`r`.`location`,r.sort as rsort,`r`.`book_id` FROM `xn_books` `b` INNER JOIN `xn_books_recommend` `r` ON `r`.`book_id`=`b`.`id` WHERE `b`.`type` = '2' AND `r`.`location` = '2' AND `r`.`category_name` = 'main' ORDER BY `r`.`sort` ASC LIMIT 12 [ RunTime:0.002893s ]