SELECT url_to, r404
FROM pod_redirect
WHERE BINARY REPLACE(url_from,'/ru/','/') = '/odezhda.html?order_dir=desc' LIMIT 0,1 [0.00048995018005371 sec]
SELECT sc.url, sc.id AS super_category_id,
sc.name_ua AS super_category_name,
sc.templ_good_title_ua AS templ_good_title, sc.templ_good_kwds,
sc.templ_good_desc_ua AS templ_good_desc,
sc.templ_brand_title_ua AS templ_brand_title, sc.templ_brand_kwds,
sc.templ_brand_desc_ua AS templ_brand_desc,
sc.templ_cat_title_ua AS templ_cat_title, sc.templ_cat_kwds,
sc.templ_cat_desc_ua AS templ_cat_desc, 1 AS o
FROM pod_cat_category c
LEFT JOIN pod_super_category sc ON sc.id=c.super_category_id
WHERE c.id='2888' [0.00045013427734375 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_base_goods;
CREATE TEMPORARY TABLE tmp_base_goods (
id INT NOT NULL PRIMARY KEY,
brand_id INT,
price DECIMAL(10,2),
old_price DECIMAL(10,2),
ordr INT,
is_present TINYINT(1),
sub_icon_id INT,
fast_delivery TINYINT(1),
is_new TINYINT(1),
is_sale TINYINT(1),
KEY idx_brand (brand_id)
) ENGINE=MEMORY [0.0004570484161377 sec]
INSERT INTO tmp_base_goods
(id, brand_id, price, old_price, ordr, is_present, sub_icon_id, fast_delivery, is_new, is_sale)
SELECT g.id, g.brand_id, g.price, g.old_price, g.ordr, g.is_present,
g.sub_icon_id, g.fast_delivery, g.is_new, g.is_sale
FROM pod_cat_good g
WHERE g.cat_id IN (2888,3067,3045,3068,2889,2890,2891,2892,4464,3164,3232) AND g.entry=0 AND g.is_active AND g.is_present_all_mods
UNION
SELECT g.id, g.brand_id, g.price, g.old_price, g.ordr, g.is_present,
g.sub_icon_id, g.fast_delivery, g.is_new, g.is_sale
FROM pod_cat_good g
INNER JOIN pod_dop_cat_category dc ON dc.good_id = g.id
WHERE dc.dop_cat_id IN (2888,3067,3045,3068,2889,2890,2891,2892,4464,3164,3232) AND g.entry=0 AND g.is_active AND g.is_present_all_mods [0.064165115356445 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_sub_goods;
CREATE TEMPORARY TABLE tmp_sub_goods (
id INT NOT NULL PRIMARY KEY,
entry INT NOT NULL,
price DECIMAL(10,2),
old_price DECIMAL(10,2),
sub_icon_id INT,
is_present TINYINT(1),
fast_delivery TINYINT(1),
is_new TINYINT(1),
is_sale TINYINT(1),
KEY idx_entry (entry)
) ENGINE=MEMORY [0.00049686431884766 sec]
INSERT INTO tmp_sub_goods
(id, entry, price, old_price, sub_icon_id, is_present, fast_delivery, is_new, is_sale)
SELECT go.id, go.entry, go.price, go.old_price, go.sub_icon_id, go.is_present,
go.fast_delivery, go.is_new, go.is_sale
FROM pod_cat_good go
INNER JOIN tmp_base_goods t ON go.entry = t.id
WHERE go.is_active AND go.is_present [0.011933088302612 sec]
SELECT COUNT(id) amount FROM (
SELECT g.id /* cats:2888,3067,3045,3068,2889,2890,2891,2892,4464,3164,3232 */
FROM tmp_base_goods g
WHERE 1
) A [0.00031709671020508 sec]
CREATE TEMPORARY TABLE temp_brand_counts_6a2ff7f69bc97 (
id INT,
gid INT,
INDEX idx_id (id),
INDEX idx_gid (gid)
) [0.00038504600524902 sec]
INSERT INTO temp_brand_counts_6a2ff7f69bc97 (id, gid)
SELECT g.brand_id AS id, g.id AS gid /* cats:2888,3067,3045,3068,2889,2890,2891,2892,4464,3164,3232 */
FROM tmp_base_goods g
WHERE 1
[0.0018482208251953 sec]
SELECT b.id, b.name_ua AS name, pc.name_ua AS country, b.country_id,
b.image_icon, b.url, b.ordr, pc.code,
COALESCE(tc.count, 0) as count
FROM pod_cat_brand b
INNER JOIN (
SELECT id, COUNT(gid) as count
FROM temp_brand_counts_6a2ff7f69bc97
GROUP BY id
HAVING COUNT(gid) > 0
) tc ON b.id = tc.id
LEFT JOIN pod_country pc ON (pc.id = b.country_id AND pc.is_active = 1)
WHERE b.is_active = '1'
ORDER BY b.ordr [0.0012919902801514 sec]
DROP TEMPORARY TABLE IF EXISTS temp_brand_counts_6a2ff7f69bc97 [0.00021100044250488 sec]
SELECT g.id /* cats:2888,3067,3045,3068,2889,2890,2891,2892,4464,3164,3232 */,if(g.is_present and g.price >= '24' and g.price <= '3200',least(g.price,ifnull(min(pcg.price),g.price)),ifnull(min(pcg.price),g.price)) min_sort_price,
if(g.is_present and g.price >= '24' and g.price <= '3200',greatest(g.price,ifnull(max(pcg.price),g.price)),ifnull(max(pcg.price),g.price)) max_sort_price
FROM tmp_base_goods g
LEFT JOIN pod_cat_good pcg ON pcg.entry=g.id AND pcg.is_present=1 AND pcg.price >= '24' AND pcg.price <= '3200'
GROUP BY g.id
ORDER BY g.ordr desc
LIMIT 0, 32 [0.0063319206237793 sec]
SELECT g.video, g.threedvideo, g.is_xit, g.is_action, g.is_sale,
g.sub_is_action, g.is_new, g.is_pay_for_video, g.id, g.cat_id,
g.name_ua AS name, g.name2_ua AS name2, g.descr, g.size_table, g.artikul, g.image_small,
g.image_big, g.price, g.old_price, g.is_present,
g.is_present_all_mods, g.sub_icon_id,g.url,g.ordr, g.last_items, g.fast_delivery, g.free_delivery, g.gift,
g.timer, g.action_validity,
b.name_ua AS brand_name,b.url as burl,b.id as bid, b.country AS brand_country,c.url as curl, c.name_ua AS cat_name,
si.name_ua AS sub_icon_name,si.icon AS sub_icon,
g.star, g.comment_id, if(g.is_present and g.price >= '24' and g.price <= '3200',least(g.price,ifnull(min(pcg.price),g.price)),ifnull(min(pcg.price),g.price)) as min_sort_price,
if(g.is_present and g.price >= '24' and g.price <= '3200',greatest(g.price,ifnull(max(pcg.price),g.price)),ifnull(max(pcg.price),g.price)) as max_sort_price
FROM pod_cat_good g
INNER JOIN pod_cat_category c ON c.id=g.cat_id
LEFT JOIN pod_cat_brand b ON b.id=g.brand_id
LEFT JOIN pod_sub_icon si ON si.id=g.sub_icon_id
LEFT JOIN pod_cat_good pcg ON (pcg.entry=g.id and pcg.is_present=1 and pcg.price >= '24' and pcg.price <= '3200')
WHERE g.id in (503247,503248,503246,417978,402380,417981,409201,503249,503245,417984,482814,422474,499918,504049,504048,416377,484884,490780,497256,416147,449827,484375,416112,456549,416077,474636,455660,416362,429186,415517,414642,417990)
GROUP BY g.id
ORDER BY g.ordr desc [0.0062980651855469 sec]
SELECT g.ordr, g.is_xit, g.is_pay_for_video, g.is_action, g.is_sale, g.is_new, g.last_items, g.fast_delivery, g.free_delivery, g.gift,
g.timer, g.action_validity,
g.id, g.entry, g.name_ua AS name, g.price, g.old_price, g.artikul, g.sub_icon_id, g.is_present, si.name_ua AS sub_icon_name, si.icon AS sub_icon
FROM pod_cat_good g
LEFT JOIN pod_sub_icon si ON si.id = g.sub_icon_id
WHERE g.entry IN (503247,503248,503246,417978,402380,417981,409201,503249,503245,417984,482814,422474,499918,504049,504048,414642,415517,416077,416112,416147,416362,416377,429186,449827,455660,456549,474636,417990,484375,484884,490780,497256) AND g.is_active = '1'
ORDER BY g.entry, g.is_present DESC [0.0014610290527344 sec]
SELECT DISTINCT
ggd2.good_id AS source_good_id,
g.id, g.is_present_all_mods,
pc.name_ua AS name,
g.url,
b.url as burl, c.url as curl,
g.is_present,
pc.code AS color_code,
gg.group_type,
gg.param_name,
gg.param_name_ua,
ggd.text_value,
ggd.icon_path
FROM pod_goods_group_goods ggd2
JOIN pod_goods_group_goods ggd ON ggd2.goods_group_id=ggd.goods_group_id
JOIN pod_goods_group gg ON ggd.goods_group_id=gg.id
JOIN pod_cat_good g ON g.id=ggd.good_id
LEFT JOIN pod_cat_brand b ON g.brand_id=b.id
LEFT JOIN pod_cat_category c ON g.cat_id=c.id
LEFT JOIN pod_colors pc ON pc.id=ggd.color_id
WHERE ggd2.good_id IN (503247,503248,503246,417978,402380,417981,409201,503249,503245,417984,482814,422474,499918,504049,504048,414642,415517,416077,416112,416147,416362,416377,429186,449827,455660,456549,474636,417990,484375,484884,490780,497256)
ORDER BY ggd2.good_id, g.is_present_all_mods DESC [0.0052728652954102 sec]
DROP TEMPORARY TABLE IF EXISTS tmp_base_goods;
DROP TEMPORARY TABLE IF EXISTS tmp_sub_goods [0.00028705596923828 sec]
Чоловічий одяг купити в Україні та Києві за найкращою ціною - інтернет-магазин «Подушка»
Ваше замовлення оформлено! На e-mail відправлено лист з підтвердженням Найближчим часом з Вами зв'яжеться менеджер Дякємо за замовлення!
Ваш профіль буде видалений назавжди. Його не можна відновити. Продовжити?
Залиште свій номер телефону і наші менеджери Вам зателефонують
Оплату картами Visa і MasterCard забезпечує сервіс онлайн-платежів Portmone.com. Безпека оплати підтверджена міжнародним аудитом PCI DSS. Служба підтримки: тел. +380 (44) 2000902