[ DB ] CONNECT:[ UseTime:0.000748s ] mysql:host=127.0.0.1;port=3306;dbname=nuobixin22;charset=utf8
[ SQL ] SHOW COLUMNS FROM `category` [ RunTime:0.001136s ]
[ SQL ] SELECT * FROM `category` WHERE `id` = 52 LIMIT 1 [ RunTime:0.000554s ]
[ SQL ] SHOW COLUMNS FROM `field` [ RunTime:0.000814s ]
[ SQL ] SELECT * FROM `field` WHERE `moduleid` = 24 AND `type` = 'catid' LIMIT 1 [ RunTime:0.000384s ]
[ SQL ] SELECT `title` FROM `category` WHERE `id` = 51 LIMIT 1 [ RunTime:0.001148s ]
[ SQL ] SELECT * FROM `category` WHERE `id` IN (0,51) [ RunTime:0.000416s ]
[ SQL ] SHOW COLUMNS FROM `plugin` [ RunTime:0.000828s ]
[ SQL ] SELECT * FROM `plugin` WHERE `code` = 'changyan' LIMIT 1 [ RunTime:0.000285s ]
[ SQL ] SHOW COLUMNS FROM `law` [ RunTime:0.000960s ]
[ SQL ] UPDATE `law` SET `hits` = `hits` + 1 WHERE `id` = 7 [ RunTime:0.000787s ]
[ SQL ] SELECT * FROM `law` WHERE `id` = 7 LIMIT 1 [ RunTime:0.000430s ]
[ SQL ] SELECT `a`.*,`c`.`catname`,`c`.`catdir` FROM `law` `a` LEFT JOIN `category` `c` ON `a`.`catid`=`c`.`id` WHERE `a`.`id` < '7' AND `a`.`catid` = 52 ORDER BY `a`.`id` DESC LIMIT 1 [ RunTime:0.000570s ]
[ SQL ] SELECT `a`.*,`c`.`catname`,`c`.`catdir` FROM `law` `a` LEFT JOIN `category` `c` ON `a`.`catid`=`c`.`id` WHERE `a`.`id` > '7' AND `a`.`catid` = 52 ORDER BY `a`.`id` DESC LIMIT 1 [ RunTime:0.000440s ]
[ DB ] CONNECT:[ UseTime:0.000527s ] mysql:host=127.0.0.1;port=3306;dbname=nuobixin22;charset=utf8
[ SQL ] SELECT `template_show` FROM `category` WHERE `id` = 52 LIMIT 1 [ RunTime:0.000278s ]
[ DB ] CONNECT:[ UseTime:0.000630s ] mysql:host=127.0.0.1;port=3306;dbname=nuobixin22;charset=utf8
[ SQL ] SELECT * FROM `category` WHERE ( id=51 ) LIMIT 1 [ RunTime:0.000488s ]
[ DB ] CONNECT:[ UseTime:0.000474s ] mysql:host=127.0.0.1;port=3306;dbname=nuobixin22;charset=utf8
[ SQL ] SELECT * FROM `category` WHERE ( pid=51 and ismenu=1 ) ORDER BY `sort` ASC LIMIT 8 [ RunTime:0.000396s ]
[ DB ] CONNECT:[ UseTime:0.000373s ] mysql:host=127.0.0.1;port=3306;dbname=nuobixin22;charset=utf8
[ SQL ] SHOW COLUMNS FROM `news` [ RunTime:0.000951s ]
[ SQL ] SELECT `a`.*,`c`.`catdir`,`c`.`catname` FROM `news` `a` LEFT JOIN `category` `c` ON `a`.`catid`=`c`.`id` WHERE ( posid = 1 or posid=2 and (status = 1 or (status = 0 and createtime <1724448866)) ) ORDER BY `a`.`sort` ASC,`a`.`createtime` DESC,`a`.`id` DESC LIMIT 2 [ RunTime:0.000502s ]
[ DB ] CONNECT:[ UseTime:0.000349s ] mysql:host=127.0.0.1;port=3306;dbname=nuobixin22;charset=utf8
[ SQL ] SELECT `a`.*,`c`.`catdir`,`c`.`catname` FROM `news` `a` LEFT JOIN `category` `c` ON `a`.`catid`=`c`.`id` WHERE ( posid = 1 or posid=2 and (status = 1 or (status = 0 and createtime <1724448866)) ) ORDER BY `id` DESC LIMIT 2,6 [ RunTime:0.000463s ]