# [04-Nov-2024 13:30:26] /aria/www/ 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
                `Module` = 'pages' AND
	    		`URLLabel` = 'index'
         AND `Visible` = 1 LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `pages` AS P1
                INNER JOIN `pages` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'index' AND
                P1.`Visible` = 1

SELECT
                `UploadID`,
                `Images`,
                `Title`
            FROM
                `gallery`
            WHERE
                `Language` = 'bg' AND
                `Images` != '' AND
                `HomePage` = 1 AND
                `Visible` = 1
            ORDER BY `PostDate` DESC
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LGallery') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                    `URLLabel`
                FROM
                    `pages`
                WHERE
                    `Language` = 'bg' AND
                    `ParentID` = 1 AND
                    `Module` = 'reviews'
             AND `Visible` = 1 LIMIT 1

SELECT
                `UploadID`,
                `Rate`,
                `Image`,
                `FullName`,
                `Review`,
                `Media`,
                `MediaURL`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `HomePage` = 1 AND
                `Visible` = 1
            ORDER BY `PostDate` DESC
         LIMIT 0, 4

SELECT `Annotation` FROM `pages` WHERE`Module` = 'reviews' AND
	`URLLabel` = 'отзиви' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                COUNT(`ID`)
            FROM
                `reviews`
            WHERE
                `Image` != '' AND
                `Language` = 'bg' AND
                `Visible` = 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LViewMore') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('AltLogo','Address','Phone','LContactUs','AddressFooter','EMail','BrandName','LBusinessHours','LWeekDays','LFollowUs','FacebookURL','InstagramURL','TripadvisorURL') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [04-Nov-2024 13:30:40] /aria/www/aD4rbSw2A0/bg/ajax/users/login.html?_=1730719840287 108.61.209.243

set names utf8

SELECT
                `ID`,
                CRC32(`UserKey`) AS `User`,
                RIGHT(`UserKey`, 1) AS `Access`
            FROM
                `users`
            WHERE
                `UserKey` LIKE 'NzkzYjAzNGI1NTAwNmYyNjE4ZTE0YTgxNTRhMjY0MTIYjFhNTYxNzFmZThiOWY0YjI0NWU5MzU5Mzg0NTk5NTc%'
            LIMIT 1
# [04-Nov-2024 13:30:40] /aria/www/aD4rbSw2A0/bg/pages/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `pages`.`ID`,
                `pages`.`Language`,
                `pages`.`Module`,
                `pages`.`Action`,
                `pages`.`PostDate`,
                `pages`.`LastUpdate`,
                IF(`pages`.`MenuLabel` <> '', `pages`.`MenuLabel`, `pages`.`FooterLabel`) AS `Label`,
                IF(`Parent`.`URLLabel` IS NULL, `pages`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `pages`.`URLLabel`)) AS `URLLabel`,
                `pages`.`Visible`
            FROM
                `pages`
                LEFT JOIN `pages` AS `Parent` ON
                    `Parent`.`ParentID` = 1 AND
                    `pages`.`ParentID` = `Parent`.`ID` AND
                    `pages`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg'
         ORDER BY `pages`.`PostDate` ASC
# [04-Nov-2024 13:30:48] /aria/www/aD4rbSw2A0/bg/tables/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `halls`.`HallName`,
                `tables`.`ID`,
                `tables`.`PostDate`,
                `tables`.`LastUpdate`,
                `tables`.`Number`,
                `tables`.`Seats`,
                `tables`.`AdSeats`,
                `tables`.`Visible`
            FROM
                `tables`
                INNER JOIN `halls` ON `tables`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
            GROUP BY `tables`.`ID`
         ORDER BY `PostDate` DESC
# [04-Nov-2024 13:30:49] /aria/www/aD4rbSw2A0/bg/ajax/tables/form/127.html?_=1730719850152 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                *
            FROM
                `tables`
            WHERE
                `ID` = 127
            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [04-Nov-2024 13:34:33] /aria/www/aD4rbSw2A0/bg/tables/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `halls`.`HallName`,
                `tables`.`ID`,
                `tables`.`PostDate`,
                `tables`.`LastUpdate`,
                `tables`.`Number`,
                `tables`.`Seats`,
                `tables`.`AdSeats`,
                `tables`.`Visible`
            FROM
                `tables`
                INNER JOIN `halls` ON `tables`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
            GROUP BY `tables`.`ID`
         ORDER BY `PostDate` DESC
