SHOW FULL COLUMNS FROM `gd_arctype` [ RunTime:0.001864s ]
SELECT `id`,`dirname` FROM `gd_arctype` WHERE `dirname` = 'GasDetector' ORDER BY `sort_order` ASC LIMIT 1 [ RunTime:0.000277s ]
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` = 'GasDetector' AND `a`.`is_del` = 0 LIMIT 1 [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `gd_channel_type` [ RunTime:0.001581s ]
SHOW FULL COLUMNS FROM `gd_channelfield` [ RunTime:0.001208s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 [ RunTime:0.000355s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 110 [ RunTime:0.000225s ]
SHOW FULL COLUMNS FROM `gd_extent_article` [ RunTime:0.002056s ]
SELECT * FROM `gd_extent_article` WHERE `typeid` = 110 AND `lang` = 'en' ORDER BY `sort_order` DESC [ RunTime:0.000229s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'GasDetector' LIMIT 1 [ RunTime:0.000212s ]
SELECT * FROM `gd_arctype` WHERE `status` = 1 AND `is_hidden` = 0 AND `is_del` = 0 AND `status` = 1 AND `lang` = 'en' ORDER BY `parent_id` ASC,`sort_order` ASC,`id` [ RunTime:0.000397s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 4 [ RunTime:0.000192s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 103 [ RunTime:0.000160s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 6 [ RunTime:0.000200s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 2 [ RunTime:0.000455s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 10 [ RunTime:0.000468s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 12 [ RunTime:0.000355s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 14 [ RunTime:0.000389s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 16 [ RunTime:0.000237s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 18 [ RunTime:0.000171s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 110 [ RunTime:0.000325s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 115 [ RunTime:0.000190s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 20 [ RunTime:0.000212s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 101 [ RunTime:0.000202s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 105 [ RunTime:0.000390s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 107 [ RunTime:0.000332s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 ORDER BY `sort_order` ASC,`channel_id` DESC,`id` DESC [ RunTime:0.000561s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'GasDetector' LIMIT 1 [ RunTime:0.000232s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 [ RunTime:0.000290s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'GasDetector' LIMIT 1 [ RunTime:0.000189s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'GasDetector' LIMIT 1 [ RunTime:0.000189s ]
SELECT `id`,`current_channel` FROM `gd_arctype` WHERE `id` = 110 LIMIT 1 [ RunTime:0.000193s ]
SHOW FULL COLUMNS FROM `gd_archives` [ RunTime:0.004077s ]
SELECT COUNT(*) AS think_count FROM `gd_archives` `a` LEFT JOIN `gd_arctype` `b` ON `b`.`id`=`a`.`typeid` WHERE ( a.typeid IN (110) AND a.channel IN (2) AND a.arcrank > -1 AND a.status = 1 AND a.is_del = 0 ) [ RunTime:0.000741s ]
SELECT `b`.*,`a`.* FROM `gd_archives` `a` LEFT JOIN `gd_arctype` `b` ON `b`.`id`=`a`.`typeid` WHERE ( a.typeid IN (110) 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,20 [ RunTime:0.001101s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'GasDetector' LIMIT 1 [ RunTime:0.000383s ]
SELECT `id`,`current_channel` FROM `gd_arctype` WHERE `id` = 4 LIMIT 1 [ RunTime:0.000395s ]
SELECT `b`.*,`a`.* FROM `gd_archives` `a` LEFT JOIN `gd_arctype` `b` ON `b`.`id`=`a`.`typeid` WHERE ( a.typeid IN (4,16,18,110,115) AND a.channel IN (2) AND a.arcrank > -1 AND a.status = 1 AND a.is_del = 0 ) ORDER BY rand() LIMIT 5 [ RunTime:0.003184s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'GasDetector' LIMIT 1 [ RunTime:0.000421s ]
SELECT *,id as typeid FROM `gd_arctype` WHERE `parent_id` = 2 AND `is_hidden` = 0 AND `status` = 1 AND `is_del` = 0 ORDER BY `sort_order` ASC [ RunTime:0.000856s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 ORDER BY `sort_order` ASC,`channel_id` DESC,`id` DESC [ RunTime:0.000783s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'GasDetector' LIMIT 1 [ RunTime:0.000450s ]
SELECT *,id as typeid FROM `gd_arctype` WHERE `parent_id` = 4 AND `is_hidden` = 0 AND `status` = 1 AND `is_del` = 0 ORDER BY `sort_order` ASC [ RunTime:0.000593s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 ORDER BY `sort_order` ASC,`channel_id` DESC,`id` DESC [ RunTime:0.000522s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'GasDetector' LIMIT 1 [ RunTime:0.000283s ]
SELECT *,id as typeid FROM `gd_arctype` WHERE `parent_id` = 6 AND `is_hidden` = 0 AND `status` = 1 AND `is_del` = 0 ORDER BY `sort_order` ASC [ RunTime:0.000394s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 ORDER BY `sort_order` ASC,`channel_id` DESC,`id` DESC [ RunTime:0.000348s ]
SHOW FULL COLUMNS FROM `gd_links` [ RunTime:0.001707s ]
SELECT * FROM `gd_links` WHERE `typeid` = 1 AND `lang` = 'en' ORDER BY `sort_order` ASC LIMIT 24 [ RunTime:0.000223s ]
SELECT * FROM `gd_links` WHERE `typeid` = 1 AND `lang` = 'en' ORDER BY `sort_order` ASC LIMIT 24 [ RunTime:0.000255s ]