[ DB ] CONNECT:[ UseTime:0.000701s ] mysql:host=127.0.0.1;port=3306;dbname=www_rg_pharma_co;charset=utf8
[ SQL ] SHOW COLUMNS FROM `clt_category` [ RunTime:0.003939s ]
[ SQL ] SELECT * FROM `clt_category` WHERE `moduleid` = 3 [ RunTime:0.000425s ]
[ DB ] CONNECT:[ UseTime:0.000593s ] mysql:host=127.0.0.1;port=3306;dbname=www_rg_pharma_co;charset=utf8
[ SQL ] SELECT * FROM `clt_category` WHERE `catdir` = 'fenzhijigou' LIMIT 1 [ RunTime:0.000379s ]
[ DB ] CONNECT:[ UseTime:0.000527s ] mysql:host=127.0.0.1;port=3306;dbname=www_rg_pharma_co;charset=utf8
[ SQL ] SELECT * FROM `clt_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000389s ]
[ SQL ] SHOW COLUMNS FROM `clt_ad` [ RunTime:0.003599s ]
[ SQL ] SELECT * FROM `clt_ad` WHERE `type_id` = 5 AND `open` = 1 ORDER BY `sort` ASC LIMIT 4 [ RunTime:0.000370s ]
[ SQL ] SHOW COLUMNS FROM `clt_link` [ RunTime:0.003396s ]
[ SQL ] SELECT * FROM `clt_link` WHERE `open` = 1 ORDER BY `sort` ASC [ RunTime:0.000341s ]
[ DB ] CONNECT:[ UseTime:0.000573s ] mysql:host=127.0.0.1;port=3306;dbname=www_rg_pharma_co;charset=utf8
[ SQL ] SELECT `arrchildid` FROM `clt_category` WHERE `id` = 15 LIMIT 1 [ RunTime:0.000294s ]
[ SQL ] SHOW COLUMNS FROM `clt_article` [ RunTime:0.003628s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `clt_article` `a` LEFT JOIN `clt_category` `c` ON `a`.`catid`=`c`.`id` WHERE ( catid in (15) AND status = 1 ) LIMIT 1 [ RunTime:0.000434s ]
[ SQL ] SELECT `a`.*,`c`.`catdir` FROM `clt_article` `a` LEFT JOIN `clt_category` `c` ON `a`.`catid`=`c`.`id` WHERE ( catid in (15) AND status = 1 ) ORDER BY `sort` ASC,`createtime` DESC LIMIT 0,15 [ RunTime:0.000647s ]
[ DB ] CONNECT:[ UseTime:0.000595s ] mysql:host=127.0.0.1;port=3306;dbname=www_rg_pharma_co;charset=utf8
[ SQL ] SELECT `template_list` FROM `clt_category` WHERE `id` = 15 LIMIT 1 [ RunTime:0.000343s ]
[ DB ] CONNECT:[ UseTime:0.000650s ] mysql:host=127.0.0.1;port=3306;dbname=www_rg_pharma_co;charset=utf8
[ SQL ] SELECT * FROM `clt_category` WHERE ( parentid = 0 AND ismenu=1 ) ORDER BY `sort` ASC LIMIT 30 [ RunTime:0.000418s ]
[ DB ] CONNECT:[ UseTime:0.000531s ] mysql:host=127.0.0.1;port=3306;dbname=www_rg_pharma_co;charset=utf8
[ SQL ] SELECT * FROM `clt_category` WHERE ( parentid = 1 ) ORDER BY `sort` ASC LIMIT 30 [ RunTime:0.000391s ]
[ DB ] CONNECT:[ UseTime:0.000515s ] mysql:host=127.0.0.1;port=3306;dbname=www_rg_pharma_co;charset=utf8
[ SQL ] SELECT * FROM `clt_category` WHERE ( parentid = 3 ) ORDER BY `sort` ASC LIMIT 30 [ RunTime:0.000380s ]
[ DB ] CONNECT:[ UseTime:0.000498s ] mysql:host=127.0.0.1;port=3306;dbname=www_rg_pharma_co;charset=utf8
[ SQL ] SELECT * FROM `clt_category` WHERE ( parentid = 4 ) ORDER BY `sort` ASC LIMIT 30 [ RunTime:0.000367s ]
[ DB ] CONNECT:[ UseTime:0.000491s ] mysql:host=127.0.0.1;port=3306;dbname=www_rg_pharma_co;charset=utf8
[ SQL ] SELECT * FROM `clt_category` WHERE ( parentid = 5 ) ORDER BY `sort` ASC LIMIT 30 [ RunTime:0.000367s ]
[ DB ] CONNECT:[ UseTime:0.000484s ] mysql:host=127.0.0.1;port=3306;dbname=www_rg_pharma_co;charset=utf8
[ SQL ] SELECT * FROM `clt_category` WHERE ( parentid = 6 ) ORDER BY `sort` ASC LIMIT 30 [ RunTime:0.000365s ]
[ DB ] CONNECT:[ UseTime:0.000473s ] mysql:host=127.0.0.1;port=3306;dbname=www_rg_pharma_co;charset=utf8
[ SQL ] SELECT * FROM `clt_category` WHERE ( parentid =1 ) ORDER BY `sort` ASC LIMIT 0,5 [ RunTime:0.000382s ]
[ DB ] CONNECT:[ UseTime:0.000472s ] mysql:host=127.0.0.1;port=3306;dbname=www_rg_pharma_co;charset=utf8
[ SQL ] SELECT * FROM `clt_category` WHERE ( parentid =1 ) ORDER BY `sort` ASC LIMIT 5,5 [ RunTime:0.000369s ]