SET SESSION sql_mode = '' |
- |
0.000100 |
false |
SELECT items.id, items.parent_id, items.title, items.is_hidden_in_menu, items.sort_order, items.href,
menus.code as menu_code, menus.use_code_in_links as menu_code_in_links,
blocks.id as block_id, blocks.code as block_code, blocks.description, blocks.content, blocks.template, blocks.block_type,
f.id as image_id, f.disk_name as image_path
FROM admin_menu_items as items
LEFT JOIN admin_menus as menus ON menus.id = items.menu_id
LEFT JOIN admin_text_blocks as blocks ON blocks.id = items.text_block_id
LEFT JOIN db_files as f ON f.master_object_id = items.id AND f.master_object_class = 'Admin_MenuItem' AND f.field = 'image' WHERE items.is_hidden is null ORDER BY items.parent_id, items.sort_order |
23 |
0.002592 |
false |
SELECT id, code FROM news_categories |
4 |
0.000484 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000560 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = seo_settings.id and (object_class='Admin_SeoParams')) as extrafields_calculated, seo_settings.*
FROM seo_settings
ORDER BY
id desc
LIMIT 0, 1 |
1 |
0.000867 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000225 |
false |
update seo_settings set individual_seo_settings = 'a:0:{}' |
- |
0.000104 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000329 |
false |
SELECT
(select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.*
FROM news_categories
WHERE
(news_categories.id = '1')
LIMIT 0, 1 |
1 |
0.007192 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000560 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000274 |
false |
SELECT
count(*)
FROM news_posts
LEFT JOIN news_categories ON news_categories.id=news_posts.category_id
WHERE
(news_posts.published=1) AND (news_posts.publish_date <= '2025-04-07 08:25:26' or publish_date is null) AND (news_posts.is_important_news != 1 or is_important_news is null) AND (news_posts.category_id='1')
ORDER BY
publish_date desc |
1 |
0.003302 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000838 |
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(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_posts.id and (object_class='News_Post')) as extrafields_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_posts.id and (master_object_class='News_Post' and field='document_files')) as document_files_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 news_categories ON news_categories.id=news_posts.category_id
WHERE
(news_posts.published=1) AND (news_posts.publish_date <= '2025-04-07 08:25:26' or publish_date is null) AND (news_posts.is_important_news != 1 or is_important_news is null) AND (news_posts.category_id='1')
ORDER BY
publish_date desc
LIMIT 0, 12 |
12 |
0.007526 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.002357 |
false |
select * from donations where master_object_id = '94' and master_object_class = 'News_Post' |
1 |
0.000458 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.001313 |
false |
select * from donations where master_object_id = '93' and master_object_class = 'News_Post' |
1 |
0.000843 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000246 |
false |
select * from donations where master_object_id = '88' and master_object_class = 'News_Post' |
1 |
0.000410 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000595 |
false |
select * from donations where master_object_id = '80' and master_object_class = 'News_Post' |
1 |
0.000717 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000623 |
false |
select * from donations where master_object_id = '84' and master_object_class = 'News_Post' |
1 |
0.001668 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.001244 |
false |
select * from donations where master_object_id = '85' and master_object_class = 'News_Post' |
1 |
0.000477 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000918 |
false |
select * from donations where master_object_id = '81' and master_object_class = 'News_Post' |
1 |
0.001094 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000945 |
false |
select * from donations where master_object_id = '86' and master_object_class = 'News_Post' |
1 |
0.001098 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.001382 |
false |
select * from donations where master_object_id = '78' and master_object_class = 'News_Post' |
1 |
0.000239 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000262 |
false |
select * from donations where master_object_id = '77' and master_object_class = 'News_Post' |
1 |
0.001815 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000312 |
false |
select * from donations where master_object_id = '76' and master_object_class = 'News_Post' |
1 |
0.000898 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000690 |
false |
select * from donations where master_object_id = '74' and master_object_class = 'News_Post' |
1 |
0.000261 |
false |
SELECT * FROM extrafields WHERE object_class = 'News_Post' AND object_id in ('94', '93', '88', '80', '84', '85', '81', '86', '78', '77', '76', '74') |
0 |
0.000803 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.001313 |
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(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_posts.id and (object_class='News_Post')) as extrafields_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_posts.id and (master_object_class='News_Post' and field='document_files')) as document_files_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 news_categories ON news_categories.id=news_posts.category_id
WHERE
(news_posts.published=1 and is_important_news=1) AND (news_posts.category_id = '1')
ORDER BY
publish_date desc
LIMIT 0, 1 |
0 |
0.000775 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000961 |
false |
SELECT
(select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.*
FROM news_categories
WHERE
(news_categories.id = '1')
LIMIT 0, 1 |
1 |
0.000882 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.001478 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000215 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.*
FROM db_files
WHERE
(db_files.master_object_id = '94') AND (db_files.master_object_class='News_Post' and field='image')
ORDER BY
id |
1 |
0.000445 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000234 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.001164 |
false |
SELECT
(select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.*
FROM news_categories
WHERE
(news_categories.id = '1')
LIMIT 0, 1 |
1 |
0.000358 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000974 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000287 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.*
FROM db_files
WHERE
(db_files.master_object_id = '93') AND (db_files.master_object_class='News_Post' and field='image')
ORDER BY
id |
1 |
0.000387 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000893 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.001432 |
false |
SELECT
(select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.*
FROM news_categories
WHERE
(news_categories.id = '1')
LIMIT 0, 1 |
1 |
0.001091 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000267 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.001260 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.*
FROM db_files
WHERE
(db_files.master_object_id = '88') AND (db_files.master_object_class='News_Post' and field='image')
ORDER BY
id |
1 |
0.000381 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000248 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.001085 |
false |
SELECT
(select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.*
FROM news_categories
WHERE
(news_categories.id = '1')
LIMIT 0, 1 |
1 |
0.000356 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000197 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000886 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.*
FROM db_files
WHERE
(db_files.master_object_id = '80') AND (db_files.master_object_class='News_Post' and field='image')
ORDER BY
id |
1 |
0.000426 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000210 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.001335 |
false |
SELECT
(select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.*
FROM news_categories
WHERE
(news_categories.id = '1')
LIMIT 0, 1 |
1 |
0.000359 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000276 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.001144 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.*
FROM db_files
WHERE
(db_files.master_object_id = '84') AND (db_files.master_object_class='News_Post' and field='image')
ORDER BY
id |
1 |
0.000397 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000241 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.001056 |
false |
SELECT
(select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.*
FROM news_categories
WHERE
(news_categories.id = '1')
LIMIT 0, 1 |
1 |
0.000412 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000187 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000236 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.*
FROM db_files
WHERE
(db_files.master_object_id = '85') AND (db_files.master_object_class='News_Post' and field='image')
ORDER BY
id |
1 |
0.000406 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000183 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000262 |
false |
SELECT
(select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.*
FROM news_categories
WHERE
(news_categories.id = '1')
LIMIT 0, 1 |
1 |
0.000442 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000241 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000220 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.*
FROM db_files
WHERE
(db_files.master_object_id = '81') AND (db_files.master_object_class='News_Post' and field='image')
ORDER BY
id |
1 |
0.000385 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000226 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000194 |
false |
SELECT
(select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.*
FROM news_categories
WHERE
(news_categories.id = '1')
LIMIT 0, 1 |
1 |
0.000406 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000259 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000275 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.*
FROM db_files
WHERE
(db_files.master_object_id = '86') AND (db_files.master_object_class='News_Post' and field='image')
ORDER BY
id |
1 |
0.000330 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000182 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000223 |
false |
SELECT
(select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.*
FROM news_categories
WHERE
(news_categories.id = '1')
LIMIT 0, 1 |
1 |
0.000414 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000224 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000226 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.*
FROM db_files
WHERE
(db_files.master_object_id = '78') AND (db_files.master_object_class='News_Post' and field='image')
ORDER BY
id |
1 |
0.000333 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000180 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000200 |
false |
SELECT
(select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.*
FROM news_categories
WHERE
(news_categories.id = '1')
LIMIT 0, 1 |
1 |
0.000350 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000212 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000201 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.*
FROM db_files
WHERE
(db_files.master_object_id = '77') AND (db_files.master_object_class='News_Post' and field='image')
ORDER BY
id |
1 |
0.000571 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000191 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000227 |
false |
SELECT
(select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.*
FROM news_categories
WHERE
(news_categories.id = '1')
LIMIT 0, 1 |
1 |
0.000428 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000288 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000260 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.*
FROM db_files
WHERE
(db_files.master_object_id = '76') AND (db_files.master_object_class='News_Post' and field='image')
ORDER BY
id |
1 |
0.000419 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000252 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000242 |
false |
SELECT
(select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where
db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.*
FROM news_categories
WHERE
(news_categories.id = '1')
LIMIT 0, 1 |
1 |
0.000367 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000225 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000211 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.*
FROM db_files
WHERE
(db_files.master_object_id = '74') AND (db_files.master_object_class='News_Post' and field='image')
ORDER BY
id |
1 |
0.000373 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000209 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000248 |
false |
SELECT
(select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where
extrafields.object_id = admin_module_settings.id and (object_class='Admin_ModuleSettings')) as extrafields_calculated, 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.000510 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0.000213 |
false |
select id, title, amount from donations where enable is not null order by priority desc, id desc |
1 |
0.000274 |
false |