Отладочная информация:
Время генерации страницы:
Time: 0.073 sec.
QUERY STRING:
lang=&link;=stat/
Шаблон страницы:
_index10.html
SQL-запросы на странице:
Array
(
[0] => SELECT permission_type FROM rems_rus_pages USE INDEX (PRIMARY) WHERE id = 262
[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 rems_rus_pages as p LEFT JOIN core_users_groups ug ON (ug.group_id = p.usr_group_id AND ug.user_id = 0 ) , rems_rus_pages_blocks as pb , rems_rus_pages_templates as pt , modules as m WHERE p.id = 262
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='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[3] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[4] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[5] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[6] => 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 rems_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 = 62 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-24' 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
[7] => SELECT * FROM rems_rus_banners WHERE id=55
[8] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 55
[9] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[10] => 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 rems_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
[11] => UPDATE rems_rus_polls SET hits=IF(hits > 0, hits + 1, 1) WHERE id=''
[12] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[13] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[14] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[15] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[16] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[17] => 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 rems_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 = 54 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-24' 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
[18] => SELECT * FROM rems_rus_banners WHERE id=42
[19] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 42
[20] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[21] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[22] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[23] => 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 rems_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 = 55 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-24' 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
[24] => SELECT * FROM rems_rus_banners WHERE id=41
[25] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 41
[26] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[27] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[28] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[29] => 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 rems_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 = 58 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-24' 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
[30] => SELECT * FROM rems_rus_banners WHERE id=47
[31] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 47
[32] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[33] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[34] => 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 rems_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 = 59 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-24' 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
[35] => SELECT * FROM rems_rus_banners WHERE id=49
[36] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 49
[37] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[38] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[39] => 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 rems_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 = 57 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-24' 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
[40] => SELECT * FROM rems_rus_banners WHERE id=46
[41] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 46
[42] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[43] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[44] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[45] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[46] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
[47] => SELECT M.name FROM sites AS S, modules AS M, sites_modules AS SM WHERE alias='rems' AND S.id = site_id AND M.id=module_id AND !admin_only AND active
)
Cache: use_cache =
on
Array
(
[2327] => Блок 2327 модуля article с действием showarticle <- cache/rems_rus/stat-7b0338db3c1aee9de7f7763ffea224c2-(262-5-2327-7).html
[2325] => Блок 2325 модуля siteusers с действием loginform <- cache/rems_rus/stat-7b0338db3c1aee9de7f7763ffea224c2-(262-4-2325-23).html
[2326] => Блок 2326 модуля news с действием alist_archive <- cache/rems_rus/stat-7b0338db3c1aee9de7f7763ffea224c2-(262-4-2326-5).html
[2366] => Блок 2366 модуля article с действием showarticle <- cache/rems_rus/stat-7b0338db3c1aee9de7f7763ffea224c2-(262-2-2366-7).html
[2612] => Блок 2612 модуля blogs с действием blogsannounce <- cache/rems_rus/stat-7b0338db3c1aee9de7f7763ffea224c2-(262-1-2612-29).html
[2668] => Блок 2668 модуля article с действием showarticle <- cache/rems_rus/stat-7b0338db3c1aee9de7f7763ffea224c2-(262-2-2668-7).html
[2350] => Блок 2350 модуля forum с действием lasttopics <- cache/rems_rus/stat-7b0338db3c1aee9de7f7763ffea224c2-(262-4-2350-18).html
[-1] => Блок -1 модуля pages с действием showmenu <- cache/rems_rus/stat-7b0338db3c1aee9de7f7763ffea224c2-(262-1-1-3).html
[-2] => Блок -2 модуля pages с действием showsubmenu <- cache/rems_rus/stat-7b0338db3c1aee9de7f7763ffea224c2-(262-1-2-3).html
[-10] => Блок -10 модуля pages с действием showchilds <- cache/rems_rus/stat-7b0338db3c1aee9de7f7763ffea224c2-(262-1-10-10).html
[-3] => Блок -3 модуля pages с действием showheadtitle <- cache/rems_rus/stat-7b0338db3c1aee9de7f7763ffea224c2-(262-1-3-3).html
[-4] => Блок -4 модуля pages с действием showpath <- cache/rems_rus/stat-7b0338db3c1aee9de7f7763ffea224c2-(262-1-4-3).html
)
Вызываемые функции:
Array
(
[2934] => $PAGE["modules"]["banners"] = new Banners('showbanner', '/stat/?', Array
(
[1] => 62
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[1842] => $PAGE["modules"]["poll"] = new Poll('showpoll', '/poll-result/?', Array
(
[1] =>
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[2349] => $PAGE["modules"]["banners"]->Banners('showbanner', '/stat/?', Array
(
[1] => 54
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[1840] => $PAGE["modules"]["banners"]->Banners('showbanner', '/stat/?', Array
(
[1] => 55
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[1841] => $PAGE["modules"]["banners"]->Banners('showbanner', '/stat/?', Array
(
[1] => 58
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[2620] => $PAGE["modules"]["banners"]->Banners('showbanner', '/stat/?', Array
(
[1] => 59
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[2640] => $PAGE["modules"]["banners"]->Banners('showbanner', '/stat/?', Array
(
[1] => 57
[2] =>
[3] =>
[4] =>
[5] =>
)
)
)
Переменные сессии:
Array
(
[session_cur_site_id] => 2
[session_cur_lang_id] => 2
[catalog_rates] => Array
(
[USD/USD] => 1
[RUR/RUR] => 1
[USD/RUR] => 29.5764
[RUR/USD] => 0.0338107409962
[EUR/EUR] => 1
[EUR/RUR] => 39.7152
[RUR/EUR] => 0.025179276448312
[EUR/USD] => 1.3428
[USD/EUR] => 0.74471254095919
)
)
Last-modified:
Sat, 08 Apr 2017 02:39:31