Отладочная информация:
Время генерации страницы:
Time: 0.086 sec.
QUERY STRING:
lang=&link;=catalog/kupit_remen/1200j6.html
Шаблон страницы:
_index1.html
SQL-запросы на странице:
Array
(
[0] => SELECT permission_type FROM rems_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 rems_rus_pages as p LEFT JOIN core_users_groups ug ON (ug.group_id = p.usr_group_id AND ug.user_id = 0 ) , rems_rus_pages_blocks as pb , rems_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 block_rank
[2] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[3] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[4] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[5] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[6] => show columns from `rems_rus_catalog_categories`
[7] => show columns from `rems_rus_catalog_products`
[8] => select id, parent_id, if(alias is not null,alias,id) as path from `rems_rus_catalog_categories` having path IN ('kupit_remen') order by clevel
[9] => select id, parent_id, if(alias is not null,alias,id) as path from `rems_rus_catalog_categories` having path IN ('kupit_remen') order by clevel
[10] => SELECT *
FROM rems_rus_catalog_categories
WHERE id = 1
ORDER BY rank
[11] => SELECT id, title, description, img
FROM rems_rus_catalog_categories
WHERE parent_id = 1 AND active = 1
ORDER BY rank
[12] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(71)
[13] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(1)
[14] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(0)
[15] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(74)
[16] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(1)
[17] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(0)
[18] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(80)
[19] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(1)
[20] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(0)
[21] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(79)
[22] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(1)
[23] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(0)
[24] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(73)
[25] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(1)
[26] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from rems_rus_catalog_categories where id in(0)
[27] => SELECT DISTINCT P.id, product_title, product_inf, product_description, image_middle, image_big,
price_1, price_2, price_3, price_4, price_5, currency, novelty, product_availability,
group_title, ptype_name, PT.link as ptype_link
FROM rems_rus_catalog_products AS P
LEFT JOIN rems_rus_catalog_groups AS G ON P.group_id = G.id
LEFT JOIN rems_rus_catalog_ptypes AS PT ON P.ptype_id = PT.id
WHERE category_id = 1 AND P.active = 1
ORDER BY P.rank, ptype_id LIMIT 0, 20
[28] => SELECT p.*, pt.ptype_name, pt.link as ptype_link
FROM rems_rus_catalog_products p
LEFT JOIN rems_rus_catalog_ptypes pt ON p.ptype_id = pt.id
WHERE category_id = 1 AND active = 1 AND leader
ORDER BY rank DESC LIMIT 0,20
[29] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[30] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[31] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 3438076626 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[32] => SELECT b.id, IF(b.owner_id = 0, 1 , 0) as is_owner,
IF(b.owner_id = 0,
b.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(b.rights & 0xF0) >> 4,
b.rights & 0xF
)
) AS user_rights FROM rems_rus_banners b LEFT JOIN core_users_groups ug ON (ug.group_id = b.usr_group_id AND ug.user_id = 0) WHERE category_id = 55 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2016-09-18' BETWEEN show_from AND show_to) AND active AND IF( b.owner_id = 0,
b.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(b.rights & 0xF0) >> 4,
b.rights & 0xF
)
) > 0
[33] => SELECT * FROM rems_rus_banners WHERE id=41
[34] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 41
[35] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[36] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[37] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 3438076626 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[38] => SELECT b.id, IF(b.owner_id = 0, 1 , 0) as is_owner,
IF(b.owner_id = 0,
b.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(b.rights & 0xF0) >> 4,
b.rights & 0xF
)
) AS user_rights FROM rems_rus_banners b LEFT JOIN core_users_groups ug ON (ug.group_id = b.usr_group_id AND ug.user_id = 0) WHERE category_id = 58 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2016-09-18' BETWEEN show_from AND show_to) AND active AND IF( b.owner_id = 0,
b.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(b.rights & 0xF0) >> 4,
b.rights & 0xF
)
) > 0
[39] => SELECT * FROM rems_rus_banners WHERE id=47
[40] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 47
[41] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[42] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 3438076626 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[43] => SELECT b.id, IF(b.owner_id = 0, 1 , 0) as is_owner,
IF(b.owner_id = 0,
b.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(b.rights & 0xF0) >> 4,
b.rights & 0xF
)
) AS user_rights FROM rems_rus_banners b LEFT JOIN core_users_groups ug ON (ug.group_id = b.usr_group_id AND ug.user_id = 0) WHERE category_id = 60 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2016-09-18' BETWEEN show_from AND show_to) AND active AND IF( b.owner_id = 0,
b.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(b.rights & 0xF0) >> 4,
b.rights & 0xF
)
) > 0
[44] => SELECT * FROM rems_rus_banners WHERE id=52
[45] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 52
[46] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[47] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[48] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[49] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[50] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
)
Cache: use_cache =
on
Array
(
[2933] => Блок 2933 модуля article с действием showarticle <- cache/rems_rus/catalog-7b0338db3c1aee9de7f7763ffea224c2-(139-5-2933-7).html
[497] => Блок 497 модуля siteusers с действием loginform <- cache/rems_rus/catalog-7b0338db3c1aee9de7f7763ffea224c2-(139-4-497-23).html
[1041] => Блок 1041 модуля catalog с действием showtree <- cache/rems_rus/catalog-7b0338db3c1aee9de7f7763ffea224c2-(139-1-1041-17).html
[2286] => Блок 2286 модуля catalog с действием showsearchform <- cache/rems_rus/catalog-7b0338db3c1aee9de7f7763ffea224c2-(139-4-2286-17).html
[2669] => Блок 2669 модуля article с действием showarticle <- cache/rems_rus/catalog-7b0338db3c1aee9de7f7763ffea224c2-(139-4-2669-7).html
[-1] => Блок -1 модуля pages с действием showmenu <- cache/rems_rus/catalog-7b0338db3c1aee9de7f7763ffea224c2-(139-1-1-3).html
[-2] => Блок -2 модуля pages с действием showsubmenu <- cache/rems_rus/catalog-7b0338db3c1aee9de7f7763ffea224c2-(139-1-2-3).html
[-10] => Блок -10 модуля pages с действием showchilds <- cache/rems_rus/catalog-7b0338db3c1aee9de7f7763ffea224c2-(139-1-10-10).html
[-3] => Блок -3 модуля pages с действием showheadtitle <- cache/rems_rus/catalog-7b0338db3c1aee9de7f7763ffea224c2-(139-1-3-3).html
[-4] => Блок -4 модуля pages с действием showpath <- cache/rems_rus/catalog-7b0338db3c1aee9de7f7763ffea224c2-(139-1-4-3).html
)
Вызываемые функции:
Array
(
[2954] => $PAGE["modules"]["catalog"] = new Catalog('', '/catalog/?', Array
(
[1] =>
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[1719] => $PAGE["modules"]["banners"] = new Banners('showbanner', '/catalog/', Array
(
[1] => 55
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[1703] => $PAGE["modules"]["banners"]->Banners('showbanner', '/catalog/', Array
(
[1] => 58
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[2949] => $PAGE["modules"]["banners"]->Banners('showbanner', '/catalog/', Array
(
[1] => 60
[2] =>
[3] =>
[4] =>
[5] =>
)
)
)
Переменные сессии:
Array
(
[session_cur_site_id] => 2
[session_cur_lang_id] => 2
[catalog_rates] => Array
(
[USD/USD] => 1
[RUR/RUR] => 1
[USD/RUR] => 29.5764
[RUR/USD] => 0.0338107409962
[EUR/EUR] => 1
[EUR/RUR] => 39.7152
[RUR/EUR] => 0.025179276448312
[EUR/USD] => 1.3428
[USD/EUR] => 0.74471254095919
)
)
Last-modified:
Sun, 31 Jul 2016 06:34:53