1 | SELECT `Setting`.`title`, `Setting`.`content` FROM `settings` AS `Setting` WHERE 1 = 1 | | 1 | 1 | 0 |
2 | SELECT `Page`.`id`, `Page`.`content`, `Page`.`highlight_content`, `Page`.`highlight_url`, `Page`.`created`, `Page`.`modified` FROM `pages` AS `Page` LEFT JOIN `users` AS `User` ON (`Page`.`user_id` = `User`.`id`) LEFT JOIN `categories` AS `Category` ON (`Page`.`category_id` = `Category`.`id`) WHERE `Page`.`is_highlight` = 1 AND `Page`.`status` != 3 ORDER BY `Page`.`modified` desc | | 8 | 8 | 1 |
3 | SELECT `Attachment`.`id`, `Attachment`.`name`, `Attachment`.`saved_name`, `Attachment`.`type`, `Attachment`.`size`, `Attachment`.`created`, `Attachment`.`modified`, `AttachmentsPage`.`id`, `AttachmentsPage`.`page_id`, `AttachmentsPage`.`attachment_id` FROM `attachments` AS `Attachment` JOIN `attachments_pages` AS `AttachmentsPage` ON (`AttachmentsPage`.`page_id` IN (274, 257, 261, 258, 256, 198, 195, 197) AND `AttachmentsPage`.`attachment_id` = `Attachment`.`id`) | | 0 | 0 | 0 |
4 | SELECT `Menuitem`.`id`, `Menuitem`.`menu_id`, `Menuitem`.`title`, `Menuitem`.`url`, `Menuitem`.`parent_id`, `Menuitem`.`lft`, `Menuitem`.`rght`, `Menuitem`.`status`, `Menuitem`.`emph`, `Menuitem`.`is_category_list`, `Menuitem`.`sort`, `Menuitem`.`created`, `Menuitem`.`modified`, `Menu`.`id`, `Menu`.`title`, `Menu`.`status`, `Menu`.`created`, `Menu`.`modified` FROM `menuitems` AS `Menuitem` LEFT JOIN `menus` AS `Menu` ON (`Menuitem`.`menu_id` = `Menu`.`id`) WHERE `Menuitem`.`menu_id` = 2 AND `Menuitem`.`status` != 3 ORDER BY `Menuitem`.`sort` asc | | 8 | 8 | 1 |
5 | SELECT `Category`.`id`, `Category`.`title`, `Category`.`status`, `Category`.`parent_id`, `Category`.`show_in_menu`, `Category`.`lft`, `Category`.`rght`, `Category`.`created`, `Category`.`modified`, `Category`.`id_old` FROM `categories` AS `Category` WHERE `Category`.`status` != 3 AND `Category`.`show_in_menu` = 1 | | 5 | 5 | 0 |
6 | SELECT `Adposition`.`id`, `Adposition`.`title`, `Adposition`.`comment`, `Adposition`.`position_width`, `Adposition`.`position_height`, `Adposition`.`ad_width`, `Adposition`.`ad_height`, `Adposition`.`visible_ads_count`, `Adposition`.`status` FROM `adpositions` AS `Adposition` WHERE `Adposition`.`status` = 1 | | 2 | 2 | 0 |
7 | SELECT `Advertisement`.`id`, `Advertisement`.`adposition_id`, `Advertisement`.`partner_id`, `Advertisement`.`valid_from`, `Advertisement`.`valid_to`, `Advertisement`.`saved_filename`, `Advertisement`.`alt`, `Advertisement`.`url`, `Advertisement`.`status`, `Advertisement`.`display_count`, `Advertisement`.`click_count`, `Advertisement`.`created`, `Advertisement`.`modified` FROM `advertisements` AS `Advertisement` WHERE `Advertisement`.`valid_from` <= '2024-12-30 18:36:14' AND `Advertisement`.`valid_to` >= '2024-12-30 18:36:14' AND `Advertisement`.`status` = 1 AND `Advertisement`.`adposition_id` IN (4, 5) ORDER BY RAND() ASC | | 0 | 0 | 1 |
8 | UPDATE `advertisements` AS `Advertisement` LEFT JOIN `adpositions` AS `Adposition` ON (`Advertisement`.`adposition_id` = `Adposition`.`id`) SET `Advertisement`.`display_count` = Advertisement.display_count + 1 WHERE `Advertisement`.`id` IS NULL | | 0 | | 0 |
9 | SELECT `Gallery`.`id`, `Gallery`.`user_id`, `Gallery`.`status`, `Gallery`.`title`, `Gallery`.`created`, `Gallery`.`modified` FROM `galleries` AS `Gallery` WHERE `Gallery`.`id` = 59 AND `Gallery`.`status` = 1 LIMIT 1 | | 1 | 1 | 0 |
10 | SELECT `Picture`.`id`, `Picture`.`gallery_id`, `Picture`.`title`, `Picture`.`comment`, `Picture`.`original_filename`, `Picture`.`saved_filename`, `Picture`.`filesize`, `Picture`.`status`, `Picture`.`created`, `Picture`.`modified` FROM `pictures` AS `Picture` WHERE `Picture`.`gallery_id` = (59) | | 6 | 6 | 0 |
11 | SELECT `Picture`.`id`, `Picture`.`gallery_id`, `Picture`.`title`, `Picture`.`comment`, `Picture`.`original_filename`, `Picture`.`saved_filename`, `Picture`.`filesize`, `Picture`.`status`, `Picture`.`created`, `Picture`.`modified`, `Gallery`.`id`, `Gallery`.`user_id`, `Gallery`.`status`, `Gallery`.`title`, `Gallery`.`created`, `Gallery`.`modified` FROM `pictures` AS `Picture` LEFT JOIN `galleries` AS `Gallery` ON (`Picture`.`gallery_id` = `Gallery`.`id`) WHERE `Picture`.`id` = 1690 AND `Picture`.`gallery_id` = 59 AND `Picture`.`status` = 1 LIMIT 1 | | 1 | 1 | 0 |