SHOW FULL COLUMNS FROM `g3ys_config` [ RunTime:0.004489s ]
SELECT `value` FROM `g3ys_config` WHERE `name` = 'timezone' AND `subsite_id` = '44' LIMIT 1 [ RunTime:0.001134s ]
SHOW FULL COLUMNS FROM `g3ys_route` [ RunTime:0.005094s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.001047s ]
SHOW FULL COLUMNS FROM `g3ys_theme` [ RunTime:0.007555s ]
SELECT `paginator` FROM `g3ys_theme` WHERE `module` = 'home' AND `name` = 'sgxetf' AND `subsite_id` = '44' LIMIT 1 [ RunTime:0.001248s ]
SHOW FULL COLUMNS FROM `g3ys_lang` [ RunTime:0.007689s ]
SELECT * FROM `g3ys_lang` WHERE `subsite_id` = 44 AND ( ( LOWER(name) = 'zh-cn' ) OR `subtag` = 'zh-cn' ) AND `status` = 1 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.002300s ]
SHOW FULL COLUMNS FROM `g3ys_member` [ RunTime:0.010720s ]
SELECT * FROM `g3ys_member` WHERE `id` = 0 AND `subsite_id` = '44' LIMIT 1 [ RunTime:0.003384s ]
SHOW FULL COLUMNS FROM `g3ys_document` [ RunTime:0.011851s ]
SELECT COUNT(*) AS think_count FROM `g3ys_document` `d` LEFT JOIN `g3ys_document_article` `a` ON `d`.`id`=`a`.`document_id` LEFT JOIN `g3ys_document_article_lang` `al` ON `al`.`document_id`=d.id AND al.subsite_id = d.subsite_id AND al.lang = "zh-CN" LEFT JOIN `g3ys_total` `t` ON `d`.`id`=`t`.`target_id` WHERE ( `d`.`status` = '1' AND `d`.`document_type` = '0' AND `d`.`subsite_id` IN ('0','44') AND `d`.`category_id` IN ('1723','1722','1721','1720','2092','2093','2094') ) AND ( `d`.`title` LIKE '%DBS%' OR `d`.`keywords` LIKE '%DBS%' OR `d`.`description` LIKE '%DBS%' OR `a`.`content` LIKE '%DBS%' OR `al`.`title` LIKE '%DBS%' OR `al`.`keywords` LIKE '%DBS%' OR `al`.`description` LIKE '%DBS%' OR `al`.`content` LIKE '%DBS%' ) [ RunTime:0.034440s ]
SELECT `d`.`id`,`d`.`name`,`d`.`title`,`d`.`keywords`,`d`.`description`,`a`.`content`,`d`.`category_id`,`d`.`create_time`,`d`.`update_time`,`d`.`pic`,t.view_total as views,al.title as lang_title,al.keywords as lang_keywords,al.description as lang_description,al.content as lang_content FROM `g3ys_document` `d` LEFT JOIN `g3ys_document_article` `a` ON `d`.`id`=`a`.`document_id` LEFT JOIN `g3ys_document_article_lang` `al` ON `al`.`document_id`=d.id AND al.subsite_id = d.subsite_id AND al.lang = "zh-CN" LEFT JOIN `g3ys_total` `t` ON `d`.`id`=`t`.`target_id` WHERE ( `d`.`status` = '1' AND `d`.`document_type` = '0' AND `d`.`subsite_id` IN ('0','44') AND `d`.`category_id` IN ('1723','1722','1721','1720','2092','2093','2094') ) AND ( `d`.`title` LIKE '%DBS%' OR `d`.`keywords` LIKE '%DBS%' OR `d`.`description` LIKE '%DBS%' OR `a`.`content` LIKE '%DBS%' OR `al`.`title` LIKE '%DBS%' OR `al`.`keywords` LIKE '%DBS%' OR `al`.`description` LIKE '%DBS%' OR `al`.`content` LIKE '%DBS%' ) ORDER BY `d`.`create_time` DESC LIMIT 0,5 [ RunTime:0.031696s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.001304s ]
SHOW FULL COLUMNS FROM `g3ys_subsite` [ RunTime:0.005707s ]
SELECT COUNT(*) AS think_count FROM `g3ys_subsite` WHERE ( `status` = 1 ) AND ( ( `title` LIKE '%DBS%' OR `name` LIKE '%DBS%' OR `company_name` LIKE '%DBS%' OR `username` LIKE '%DBS%' OR `phone` LIKE '%DBS%' OR `email` LIKE '%DBS%' ) ) [ RunTime:0.001251s ]
SHOW FULL COLUMNS FROM `g3ys_category` [ RunTime:0.006230s ]
SELECT COUNT(*) AS think_count FROM `g3ys_category` WHERE ( `status` = 1 ) AND ( `title` LIKE '%DBS%' AND ( `name` LIKE '%DBS%' OR `description` LIKE '%DBS%' ) ) [ RunTime:0.001650s ]
SHOW FULL COLUMNS FROM `g3ys_tags` [ RunTime:0.003625s ]
SELECT COUNT(*) AS think_count FROM `g3ys_tags` `t` LEFT JOIN `g3ys_tags_lang` `tl` ON `tl`.`tags_id`=t.id AND tl.subsite_id = t.subsite_id AND tl.lang = "zh-cn" WHERE ( `t`.`status` = '1' ) AND `t`.`subsite_id` IN ('0','44') AND ( ( `t`.`title` LIKE '%DBS%' OR `t`.`name` LIKE '%DBS%' OR `t`.`description` LIKE '%DBS%' ) OR ( `tl`.`title` LIKE '%DBS%' OR `tl`.`keyword` LIKE '%DBS%' OR `tl`.`description` LIKE '%DBS%' ) ) [ RunTime:0.002137s ]
SHOW FULL COLUMNS FROM `g3ys_record_search` [ RunTime:0.003064s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.001412s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.001062s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000831s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000904s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.001748s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.000997s ]
SELECT * FROM `g3ys_route` WHERE ( `subsite_id` = '44' OR `subsite_id` = '0' ) AND `module` = 'home' AND `status` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.001785s ]