SHOW FULL COLUMNS FROM `sh_lang` [ RunTime:0.000779s ]
SELECT `lang` FROM `sh_lang` WHERE `url` = 'arabic' AND `is_use` = 1 LIMIT 1 [ RunTime:0.000380s ]
SHOW FULL COLUMNS FROM `sh_website` [ RunTime:0.000763s ]
SELECT * FROM `sh_website` WHERE `lang` IS NULL LIMIT 1 [ RunTime:0.000273s ]
SHOW FULL COLUMNS FROM `sh_webmaster` [ RunTime:0.000541s ]
SELECT * FROM `sh_webmaster` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000263s ]
SHOW FULL COLUMNS FROM `sh_banner` [ RunTime:0.000554s ]
SELECT `id`,`img`,`url`,`alt` FROM `sh_banner` WHERE ( `type` = 1 AND `is_display` = 1 ) AND `sh_banner`.`delete_time` IS NULL [ RunTime:0.000277s ]
SELECT `id`,`img`,`url`,`alt` FROM `sh_banner` WHERE ( `type` = 2 AND `is_display` = 1 ) AND `sh_banner`.`delete_time` IS NULL [ RunTime:0.000249s ]
SHOW FULL COLUMNS FROM `sh_section` [ RunTime:0.000569s ]
SELECT `id`,`pid`,`name`,`contentid`,`url`,`type`,`banner` FROM `sh_section` WHERE ( `is_hide` = 1 ) AND `sh_section`.`delete_time` IS NULL ORDER BY `sortrank` ASC [ RunTime:0.000343s ]
SELECT * FROM `sh_section` WHERE ( `url` = 'News' ) AND `sh_section`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.000321s ]
SELECT `id` FROM `sh_section` WHERE ( `pid` = 1 ) AND `sh_section`.`delete_time` IS NULL [ RunTime:0.000300s ]
SELECT `id`,`banner`,`pid`,`name`,`description`,`contentid` FROM `sh_section` WHERE ( `id` = 1 ) AND `sh_section`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.000217s ]
SELECT `banner` FROM `sh_section` WHERE ( `id` = 0 ) AND `sh_section`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.000225s ]
SHOW FULL COLUMNS FROM `sh_article` [ RunTime:0.000571s ]
SELECT COUNT(*) AS think_count FROM `sh_article` WHERE ( `is_display` = 1 AND `type_id` = 1 ) AND `sh_article`.`delete_time` IS NULL [ RunTime:0.000289s ]
SELECT `id`,`title`,`se_title`,`update_time`,`description`,`image` FROM `sh_article` WHERE ( `is_display` = 1 AND `type_id` = 1 ) AND `sh_article`.`delete_time` IS NULL ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.000315s ]
SHOW FULL COLUMNS FROM `sh_lang_article` [ RunTime:0.000605s ]
SELECT * FROM `sh_lang_article` WHERE ( `article_id` = 11 AND `lang_id` IS NULL ) OR ( `article_id` = 10 AND `lang_id` IS NULL ) OR ( `article_id` = 9 AND `lang_id` IS NULL ) OR ( `article_id` = 8 AND `lang_id` IS NULL ) OR ( `article_id` = 7 AND `lang_id` IS NULL ) OR ( `article_id` = 6 AND `lang_id` IS NULL ) OR ( `article_id` = 5 AND `lang_id` IS NULL ) OR ( `article_id` = 4 AND `lang_id` IS NULL ) [ RunTime:0.000264s ]