Отладочная информация:
Время генерации страницы:
Time: 0,067 sec.
QUERY STRING:
Шаблон страницы:
_index5.html
SQL-запросы на странице:
Array
(
[0] => SELECT permission_type FROM hockey_rus_pages USE INDEX (PRIMARY) WHERE id = 1
[1] => SELECT pb.*, pb.id as block_id, m.name, m.title, m.id as mod_id, p.usr_group_id, number_of_fields, pt.main_module , 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 hockey_rus_pages as p LEFT JOIN core_users_groups ug ON (ug.group_id = p.usr_group_id AND ug.user_id = 0 ) , hockey_rus_pages_blocks as pb , hockey_rus_pages_templates as pt , modules as m WHERE p.id = 1
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='hockey' AND S.id = site_id AND M.id=module_id AND active
[3] => SELECT * FROM sites ORDER BY sitename_rus
[4] => SELECT C.id, C.title, if(C.alias is not null and C.alias!='', C.alias, C.id) as alias, COUNT(P.id) as cnt FROM hockey_rus_catalog_categories C INNER JOIN hockey_rus_catalog_categories CH ON CH.cleft>=C.cleft AND CH.cright<=C.cright LEFT JOIN hockey_rus_catalog_products P ON CH.id=P.category_id AND P.active WHERE C.parent_id=1 AND C.active=1 GROUP BY C.id ORDER BY C.rank
[5] => SELECT S.id FROM hockey_rus_catalog_categories AS P INNER JOIN hockey_rus_catalog_categories AS S ON S.cleft BETWEEN P.cleft AND P.cright WHERE P.id=83
[6] => SELECT p.*, pt.ptype_name, pt.link as ptype_link, if(c.alias is not null and c.alias!='', c.alias, c.id) as ctg_alias,
if(p.alias is not null and p.alias!='', p.alias, p.id) as prod_alias, ptype_id, ptype_name, pt.link as ptype_link, pt.logo as ptype_logo
FROM hockey_rus_catalog_products p INNER JOIN hockey_rus_catalog_categories c ON c.id=p.category_id
LEFT JOIN hockey_rus_catalog_ptypes pt ON p.ptype_id = pt.id
WHERE 1 AND p.active = 1 AND leader
ORDER BY p.rank DESC LIMIT 0,1
[7] => SELECT prod_id, prop_val_id FROM hockey_rus_catalog_order_prop_val WHERE prod_id IN (111)
[8] => SELECT T.*, count(I.item_id) AS item_cnt FROM hockey_rus_news_tag T INNER JOIN hockey_rus_news_tag_item I ON T.id=I.tag_id GROUP BY T.id ORDER BY item_cnt DESC
[9] => 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 hockey_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
[10] => SELECT id,variant_text
FROM hockey_rus_poll_other_results
WHERE poll_id=11
ORDER BY variant_text
[11] => UPDATE hockey_rus_polls SET hits=IF(hits > 0, hits + 1, 1) WHERE id='0'
[12] => SELECT * FROM hockey_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
[13] => SELECT id, parent_id, title, address
FROM hockey_rus_pages USE INDEX (index_3)
WHERE parent_id IN (200) AND
active = 1
ORDER BY page_rank desc
)
Cache: use_cache =
Array
(
)
Вызываемые функции:
Array
(
[1365] => $PAGE["modules"]["pages"] = new Pages('showsites', '/menu/?', Array
(
[1] =>
[2] =>
[3] =>
[4] =>
[5] =>
[tpl] =>
)
), tpl - pages_sites.html
[1322] => $PAGE["modules"]["catalog"] = new Catalog('showcatmenu', '/catalog/?', Array
(
[1] =>
[2] => all
[3] => 1
[4] =>
[5] =>
[tpl] =>
)
), tpl - catalog_menu.html
[1341] => $PAGE["modules"]["catalog"]->Catalog('showleaders', '/catalog/?', Array
(
[1] => 1
[2] => 83
[3] =>
[4] =>
[5] =>
[tpl] =>
)
), tpl - catalog_leaders.html
[1377] => $PAGE["modules"]["news"] = new News('clouds', '/news/?', Array
(
[1] =>
[2] =>
[3] =>
[4] =>
[5] =>
[tpl] => news_clouds.html
)
), tpl - news_clouds.html
[1329] => $PAGE["modules"]["poll"] = new Poll('showpoll', '/poll/?', Array
(
[1] =>
[2] =>
[3] =>
[4] =>
[5] =>
[tpl] =>
)
), tpl - poll_show.html
[-1] => $PAGE["modules"]["pages"]->Pages('showmenu', '', Array
(
)
), tpl - pages_menu.html
[-3] => $PAGE["modules"]["pages"]->Pages('showheadtitle', '', Array
(
)
), tpl - pages_title.html
[-4] => $PAGE["modules"]["pages"]->Pages('showpath', '', Array
(
)
), tpl - pages_path.html
)
Переменные сессии:
Array
(
[session_cur_site_id] => 1
[session_cur_lang_id] => 1
[catalog_rates] => Array
(
[USD/USD] => 1
[RUR/RUR] => 1
[USD/RUR] => 65,6445
[RUR/USD] => 0,01523356869197
[EUR/EUR] => 1
[EUR/RUR] => 74,9726
[RUR/EUR] => 0,013338206224674
[EUR/USD] => 1,1421
[USD/EUR] => 0,87558007179757
)
)
Last-modified:
Tue, 06 Jun 2023 13:30:55