Отладочная информация:
Время генерации страницы:
Time: 0.022 sec.
QUERY STRING:
lang=&link;=kody_oshibok_sma/
Шаблон страницы:
_index1.html
SQL-запросы на странице:
Array
(
[0] => SELECT permission_type FROM rems_rus_pages USE INDEX (PRIMARY) WHERE id = 291
[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 = 291
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 DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[4] => 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-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
[5] => SELECT * FROM rems_rus_banners WHERE id=54
[6] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 54
[7] => 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
[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 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
[11] => 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
[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 DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[15] => 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
[16] => SELECT * FROM rems_rus_banners WHERE id=42
[17] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 42
[18] => 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
[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 DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[21] => 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
[22] => SELECT * FROM rems_rus_banners WHERE id=47
[23] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 47
[24] => 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
[25] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[26] => 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
[27] => SELECT * FROM rems_rus_banners WHERE id=46
[28] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 46
[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 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
[31] => 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
[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 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
(
[1899] => Блок 1899 модуля article с действием showarticle <- cache/rems_rus/kody_oshibok_sma-7b0338db3c1aee9de7f7763ffea224c2-(291-5-1899-7).html
[3254] => Блок 3254 модуля article с действием showarticle <- cache/rems_rus/kody_oshibok_sma-7b0338db3c1aee9de7f7763ffea224c2-(291-2-3254-7).html
[1892] => Блок 1892 модуля blogs с действием blogsannounce <- cache/rems_rus/kody_oshibok_sma-7b0338db3c1aee9de7f7763ffea224c2-(291-1-1892-29).html
[3256] => Блок 3256 модуля article с действием showarticle <- cache/rems_rus/kody_oshibok_sma-7b0338db3c1aee9de7f7763ffea224c2-(291-3-3256-7).html
[1896] => Блок 1896 модуля catalog с действием showtree <- cache/rems_rus/kody_oshibok_sma-7b0338db3c1aee9de7f7763ffea224c2-(291-4-1896-17).html
[1914] => Блок 1914 модуля article с действием showarticle <- cache/rems_rus/kody_oshibok_sma-7b0338db3c1aee9de7f7763ffea224c2-(291-2-1914-7).html
[1897] => Блок 1897 модуля forum с действием lasttopics <- cache/rems_rus/kody_oshibok_sma-7b0338db3c1aee9de7f7763ffea224c2-(291-4-1897-18).html
[-1] => Блок -1 модуля pages с действием showmenu <- cache/rems_rus/kody_oshibok_sma-7b0338db3c1aee9de7f7763ffea224c2-(291-1-1-3).html
[-2] => Блок -2 модуля pages с действием showsubmenu <- cache/rems_rus/kody_oshibok_sma-7b0338db3c1aee9de7f7763ffea224c2-(291-1-2-3).html
[-10] => Блок -10 модуля pages с действием showchilds <- cache/rems_rus/kody_oshibok_sma-7b0338db3c1aee9de7f7763ffea224c2-(291-1-10-10).html
[-3] => Блок -3 модуля pages с действием showheadtitle <- cache/rems_rus/kody_oshibok_sma-7b0338db3c1aee9de7f7763ffea224c2-(291-1-3-3).html
[-4] => Блок -4 модуля pages с действием showpath <- cache/rems_rus/kody_oshibok_sma-7b0338db3c1aee9de7f7763ffea224c2-(291-1-4-3).html
)
Вызываемые функции:
Array
(
[3255] => $PAGE["modules"]["banners"] = new Banners('showbanner', '/kody_oshibok_sma/?', Array
(
[1] => 61
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[1893] => $PAGE["modules"]["banners"]->Banners('showbanner', '/kody_oshibok_sma/?', Array
(
[1] => 54
[2] => 1
[3] =>
[4] =>
[5] =>
)
)
[1894] => $PAGE["modules"]["banners"]->Banners('showbanner', '/kody_oshibok_sma/?', Array
(
[1] => 58
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[1898] => $PAGE["modules"]["banners"]->Banners('showbanner', '/kody_oshibok_sma/?', 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:40