Адрес:
693 009, Южно-Сахалинск,
Коммунистический пр.,
д. 39, корпус Б, офис 401.

Телефон/Факс:
8 (4242) 42-42-90, 8 (4242) 42-42-91
8 (4242) 42-42-95, 8 (4242) 43-42-96
Эл. почта: o.p.sakhalin@mail.ru 

MySQL статистика (41)
Query Rows Time Cached
SELECT * FROM moduleparams 9 0.000079 false
select id from news_categories where code = 'announcements' 1 0.000222 false
DESCRIBE news_posts 16 0.000398 false
DESCRIBE news_posts_versions 15 0.000286 false
DESCRIBE seo_settings 7 0.000263 false
SELECT seo_settings.* FROM seo_settings ORDER BY id desc LIMIT 0, 1 1 0.000038 false
update seo_settings set individual_seo_settings = 'a:0:{}' - 0.000090 false
DESCRIBE tags_tags 2 0.000193 false
DESCRIBE events_events 7 0.000247 false
DESCRIBE db_files 17 0.000292 false
SELECT (news_categories.code) as category_code, (select group_concat(news_posts_versions.created_at ORDER BY 1 SEPARATOR ', ') from news_posts_versions where news_posts_versions.post_id = news_posts.id) as versions_calculated, (select group_concat(tags_tags.title ORDER BY 1 SEPARATOR ', ') from tags_tags, tags_relations where tags_tags.id=tags_relations.tag_id and tags_relations.object_id=news_posts.id and (tags_relations.object_name='News_Post')) as tags_calculated, (select group_concat(events_events.event_date ORDER BY 1 SEPARATOR ', ') from events_events where events_events.object_id = news_posts.id and (object_name='News_Post')) as events_calculated, (select group_concat(db_files.id ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = news_posts.id and (master_object_class='News_Post' and field='photos')) as photos_calculated, news_posts.* FROM news_posts LEFT JOIN events_events as ev ON ev.object_id = news_posts.id and ev.object_name = 'News_Post' LEFT JOIN news_categories ON news_categories.id=news_posts.category_id WHERE (news_posts.category_id = '2') AND (date(ev.event_date) >= '2017-12-14 00:00:00' or date(ev.event_end_date) >= '2017-12-14 00:00:00') AND (news_posts.published = 1) GROUP BY news_posts.id ORDER BY ev.event_date desc 2 0.001311 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1205') AND (tags_relations.object_name='News_Post') 0 0.000156 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1214') AND (tags_relations.object_name='News_Post') 0 0.000154 false
select count(*) from (SELECT count(DISTINCT news_posts.id) FROM news_posts LEFT JOIN events_events as ev ON ev.object_id = news_posts.id and ev.object_name = 'News_Post' LEFT JOIN news_categories ON news_categories.id=news_posts.category_id WHERE (news_posts.category_id = '2') AND (date(ev.event_date) < '2017-12-14 00:00:00' or date(ev.event_end_date) < '2017-12-14 00:00:00') AND (news_posts.published = 1) GROUP BY news_posts.id ORDER BY ev.event_date desc) internal__query 1 0.001621 false
SELECT (news_categories.code) as category_code, (select group_concat(news_posts_versions.created_at ORDER BY 1 SEPARATOR ', ') from news_posts_versions where news_posts_versions.post_id = news_posts.id) as versions_calculated, (select group_concat(tags_tags.title ORDER BY 1 SEPARATOR ', ') from tags_tags, tags_relations where tags_tags.id=tags_relations.tag_id and tags_relations.object_id=news_posts.id and (tags_relations.object_name='News_Post')) as tags_calculated, (select group_concat(events_events.event_date ORDER BY 1 SEPARATOR ', ') from events_events where events_events.object_id = news_posts.id and (object_name='News_Post')) as events_calculated, (select group_concat(db_files.id ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = news_posts.id and (master_object_class='News_Post' and field='photos')) as photos_calculated, news_posts.* FROM news_posts LEFT JOIN events_events as ev ON ev.object_id = news_posts.id and ev.object_name = 'News_Post' LEFT JOIN news_categories ON news_categories.id=news_posts.category_id WHERE (news_posts.category_id = '2') AND (date(ev.event_date) < '2017-12-14 00:00:00' or date(ev.event_end_date) < '2017-12-14 00:00:00') AND (news_posts.published = 1) GROUP BY news_posts.id ORDER BY ev.event_date desc LIMIT 0, 6 6 0.011829 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1205') AND (tags_relations.object_name='News_Post') 0 0.000077 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1222') AND (tags_relations.object_name='News_Post') 0 0.000206 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1154') AND (tags_relations.object_name='News_Post') 0 0.000055 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1174') AND (tags_relations.object_name='News_Post') 0 0.000049 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1212') AND (tags_relations.object_name='News_Post') 0 0.000233 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1214') AND (tags_relations.object_name='News_Post') 0 0.000056 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1205') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000234 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1214') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000189 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1205') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000047 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1222') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000204 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1154') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000065 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1174') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000055 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1212') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000188 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1214') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000045 false
DESCRIBE admin_module_settings 4 0.000327 false
SELECT admin_module_settings.* FROM admin_module_settings WHERE (admin_module_settings.module_id='admin') AND (admin_module_settings.form_id='default') LIMIT 0, 1 1 0.000042 false
DESCRIBE admin_text_blocks 11 0.000306 false
DESCRIBE admin_menu_items 14 0.000257 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, admin_text_blocks.* FROM admin_text_blocks LEFT JOIN admin_menu_items as menu_link_calculated_join ON menu_link_calculated_join.text_block_id = admin_text_blocks.id WHERE (admin_text_blocks.code = 'address') LIMIT 0, 1 1 0.000046 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, admin_text_blocks.* FROM admin_text_blocks LEFT JOIN admin_menu_items as menu_link_calculated_join ON menu_link_calculated_join.text_block_id = admin_text_blocks.id WHERE (admin_text_blocks.code = 'phones') LIMIT 0, 1 1 0.000052 false
SELECT mi.*, m.use_code_in_links as menu_use_code_in_links, m.code as menu_code FROM admin_menus m LEFT JOIN admin_menu_items AS mi ON m.id = mi.menu_id WHERE m.code = 'main' AND mi.is_hidden IS NULL AND mi.is_hidden_in_menu IS NULL AND mi.parent_id is null ORDER BY sort_order 7 0.000051 false
SELECT mi.*, m.use_code_in_links as menu_use_code_in_links, m.code as menu_code FROM admin_menus m LEFT JOIN admin_menu_items AS mi ON m.id = mi.menu_id WHERE m.code = 'sidebar' AND mi.is_hidden IS NULL AND mi.is_hidden_in_menu IS NULL AND mi.parent_id is null ORDER BY sort_order 7 0.000050 false
SELECT b.*, df.disk_name AS image FROM banners b LEFT JOIN banners_categories AS bc ON b.category_id = bc.id LEFT JOIN db_files AS df ON df.master_object_id = b.id AND df.master_object_class = 'Banners_Banner' WHERE bc.code = 'footer' AND b.enabled = 1 GROUP BY b.id ORDER BY b.sort_order DESC, b.id 6 0.000050 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, admin_text_blocks.* FROM admin_text_blocks LEFT JOIN admin_menu_items as menu_link_calculated_join ON menu_link_calculated_join.text_block_id = admin_text_blocks.id WHERE (admin_text_blocks.code = 'address') LIMIT 0, 1 1 0.000045 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, admin_text_blocks.* FROM admin_text_blocks LEFT JOIN admin_menu_items as menu_link_calculated_join ON menu_link_calculated_join.text_block_id = admin_text_blocks.id WHERE (admin_text_blocks.code = 'phones') LIMIT 0, 1 1 0.000054 false
SELECT mi.*, m.use_code_in_links as menu_use_code_in_links, m.code as menu_code FROM admin_menus m LEFT JOIN admin_menu_items AS mi ON m.id = mi.menu_id WHERE m.code = 'footer' AND mi.is_hidden IS NULL AND mi.is_hidden_in_menu IS NULL AND mi.parent_id is null ORDER BY sort_order 5 0.000054 false