SHOW FULL COLUMNS FROM `xn_category` [ RunTime:0.020044s ]
SELECT * FROM `xn_category` ORDER BY `sort` ASC,`id` ASC [ RunTime:0.006971s ]
SELECT * FROM `xn_category` WHERE `type` = 1 AND `is_plan` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.004370s ]
SELECT * FROM `xn_category` WHERE `type` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.005105s ]
SELECT * FROM `xn_category` WHERE `type` = 2 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.003925s ]
SHOW FULL COLUMNS FROM `xn_online` [ RunTime:0.020713s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'index' AND `type` = 1 ORDER BY `sort` DESC [ RunTime:0.002508s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'index' AND `type` = 2 ORDER BY `sort` DESC [ RunTime:0.002556s ]
SELECT * FROM `xn_online` WHERE `category_name` = 'index' AND `type` = 3 LIMIT 1 [ RunTime:0.002518s ]
SHOW FULL COLUMNS FROM `xn_main_category` [ RunTime:0.020290s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 0 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002986s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 46 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002354s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 49 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002356s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 74 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002405s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 75 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002309s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 76 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002328s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 77 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002346s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 78 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002349s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 79 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002311s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 50 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002536s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 51 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002438s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 52 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002373s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 61 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002354s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 62 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002379s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 53 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002575s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 63 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002401s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 64 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002290s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 57 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002513s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 60 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002303s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 58 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002291s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 72 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002456s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 54 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002358s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 55 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002387s ]
SELECT * FROM `xn_main_category` WHERE `pid` = 56 AND `status` = 1 ORDER BY `sort` ASC [ RunTime:0.002274s ]
SHOW FULL COLUMNS FROM `xn_footer` [ RunTime:0.019873s ]
SELECT * FROM `xn_footer` ORDER BY `sort` DESC [ RunTime:0.002474s ]
SELECT * FROM `xn_footer` WHERE `type` = 1 ORDER BY `sort` DESC [ RunTime:0.002397s ]
SELECT * FROM `xn_footer` WHERE `type` = 2 ORDER BY `sort` DESC [ RunTime:0.002384s ]
SELECT * FROM `xn_category` WHERE `pid` = 399 [ RunTime:0.002393s ]
SELECT * FROM `xn_category` WHERE `pid` = 454 [ RunTime:0.002330s ]
SHOW FULL COLUMNS FROM `xn_main_banner` [ RunTime:0.019766s ]
SELECT * FROM `xn_main_banner` WHERE `category_id` = 81 ORDER BY `sort` DESC [ RunTime:0.002478s ]
SHOW FULL COLUMNS FROM `xn_download` [ RunTime:0.020303s ]
SELECT COUNT(*) AS think_count FROM `xn_download` `d` INNER JOIN `xn_footer` `f` ON `f`.`cid`=`d`.`cid` INNER JOIN `xn_category` `c` ON `c`.`id`=`d`.`category_id` INNER JOIN `xn_download_category` `dc` ON `dc`.`id`=`d`.`type_resources` WHERE `d`.`category_id` IN ('399','454','1018') LIMIT 1 [ RunTime:0.002877s ]
SELECT `d`.*,c.title as category_name,f.title as site_name,dc.images as dcimage FROM `xn_download` `d` INNER JOIN `xn_footer` `f` ON `f`.`cid`=`d`.`cid` INNER JOIN `xn_category` `c` ON `c`.`id`=`d`.`category_id` INNER JOIN `xn_download_category` `dc` ON `dc`.`id`=`d`.`type_resources` WHERE `d`.`category_id` IN ('399','454','1018') ORDER BY `d`.`create_time` DESC LIMIT 0,20 [ RunTime:0.013082s ]
SELECT COUNT(*) AS think_count FROM `xn_download` `d` WHERE `d`.`category_id` IN ('399','454','1018') LIMIT 1 [ RunTime:0.002420s ]
SHOW FULL COLUMNS FROM `xn_keyword` [ RunTime:0.019726s ]
SELECT * FROM `xn_keyword` WHERE `type` = 'main' AND `type_resources` = 3 ORDER BY `sort` DESC [ RunTime:0.002455s ]
SELECT `title` FROM `xn_category` WHERE `id` = 399 LIMIT 1 [ RunTime:0.002303s ]
SELECT `type` FROM `xn_category` WHERE `id` = 399 LIMIT 1 [ RunTime:0.002333s ]
SELECT `title` FROM `xn_category` WHERE `id` = 379 LIMIT 1 [ RunTime:0.002335s ]
SELECT `type` FROM `xn_category` WHERE `id` = 379 LIMIT 1 [ RunTime:0.002353s ]
SELECT `title` FROM `xn_category` WHERE `id` = 205 LIMIT 1 [ RunTime:0.002301s ]
SELECT `type` FROM `xn_category` WHERE `id` = 205 LIMIT 1 [ RunTime:0.002222s ]