SHOW FULL COLUMNS FROM `web_system_lang` [ RunTime:0.000686s ]
SELECT * FROM `web_system_lang` WHERE `prefix` = 'ru' LIMIT 1 [ RunTime:0.000336s ]
SHOW FULL COLUMNS FROM `web_system_customer` [ RunTime:0.000851s ]
SELECT * FROM `web_system_customer` WHERE `username` = 'pfhy' AND `is_online` = 1 LIMIT 1 [ RunTime:0.000266s ]
SHOW FULL COLUMNS FROM `web_customer_website_setting` [ RunTime:0.000834s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 4 AND `customer_id` = 87 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.005475s ]
SHOW FULL COLUMNS FROM `web_customer_column` [ RunTime:0.000802s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 4 AND `customer_id` = 87 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.022968s ]
SHOW FULL COLUMNS FROM `web_customer_products_category` [ RunTime:0.000919s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 87 AND `lang_id` = 4 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000697s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 31823 AND `lang_id` = 4 AND `customer_id` = 87 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.022947s ]
SHOW FULL COLUMNS FROM `web_customer_news_category` [ RunTime:0.000967s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 87 AND `lang_id` = 4 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000563s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 0 AND `lang_id` = 4 AND `customer_id` = 87 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000259s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 87 AND `lang_id` = 4 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000231s ]
SELECT * FROM `web_customer_column` WHERE `status` = 1 AND `parentid` = 31823 AND `lang_id` = 4 AND `customer_id` = 87 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000232s ]
SELECT * FROM `web_customer_news_category` WHERE `status` = 1 AND `customer_id` = 87 AND `lang_id` = 4 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000201s ]
SHOW FULL COLUMNS FROM `web_customer_lang` [ RunTime:0.000683s ]
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` = '87' AND `a`.`status` = '1' ORDER BY `a`.`sortid` ASC [ RunTime:0.000264s ]
SELECT * FROM `web_customer_products_category` WHERE `status` = 1 AND `customer_id` = 87 AND `lang_id` = 4 ORDER BY `sortid` ASC,`id` ASC [ RunTime:0.000225s ]
SHOW FULL COLUMNS FROM `web_customer_products_lang_4` [ RunTime:0.000751s ]
SELECT `a`.*,b.title cat_name,b.link_url cat_link FROM `web_customer_products_lang_4` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`customer_id` = '87' 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.001532s ]
SELECT * FROM `web_customer_column` WHERE `lang_id` = 4 AND `customer_id` = 87 AND `parentid` = 0 AND `type` = 2 LIMIT 1 [ RunTime:0.060986s ]
SELECT * FROM `web_customer_website_setting` WHERE `lang_id` = 4 AND `customer_id` = 87 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000286s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_4` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '87' ORDER BY `a`.`sortid`,`a`.`id` DESC LIMIT 1 [ RunTime:0.000398s ]
SELECT COUNT(*) AS think_count FROM `web_customer_products_lang_4` `a` LEFT JOIN `web_customer_products_category` `b` ON `a`.`cat_id`=`b`.`id` WHERE `a`.`status` = '1' AND `a`.`on_b2b` = '1' AND `a`.`customer_id` = '87' LIMIT 1 [ RunTime:0.000368s ]