[ DB ] CONNECT:[ UseTime:0.000975s ] mysql:host=127.0.0.1;port=3306;dbname=www_mqxpyy_com;charset=utf8
[ SQL ] SHOW COLUMNS FROM `mq_sitetype` [ RunTime:0.001393s ]
[ SQL ] SELECT * FROM `mq_sitetype` WHERE ( nid='yyg' AND status >= 2 ) LIMIT 1 [ RunTime:0.001204s ]
[ SQL ] SHOW COLUMNS FROM `mq_arctype` [ RunTime:0.001072s ]
[ SQL ] SELECT * FROM `mq_arctype` WHERE ( ishidden = 0 AND siteid = 2 ) [ RunTime:0.000807s ]
[ SQL ] SHOW COLUMNS FROM `mq_archives` [ RunTime:0.001229s ]
[ 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 = 2 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.001529s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `mq_archives` WHERE ( (reid=19 OR topid=19) AND status = 2 ) LIMIT 1 [ RunTime:0.001261s ]
[ SQL ] SELECT `id`,`reid`,`topid`,`title`,`shorttitle`,`litpicimgid`,`litpicimgurl`,`status`,`pubdate`,`create_time` FROM `mq_archives` WHERE ( (reid=19 OR topid=19) AND status = 2 ) ORDER BY `sort` DESC,`pubdate` DESC,`id` DESC LIMIT 0,12 [ RunTime:0.001323s ]