Отладочная информация:
Время генерации страницы:
Time: 0.067 sec.
QUERY STRING:
lang=&link=catalog/shop/
Шаблон страницы:
_index1.html
SQL-запросы на странице:
Array
(
[0] => SELECT permission_type FROM www_rus_pages USE INDEX (PRIMARY) WHERE id = 212
[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 www_rus_pages as p LEFT JOIN core_users_groups ug ON (ug.group_id = p.usr_group_id AND ug.user_id = 0 ) , www_rus_pages_blocks as pb , www_rus_pages_templates as pt , modules as m WHERE p.id = 212
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='www' AND S.id = site_id AND M.id=module_id AND active
[3] => show columns from `www_rus_catalog_categories`
[4] => show columns from `www_rus_catalog_products`
[5] => SELECT id, parent_id, title, clevel, rank FROM www_rus_catalog_categories WHERE active=1 ORDER BY rank, id
[6] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(83)
[7] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(64)
[8] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(1)
[9] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(0)
[10] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(65)
[11] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(79)
[12] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(85)
[13] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(67)
[14] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(81)
[15] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(68)
[16] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(1)
[17] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(0)
[18] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(71)
[19] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(69)
[20] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(1)
[21] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(0)
[22] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(72)
[23] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(73)
[24] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(74)
[25] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(75)
[26] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(76)
[27] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(77)
[28] => select id, parent_id, if(alias is not null and alias!='',alias,id) as path from www_rus_catalog_categories where id in(78)
[29] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='www' AND S.id = site_id AND M.id=module_id AND active
[30] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='www' AND S.id = site_id AND M.id=module_id AND active
[31] => SELECT p.*, DATE_FORMAT(begin_date,'%d.%m.%Y') as begin_date, DATE_FORMAT(end_date,'%d.%m.%Y') as end_date, 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 www_rus_polls p LEFT JOIN core_users_groups ug ON (ug.group_id = p.usr_group_id AND ug.user_id = 0) WHERE begin_date <= CURDATE() AND end_date >= CURDATE() AND active = 1 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 RAND() LIMIT 0,1
[32] => UPDATE www_rus_polls SET hits=IF(hits > 0, hits + 1, 1) WHERE id=''
[33] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='www' AND S.id = site_id AND M.id=module_id AND active
[34] => SELECT *
FROM www_rus_pages USE INDEX (index_2)
WHERE ((parent_id = 0 OR branch!="" )
AND active = 1)
OR is_default = 1
ORDER BY level, page_rank DESC
[35] => SELECT id, parent_id, title, address
FROM www_rus_pages USE INDEX (index_3)
WHERE parent_id IN (218,257,208,290,139,206,255,198,269,266,267,265,268,297,284,264,263,262,261,260,259,258,256,295,280,278,277,276,275,274,273,293,292,291,279,212,296,201,285,283,286,287,289,281,282,288,294,229) AND
active = 1
ORDER BY id
[36] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=212
[37] => SELECT parent_id FROM www_rus_pages WHERE id=212
[38] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=139
[39] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=139
[40] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=139
[41] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=139
[42] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=139
[43] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='www' AND S.id = site_id AND M.id=module_id AND active
[44] => SELECT id, parent_id, title, address
FROM www_rus_pages USE INDEX (index_3)
WHERE parent_id IN (218,257,208,290,139,206,255,198,269,266,267,265,268,297,284,264,263,262,261,260,259,258,256,295,280,278,277,276,275,274,273,293,292,291,279,212,296,201,285,283,286,287,289,281,282,288,294,229) AND
active = 1
ORDER BY id
[45] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=212
[46] => SELECT parent_id FROM www_rus_pages WHERE id=212
[47] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='www' AND S.id = site_id AND M.id=module_id AND active
[48] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='www' AND S.id = site_id AND M.id=module_id AND active
[49] => SELECT permission_type FROM www_rus_pages USE INDEX (PRIMARY) WHERE id = 212
[50] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='www' AND S.id = site_id AND M.id=module_id AND active
)
Cache: use_cache =
Array
(
)
Вызываемые функции:
Array
(
[1228] => $PAGE["modules"]["catalog"] = new Catalog('showtree', '/catalog/?', Array
(
[1] =>
[2] => all
[3] =>
[4] => 212
[5] =>
)
)
[1227] => $PAGE["modules"]["shop"] = new Shop('showcart', '/catalog/shop/?', Array
(
[1] =>
[2] =>
[3] =>
[4] => 212
[5] =>
)
)
[1226] => $PAGE["modules"]["poll"] = new Poll('', '/catalog/shop/?', Array
(
[1] =>
[2] =>
[3] =>
[4] => 212
[5] =>
)
)
[-1] => $PAGE["modules"]["pages"] = new Pages('showmenu', '', Array
(
[4] => 212
)
)
[-2] => $PAGE["modules"]["pages"]->Pages('showsubmenu', '', Array
(
[4] => 212
)
)
[-10] => $PAGE["modules"]["pages"]->Pages('showchilds', '', Array
(
[4] => 212
)
)
[-3] => $PAGE["modules"]["pages"]->Pages('showheadtitle', '', Array
(
[4] => 212
)
)
[-4] => $PAGE["modules"]["pages"]->Pages('showpath', '', Array
(
[4] => 212
)
)
)
Переменные сессии:
Array
(
[session_cur_site_id] => 1
[session_cur_lang_id] => 1
[catalog_rates] => Array
(
[USD/USD] => 1
[RUR/RUR] => 1
[USD/RUR] => 28.4356
[RUR/USD] => 0.0351671847965
[EUR/EUR] => 1
[EUR/RUR] => 39.3151
[RUR/EUR] => 0.0254355196858
[EUR/USD] => 1.3826
[USD/EUR] => 0.723274989151
)
)
Last-modified:
Sat, 04 Feb 2012 08:03:42