SHOW FULL COLUMNS FROM `gd_arctype` [ RunTime:0.005722s ]
SELECT `id`,`dirname` FROM `gd_arctype` WHERE `dirname` = 'r_d_department' ORDER BY `sort_order` ASC LIMIT 1 [ RunTime:0.000326s ]
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` = 'r_d_department' AND `a`.`is_del` = 0 LIMIT 1 [ RunTime:0.000319s ]
SHOW FULL COLUMNS FROM `gd_channel_type` [ RunTime:0.004873s ]
SHOW FULL COLUMNS FROM `gd_channelfield` [ RunTime:0.006824s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = 6 [ RunTime:0.000489s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 [ RunTime:0.000366s ]
SELECT COUNT(`id`) AS think_count FROM `gd_arctype` WHERE `parent_id` = 41 [ RunTime:0.000310s ]
SHOW FULL COLUMNS FROM `gd_extent_article` [ RunTime:0.004716s ]
SELECT * FROM `gd_extent_article` WHERE `typeid` = 41 AND `lang` = 'cn' ORDER BY `sort_order` DESC [ RunTime:0.000465s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'r_d_department' LIMIT 1 [ RunTime:0.000442s ]
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.000597s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 ORDER BY `sort_order` ASC,`channel_id` DESC,`id` DESC [ RunTime:0.000537s ]
SHOW FULL COLUMNS FROM `gd_guestbook` [ RunTime:0.008794s ]
SELECT * FROM `gd_guestbook` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000319s ]
SHOW FULL COLUMNS FROM `gd_guestbook_attr` [ RunTime:0.006315s ]
SELECT * FROM `gd_guestbook_attr` WHERE `form_id` = 10 AND `is_del` = 0 ORDER BY `sort_order` ASC,`attr_id` ASC [ RunTime:0.000259s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'r_d_department' LIMIT 1 [ RunTime:0.000260s ]
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.000486s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 ORDER BY `sort_order` ASC,`channel_id` DESC,`id` DESC [ RunTime:0.000479s ]
SELECT `id` FROM `gd_arctype` WHERE `dirname` = 'r_d_department' LIMIT 1 [ RunTime:0.000224s ]
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.000367s ]
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` = 'r_d_department' LIMIT 1 [ RunTime:0.000229s ]
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.000394s ]
SELECT * FROM `gd_channelfield` WHERE `channel_id` = -99 ORDER BY `sort_order` ASC,`channel_id` DESC,`id` DESC [ RunTime:0.000555s ]