SET SESSION sql_mode = '' |
- |
0.000058 |
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 |
50 |
0.002543 |
false |
SELECT * FROM extrafields WHERE object_class = 'Admin_MenuItem' AND object_id in ('1', '3', '9', '10', '11', '17', '51', '18', '24', '25', '44', '33', '36', '38', '39', '40', '41', '42', '43', '26', '34', '48', '49', '52', '37', '56', '58', '59', '65', '71', '64', '2', '6', '7', '8', '12', '13', '19', '20', '21', '23', '50', '29', '30', '32', '35', '46', '70', '66', '67') |
21 |
0,002235 |
false |
SELECT count(*) FROM news_posts as posts
ORDER BY posts.publish_date DESC LIMIT 4 |
1 |
0,000978 |
false |
SELECT * FROM news_posts as posts
ORDER BY posts.publish_date DESC LIMIT 0, 4 |
4 |
0,000424 |
false |
SELECT id, disk_name as `path`, `description`, mime_type, master_object_id as parent_id, field
FROM db_files as f WHERE master_object_id in ('54', '53', '52', '51') AND master_object_class = 'News_Post' ORDER BY is_main, sort_order |
4 |
0,001861 |
false |
SELECT b.id, b.name, b.banner_type, position, cats.code, b.description, b.banner_text, b.link, f.id as image_id, f.disk_name as image_path
FROM banners as b
LEFT JOIN banners_categories as cats ON cats.id = b.category_id
LEFT JOIN db_files as f ON f.master_object_id = b.id AND f.master_object_class = 'Banners_Banner' AND f.field = 'image' WHERE b.enabled = '1' ORDER BY b.sort_order DESC |
5 |
0,002218 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0,001265 |
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,000714 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0,000714 |
false |
update seo_settings set individual_seo_settings = 'a:0:{}' |
- |
0,000127 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0,000721 |
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,000712 |
false |
SHOW TABLES LIKE 'extrafields' |
1 |
0,000654 |
false |