SHOW FULL COLUMNS FROM `ems_configs` [ RunTime:0.019402s ]
SELECT * FROM `ems_configs` WHERE `pid` > 0 [ RunTime:0.018693s ]
SHOW FULL COLUMNS FROM `ems_category` [ RunTime:0.042221s ]
SELECT * FROM `ems_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.014482s ]
SELECT * FROM `ems_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.039781s ]
SELECT * FROM `ems_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.001215s ]
SELECT `id` FROM `ems_category` WHERE `pid` = 6 [ RunTime:0.053841s ]
SHOW FULL COLUMNS FROM `ems_info` [ RunTime:0.015548s ]
SELECT COUNT(*) AS think_count FROM `ems_info` WHERE `cid` = 6 AND `is_hide` = 0 [ RunTime:0.013238s ]
SELECT * FROM `ems_info` WHERE `cid` = 6 AND `is_hide` = 0 ORDER BY `is_top` DESC,`is_rec` DESC,`sorting` ASC,`pub_time` DESC LIMIT 0,12 [ RunTime:0.002729s ]
SELECT * FROM `ems_category` WHERE `pid` = 0 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.037923s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 1 [ RunTime:0.001064s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 2 [ RunTime:0.023885s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 3 [ RunTime:0.001167s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 4 [ RunTime:0.001073s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 5 [ RunTime:0.025603s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 6 [ RunTime:0.001089s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 7 [ RunTime:0.001033s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 8 [ RunTime:0.001076s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 31 [ RunTime:0.004429s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 32 [ RunTime:0.001087s ]
SELECT * FROM `ems_category` WHERE `pid` = 1 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.001169s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 17 [ RunTime:0.001090s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 18 [ RunTime:0.376374s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 19 [ RunTime:0.013729s ]
SELECT * FROM `ems_category` WHERE `pid` = 2 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.018358s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 9 [ RunTime:0.001244s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 10 [ RunTime:0.001052s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 11 [ RunTime:0.001185s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 12 [ RunTime:0.001080s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 13 [ RunTime:0.014081s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 14 [ RunTime:0.014170s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 15 [ RunTime:0.039016s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 16 [ RunTime:0.001553s ]
SELECT * FROM `ems_category` WHERE `pid` = 4 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.013342s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 20 [ RunTime:0.001551s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 21 [ RunTime:0.001006s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 22 [ RunTime:0.001001s ]
SELECT * FROM `ems_category` WHERE `pid` = 5 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.002623s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 23 [ RunTime:0.015981s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 24 [ RunTime:0.014540s ]
SELECT * FROM `ems_category` WHERE `pid` = 8 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.031878s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 25 [ RunTime:0.015676s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 26 [ RunTime:0.001094s ]
SELECT * FROM `ems_category` WHERE `id` = 6 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.001721s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 6 [ RunTime:0.024043s ]
SELECT * FROM `ems_category` WHERE `pid` = 6 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.015130s ]
SELECT `id` FROM `ems_category` WHERE `pid` = 6 [ RunTime:0.062555s ]
SELECT COUNT(*) AS think_count FROM `ems_info` WHERE `is_hide` = 0 AND `cid` = 6 [ RunTime:0.064599s ]
SELECT `id`,`cid`,`title`,`sub_title`,`intro`,`pic`,`add_time`,`pub_time`,`add_user`,`sorting`,`is_hide`,`author`,`source`,`views`,`tags`,`is_top`,`is_rec`,`is_auth` FROM `ems_info` WHERE `is_hide` = 0 AND `cid` = 6 LIMIT 0,10 [ RunTime:0.024499s ]
SELECT `name` FROM `ems_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.001381s ]
SELECT `id` FROM `ems_category` WHERE `pid` = 4 [ RunTime:0.006660s ]
SELECT `id` FROM `ems_category` WHERE `pid` IN (20,21,22) [ RunTime:0.025931s ]
SELECT COUNT(*) AS think_count FROM `ems_info` WHERE `is_hide` = 0 AND `cid` IN (4,20,21,22) [ RunTime:0.014491s ]
SELECT `id`,`cid`,`title`,`sub_title`,`intro`,`pic`,`add_time`,`pub_time`,`add_user`,`sorting`,`is_hide`,`author`,`source`,`views`,`tags`,`is_top`,`is_rec`,`is_auth` FROM `ems_info` WHERE `is_hide` = 0 AND `cid` IN (4,20,21,22) LIMIT 0,8 [ RunTime:0.002321s ]
SELECT `name` FROM `ems_category` WHERE `id` = 20 LIMIT 1 [ RunTime:0.028808s ]
SELECT * FROM `ems_category` WHERE `id` = 1 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.042565s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 1 [ RunTime:0.012048s ]
SELECT * FROM `ems_category` WHERE `pid` = 1 ORDER BY `sorting` ASC,`id` ASC LIMIT 6 [ RunTime:0.014030s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 17 [ RunTime:0.002094s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 18 [ RunTime:0.001535s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 19 [ RunTime:0.014156s ]
SELECT * FROM `ems_category` WHERE `id` = 12 ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.036972s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 12 [ RunTime:0.047668s ]
SELECT * FROM `ems_category` WHERE `id` IN (1,2,3,4,5) ORDER BY `sorting` ASC,`id` ASC [ RunTime:0.014401s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 1 [ RunTime:0.003131s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 2 [ RunTime:0.003297s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 3 [ RunTime:0.004000s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 4 [ RunTime:0.281128s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 5 [ RunTime:0.020973s ]
SELECT * FROM `ems_category` WHERE `pid` = 1 ORDER BY `sorting` ASC,`id` ASC LIMIT 4 [ RunTime:0.026467s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 17 [ RunTime:0.027384s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 18 [ RunTime:0.046295s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 19 [ RunTime:0.010364s ]
SELECT * FROM `ems_category` WHERE `pid` = 2 ORDER BY `sorting` ASC,`id` ASC LIMIT 4 [ RunTime:0.002331s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 9 [ RunTime:0.007674s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 10 [ RunTime:0.003331s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 11 [ RunTime:0.060764s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 12 [ RunTime:0.022295s ]
SELECT * FROM `ems_category` WHERE `pid` = 3 ORDER BY `sorting` ASC,`id` ASC LIMIT 4 [ RunTime:0.020876s ]
SELECT * FROM `ems_category` WHERE `pid` = 4 ORDER BY `sorting` ASC,`id` ASC LIMIT 4 [ RunTime:0.003834s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 20 [ RunTime:0.017739s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 21 [ RunTime:0.018820s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 22 [ RunTime:0.019355s ]
SELECT * FROM `ems_category` WHERE `pid` = 5 ORDER BY `sorting` ASC,`id` ASC LIMIT 4 [ RunTime:0.004722s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 23 [ RunTime:0.014785s ]
SELECT COUNT(*) AS think_count FROM `ems_category` WHERE `pid` = 24 [ RunTime:0.019224s ]