SHOW FULL COLUMNS FROM `web_system_lang` [ RunTime:0.000870s ]
SELECT * FROM `web_system_lang` WHERE `prefix` = 'tl' LIMIT 1 [ RunTime:0.000189s ]
SHOW FULL COLUMNS FROM `web_system_customer` [ RunTime:0.000850s ]
SELECT * FROM `web_system_customer` WHERE `username` = 'hapond' AND `is_online` = 1 LIMIT 1 [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.000789s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 21 AND `customer_id` = 17 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.020711s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000827s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 21 AND `customer_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.023056s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 3006 AND `lang_id` = 21 AND `customer_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.023025s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000912s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 17 AND `lang_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.001264s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000663s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 17 AND `lang_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000362s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 21 AND `customer_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000213s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 3006 AND `lang_id` = 21 AND `customer_id` = 17 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000182s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 17 AND `lang_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000180s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 17 AND `lang_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000160s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000629s ]
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` = '17' AND `a`.`status` = '1' ORDER BY `a`.`sortid` ASC [ RunTime:0.000208s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 17 AND `lang_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000197s ]
SHOW FULL COLUMNS FROM `web_customer_products_lang_21` [ RunTime:0.000700s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_21` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`customer_id` = '17' 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.000893s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 21 AND `customer_id` = 17 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.004002s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 21 AND `customer_id` = 17 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000262s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `link_url` = 'inkjet-printer' AND `customer_id` = 17 AND `lang_id` = 21 LIMIT 1 [ RunTime:0.000393s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 17 AND `lang_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000181s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 17 AND `lang_id` = 21 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000181s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_21` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('5965','6014','6063','6112','6161','6210','6259') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '17' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.000344s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_21` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`cat_id` IN ('5965','6014','6063','6112','6161','6210','6259') AND `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '17' LIMIT 1 [ RunTime:0.000302s ]