Отладочная информация:
Время генерации страницы:
Time: 0,067 sec.
QUERY STRING:
lang=&link=fotousers/&action=show&category=43&id=370
Шаблон страницы:
_index8.html
SQL-запросы на странице:
Array
(
[0] => SELECT permission_type FROM abo_rus_pages USE INDEX (PRIMARY) WHERE id = 253
[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 = 253
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 g.*, IF(g.owner_id = 0, 1 , 0) as is_owner,
IF(g.owner_id = 0,
g.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(g.rights & 0xF0) >> 4,
g.rights & 0xF
)
) AS user_rights FROM abo_rus_gallery AS g LEFT JOIN core_users_groups ug ON (ug.group_id = g.usr_group_id AND ug.user_id = 0) WHERE id = 370 AND IF( g.owner_id = 0,
g.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(g.rights & 0xF0) >> 4,
g.rights & 0xF
)
) > 0
[6] => SELECT T.* FROM abo_rus_tag_item TI INNER JOIN abo_rus_tag T ON TI.tag_id=T.id WHERE TI.item_id=370
[7] => SELECT G.*, C.title AS category_title, GROUP_CONCAT(DISTINCT T.name ORDER BY T.name SEPARATOR ',') AS tags FROM abo_rus_gallery G INNER JOIN abo_rus_gallery_categories C ON G.category_id=C.id LEFT JOIN abo_rus_tag_item TI ON G.id=TI.item_id LEFT JOIN abo_rus_tag T ON TI.tag_id=T.id WHERE G.active=1 AND G.category_id=43 GROUP BY G.id ORDER BY idx
[8] => SELECT C.*, IF(C.owner_id = 0, 1 , 0) as is_owner,
IF(C.owner_id = 0,
C.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(C.rights & 0xF0) >> 4,
C.rights & 0xF
)
) AS user_rights FROM abo_rus_gallery_categories AS C LEFT JOIN core_users_groups ug ON (ug.group_id = C.usr_group_id AND ug.user_id = 0) WHERE C.id = 43 AND IF( C.owner_id = 0,
C.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(C.rights & 0xF0) >> 4,
C.rights & 0xF
)
) > 0
[9] => SELECT g.*, GROUP_CONCAT(DISTINCT T.name ORDER BY T.name SEPARATOR ',') AS tags, c.title AS ctgr_title, c.poll as ctgr_poll, t.title AS theme_title, u.username, IF(g.owner_id = 0, 1 , 0) as is_owner,
IF(g.owner_id = 0,
g.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(g.rights & 0xF0) >> 4,
g.rights & 0xF
)
) AS user_rights FROM abo_rus_gallery AS g INNER JOIN abo_rus_gallery_categories c ON g.category_id=c.id LEFT JOIN abo_rus_gallery_themes t ON g.theme_id=t.id LEFT JOIN core_users u ON g.owner_id=u.id LEFT JOIN abo_rus_tag_item TI ON g.id=TI.item_id LEFT JOIN abo_rus_tag T ON TI.tag_id=T.id LEFT JOIN core_users_groups ug ON (ug.group_id = g.usr_group_id AND ug.user_id = 0) WHERE g.id = 370 AND g.active=1 AND IF( g.owner_id = 0,
g.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(g.rights & 0xF0) >> 4,
g.rights & 0xF
)
) > 0 GROUP BY g.id
[10] => SELECT g.id, IF(g.owner_id = 0, 1 , 0) as is_owner,
IF(g.owner_id = 0,
g.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(g.rights & 0xF0) >> 4,
g.rights & 0xF
)
) AS user_rights FROM abo_rus_gallery AS g LEFT JOIN core_users_groups ug ON (ug.group_id = g.usr_group_id AND ug.user_id = 0) WHERE category_id = 43 AND id < 370 AND active=1 AND IF( g.owner_id = 0,
g.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(g.rights & 0xF0) >> 4,
g.rights & 0xF
)
) > 0 ORDER BY id DESC LIMIT 0,1
[11] => SELECT g.*, IF(g.owner_id = 0, 1 , 0) as is_owner,
IF(g.owner_id = 0,
g.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(g.rights & 0xF0) >> 4,
g.rights & 0xF
)
) AS user_rights FROM abo_rus_gallery AS g LEFT JOIN core_users_groups ug ON (ug.group_id = g.usr_group_id AND ug.user_id = 0) WHERE category_id = 43 AND id > 370 AND active=1 AND IF( g.owner_id = 0,
g.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(g.rights & 0xF0) >> 4,
g.rights & 0xF
)
) > 0 ORDER BY id LIMIT 0,1
[12] => UPDATE abo_rus_gallery SET hits=IF(hits > 0, hits + 1, 1) WHERE id='370'
[13] => SELECT G.id, IF(G.signature, G.signature, G.small_image) AS title, C.comment FROM abo_rus_gallery G INNER JOIN abo_rus_gallery_categories AS C ON category_id=C.id WHERE G.id=370 AND C.comment>0
[14] => SELECT * FROM abo_rus_comments_resource WHERE type=5 AND item_id=370
[15] => SELECT * FROM abo_rus_comments_resource WHERE type=5 AND item_id=370
[16] => 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 abo_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
[17] => UPDATE abo_rus_polls SET hits=IF(hits > 0, hits + 1, 1) WHERE id=''
[18] => 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 = 70 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
[19] => SELECT id, title, commentable FROM abo_rus_articles WHERE id=70 AND commentable>0
[20] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=70
[21] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=70
[22] => UPDATE abo_rus_articles SET hits=IF(hits > 0, hits + 1, 1) WHERE id='70'
[23] => UPDATE core_users SET onsite=0 WHERE last_visit SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 65826917 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[25] => 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 abo_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 = 47 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2024-10-11' 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
[26] => 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 = 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
[27] => SELECT id, title, commentable FROM abo_rus_articles WHERE id=35 AND commentable>0
[28] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=35
[29] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=35
[30] => UPDATE abo_rus_articles SET hits=IF(hits > 0, hits + 1, 1) WHERE id='35'
[31] => 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
[32] => 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
[33] => 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
[34] => SELECT * FROM abo_rus_pages_context_menu ORDER BY id
)
Cache: use_cache =
Array
(
)
Вызываемые функции:
Array
(
[1072] => $PAGE["modules"]["gallery"] = new Gallery('show', '/fotousers/?', Array
(
[1] =>
[2] =>
[3] =>
[4] =>
[5] =>
[tpl] =>
)
), tpl - gallery_image.html
[1051] => $PAGE["modules"]["poll"] = new Poll('showpoll', '/poll-result/?', Array
(
[1] =>
[2] =>
[3] =>
[4] =>
[5] =>
[tpl] =>
)
), tpl - poll_show.html
[1420] => $PAGE["modules"]["article"] = new Article('showarticle', '/dmodules/?', Array
(
[1] => 70
[2] =>
[3] =>
[4] =>
[5] =>
[tpl] =>
)
), tpl - article.html
[1361] => $PAGE["modules"]["siteusers"] = new Siteusers('usernav', '/siteusers/?', Array
(
[1] =>
[2] =>
[3] =>
[4] =>
[5] =>
[tpl] =>
)
), tpl - siteusers_usernav.html
[1053] => $PAGE["modules"]["banners"] = new Banners('showbanner', '/banners/?', Array
(
[1] => 47
[2] =>
[3] =>
[4] =>
[5] =>
[tpl] =>
)
), tpl - banners_showbanner.html
[1356] => $PAGE["modules"]["article"]->Article('showarticle', '/dmodules/?', Array
(
[1] => 35
[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:
Fri, 11 Oct 2024 20:20:58