Отладочная информация:
Время генерации страницы:
Time: 0.028 sec.
QUERY STRING:
Шаблон страницы:
_index3.html
SQL-запросы на странице:
Array
(
[0] => SELECT permission_type FROM rems_rus_pages USE INDEX (PRIMARY) WHERE id = 1
[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 = 1
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 DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[5] => 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 = 61 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-21' 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
[6] => SELECT * FROM rems_rus_banners WHERE id=54
[7] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 54
[8] => 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
[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 DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[11] => 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-21' 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
[12] => SELECT * FROM rems_rus_banners WHERE id=42
[13] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 42
[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 DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 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 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 = 66 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-21' 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 * FROM rems_rus_banners WHERE id=59
[18] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 59
[19] => 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
[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 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
[23] => 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
[24] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 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 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 = 66 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-21' 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 * FROM rems_rus_banners WHERE id=59
[27] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 59
[28] => 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
[29] => 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
[30] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[31] => 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 = 56 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-21' 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
[32] => SELECT * FROM rems_rus_banners WHERE id=50
[33] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 50
[34] => 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
[35] => 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
[36] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[37] => 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 = 56 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-21' 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
[38] => SELECT * FROM rems_rus_banners WHERE id=50
[39] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 50
[40] => 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
[41] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[42] => 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 = 60 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-21' 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
[43] => SELECT * FROM rems_rus_banners WHERE id=52
[44] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 52
[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 DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[48] => 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 = 68 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-21' 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
[49] => SELECT * FROM rems_rus_banners WHERE id=61
[50] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 61
[51] => 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
[52] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[53] => 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 = 53 AND ( ( max_showing = 0 AND ISNULL(show_from) AND ISNULL(show_to) ) OR showing < max_showing OR '2017-10-21' 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
[54] => SELECT * FROM rems_rus_banners WHERE id=45
[55] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 45
[56] => 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
[57] => 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
[58] => 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
(
[1269] => Блок 1269 модуля article с действием showarticle <- cache/rems_rus/index-(1-4-1269-7).html
[1342] => Блок 1342 модуля article с действием showarticle <- cache/rems_rus/index-(1-2-1342-7).html
[1832] => Блок 1832 модуля article с действием showarticle <- cache/rems_rus/index-(1-2-1832-7).html
[3291] => Блок 3291 модуля gallery с действием showctg <- cache/rems_rus/index-(1-1-3291-19).html
[3356] => Блок 3356 модуля scripts с действием execute_script <- cache/rems_rus/index-(1-4-3356-31).html
[1237] => Блок 1237 модуля news с действием alist_archive <- cache/rems_rus/index-(1-3-1237-5).html
[2675] => Блок 2675 модуля blogs с действием showlist <- cache/rems_rus/index-(1-1-2675-29).html
[3309] => Блок 3309 модуля article с действием showarticle <- cache/rems_rus/index-(1-2-3309-7).html
[2673] => Блок 2673 модуля article с действием showarticle <- cache/rems_rus/index-(1-2-2673-7).html
[-1] => Блок -1 модуля pages с действием showmenu <- cache/rems_rus/index-(1-1-1-3).html
[-3] => Блок -3 модуля pages с действием showheadtitle <- cache/rems_rus/index-(1-1-3-3).html
)
Вызываемые функции:
Array
(
[2740] => $PAGE["modules"]["banners"] = new Banners('showbanner', '/index/?', Array
(
[1] => 61
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[1482] => $PAGE["modules"]["banners"]->Banners('showbanner', '/index/?', Array
(
[1] => 54
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[3289] => $PAGE["modules"]["banners"]->Banners('showbanner', '/index/?', Array
(
[1] => 66
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[2931] => $PAGE["modules"]["banners"]->Banners('showbanner', '/index/?', Array
(
[1] => 66
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[1628] => $PAGE["modules"]["banners"]->Banners('showbanner', '/index/?', Array
(
[1] => 56
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[3238] => $PAGE["modules"]["banners"]->Banners('showbanner', '/index/?', Array
(
[1] => 56
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[2741] => $PAGE["modules"]["banners"]->Banners('showbanner', '/index/?', Array
(
[1] => 60
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[3271] => $PAGE["modules"]["banners"]->Banners('showbanner', '/index/?', Array
(
[1] => 68
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[2742] => $PAGE["modules"]["banners"]->Banners('showbanner', '/index/?', Array
(
[1] => 53
[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:
Wed, 17 May 2017 00:05:31