# [04-Nov-2024 13:34:34] /aria/www/aD4rbSw2A0/bg/ajax/tables/form/127.html?_=1730720074680 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                *
            FROM
                `tables`
            WHERE
                `ID` = 127
            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
# [04-Nov-2024 13:34:51] /aria/www/aD4rbSw2A0/bg/ajax/users/logout.html?_=1730720091598 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1
# [04-Nov-2024 13:34:51] /aria/www/ 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
                `Module` = 'pages' AND
	    		`URLLabel` = 'index'
         AND `Visible` = 1 LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `pages` AS P1
                INNER JOIN `pages` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'index' AND
                P1.`Visible` = 1

SELECT
                `UploadID`,
                `Images`,
                `Title`
            FROM
                `gallery`
            WHERE
                `Language` = 'bg' AND
                `Images` != '' AND
                `HomePage` = 1 AND
                `Visible` = 1
            ORDER BY `PostDate` DESC
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LGallery') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                    `URLLabel`
                FROM
                    `pages`
                WHERE
                    `Language` = 'bg' AND
                    `ParentID` = 1 AND
                    `Module` = 'reviews'
             AND `Visible` = 1 LIMIT 1

SELECT
                `UploadID`,
                `Rate`,
                `Image`,
                `FullName`,
                `Review`,
                `Media`,
                `MediaURL`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `HomePage` = 1 AND
                `Visible` = 1
            ORDER BY `PostDate` DESC
         LIMIT 0, 4

SELECT `Annotation` FROM `pages` WHERE`Module` = 'reviews' AND
	`URLLabel` = 'отзиви' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                COUNT(`ID`)
            FROM
                `reviews`
            WHERE
                `Image` != '' AND
                `Language` = 'bg' AND
                `Visible` = 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LViewMore') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('AltLogo','Address','Phone','LContactUs','AddressFooter','EMail','BrandName','LBusinessHours','LWeekDays','LFollowUs','FacebookURL','InstagramURL','TripadvisorURL') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [04-Nov-2024 13:34:53] /aria/www/bg/резервация.html 108.61.209.243

set names utf8

