Отладочная информация:
Время генерации страницы:
Time: 0.029 sec.
QUERY STRING:
lang=&link=inter/
Шаблон страницы:
_index1.html
SQL-запросы на странице:
Array
(
[0] => SELECT permission_type FROM www_rus_pages USE INDEX (PRIMARY) WHERE id = 290
[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 = 290
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] => SELECT a.*, IF(a.owner_id = 0, 1 , 0) as is_owner,
IF(a.owner_id = 0,
a.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(a.rights & 0xF0) >> 4,
a.rights & 0xF
)
) AS user_rights FROM www_rus_articles a LEFT JOIN core_users_groups ug ON (ug.group_id = a.usr_group_id AND ug.user_id = 0) WHERE id = 35 AND active=1 AND IF( a.owner_id = 0,
a.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(a.rights & 0xF0) >> 4,
a.rights & 0xF
)
) > 0
[4] => UPDATE www_rus_articles SET hits=IF(hits > 0, hits + 1, 1) WHERE id='35'
[5] => 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
[6] => 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
[7] => 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
[8] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=290
[9] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=290
[10] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=290
[11] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=290
[12] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=290
[13] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=290
[14] => 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
[15] => 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
[16] => SELECT id FROM www_rus_pages WHERE parent_id='0' AND id=290
[17] => 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
[18] => 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
[19] => SELECT permission_type FROM www_rus_pages USE INDEX (PRIMARY) WHERE id = 290
[20] => 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
(
[1264] => $PAGE["modules"]["article"] = new Article('showarticle', '/inter/?', Array
(
[1] => 35
[2] =>
[3] =>
[4] => 290
[5] =>
)
)
[-1] => $PAGE["modules"]["pages"] = new Pages('showmenu', '', Array
(
[4] => 290
)
)
[-2] => $PAGE["modules"]["pages"]->Pages('showsubmenu', '', Array
(
[4] => 290
)
)
[-10] => $PAGE["modules"]["pages"]->Pages('showchilds', '', Array
(
[4] => 290
)
)
[-3] => $PAGE["modules"]["pages"]->Pages('showheadtitle', '', Array
(
[4] => 290
)
)
[-4] => $PAGE["modules"]["pages"]->Pages('showpath', '', Array
(
[4] => 290
)
)
)
Переменные сессии:
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 07:51:17