SHOW FULL COLUMNS FROM `zt_setting` [ RunTime:0.000534s ]
SELECT `value`,`name` FROM `zt_setting` WHERE `zt_setting`.`dtime` IS NULL [ RunTime:0.000225s ]
SHOW FULL COLUMNS FROM `zt_document` [ RunTime:0.000534s ]
SELECT `did`,`lng`,`title`,`headtitle`,`keywords`,`description`,`pic`,`istemplates`,`template`,`tid`,`mid`,`islink`,`link`,`linkdid`,`fgid`,`click`,`addtime`,`isclass` FROM `zt_document` WHERE ( `did` = 42 ) AND `zt_document`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000252s ]
SHOW FULL COLUMNS FROM `zt_language` [ RunTime:0.000403s ]
SELECT * FROM `zt_language` WHERE ( `lng` = 'cn' ) AND `zt_language`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000830s ]
SHOW FULL COLUMNS FROM `zt_document_type` [ RunTime:0.000552s ]
SELECT `typename` FROM `zt_document_type` WHERE ( `tid` = 13 ) AND `zt_document_type`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000176s ]
SELECT typename as title,`typepic` FROM `zt_document_type` WHERE ( `tid` = 13 ) AND `zt_document_type`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000124s ]
SHOW FULL COLUMNS FROM `zt_document_model` [ RunTime:0.000411s ]
SELECT `isfgid` FROM `zt_document_model` WHERE ( `mid` = 3 ) AND `zt_document_model`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000173s ]
SELECT * FROM `zt_document` WHERE ( `did` = 42 ) AND `zt_document`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000231s ]
UPDATE `zt_document` SET `click` = 81 WHERE ( `did` = 42 ) AND `zt_document`.`dtime` IS NULL [ RunTime:0.001943s ]
SELECT * FROM `zt_document_type` WHERE ( `tid` = 13 ) AND `zt_document_type`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000227s ]
SELECT * FROM `zt_document_model` WHERE ( `mid` = 3 ) AND `zt_document_model`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000165s ]
SELECT * FROM `zt_language` WHERE ( `lng` = 'cn' ) AND `zt_language`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000162s ]
SELECT `value` FROM `zt_setting` WHERE ( `name` = 'icp' ) AND `zt_setting`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000603s ]
SELECT `value` FROM `zt_setting` WHERE ( `name` = 'copyright' ) AND `zt_setting`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000243s ]
SELECT `value` FROM `zt_setting` WHERE ( `name` = 'ishtml' ) AND `zt_setting`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000213s ]
SELECT `value` FROM `zt_setting` WHERE ( `name` = 'default_lang' ) AND `zt_setting`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000200s ]
SELECT `tid` FROM `zt_document` WHERE ( `did` = 42 ) AND `zt_document`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000247s ]
SELECT `value`,`name` FROM `zt_setting` WHERE `zt_setting`.`dtime` IS NULL [ RunTime:0.000228s ]
SELECT * FROM `zt_document` WHERE ( `did` = 42 ) AND `zt_document`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000421s ]
SELECT `typename` FROM `zt_document_type` WHERE ( `tid` = 13 ) AND `zt_document_type`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000225s ]
SELECT * FROM `zt_document_type` WHERE ( `tid` = 13 ) AND `zt_document_type`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000340s ]
SELECT `value` FROM `zt_setting` WHERE ( `name` = 'ishtml' ) AND `zt_setting`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000265s ]
SELECT `value` FROM `zt_setting` WHERE ( `name` = 'default_lang' ) AND `zt_setting`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000202s ]
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.000311s ]
SELECT * FROM `zt_document` WHERE ( `did` = 42 ) AND `zt_document`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000636s ]
SHOW FULL COLUMNS FROM `zt_document_like` [ RunTime:0.000683s ]
SELECT COUNT(*) AS think_count FROM `zt_document_like` WHERE `did` = 42 AND `liketype` = 1 [ RunTime:0.000156s ]
SELECT COUNT(*) AS think_count FROM `zt_document_like` WHERE `did` = 42 AND `liketype` = 2 [ RunTime:0.000166s ]
SHOW FULL COLUMNS FROM `zt_document_album` [ RunTime:0.000547s ]
SELECT * FROM `zt_document_album` WHERE ( `did` = 42 ) AND `zt_document_album`.`dtime` IS NULL [ RunTime:0.000220s ]
SHOW FULL COLUMNS FROM `zt_document_content` [ RunTime:0.000552s ]
SELECT * FROM `zt_document_content` WHERE ( `did` = 42 ) AND `zt_document_content`.`dtime` IS NULL LIMIT 1 [ RunTime:0.000235s ]
SHOW FULL COLUMNS FROM `zt_document_model_attr` [ RunTime:0.000634s ]
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.000250s ]
SHOW FULL COLUMNS FROM `zt_document_attr` [ RunTime:0.000438s ]
SELECT `params` FROM `zt_document_attr` WHERE `did` = 42 LIMIT 1 [ RunTime:0.000232s ]
SELECT `params` FROM `zt_document_attr` WHERE `did` = 42 LIMIT 1 [ RunTime:0.000221s ]
SELECT * FROM `zt_document` WHERE ( `did` < 42 AND `tid` = 13 ) AND `zt_document`.`dtime` IS NULL ORDER BY `pid` DESC,`did` DESC LIMIT 1 [ RunTime:0.000561s ]
SELECT * FROM `zt_document` WHERE ( `did` > 42 AND `tid` = 13 ) AND `zt_document`.`dtime` IS NULL ORDER BY `pid` ASC,`did` ASC LIMIT 1 [ RunTime:0.000538s ]