Отладочная информация:
Время генерации страницы:
Time: 0.079 sec.
QUERY STRING:
lang=&link;=remont_condicionerov/
Шаблон страницы:
_index1.html
SQL-запросы на странице:
Array
(
[0] => SELECT permission_type FROM rems_rus_pages USE INDEX (PRIMARY) WHERE id = 383
[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 = 383
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-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
[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 DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[10] => 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-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
[11] => SELECT * FROM rems_rus_banners WHERE id=59
[12] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 59
[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 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
[16] => UPDATE rems_rus_polls SET hits=IF(hits > 0, hits + 1, 1) WHERE id=''
[17] => 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
[18] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[19] => 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-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
[20] => SELECT * FROM rems_rus_banners WHERE id=52
[21] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 52
[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 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 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
[26] => SELECT DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[27] => 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
[28] => SELECT * FROM rems_rus_banners WHERE id=49
[29] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 49
[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 DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[32] => 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-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
[33] => SELECT * FROM rems_rus_banners WHERE id=61
[34] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 61
[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 = 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
[38] => SELECT * FROM rems_rus_banners WHERE id=46
[39] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 46
[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 = 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
[43] => SELECT * FROM rems_rus_banners WHERE id=47
[44] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 47
[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 DISTINCT city_id, name, region, zone FROM counter_cities WHERE 584016457 BETWEEN first_long_ip AND last_long_ip ORDER BY name
[47] => 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-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
[48] => SELECT * FROM rems_rus_banners WHERE id=45
[49] => UPDATE rems_rus_banners SET showing = showing + 1 WHERE id = 45
[50] => 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
[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 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
[53] => 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
[54] => 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
(
[3335] => Блок 3335 модуля article с действием showarticle <- cache/rems_rus/remont_condicionerov-7b0338db3c1aee9de7f7763ffea224c2-(383-5-3335-7).html
[3326] => Блок 3326 модуля article с действием showarticle <- cache/rems_rus/remont_condicionerov-7b0338db3c1aee9de7f7763ffea224c2-(383-2-3326-7).html
[3329] => Блок 3329 модуля article с действием showarticle <- cache/rems_rus/remont_condicionerov-7b0338db3c1aee9de7f7763ffea224c2-(383-3-3329-7).html
[3327] => Блок 3327 модуля article с действием showarticle <- cache/rems_rus/remont_condicionerov-7b0338db3c1aee9de7f7763ffea224c2-(383-2-3327-7).html
[3323] => Блок 3323 модуля gallery с действием showctg <- cache/rems_rus/remont_condicionerov-7b0338db3c1aee9de7f7763ffea224c2-(383-1-3323-19).html
[-1] => Блок -1 модуля pages с действием showmenu <- cache/rems_rus/remont_condicionerov-7b0338db3c1aee9de7f7763ffea224c2-(383-1-1-3).html
[-2] => Блок -2 модуля pages с действием showsubmenu <- cache/rems_rus/remont_condicionerov-7b0338db3c1aee9de7f7763ffea224c2-(383-1-2-3).html
[-10] => Блок -10 модуля pages с действием showchilds <- cache/rems_rus/remont_condicionerov-7b0338db3c1aee9de7f7763ffea224c2-(383-1-10-10).html
[-3] => Блок -3 модуля pages с действием showheadtitle <- cache/rems_rus/remont_condicionerov-7b0338db3c1aee9de7f7763ffea224c2-(383-1-3-3).html
[-4] => Блок -4 модуля pages с действием showpath <- cache/rems_rus/remont_condicionerov-7b0338db3c1aee9de7f7763ffea224c2-(383-1-4-3).html
)
Вызываемые функции:
Array
(
[3330] => $PAGE["modules"]["banners"] = new Banners('showbanner', '/remont_condicionerov/?', Array
(
[1] => 61
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[3328] => $PAGE["modules"]["banners"]->Banners('showbanner', '/remont_condicionerov/?', Array
(
[1] => 66
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[3322] => $PAGE["modules"]["poll"] = new Poll('showpoll', '/poll-result/?', Array
(
[1] =>
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[3331] => $PAGE["modules"]["banners"]->Banners('showbanner', '/remont_condicionerov/?', Array
(
[1] => 60
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[3332] => $PAGE["modules"]["banners"]->Banners('showbanner', '/remont_condicionerov/?', Array
(
[1] => 59
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[3324] => $PAGE["modules"]["banners"]->Banners('showbanner', '/remont_condicionerov/?', Array
(
[1] => 68
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[3333] => $PAGE["modules"]["banners"]->Banners('showbanner', '/remont_condicionerov/?', Array
(
[1] => 57
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[3325] => $PAGE["modules"]["banners"]->Banners('showbanner', '/remont_condicionerov/?', Array
(
[1] => 58
[2] =>
[3] =>
[4] =>
[5] =>
)
)
[3334] => $PAGE["modules"]["banners"]->Banners('showbanner', '/remont_condicionerov/?', 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:
Sat, 08 Apr 2017 02:39:36