SHOW FULL COLUMNS FROM `gd_arctype` [ RunTime:0.006384s ]
SELECT `id`,`dirname` FROM `gd_arctype` WHERE `dirname` = 'EcoMaterial' ORDER BY `sort_order` ASC LIMIT 1 [ RunTime:0.000309s ]
SELECT `a`.`id`,`a`.`current_channel`,`a`.`litpic`,`b`.`nid` FROM `gd_arctype` `a` LEFT JOIN `gd_channel_type` `b` ON `a`.`current_channel`=`b`.`id` WHERE `a`.`dirname` = 'EcoMaterial' AND `a`.`is_del` = 0 LIMIT 1 [ RunTime:0.000322s ]
SHOW FULL COLUMNS FROM `gd_channel_type` [ RunTime:0.005218s ]
SHOW FULL COLUMNS FROM `gd_channelfield` [ RunTime:0.005540s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 [ RunTime:0.000742s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 96 [ RunTime:0.000490s ]
SHOW FULL COLUMNS FROM `gd_extent_article` [ RunTime:0.005665s ]
SELECT * FROM `gd_extent_article` WHERE `typeid` = 96 AND `lang` = 'cn' ORDER BY `sort_order` DESC [ RunTime:0.000293s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'EcoMaterial' LIMIT 1 [ RunTime:0.000315s ]
SELECT c.*, c.id as typeid, count(s.id) as has_children, '' as children FROM `gd_arctype` `c` LEFT JOIN `gd_arctype` `s` ON `s`.`parent_id`=`c`.`id` WHERE `c`.`is_hidden` = 0 AND `c`.`status` = 1 AND `c`.`is_del` = 0 AND `c`.`lang` = 'cn' GROUP BY `c`.`id` ORDER BY `c`.`parent_id` ASC,`c`.`sort_order` ASC,`c`.`id` [ RunTime:0.000560s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 ORDER BY `sort_order` ASC,`channel_id` DESC,`id` DESC [ RunTime:0.000691s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'EcoMaterial' LIMIT 1 [ RunTime:0.000680s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'EcoMaterial' LIMIT 1 [ RunTime:0.000366s ]
SELECT `id`,`current_channel` FROM `gd_arctype` WHERE `id` = 96 LIMIT 1 [ RunTime:0.000252s ]
SHOW FULL COLUMNS FROM `gd_archives` [ RunTime:0.006027s ]
SELECT COUNT(*) AS think_count FROM `gd_archives` `a` LEFT JOIN `gd_arctype` `b` ON `b`.`id`=`a`.`typeid` WHERE ( a.typeid IN (96) AND a.channel IN (2) AND a.arcrank > -1 AND a.status = 1 AND a.is_del = 0 ) [ RunTime:0.000293s ]
SELECT `b`.*,`a`.* FROM `gd_archives` `a` LEFT JOIN `gd_arctype` `b` ON `b`.`id`=`a`.`typeid` WHERE ( a.typeid IN (96) AND a.channel IN (2) AND a.arcrank > -1 AND a.status = 1 AND a.is_del = 0 ) ORDER BY a.add_time desc LIMIT 0,120 [ RunTime:0.000382s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'EcoMaterial' LIMIT 1 [ RunTime:0.000385s ]
SELECT c.*, c.id as typeid, count(s.id) as has_children, '' as children FROM `gd_arctype` `c` LEFT JOIN `gd_arctype` `s` ON `s`.`parent_id`=`c`.`id` WHERE `c`.`is_hidden` = 0 AND `c`.`status` = 1 AND `c`.`is_del` = 0 AND `c`.`lang` = 'cn' GROUP BY `c`.`id` ORDER BY `c`.`parent_id` ASC,`c`.`sort_order` ASC,`c`.`id` [ RunTime:0.000511s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 ORDER BY `sort_order` ASC,`channel_id` DESC,`id` DESC [ RunTime:0.000779s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'EcoMaterial' LIMIT 1 [ RunTime:0.000506s ]
SELECT c.*, c.id as typeid, count(s.id) as has_children, '' as children FROM `gd_arctype` `c` LEFT JOIN `gd_arctype` `s` ON `s`.`parent_id`=`c`.`id` WHERE `c`.`is_hidden` = 0 AND `c`.`status` = 1 AND `c`.`is_del` = 0 AND `c`.`lang` = 'cn' GROUP BY `c`.`id` ORDER BY `c`.`parent_id` ASC,`c`.`sort_order` ASC,`c`.`id` [ RunTime:0.000735s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 ORDER BY `sort_order` ASC,`channel_id` DESC,`id` DESC [ RunTime:0.000554s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'EcoMaterial' LIMIT 1 [ RunTime:0.000343s ]
SELECT c.*, c.id as typeid, count(s.id) as has_children, '' as children FROM `gd_arctype` `c` LEFT JOIN `gd_arctype` `s` ON `s`.`parent_id`=`c`.`id` WHERE `c`.`is_hidden` = 0 AND `c`.`status` = 1 AND `c`.`is_del` = 0 AND `c`.`lang` = 'cn' GROUP BY `c`.`id` ORDER BY `c`.`parent_id` ASC,`c`.`sort_order` ASC,`c`.`id` [ RunTime:0.000540s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 ORDER BY `sort_order` ASC,`channel_id` DESC,`id` DESC [ RunTime:0.000666s ]