SHOW FULL COLUMNS FROM `cs_post` [ RunTime:0.000529s ]
SELECT id as Post FROM `cs_post` WHERE ( slug='oily-water-separator' or title='oily water separator' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.010086s ]
SHOW FULL COLUMNS FROM `cs_category` [ RunTime:0.000598s ]
SELECT id as Category FROM `cs_category` WHERE ( slug='oily-water-separator' or title='oily water separator' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000436s ]
SHOW FULL COLUMNS FROM `cs_config` [ RunTime:0.000286s ]
SELECT * FROM `cs_config` WHERE `type` = 'system' LIMIT 1 [ RunTime:0.000152s ]
SELECT * FROM `cs_config` WHERE `type` = 'system' LIMIT 1 [ RunTime:0.000183s ]
SELECT * FROM `cs_category` WHERE ( id=123 ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000184s ]
SHOW FULL COLUMNS FROM `cs_meta` [ RunTime:0.000282s ]
SELECT * FROM `cs_meta` WHERE `fid` = 123 [ RunTime:0.000114s ]
SHOW FULL COLUMNS FROM `cs_type` [ RunTime:0.000260s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 [ RunTime:0.000132s ]
SELECT `id`,`pid`,`title`,`slug`,`sort`,`pic`,`content`,`showpic` FROM `cs_category` WHERE `pid` = 123 ORDER BY `sort` [ RunTime:0.000202s ]
SELECT `id`,`pid`,`title`,`slug`,`sort` FROM `cs_category` WHERE `id` = 122 [ RunTime:0.000135s ]
SELECT `id`,`title`,`slug`,`pid`,`tid` FROM `cs_category` WHERE `hide` <> 1 ORDER BY `sort`,`id` [ RunTime:0.000370s ]
UPDATE `cs_category` SET `page_view` = `page_view` + 1 WHERE ( id=123 ) [ RunTime:0.000156s ]
SELECT COUNT(*) AS think_count FROM `cs_post` WHERE `tid` = 2 AND `hide` <> 1 AND `pid` = 123 LIMIT 1 [ RunTime:0.004553s ]
SELECT COUNT(*) AS think_count FROM `cs_post` WHERE ( tid=2 and hide!=1 and pid in(123) and title!='Oily Water Separator' ) LIMIT 1 [ RunTime:0.004421s ]
SELECT `id`,`title`,`showpic`,`sort`,`slug`,`pid`,`tid`,`pic`,`content` FROM `cs_post` WHERE ( tid=2 and hide!=1 and pid in(123) and title!='Oily Water Separator' ) ORDER BY sign(sort) desc,abs(sort) asc,id desc LIMIT 24,24 [ RunTime:0.004578s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000200s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000189s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000125s ]
SELECT * FROM `cs_type` WHERE `tid` = 2 LIMIT 1 [ RunTime:0.000131s ]