Отладочная информация:
Время генерации страницы:
Time: 0.157 sec.
Сжатие страницы:
Off: 0
QUERY STRING:
lang=&link=catalog/spbd/6369961.html
Шаблон страницы:
_index2.html
SQL-запросы на странице:
Array
(
[0] => SELECT permission_type FROM cms_rus_pages USE INDEX (PRIMARY) WHERE id = 139
[1] => SELECT pb.*, pb.id as block_id, m.name, m.title, m.id as mod_id, p.usr_group_id, number_of_fields, IF(p.owner_id = 0, 1 , 0) as is_owner,
IF(p.owner_id = 0,
p.rights >> 8, IF(ug.user_id IS NOT NULL ,
(p.rights & 0xF0) >> 4, p.rights & 0xF)
) AS user_rights FROM cms_rus_pages as p LEFT JOIN core_users_groups ug ON (ug.group_id = p.usr_group_id AND ug.user_id = 0 ) , cms_rus_pages_blocks as pb , cms_rus_pages_templates as pt , modules as m WHERE p.id = 139
AND p.tpl_id = pt.id AND p.id = pb.page_id
AND m.id = pb.module_id AND IF( p.owner_id = 0,
p.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(p.rights & 0xF0) >> 4,
p.rights & 0xF
)
) > 0 ORDER BY field_number, block_rank
[2] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='cms' AND S.id = site_id AND M.id=module_id AND active
[3] => SELECT P.id, IF(P.alias is not null and P.alias!='',LCASE(P.alias),P.id) AS prod_alias, IF(C.alias is not null and C.alias!='',LCASE(C.alias),C.id) AS cat_alias, P.active FROM cms_rus_catalog_products P INNER JOIN cms_rus_catalog_categories C ON P.category_id=C.id HAVING prod_alias='6369961' AND cat_alias='spbd'
[4] => SELECT a.id AS id,
a.category_id AS category_id,
a.group_id AS group_id,
a.ptype_id AS ptype_id,
a.product_code AS product_code,
a.alias AS product_alias,
a.product_title AS product_title,
a.product_shorttitle as product_shorttitle,
IF(a.product_shorttitle = "", a.product_title, a.product_shorttitle) as product_stitle,
a.product_inf AS product_inf,
a.product_description AS product_description,
a.currency AS currency,
a.unit AS unit,
a.vtax AS vtax,
a.price_1 AS price_1,
a.price_2 AS price_2,
a.price_3 AS price_3,
a.price_sale AS price_sale,
a.volume AS volume,
a.weight AS weight,
a.dimensions AS dimensions,
a.eancode AS product_eancode,
a.hide AS hide,
a.leader AS leader,
a.novelty AS novelty,
a.sale AS sale,
a.self AS self,
a.no_discount AS nodt,
a.feature AS feature,
a.export AS export,
a.sales_notes AS sales_notes,
a.vtax AS vtax,
a.image_middle AS image_middle,
a.image_big AS image_big,
a.product_availability AS product_availability,
a.active AS active,
a.rank AS rank,
a.page_title AS page_title,
a.description AS description,
a.keywords AS keywords,
IF(a.alias is not null and a.alias!='', a.alias, a.id) AS product_alias,
b.ptype_name AS ptype_title,
b.link AS ptype_link,
b.logo AS ptype_logo,
c.title AS categ_title,
d.group_title AS prod_grp,
d.group_round AS prod_rnd,
d.group_export AS filter_export,
d.group_price AS filter_price,
c.page_description AS ctg_description,
c.keywords AS ctg_keywords,
c.tpl AS tpl,
IF(c.alias is not null and c.alias!='', c.alias, c.id) AS ctg_alias,
IF(b.fixed_rate,'FX','FL') AS ct
FROM cms_rus_catalog_products a
INNER JOIN cms_rus_catalog_categories c ON a.category_id = c.id
LEFT JOIN cms_rus_catalog_ptypes b ON a.ptype_id = b.id
LEFT JOIN cms_rus_catalog_groups d ON d.id = a.group_id
WHERE a.id = 1798
[5] => SELECT D.id FROM cms_rus_shop_discounts AS D, cms_rus_catalog_properties_discounts AS PD WHERE PD.group_id = 82 AND PD.discount_id = D.id AND D.active AND (!is_promo AND promo = "") AND (D.feature = 0 OR D.feature = 2) AND D.is_available = 0
[6] => SELECT id FROM cms_rus_catalog_products WHERE active = 1 AND category_id = 97 ORDER BY rank ASC, id
[7] => SELECT id, img, preview, rank FROM cms_rus_catalog_images WHERE prod_id=1798 ORDER BY rank, preview
[8] => SELECT prop_val_id FROM cms_rus_catalog_order_prop_val WHERE prod_id=1798
[9] => SELECT PT.* FROM cms_rus_catalog_properties_table PT INNER JOIN cms_rus_catalog_properties P ON PT.id=P.property_id WHERE P.group_id=82 AND 5=PT.type ORDER BY P.ord
[10] => SELECT PT.*, P.search, P.range, P.ord FROM cms_rus_catalog_properties_table AS PT LEFT JOIN cms_rus_catalog_properties AS P ON P.group_id=82 AND P.property_id=PT.id WHERE P.property_id IS NOT NULL ORDER BY P.ord
[11] => SELECT * FROM cms_rus_catalog_property_values WHERE product_id=1798
[12] => SELECT g.signature as title, g.media_file as media, g.type as type FROM cms_rus_gallery_products AS gp INNER JOIN cms_rus_gallery AS g ON gp.img_id=g.id WHERE g.active AND g.type > 0 AND prod_id=1798 ORDER BY g.idx DESC
[13] => SELECT C.*, P.category_id AS prod_cat_id, D.category_id AS category_id, name, file_name, D.manual AS manual, D.active AS active, C.rank AS rank FROM cms_rus_catalog_concerned AS C INNER JOIN cms_rus_catalog_products AS P ON C.prod_id = P.id INNER JOIN cms_rus_documents_products AS D ON C.concrn_id = D.id WHERE C.prod_id = 1798 AND D.active AND file_name AND C.type = 1 ORDER BY rank
[14] => SELECT * FROM cms_rus_catalog_property_images
LEFT JOIN cms_rus_catalog_properties_table AS pt ON property_id = pt.id
WHERE product_id = 1798 ORDER BY property_id, img_pos ASC
[15] => SELECT DISTINCT C.concrn_id, product_title, IF(product_shorttitle = "", product_title, product_shorttitle) as product_stitle, product_code, category_id, P.group_id, product_inf, currency, price_1, price_2, price_3, no_discount AS nodt, price_sale, hide, image_middle, product_availability, P.active, leader, novelty, sale, feature, ptype_name, C.rank AS rank, PT.link AS ptype_link, G.group_title AS group_title, G.group_round AS group_round, IF(P.alias is not null and P.alias!='', P.alias, P.id) AS prod_alias, IF(PT.fixed_rate,'FX','FL') AS ct,IF(CT.alias is not null and CT.alias!='', CT.alias, CT.id) AS ctg_alias FROM cms_rus_catalog_concerned AS C INNER JOIN cms_rus_catalog_products AS P ON C.concrn_id = P.id INNER JOIN cms_rus_catalog_categories CT ON CT.id=P.category_id INNER JOIN cms_rus_catalog_ptypes AS PT ON P.ptype_id = PT.id LEFT JOIN cms_rus_catalog_groups AS G ON P.group_id = G.id WHERE C.prod_id = 1798 AND P.active AND CT.active AND C.type = 0 ORDER BY rank
[16] => SELECT prod_id FROM cms_rus_catalog_concerned WHERE type = 0 AND concrn_id = 1798
[17] => SELECT P.id, P.product_title, P.product_code, P.product_availability, P.rank AS rank, P.active AS prod_active, IF(P.alias is not null and P.alias!='', P.alias, P.id) AS prod_alias, IF(C.alias is not null and C.alias!='', C.alias, C.id) AS ctg_alias FROM cms_rus_catalog_products AS P INNER JOIN cms_rus_catalog_categories C ON C.id=P.category_id WHERE P.id IN ('838') ORDER BY product_title
[18] => SELECT P.id, P.rank AS rank, IF(P.alias is not null and P.alias!='', P.alias, P.id) AS prod_alias, IF(C.alias is not null and C.alias!='', C.alias, C.id) AS ctg_alias FROM cms_rus_catalog_products AS P INNER JOIN cms_rus_catalog_categories C ON C.id=P.category_id WHERE P.active AND category_id=97 ORDER BY rank ASC, id
[19] => SELECT p.*, p.id AS id, IF(c.alias is not null and c.alias!='', c.alias, c.id) AS cat_alias, c.id AS cat_id, p.no_discount AS nodt, g.group_round, IF(p.alias is not null and p.alias!='', p.alias, p.id) AS prod_alias, IF(pt.fixed_rate,'FX','FL') AS ct FROM cms_rus_catalog_products p INNER JOIN cms_rus_catalog_categories c ON c.id=p.category_id LEFT JOIN cms_rus_catalog_ptypes pt ON p.ptype_id = pt.id LEFT JOIN cms_rus_catalog_groups AS g ON p.group_id = g.id WHERE p.id IN (1798) AND p.active = 1 ORDER BY FIELD(p.id,1798)
[20] => UPDATE core_users SET onsite=0 WHERE onsite=1 AND last_visit SELECT *, IF(alias is not null and alias!='', alias, id) AS cat_alias FROM cms_rus_catalog_categories WHERE id=1
[22] => SELECT id, parent_id, title, clevel, rank, IF(alias is not null and alias!='', alias, id) AS alias FROM cms_rus_catalog_categories AS C WHERE C.active=1 AND C.cleft>=1 AND C.cright<=286 ORDER BY clevel, rank
[23] => SELECT f.*, IF(f.owner_id = 0, 1 , 0) as is_owner,
IF(f.owner_id = 0,
f.rights >> 8, IF(ug.user_id IS NOT NULL ,
(f.rights & 0xF0) >> 4, f.rights & 0xF)
) AS user_rights FROM cms_rus_forms f LEFT JOIN core_users_groups ug ON (ug.group_id = f.usr_group_id AND ug.user_id = 0) WHERE id = 5 AND IF( f.owner_id = 0,
f.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(f.rights & 0xF0) >> 4,
f.rights & 0xF
)
) > 0
[24] => SELECT f.*, IF(f.owner_id = 0, 1 , 0) as is_owner,
IF(f.owner_id = 0,
f.rights >> 8, IF(ug.user_id IS NOT NULL ,
(f.rights & 0xF0) >> 4, f.rights & 0xF)
) AS user_rights FROM cms_rus_forms f LEFT JOIN core_users_groups ug ON (ug.group_id = f.usr_group_id AND ug.user_id = 0) WHERE id = 5 AND active = 1 AND IF( f.owner_id = 0,
f.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(f.rights & 0xF0) >> 4,
f.rights & 0xF
)
) > 0
[25] => SELECT * FROM cms_rus_shop_pay_systems WHERE id = 1
[26] => SELECT * FROM cms_rus_pages USE INDEX (index_2)
WHERE ((parent_id = 0 OR id IN (139) OR parent_id IN (139)) AND active = 1) OR is_default = 1
ORDER BY level, page_rank DESC
)
Cache: use_cache =
on
Array
(
[1] => Block 1 of module catalog in action showtoplevels -> cache/cms_rus/catalog-cb184e6570eb7680805e88cc924cf1ec-(139-0-1-17).html
[-7] => Block -7 of module pages in action showbodyclass <- cache/cms_rus/catalog-cb184e6570eb7680805e88cc924cf1ec-(139-1-7-3).html
[2] => Block 2 of module catalog in action showtree -> cache/cms_rus/catalog-cb184e6570eb7680805e88cc924cf1ec-(139-1-2-17).html
[-1] => Block -1 of module catalog in action catmenu -> cache/cms_rus/catalog-cb184e6570eb7680805e88cc924cf1ec-(139-1-1-17).html
[-2] => Block -2 of module pages in action showsubmenu <- cache/cms_rus/catalog-cb184e6570eb7680805e88cc924cf1ec-(139-1-2-3).html
[-4] => Block -4 of module pages in action showpath -> cache/cms_rus/catalog-cb184e6570eb7680805e88cc924cf1ec-(139-1-4-3).html
[-3] => Block -3 of module pages in action showpagetitle -> cache/cms_rus/catalog-cb184e6570eb7680805e88cc924cf1ec-(139-1-3-3).html
[-6] => Block -6 of module pages in action showpageprop -> cache/cms_rus/catalog-cb184e6570eb7680805e88cc924cf1ec-(139-1-6-3).html
)
Вызываемые функции:
Array
(
[1] => $PAGE["modules"]["catalog"] = new Catalog('showtoplevels', '/catalog/?', Array
(
[1] =>
[2] => all
[3] =>
[4] =>
[5] =>
)
), tpl - catalog_product.html
[-7] => $PAGE["modules"]["pages"] = new Pages('showmainprop', '', Array
(
)
), tpl - pages_body.html
[2] => $PAGE["modules"]["catalog"]->CatalogPrototype('showtree', '/catalog/?', Array
(
[1] =>
[2] => all
[3] =>
[4] =>
[5] =>
)
), tpl - _empty.html
[7] => $PAGE["modules"]["catalog"]->CatalogPrototype('showsearchform', '/catalog/?', Array
(
[1] =>
[2] =>
[3] => all
[4] => stdClass Object
(
[name] => 1
[ptype] =>
[price] => 1
[group] => 1
[availability] => 1
[sort] => 1
)
[5] =>
)
), tpl - _empty.html
[287] => $PAGE["modules"]["catalog"]->CatalogPrototype('showviewed', '/catalog/?', Array
(
[1] => 15
[2] =>
[3] =>
[4] =>
[5] =>
)
), tpl - catalog_viewed.html
[-1] => $PAGE["modules"]["shop"] = new Shop('basket', '', Array
(
)
), tpl - shop_basket.html
[-4] => $PAGE["modules"]["pages"]->PagesPrototype('showpath', '', Array
(
)
), tpl - pages_path.html
[-3] => $PAGE["modules"]["pages"]->PagesPrototype('showpagetitle', '', Array
(
)
), tpl - pages_title.html
[-6] => $PAGE["modules"]["pages"]->PagesPrototype('showpageprop', '', Array
(
)
), tpl - pages_body.html
)
Переменные сессии:
Array
(
[session_cur_site_id] => 1
[session_cur_lang_id] => 1
[session_ip] => 13.58.199.13
[session_city] => Колумбус
[catalog_rates] => Array
(
[FL] => Array
(
[USD/USD] => 1
[RUR/RUR] => 1
[USD/RUR] => 95
[RUR/USD] => 0.010526315789474
[EUR/EUR] => 1
[EUR/RUR] => 105
[RUR/EUR] => 0.0095238095238095
[EUR/USD] => 1.105
[USD/EUR] => 0.90497737556561
)
[FX] => Array
(
[USD/USD] => 1
[RUR/RUR] => 1
[USD/RUR] => 95
[RUR/USD] => 0.010526315789474
[EUR/EUR] => 1
[EUR/RUR] => 105
[RUR/EUR] => 0.0095238095238095
[EUR/USD] => 1.105
[USD/EUR] => 0.90497737556561
)
)
[catalog_viewed] => Array
(
[0] => 1798
)
[referer] =>
)
Last-modified:
Fri, 09 May 2025 12:50:29