[ DB ] CONNECT:[ UseTime:0.000856s ] mysql:host=127.0.0.1;port=3306;dbname=www_mqxpyy_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `mq_sitetype` [ RunTime:0.001838s ]
[ SQL ] SELECT * FROM `mq_sitetype` WHERE ( nid='ctg' AND status >= 2 ) LIMIT 1 [ RunTime:0.001511s ]
[ SQL ] SHOW COLUMNS FROM `mq_arctype` [ RunTime:0.001345s ]
[ SQL ] SELECT * FROM `mq_arctype` WHERE ( ishidden = 0 AND siteid = 3 ) [ RunTime:0.000945s ]
[ SQL ] SHOW COLUMNS FROM `mq_archives` [ RunTime:0.001190s ]
[ SQL ] SELECT `mq_archives`.`id`,`mq_archives`.`title`,`mq_archives`.`sort`,`mq_archives`.`litpicimgid`,`mq_archives`.`litpicimgurl`,`mq_archives`.`status`,`mq_archives`.`pubdate`,`mq_archives`.`create_time` FROM `mq_archives` INNER JOIN `mq_sitearticles` ON `mq_sitearticles`.`articleid`=`mq_archives`.`id` WHERE ( (mq_sitearticles.siteid = 3 OR mq_sitearticles.is_global = 1) AND mq_archives.status = 2 AND mq_sitearticles.channeltypeid = 3 AND mq_archives.pubdate > 0 ) ORDER BY `sort`,`id` DESC [ RunTime:0.001902s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `mq_archives` WHERE ( (reid=40 OR topid=40) AND status = 2 ) LIMIT 1 [ RunTime:0.001113s ]
[ SQL ] SELECT `id`,`reid`,`topid`,`title`,`shorttitle`,`litpicimgid`,`litpicimgurl`,`status`,`pubdate`,`create_time` FROM `mq_archives` WHERE ( (reid=40 OR topid=40) AND status = 2 ) ORDER BY `sort` DESC,`pubdate` DESC,`id` DESC LIMIT 0,12 [ RunTime:0.001206s ]