SHOW FULL COLUMNS FROM `cs_post` [ RunTime:0.000387s ]
SELECT id as Post FROM `cs_post` WHERE ( slug='hooks' or title='hooks' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.010403s ]
SHOW FULL COLUMNS FROM `cs_category` [ RunTime:0.000417s ]
SELECT id as Category FROM `cs_category` WHERE ( slug='hooks' or title='hooks' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000568s ]
SHOW FULL COLUMNS FROM `cs_config` [ RunTime:0.000372s ]
SELECT * FROM `cs_config` WHERE `type` = 'system' LIMIT 1 [ RunTime:0.000246s ]
SELECT * FROM `cs_config` WHERE `type` = 'system' LIMIT 1 [ RunTime:0.000167s ]
SELECT * FROM `cs_category` WHERE ( id=228 ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000173s ]
SHOW FULL COLUMNS FROM `cs_meta` [ RunTime:0.000307s ]
SELECT * FROM `cs_meta` WHERE `fid` = 228 [ RunTime:0.000124s ]
SHOW FULL COLUMNS FROM `cs_type` [ RunTime:0.000280s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 [ RunTime:0.000124s ]
SELECT `id`,`pid`,`title`,`slug`,`sort`,`pic`,`content`,`showpic` FROM `cs_category` WHERE `pid` = 228 ORDER BY `sort` [ RunTime:0.000213s ]
SELECT `id`,`pid`,`title`,`slug`,`sort` FROM `cs_category` WHERE `id` = 210 [ RunTime:0.000135s ]
SELECT `id`,`title`,`slug`,`pid`,`tid` FROM `cs_category` WHERE `hide` <> 1 ORDER BY `sort`,`id` [ RunTime:0.000353s ]
UPDATE `cs_category` SET `page_view` = `page_view` + 1 WHERE ( id=228 ) [ RunTime:0.000153s ]
SELECT COUNT(*) AS think_count FROM `cs_post` WHERE `tid` = 2 AND `hide` <> 1 AND `pid` = 228 LIMIT 1 [ RunTime:0.010769s ]
SELECT COUNT(*) AS think_count FROM `cs_post` WHERE ( tid=2 and hide!=1 and pid in(228) and title!='Hooks' ) LIMIT 1 [ RunTime:0.004626s ]
SELECT `id`,`title`,`showpic`,`sort`,`slug`,`pid`,`tid`,`pic`,`content` FROM `cs_post` WHERE ( tid=2 and hide!=1 and pid in(228) and title!='Hooks' ) ORDER BY sign(sort) desc,abs(sort) asc,id desc LIMIT 48,24 [ RunTime:0.004805s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000209s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000127s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000125s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000127s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000126s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000125s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000125s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000124s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000114s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000124s ]