Отладочная информация:
Время генерации страницы:
Time: 0,037 sec.
QUERY STRING:
lang=&link=deposits/
Шаблон страницы:
_index8.html
SQL-запросы на странице:
Array
(
[0] => SELECT permission_type FROM abo_rus_pages USE INDEX (PRIMARY) WHERE id = 277
[1] => SELECT id, language FROM sites_languages
[2] => 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 abo_rus_pages as p LEFT JOIN core_users_groups ug ON (ug.group_id = p.usr_group_id AND ug.user_id = 0 ) , abo_rus_pages_blocks as pb , abo_rus_pages_templates as pt , modules as m WHERE p.id = 277
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
[3] => SELECT id, language FROM sites_languages
[4] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='abo' AND S.id = site_id AND M.id=module_id AND active
[5] => 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 abo_rus_articles a LEFT JOIN core_users_groups ug ON (ug.group_id = a.usr_group_id AND ug.user_id = 0) WHERE id = 52 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
[6] => SELECT id, title, commentable FROM abo_rus_articles WHERE id=52 AND commentable>0
[7] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=52
[8] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=52
[9] => UPDATE abo_rus_articles SET hits=IF(hits > 0, hits + 1, 1) WHERE id='52'
[10] => 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 abo_rus_articles a LEFT JOIN core_users_groups ug ON (ug.group_id = a.usr_group_id AND ug.user_id = 0) WHERE id = 74 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
[11] => SELECT id, title, commentable FROM abo_rus_articles WHERE id=74 AND commentable>0
[12] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=74
[13] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=74
[14] => UPDATE abo_rus_articles SET hits=IF(hits > 0, hits + 1, 1) WHERE id='74'
[15] => 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 abo_rus_articles a LEFT JOIN core_users_groups ug ON (ug.group_id = a.usr_group_id AND ug.user_id = 0) WHERE id = 43 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
[16] => SELECT id, title, commentable FROM abo_rus_articles WHERE id=43 AND commentable>0
[17] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=43
[18] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=43
[19] => UPDATE abo_rus_articles SET hits=IF(hits > 0, hits + 1, 1) WHERE id='43'
[20] => SELECT * FROM abo_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
[21] => SELECT id, parent_id, title, address
FROM abo_rus_pages USE INDEX (index_3)
WHERE parent_id IN (279,276,285,277,280,281,253,251,283,278) AND
active = 1
ORDER BY page_rank desc
[22] => SELECT id, parent_id, title, address
FROM abo_rus_pages USE INDEX (index_3)
WHERE parent_id IN (279,276,285,277,280,281,253,251,283,278) AND
active = 1
ORDER BY page_rank desc
[23] => SELECT * FROM abo_rus_pages_context_menu ORDER BY id
)
Cache: use_cache =
Array
(
)
Вызываемые функции:
Array
(
[1412] => $PAGE["modules"]["article"] = new Article('showarticle', '/dmodules/?', Array
(
[1] => 52
[2] =>
[3] =>
[4] =>
[5] =>
[tpl] =>
)
), tpl - article.html
[1384] => $PAGE["modules"]["article"]->Article('showarticle', '/dmodules/?', Array
(
[1] => 74
[2] =>
[3] =>
[4] =>
[5] =>
[tpl] =>
)
), tpl - article.html
[1397] => $PAGE["modules"]["article"]->Article('showarticle', '/dmodules/?', Array
(
[1] => 43
[2] =>
[3] =>
[4] =>
[5] =>
[tpl] =>
)
), tpl - article.html
[-1] => $PAGE["modules"]["pages"] = new Pages('showmenu', '', Array
(
)
), tpl - pages_menu.html
[-2] => $PAGE["modules"]["pages"]->PagesPrototype('showsubmenu', '', Array
(
)
), tpl - pages_sub_menu.html
[-10] => $PAGE["modules"]["pages"]->PagesPrototype('showchilds', '', Array
(
)
)
[-4] => $PAGE["modules"]["pages"]->PagesPrototype('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] => 30,0785
[RUR/USD] => 0,033246338746945
[EUR/EUR] => 1
[EUR/RUR] => 44,0259
[RUR/EUR] => 0,022713902498302
[EUR/USD] => 1,4637
[USD/EUR] => 0,68320010931202
)
)
Last-modified:
Sun, 08 Sep 2024 22:43:04