[ DB ] CONNECT:[ UseTime:0.000343s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SHOW COLUMNS FROM `dc_category` [ RunTime:0.000733s ]
[ SQL ] SELECT `id`,`catdir`,`type` FROM `dc_category` ORDER BY `pid` DESC,`id` DESC [ RunTime:0.000235s ]
[ SQL ] SHOW COLUMNS FROM `dc_article` [ RunTime:0.000605s ]
[ SQL ] SELECT * FROM `dc_article` WHERE `id` = 339 LIMIT 1 [ RunTime:0.000309s ]
[ SQL ] SELECT * FROM `dc_category` WHERE `id` = 30 LIMIT 1 [ RunTime:0.000237s ]
[ SQL ] SELECT `pid` FROM `dc_category` WHERE `id` = 30 LIMIT 1 [ RunTime:0.000148s ]
[ SQL ] SELECT `pid` FROM `dc_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000154s ]
[ DB ] CONNECT:[ UseTime:0.000264s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SELECT * FROM `dc_category` WHERE `id` = 30 LIMIT 1 [ RunTime:0.000330s ]
[ DB ] CONNECT:[ UseTime:0.000203s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SELECT * FROM `dc_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000286s ]
[ DB ] CONNECT:[ UseTime:0.000206s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SHOW COLUMNS FROM `dc_article_model` [ RunTime:0.000437s ]
[ SQL ] SELECT `addtable`,`fieldset` FROM `dc_article_model` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000175s ]
[ SQL ] SELECT `arc`.*,`addon`.`body` FROM `dc_article` `arc` LEFT JOIN `dc_addonarticle` `addon` ON `arc`.`id`=`addon`.`aid` WHERE `arc`.`id` = 339 LIMIT 1 [ RunTime:0.000325s ]
[ SQL ] SELECT `id`,`title` FROM `dc_article` WHERE `id` > 339 AND ( status=1 AND typeid=30 ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000238s ]
[ SQL ] SELECT `id`,`title` FROM `dc_article` WHERE `id` < 339 AND ( status=1 AND typeid=30 ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000208s ]
[ SQL ] UPDATE `dc_article` SET `click` = `click` + 1 WHERE `id` = 339 [ RunTime:0.000205s ]
[ DB ] CONNECT:[ UseTime:0.000213s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SHOW COLUMNS FROM `dc_ad_position` [ RunTime:0.000487s ]
[ SQL ] SELECT * FROM `dc_ad_position` WHERE `id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.000255s ]
[ DB ] CONNECT:[ UseTime:0.000208s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SHOW COLUMNS FROM `dc_ad` [ RunTime:0.000508s ]
[ SQL ] SELECT `ad`.*,`adp`.`width`,`adp`.`height` FROM `dc_ad` `ad` LEFT JOIN `dc_ad_position` `adp` ON `adp`.`id`=`ad`.`pid` WHERE `adp`.`id` = 1 AND `adp`.`status` = 1 AND `ad`.`status` = 1 AND `ad`.`cid` = 0 AND ( (ad.starttime <= 1735001889 AND ad.endtime >= 1735001889) OR ad.islong = 1 ) ORDER BY `ad`.`sort` ASC,`ad`.`addtime` DESC LIMIT 0,3 [ RunTime:0.000415s ]
[ DB ] CONNECT:[ UseTime:0.000200s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SELECT `id`,`pid`,`catname`,`catenname`,`catdir`,`modelid`,`seotitle`,`keywords`,`description`,`thumb`,`icon`,`video`,`type`,`url`,`isjump`,`ishidden`,`isalone`,`sort`,`addtime`,`other`,`content` FROM `dc_category` WHERE ( ishidden = 0 ) AND ( `pid` IN ('') ) ORDER BY `sort` ASC,`id` ASC LIMIT 0,6 [ RunTime:0.000435s ]
[ DB ] CONNECT:[ UseTime:0.000222s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SELECT `typeid`,`title` FROM `dc_article` WHERE `id` = 339 LIMIT 1 [ RunTime:0.000201s ]