SHOW FULL COLUMNS FROM `zt_setting` [ RunTime:0.000454s ]
SELECT `value`,`name` FROM `zt_setting` WHERE `zt_setting`.`dtime` IS NULL [ RunTime:0.000217s ]
SHOW FULL COLUMNS FROM `zt_document` [ RunTime:0.000532s ]
SELECT `did`,`lng`,`title`,`headtitle`,`keywords`,`description`,`pic`,`istemplates`,`template`,`tid`,`mid`,`islink`,`link`,`linkdid`,`fgid`,`click`,`addtime`,`isclass` FROM `zt_document` WHERE ( `did` = 33 ) AND `zt_document`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000205s ]
SHOW FULL COLUMNS FROM `zt_language` [ RunTime:0.000338s ]
SELECT * FROM `zt_language` WHERE ( `lng` = 'cn' ) AND `zt_language`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000183s ]
SHOW FULL COLUMNS FROM `zt_document_type` [ RunTime:0.000424s ]
SELECT `typename` FROM `zt_document_type` WHERE ( `tid` = 4 ) AND `zt_document_type`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000126s ]
SELECT typename as title,`typepic` FROM `zt_document_type` WHERE ( `tid` = 4 ) AND `zt_document_type`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000098s ]
SHOW FULL COLUMNS FROM `zt_document_model` [ RunTime:0.000367s ]
SELECT `isfgid` FROM `zt_document_model` WHERE ( `mid` = 3 ) AND `zt_document_model`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000125s ]
SELECT * FROM `zt_document` WHERE ( `did` = 33 ) AND `zt_document`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000195s ]
UPDATE `zt_document` SET `click` = 221 WHERE ( `did` = 33 ) AND `zt_document`.`dtime` IS NULL [ RunTime:0.001589s ]
SELECT * FROM `zt_document_type` WHERE ( `tid` = 4 ) AND `zt_document_type`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000209s ]
SELECT * FROM `zt_document_model` WHERE ( `mid` = 3 ) AND `zt_document_model`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000149s ]
SELECT * FROM `zt_language` WHERE ( `lng` = 'cn' ) AND `zt_language`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000134s ]
SELECT `value` FROM `zt_setting` WHERE ( `name` = 'icp' ) AND `zt_setting`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000178s ]
SELECT `value` FROM `zt_setting` WHERE ( `name` = 'copyright' ) AND `zt_setting`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000125s ]
SELECT `value` FROM `zt_setting` WHERE ( `name` = 'ishtml' ) AND `zt_setting`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000113s ]
SELECT `value` FROM `zt_setting` WHERE ( `name` = 'default_lang' ) AND `zt_setting`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000104s ]
SELECT `tid` FROM `zt_document` WHERE ( `did` = 33 ) AND `zt_document`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000118s ]
SELECT `value` FROM `zt_setting` WHERE ( `name` = 'ishtml' ) AND `zt_setting`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000103s ]
SELECT `value` FROM `zt_setting` WHERE ( `name` = 'default_lang' ) AND `zt_setting`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000095s ]
SELECT `tid`,`typename`,`template`,`readtemplate`,`topid`,`typepic`,`upid` FROM `zt_document_type` WHERE ( `isclass` = 1 AND `lng` = 'cn' AND `upid` = 2 ) AND `zt_document_type`.`dtime` IS NULL ORDER BY `tid` ASC [ RunTime:0.000179s ]
SELECT * FROM `zt_document` WHERE ( `did` = 33 ) AND `zt_document`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `zt_document_like` [ RunTime:0.000385s ]
SELECT COUNT(*) AS think_count FROM `zt_document_like` WHERE `did` = 33 AND `liketype` = 1 [ RunTime:0.000120s ]
SELECT COUNT(*) AS think_count FROM `zt_document_like` WHERE `did` = 33 AND `liketype` = 2 [ RunTime:0.000082s ]
SHOW FULL COLUMNS FROM `zt_document_album` [ RunTime:0.000331s ]
SELECT * FROM `zt_document_album` WHERE ( `did` = 33 ) AND `zt_document_album`.`dtime` IS NULL [ RunTime:0.000122s ]
SHOW FULL COLUMNS FROM `zt_document_content` [ RunTime:0.000306s ]
SELECT * FROM `zt_document_content` WHERE ( `did` = 33 ) AND `zt_document_content`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000141s ]
SHOW FULL COLUMNS FROM `zt_document_model_attr` [ RunTime:0.000357s ]
SELECT `aid`,`inputtype`,`attrname` FROM `zt_document_model_attr` WHERE ( `mid` = 3 AND `lockin` = 0 ) AND `zt_document_model_attr`.`dtime` IS NULL [ RunTime:0.000139s ]
SHOW FULL COLUMNS FROM `zt_document_attr` [ RunTime:0.000380s ]
SELECT `params` FROM `zt_document_attr` WHERE `did` = 33 LIMIT 1 [ RunTime:0.000130s ]
SELECT `params` FROM `zt_document_attr` WHERE `did` = 33 LIMIT 1 [ RunTime:0.000103s ]
SELECT * FROM `zt_document` WHERE ( `did` < 33 AND `tid` = 4 ) AND `zt_document`.`dtime` IS NULL ORDER BY `pid` DESC,`did` DESC LIMIT 1 [ RunTime:0.000299s ]
SELECT * FROM `zt_document` WHERE ( `did` > 33 AND `tid` = 4 ) AND `zt_document`.`dtime` IS NULL ORDER BY `pid` ASC,`did` ASC LIMIT 1 [ RunTime:0.000272s ]