SHOW FULL COLUMNS FROM `web_system_lang` [ RunTime:0.001024s ]
SELECT * FROM `web_system_lang` WHERE `prefix` = 'tr' LIMIT 1 [ RunTime:0.000359s ]
SHOW FULL COLUMNS FROM `web_system_customer` [ RunTime:0.001010s ]
SELECT * FROM `web_system_customer` WHERE `username` = 'hanshang' AND `is_online` = 1 LIMIT 1 [ RunTime:0.000756s ]
SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.001179s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 22 AND `customer_id` = 74 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.018946s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.001218s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 22 AND `customer_id` = 74 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.032863s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 28047 AND `lang_id` = 22 AND `customer_id` = 74 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.071913s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.001161s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 74 AND `lang_id` = 22 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000532s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000966s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 74 AND `lang_id` = 22 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.001463s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 22 AND `customer_id` = 74 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000278s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 28047 AND `lang_id` = 22 AND `customer_id` = 74 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000220s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 74 AND `lang_id` = 22 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000198s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 74 AND `lang_id` = 22 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000283s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000971s ]
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` = '74' AND `a`.`status` = '1' ORDER BY `a`.`sortid` ASC [ RunTime:0.001046s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 74 AND `lang_id` = 22 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000286s ]
SHOW FULL COLUMNS FROM `web_customer_products_lang_22` [ RunTime:0.001100s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_22` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`customer_id` = '74' 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.008883s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 22 AND `customer_id` = 74 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.074797s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 22 AND `customer_id` = 74 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000346s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `link_url` = 'push-buttons' AND `customer_id` = 74 AND `lang_id` = 22 LIMIT 1 [ RunTime:0.000440s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 74 AND `lang_id` = 22 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000218s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 74 AND `lang_id` = 22 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000195s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_22` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('41952','42065','42138','42159','42224','42271','42321','42365','42412','42458','42506','42553','42599','42647','42694') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '74' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.000501s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_22` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('41952','42065','42138','42159','42224','42271','42321','42365','42412','42458','42506','42553','42599','42647','42694') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '74' LIMIT 1 [ RunTime:0.000393s ]