SHOW FULL COLUMNS FROM `web_system_lang` [ RunTime:0.002313s ]
SELECT * FROM `web_system_lang` WHERE `prefix` = 'vi' LIMIT 1 [ RunTime:0.000254s ]
SHOW FULL COLUMNS FROM `web_system_customer` [ RunTime:0.002529s ]
SELECT * FROM `web_system_customer` WHERE `username` = 'amsky' AND `is_online` = 1 LIMIT 1 [ RunTime:0.000518s ]
SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.002583s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 8 AND `customer_id` = 47 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.005890s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.002341s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 8 AND `customer_id` = 47 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.021242s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 15758 AND `lang_id` = 8 AND `customer_id` = 47 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.021177s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.002240s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 47 AND `lang_id` = 8 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000693s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.002239s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 47 AND `lang_id` = 8 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000427s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 8 AND `customer_id` = 47 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000208s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 15758 AND `lang_id` = 8 AND `customer_id` = 47 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000187s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 47 AND `lang_id` = 8 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000206s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 47 AND `lang_id` = 8 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000191s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.002059s ]
SELECT `b`.*,`c`.`is_online` FROM `web_customer_lang` `a` LEFT JOIN `web_system_lang` `b` ON `a`.`lang_id`=`b`.`id` LEFT JOIN `web_system_customer` `c` ON `a`.`customer_id`=`c`.`id` WHERE `a`.`customer_id` = '47' AND `a`.`status` = '1' ORDER BY `a`.`sortid` ASC [ RunTime:0.000237s ]
SHOW FULL COLUMNS FROM `web_customer_products_lang_8` [ RunTime:0.002252s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_8` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`customer_id` = '47' AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND ( a.is_new=1 ) ORDER BY `a`.`sortid` ASC,`a`.`id` DESC LIMIT 8 [ RunTime:0.003754s ]
SELECT * FROM `web_customer_column` WHERE `type` = 3 AND `parentid` = 0 AND `customer_id` = 47 AND `lang_id` = 8 LIMIT 1 [ RunTime:0.020149s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 8 AND `customer_id` = 47 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000287s ]
SHOW FULL COLUMNS FROM `web_customer_news_lang_8` [ RunTime:0.002725s ]
SELECT COUNT(*) AS think_count FROM `web_customer_news_lang_8` `a` LEFT JOIN `web_customer_news_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '47' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.023302s ]
SELECT COUNT(*) AS think_count FROM `web_customer_news_lang_8` `a` LEFT JOIN `web_customer_news_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '47' LIMIT 1 [ RunTime:0.000487s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `lang_id` = 8 AND `customer_id` = 0 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000436s ]