[ DB ] CONNECT:[ UseTime:0.000322s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SHOW COLUMNS FROM `dc_category` [ RunTime:0.000562s ]
[ SQL ] SELECT `id`,`catdir`,`type` FROM `dc_category` ORDER BY `pid` DESC,`id` DESC [ RunTime:0.000178s ]
[ SQL ] SHOW COLUMNS FROM `dc_article` [ RunTime:0.000424s ]
[ SQL ] SELECT * FROM `dc_article` WHERE `id` = 540 LIMIT 1 [ RunTime:0.000256s ]
[ SQL ] SELECT * FROM `dc_category` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000178s ]
[ SQL ] SELECT `pid` FROM `dc_category` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000124s ]
[ SQL ] SELECT `pid` FROM `dc_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000126s ]
[ DB ] CONNECT:[ UseTime:0.000224s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SELECT * FROM `dc_category` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000248s ]
[ DB ] CONNECT:[ UseTime:0.000183s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SELECT * FROM `dc_category` WHERE `id` = 5 LIMIT 1 [ RunTime:0.000246s ]
[ DB ] CONNECT:[ UseTime:0.000194s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SHOW COLUMNS FROM `dc_article_model` [ RunTime:0.000350s ]
[ SQL ] SELECT `addtable`,`fieldset` FROM `dc_article_model` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000151s ]
[ SQL ] SELECT `arc`.*,`addon`.`body` FROM `dc_article` `arc` LEFT JOIN `dc_addonarticle` `addon` ON `arc`.`id`=`addon`.`aid` WHERE `arc`.`id` = 540 LIMIT 1 [ RunTime:0.000266s ]
[ SQL ] SELECT `id`,`title` FROM `dc_article` WHERE `id` > 540 AND ( status=1 AND typeid=29 ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000266s ]
[ SQL ] SELECT `id`,`title` FROM `dc_article` WHERE `id` < 540 AND ( status=1 AND typeid=29 ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000189s ]
[ SQL ] UPDATE `dc_article` SET `click` = `click` + 1 WHERE `id` = 540 [ RunTime:0.000162s ]
[ DB ] CONNECT:[ UseTime:0.000222s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SHOW COLUMNS FROM `dc_ad_position` [ RunTime:0.000363s ]
[ SQL ] SELECT * FROM `dc_ad_position` WHERE `id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.000184s ]
[ DB ] CONNECT:[ UseTime:0.000212s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SHOW COLUMNS FROM `dc_ad` [ RunTime:0.000509s ]
[ 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 <= 1734981681 AND ad.endtime >= 1734981681) OR ad.islong = 1 ) ORDER BY `ad`.`sort` ASC,`ad`.`addtime` DESC LIMIT 0,3 [ RunTime:0.000475s ]
[ DB ] CONNECT:[ UseTime:0.000196s ] 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.000287s ]
[ DB ] CONNECT:[ UseTime:0.000203s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SELECT `typeid`,`title` FROM `dc_article` WHERE `id` = 540 LIMIT 1 [ RunTime:0.000155s ]
[ DB ] CONNECT:[ UseTime:0.000182s ] mysql:host=127.0.0.1;port=3306;dbname=yanglao;charset=utf8
[ SQL ] SHOW COLUMNS FROM `dc_flink` [ RunTime:0.000396s ]
[ SQL ] SELECT `title`,`url`,`logo`,`desc`,`sort`,`addtime` FROM `dc_flink` WHERE `status` = 1 ORDER BY `sort` ASC,`addtime` DESC LIMIT 90 [ RunTime:0.000170s ]