SELECT
                `Module`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `URLLabel` = 'резервация'
         AND `Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Phone','AddressFooter','EMail','BrandName','LBusinessHours','LWeekDays','LContactEMail','LContactPhone') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('AltLogo','Address','LContactUs','LFollowUs','FacebookURL','InstagramURL','TripadvisorURL') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [04-Nov-2024 13:34:53] /aria/www/bg/ajax/requests/form.html?_=1730720093585 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LMakeReservation','LName','LPhone','LEMail','LSelectHall','LPeopleNum','LSpecifyDate','LSpecifyHour','LComment','LBookTable') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('ErrorName','ErrorPhone','ErrorEMail','ErrorGuests','ErrorDate','ErrorHour','ErrorIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [04-Nov-2024 13:35:59] /aria/www/bg/резервация.html 108.61.209.243

set names utf8

SELECT
                `Module`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `URLLabel` = 'резервация'
         AND `Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Phone','AddressFooter','EMail','BrandName','LBusinessHours','LWeekDays','LContactEMail','LContactPhone') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('AltLogo','Address','LContactUs','LFollowUs','FacebookURL','InstagramURL','TripadvisorURL') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [04-Nov-2024 13:35:59] /aria/www/bg/ajax/requests/form.html?_=1730720159555 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LMakeReservation','LName','LPhone','LEMail','LSelectHall','LPeopleNum','LSpecifyDate','LSpecifyHour','LComment','LBookTable') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('ErrorName','ErrorPhone','ErrorEMail','ErrorGuests','ErrorDate','ErrorHour','ErrorIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         AND `Visible` = 1  ORDER BY `PostDate` ASC

SELECT
                    `URLLabel`
                FROM
                    `pages`
                WHERE
                    `Language` = 'bg' AND
                    `ParentID` = 1 AND
                    `Module` = 'terms'
             AND `Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [04-Nov-2024 13:35:59] /aria/www/bg/ajax/calendar.json?_=1730720159655 108.61.209.243

set names utf8

SELECT
                `Date`
            FROM
                `calendar`
            WHERE
                `HallID` = 0 AND
                `Date` BETWEEN CURDATE() + INTERVAL 1 DAY AND DATE_ADD(CURDATE(), INTERVAL 3 MONTH);
# [04-Nov-2024 13:36:10] /aria/www/aD4rbSw2A0/bg/ajax/users/login.html?_=1730720170808 108.61.209.243

set names utf8

SELECT
                `ID`,
                CRC32(`UserKey`) AS `User`,
                RIGHT(`UserKey`, 1) AS `Access`
            FROM
                `users`
            WHERE
                `UserKey` LIKE 'NzkzYjAzNGI1NTAwNmYyNjE4ZTE0YTgxNTRhMjY0MTIYjFhNTYxNzFmZThiOWY0YjI0NWU5MzU5Mzg0NTk5NTc%'
            LIMIT 1
# [04-Nov-2024 13:36:10] /aria/www/aD4rbSw2A0/bg/pages/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `pages`.`ID`,
                `pages`.`Language`,
                `pages`.`Module`,
                `pages`.`Action`,
                `pages`.`PostDate`,
                `pages`.`LastUpdate`,
                IF(`pages`.`MenuLabel` <> '', `pages`.`MenuLabel`, `pages`.`FooterLabel`) AS `Label`,
                IF(`Parent`.`URLLabel` IS NULL, `pages`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `pages`.`URLLabel`)) AS `URLLabel`,
                `pages`.`Visible`
            FROM
                `pages`
                LEFT JOIN `pages` AS `Parent` ON
                    `Parent`.`ParentID` = 1 AND
                    `pages`.`ParentID` = `Parent`.`ID` AND
                    `pages`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg'
         ORDER BY `pages`.`PostDate` ASC
# [04-Nov-2024 13:36:15] /aria/www/aD4rbSw2A0/bg/tables/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `halls`.`HallName`,
                `tables`.`ID`,
                `tables`.`PostDate`,
                `tables`.`LastUpdate`,
                `tables`.`Number`,
                `tables`.`Seats`,
                `tables`.`AdSeats`,
                `tables`.`Visible`
            FROM
                `tables`
                INNER JOIN `halls` ON `tables`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
            GROUP BY `tables`.`ID`
         ORDER BY `PostDate` DESC
# [04-Nov-2024 13:36:17] /aria/www/aD4rbSw2A0/bg/ajax/tables/form/127.html?_=1730720177664 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                *
            FROM
                `tables`
            WHERE
                `ID` = 127
            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
# [04-Nov-2024 13:39:51] /aria/res/bg/ajax/staff/login.html?c=1111&_=1730720391307 108.61.209.243

set names utf8

SELECT
                CONCAT(`ID`, '.', CRC32(`PassCode`), '.', `Visible`) AS `Key`
            FROM
                `staff`
            WHERE
                `PassCode` = '1111'
            LIMIT 1
# [04-Nov-2024 13:39:54] /aria/res/bg/ajax/staff/login.html?c=1234&_=1730720394780 108.61.209.243

set names utf8

SELECT
                CONCAT(`ID`, '.', CRC32(`PassCode`), '.', `Visible`) AS `Key`
            FROM
                `staff`
            WHERE
                `PassCode` = '1234'
            LIMIT 1
# [04-Nov-2024 13:39:54] /aria/res/ 108.61.209.243

set names utf8

SELECT
                                `Data`
                            FROM
                                `staff`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`PassCode`) = 2615402659 AND
                                `Visible` = 1
                            LIMIT 1

SELECT
                `reservations`.`ID`,
                `reservations`.`ResDate`,
                `reservations`.`ResTime`,
                `reservations`.`Seats`,
                `reservations`.`Specials`,
                `reservations`.`Comment` AS ResComment,
                `clients`.`Phone` AS ClientPhone,
                `clients`.`FullName` AS ClientName,
                `clients`.`Specials` AS ClientSpecials,
                `clients`.`Comment` AS ClientComment,
                `res_arrived`.`ReservationID` AS Arrived,
                `res_cancellations`.`ReservationID` AS Canceled
            FROM
                `reservations`
                INNER JOIN `clients` ON `clients`.`ID` = `reservations`.`ClientID`
                LEFT JOIN `res_cancellations` ON `res_cancellations`.`ReservationID` = `reservations`.`ID`
                LEFT JOIN `res_arrived` ON `res_arrived`.`ReservationID` = `reservations`.`ID`
            WHERE
                1
        
                ORDER BY
                    `reservations`.`ResDate` DESC,
                    `reservations`.`ResTime` DESC
             LIMIT 0, 100

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40123

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40478

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40316

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 29515

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40428

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 39702

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 39883

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40315

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40097

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40403

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40457

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40450

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40275

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40409

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40262

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40477

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40433

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40393

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40454

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40448

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40440

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40059

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40447

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40417

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40467

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40432

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40127

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40484

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40466

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40445

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40431

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40427

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40385

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40451

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 37526

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40442

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40394

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40492

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40491

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40490

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40480

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40438

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40488

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40463

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40416

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40402

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40487

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40485

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40482

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40452

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40279

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40493

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40481

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40472

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40479

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40476

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40474

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40469

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40384

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40486

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40470

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40468

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40464

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40455

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40426

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40475

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40425

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40483

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40471

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40461

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40441

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40423

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40465

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40473

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40291

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40460

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40449

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40462

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40459

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40458

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40439

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40444

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40456

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40446

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40443

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40206

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40437

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40401

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40422

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40429

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40281

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40435

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40434

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40424

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40415

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40436

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40430

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40419

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40420

SELECT
                `halls`.`HallName`,
                `tables`.`Number` AS `TableNumber`
            FROM
                `reservation_tables`
                INNER JOIN `tables` ON
                    `tables`.`ID` = `reservation_tables`.`TableID` AND
                    `tables`.`Visible` = 1
                INNER JOIN `halls` ON
                    `halls`.`ID` = `tables`.`HallID` AND
                    `halls`.`Visible` = 1
            WHERE
                `ReservationID` = 40412
# [04-Nov-2024 14:24:39] /aria/www/ 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
                `Module` = 'pages' AND
	    		`URLLabel` = 'index'
         AND `Visible` = 1 LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `pages` AS P1
                INNER JOIN `pages` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'index' AND
                P1.`Visible` = 1

SELECT
                `UploadID`,
                `Images`,
                `Title`
            FROM
                `gallery`
            WHERE
                `Language` = 'bg' AND
                `Images` != '' AND
                `HomePage` = 1 AND
                `Visible` = 1
            ORDER BY `PostDate` DESC
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LGallery') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                    `URLLabel`
                FROM
                    `pages`
                WHERE
                    `Language` = 'bg' AND
                    `ParentID` = 1 AND
                    `Module` = 'reviews'
             AND `Visible` = 1 LIMIT 1

SELECT
                `UploadID`,
                `Rate`,
                `Image`,
                `FullName`,
                `Review`,
                `Media`,
                `MediaURL`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `HomePage` = 1 AND
                `Visible` = 1
            ORDER BY `PostDate` DESC
         LIMIT 0, 4

SELECT `Annotation` FROM `pages` WHERE`Module` = 'reviews' AND
	`URLLabel` = 'отзиви' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                COUNT(`ID`)
            FROM
                `reviews`
            WHERE
                `Image` != '' AND
                `Language` = 'bg' AND
                `Visible` = 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LViewMore') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('AltLogo','Address','Phone','LContactUs','AddressFooter','EMail','BrandName','LBusinessHours','LWeekDays','LFollowUs','FacebookURL','InstagramURL','TripadvisorURL') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [04-Nov-2024 14:31:10] /aria/www/ 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
                `Module` = 'pages' AND
	    		`URLLabel` = 'index'
         AND `Visible` = 1 LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `pages` AS P1
                INNER JOIN `pages` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'index' AND
                P1.`Visible` = 1

SELECT
                `UploadID`,
                `Images`,
                `Title`
            FROM
                `gallery`
            WHERE
                `Language` = 'bg' AND
                `Images` != '' AND
                `HomePage` = 1 AND
                `Visible` = 1
            ORDER BY `PostDate` DESC
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LGallery') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                    `URLLabel`
                FROM
                    `pages`
                WHERE
                    `Language` = 'bg' AND
                    `ParentID` = 1 AND
                    `Module` = 'reviews'
             AND `Visible` = 1 LIMIT 1

SELECT
                `UploadID`,
                `Rate`,
                `Image`,
                `FullName`,
                `Review`,
                `Media`,
                `MediaURL`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `HomePage` = 1 AND
                `Visible` = 1
            ORDER BY `PostDate` DESC
         LIMIT 0, 4

SELECT `Annotation` FROM `pages` WHERE`Module` = 'reviews' AND
	`URLLabel` = 'отзиви' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                COUNT(`ID`)
            FROM
                `reviews`
            WHERE
                `Image` != '' AND
                `Language` = 'bg' AND
                `Visible` = 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LViewMore') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('AltLogo','Address','Phone','LContactUs','AddressFooter','EMail','BrandName','LBusinessHours','LWeekDays','LFollowUs','FacebookURL','InstagramURL','TripadvisorURL') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [04-Nov-2024 14:31:20] /aria/www/aD4rbSw2A0/bg/ajax/users/login.html?_=1730723480501 108.61.209.243

set names utf8

SELECT
                `ID`,
                CRC32(`UserKey`) AS `User`,
                RIGHT(`UserKey`, 1) AS `Access`
            FROM
                `users`
            WHERE
                `UserKey` LIKE 'NzkzYjAzNGI1NTAwNmYyNjE4ZTE0YTgxNTRhMjY0MTIYjFhNTYxNzFmZThiOWY0YjI0NWU5MzU5Mzg0NTk5NTc%'
            LIMIT 1
# [04-Nov-2024 14:31:20] /aria/www/aD4rbSw2A0/bg/pages/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `pages`.`ID`,
                `pages`.`Language`,
                `pages`.`Module`,
                `pages`.`Action`,
                `pages`.`PostDate`,
                `pages`.`LastUpdate`,
                IF(`pages`.`MenuLabel` <> '', `pages`.`MenuLabel`, `pages`.`FooterLabel`) AS `Label`,
                IF(`Parent`.`URLLabel` IS NULL, `pages`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `pages`.`URLLabel`)) AS `URLLabel`,
                `pages`.`Visible`
            FROM
                `pages`
                LEFT JOIN `pages` AS `Parent` ON
                    `Parent`.`ParentID` = 1 AND
                    `pages`.`ParentID` = `Parent`.`ID` AND
                    `pages`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg'
         ORDER BY `pages`.`PostDate` ASC
# [04-Nov-2024 14:31:25] /aria/www/aD4rbSw2A0/bg/calendar/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `calendar`.`ID`,
                `calendar`.`Date`,
                `halls`.`HallName`
            FROM
                `calendar`
                LEFT JOIN `halls` ON `calendar`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
         ORDER BY `Date` DESC
# [04-Nov-2024 14:31:27] /aria/www/aD4rbSw2A0/bg/ajax/calendar/form.html?_=1730723487371 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
# [04-Nov-2024 14:34:20] /aria/www/aD4rbSw2A0/bg/calendar/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `calendar`.`ID`,
                `calendar`.`Date`,
                `halls`.`HallName`
            FROM
                `calendar`
                LEFT JOIN `halls` ON `calendar`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
         ORDER BY `Date` DESC
# [04-Nov-2024 14:34:21] /aria/www/aD4rbSw2A0/bg/ajax/calendar/form.html?_=1730723661287 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
# [04-Nov-2024 14:34:59] /aria/www/aD4rbSw2A0/bg/calendar/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `calendar`.`ID`,
                `calendar`.`Date`,
                `halls`.`HallName`
            FROM
                `calendar`
                LEFT JOIN `halls` ON `calendar`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
         ORDER BY `Date` DESC
# [04-Nov-2024 14:35:00] /aria/www/aD4rbSw2A0/bg/ajax/calendar/form.html?_=1730723700372 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
# [04-Nov-2024 14:37:46] /aria/www/aD4rbSw2A0/bg/calendar/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `calendar`.`ID`,
                `calendar`.`Date`,
                `halls`.`HallName`
            FROM
                `calendar`
                LEFT JOIN `halls` ON `calendar`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
         ORDER BY `Date` DESC
# [04-Nov-2024 14:37:47] /aria/www/aD4rbSw2A0/bg/ajax/calendar/form.html?_=1730723867517 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
# [04-Nov-2024 14:38:16] /aria/www/aD4rbSw2A0/bg/ajax/calendar/form.html?_=1730723896346 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
# [04-Nov-2024 14:40:24] /aria/www/aD4rbSw2A0/bg/calendar/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `calendar`.`ID`,
                `calendar`.`Date`,
                `halls`.`HallName`
            FROM
                `calendar`
                LEFT JOIN `halls` ON `calendar`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
         ORDER BY `Date` DESC
# [04-Nov-2024 14:40:26] /aria/www/aD4rbSw2A0/bg/ajax/calendar/form.html?_=1730724026203 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
# [04-Nov-2024 14:41:00] /aria/www/aD4rbSw2A0/bg/calendar/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `calendar`.`ID`,
                `calendar`.`Date`,
                `halls`.`HallName`
            FROM
                `calendar`
                LEFT JOIN `halls` ON `calendar`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
         ORDER BY `Date` DESC
# [04-Nov-2024 14:41:01] /aria/www/aD4rbSw2A0/bg/ajax/calendar/form.html?_=1730724061820 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
# [04-Nov-2024 14:42:08] /aria/www/aD4rbSw2A0/bg/ajax/calendar/form.html?_=1730724128881 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
# [04-Nov-2024 14:42:16] /aria/www/aD4rbSw2A0/bg/ajax/calendar/insert.html?_=1730724136450 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT * FROM `calendar` LIMIT 1

SHOW COLUMNS FROM `calendar`

INSERT INTO `calendar` SET `Date` = '2024-11-04', `HallID` = '1', `StartFrom` = '1215', `EndTo` = '1700'
# [04-Nov-2024 14:42:16] /aria/www/aD4rbSw2A0/bg/calendar/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `calendar`.`ID`,
                `calendar`.`Date`,
                `halls`.`HallName`
            FROM
                `calendar`
                LEFT JOIN `halls` ON `calendar`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
         ORDER BY `Date` DESC
# [04-Nov-2024 14:42:21] /aria/www/aD4rbSw2A0/bg/ajax/calendar/form/25.html?_=1730724141594 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                *
            FROM
                `calendar`
            WHERE
                `ID` = 25
            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
# [04-Nov-2024 14:47:09] /aria/www/aD4rbSw2A0/bg/calendar/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `calendar`.`ID`,
                `calendar`.`Date`,
                `halls`.`HallName`
            FROM
                `calendar`
                LEFT JOIN `halls` ON `calendar`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
         ORDER BY `Date` DESC
# [04-Nov-2024 14:47:36] /aria/www/aD4rbSw2A0/bg/calendar/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `calendar`.`ID`,
                `calendar`.`Date`,
                `calendar`.`StartFrom`,
                `calendar`.`EndTo`,
                `halls`.`HallName`
            FROM
                `calendar`
                LEFT JOIN `halls` ON `calendar`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
         ORDER BY `Date` DESC
# [04-Nov-2024 14:49:15] /aria/www/aD4rbSw2A0/bg/calendar/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `calendar`.`ID`,
                `calendar`.`Date`,
                `calendar`.`StartFrom`,
                `calendar`.`EndTo`,
                `halls`.`HallName`
            FROM
                `calendar`
                LEFT JOIN `halls` ON `calendar`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
         ORDER BY `Date` DESC
# [04-Nov-2024 14:49:19] /aria/www/aD4rbSw2A0/bg/ajax/calendar/form/22.html?_=1730724559963 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                *
            FROM
                `calendar`
            WHERE
                `ID` = 22
            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
# [04-Nov-2024 14:49:25] /aria/www/aD4rbSw2A0/bg/ajax/calendar/update/22.html?_=1730724565432 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT * FROM `calendar` LIMIT 1

SHOW COLUMNS FROM `calendar`

UPDATE `calendar` SET `Date` = '2024-11-30', `HallID` = '0', `StartFrom` = '0', `EndTo` = '1845' WHERE `ID` = '22'
# [04-Nov-2024 14:49:25] /aria/www/aD4rbSw2A0/bg/calendar/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                `calendar`.`ID`,
                `calendar`.`Date`,
                `calendar`.`StartFrom`,
                `calendar`.`EndTo`,
                `halls`.`HallName`
            FROM
                `calendar`
                LEFT JOIN `halls` ON `calendar`.`HallID` = `halls`.`ID` AND `halls`.`Language` = 'bg'
         ORDER BY `Date` DESC
# [04-Nov-2024 16:06:44] /aria/www/aD4rbSw2A0/bg/ajax/calendar/form/22.html?_=1730729204302 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1

SELECT
                *
            FROM
                `calendar`
            WHERE
                `ID` = 22
            LIMIT 1

SELECT
                `ID`,
                `HallName`
            FROM
                `halls`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
