Отладочная информация:
Время генерации страницы:
Time: 0,062 sec.
QUERY STRING:
lang=&link=fotousers/
Шаблон страницы:
_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 C.*, U.username, SUM(G.active) AS cnt, 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 abo_rus_gallery AS G ON category_id=C.id LEFT JOIN core_users AS U ON C.owner_id=U.id LEFT JOIN core_users_groups ug ON (ug.group_id = C.usr_group_id AND ug.user_id = 0) WHERE C.active = 1 AND IF( C.owner_id = 0,
C.rights >> 8,
IF(ug.user_id IS NOT NULL ,
(C.rights & 0xF0) >> 4,
C.rights & 0xF
)
) > 0 GROUP BY C.id ORDER BY idx
[6] => 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 LIMIT 0,5
[7] => 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
[8] => UPDATE abo_rus_polls SET hits=IF(hits > 0, hits + 1, 1) WHERE id=''
[9] => 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
[10] => SELECT id, title, commentable FROM abo_rus_articles WHERE id=70 AND commentable>0
[11] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=70
[12] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=70
[13] => UPDATE abo_rus_articles SET hits=IF(hits > 0, hits + 1, 1) WHERE id='70'
[14] => UPDATE core_users SET onsite=0 WHERE last_visit SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 308350553 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[16] => 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-12-14' 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
[17] => 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
[18] => SELECT id, title, commentable FROM abo_rus_articles WHERE id=35 AND commentable>0
[19] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=35
[20] => SELECT * FROM abo_rus_comments_resource WHERE type=4 AND item_id=35
[21] => UPDATE abo_rus_articles SET hits=IF(hits > 0, hits + 1, 1) WHERE id='35'
[22] => 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
[23] => 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
[24] => 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
[25] => SELECT * FROM abo_rus_pages_context_menu ORDER BY id
)
Cache: use_cache =
Array
(
)
Вызываемые функции:
Array
(
[1072] => $PAGE["modules"]["gallery"] = new Gallery('list', '/fotousers/?', Array
(
[1] =>
[2] =>
[3] =>
[4] =>
[5] =>
[tpl] =>
)
), tpl - gallery_categories.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:
Sat, 14 Dec 2024 15:13:58