# [29-Sep-2023 13:31:51] /eventssp8/root/ 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.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'index' AND
                P1.`Visible` = 1

SELECT * FROM `lecturers` WHERE `Language` = 'bg' AND `Visible` = 1 ORDER BY `PostDate` ASC

SELECT
                *
            FROM
                `gallery`
            WHERE
                `Language` = 'bg'
            LIMIT 1

SELECT
                `Videos`
            FROM
                `gallery`
            WHERE
                `Language` = 'bg'
            LIMIT 1

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [29-Sep-2023 13:31:52] /eventssp8/root/bg/ajax/cookies.html?_=1695983512007 108.61.209.243

set names utf8

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

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('TextCookies','LUnderstood') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [29-Sep-2023 13:34:09] /eventssp8/root/sp8DrnsAWf/bg/ajax/users/login.html?_=1695983649307 108.61.209.243

set names utf8

UPDATE
                `users`
            SET
                `LastUpdate` = NOW(),
                `AccessKey` = 'a3k4QXnSYAWRXJZbWp6c0WyZxZ8at56kBsYQoRji729wTv1z3yXsGXFdB0yjMP2S'
            WHERE
                `UserKey` LIKE 'w4vDkcOXw4bCpcODw43DrMK-w5_DmcOAwrrCsMOXwoXCtsKx%' AND
                RIGHT(`UserKey`, 1) > 0
            LIMIT 1
# [29-Sep-2023 13:34:10] /eventssp8/root/sp8DrnsAWf/bg/ajax/users/login.html?_=1695983650207 108.61.209.243

set names utf8

SELECT
                `ID`,
                CRC32(`UserKey`) AS `User`,
                SUBSTRING(`UserKey`, -33, 32) AS `PassKey`,
                RIGHT(`UserKey`, 1) AS `Access`
            FROM
                `users`
            WHERE
                RIGHT(`UserKey`, 1) > 0 AND
                `LastUpdate` >= DATE_SUB(NOW(), INTERVAL 1 MINUTE) AND
                `AccessKey` = 'a3k4QXnSYAWRXJZbWp6c0WyZxZ8at56kBsYQoRji729wTv1z3yXsGXFdB0yjMP2S'
            LIMIT 1

UPDATE
                `users`
            SET
                `LastUpdate` = NOW(),
                `AccessKey` = ''
            WHERE
                `ID` = 3
            LIMIT 1
# [29-Sep-2023 13:34:10] /eventssp8/root/sp8DrnsAWfbg/orders/list.html 108.61.209.243

set names utf8

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

SELECT * FROM `orders` WHERE `Status` & 8 ORDER BY `ID` DESC LIMIT 0, 100

SELECT COUNT(*) AS NumRows FROM (SELECT * FROM `orders` WHERE `Status` & 8 ORDER BY `ID` DESC) AS CountTable
# [29-Sep-2023 13:34:16] /eventssp8/root/sp8DrnsAWf/bg/seats/list.html 108.61.209.243

set names utf8

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

SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC LIMIT 0, 100

SELECT COUNT(*) AS NumRows FROM (
            SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC) AS CountTable
# [29-Sep-2023 13:34:17] /eventssp8/root/bg/seats/list/page_2.html 108.61.209.243

set names utf8

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [29-Sep-2023 13:34:20] /eventssp8/root/sp8DrnsAWf/bg/ajax/seats/form/b1-r1-m1.html?_=1695983659492 108.61.209.243

set names utf8

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

SELECT
                *
            FROM
                `seats`
            WHERE
                `ID` = 'b1-r1-m1'
            LIMIT 1
# [29-Sep-2023 13:34:23] /eventssp8/root/sp8DrnsAWf/bg/ajax/seats/update.html?_=1695983662696 108.61.209.243

set names utf8

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

SELECT * FROM `seats` LIMIT 1

SHOW COLUMNS FROM `seats`

UPDATE `seats` SET `Price` = '60.00', `Status` = 0 WHERE `ID` = 'b1-r1-m1'
# [29-Sep-2023 15:09:49] /eventssp8/root/sp8DrnsAWf/bg/ajax/users/login.html?_=1695989388736 108.61.209.243

set names utf8

UPDATE
                `users`
            SET
                `LastUpdate` = NOW(),
                `AccessKey` = 'Qk375en9c2Pq9NtEs4b96RQiHkYUB53ESq7Iq74YIG0IH661bPdJq0yIXU54T8EO'
            WHERE
                `UserKey` LIKE 'w4vDkcOXw4bCpcODw43DrMK-w5_DmcOAwrrCsMOXwoXCtsKx%' AND
                RIGHT(`UserKey`, 1) > 0
            LIMIT 1
# [29-Sep-2023 15:09:50] /eventssp8/root/sp8DrnsAWf/bg/ajax/users/login.html?_=1695989389674 108.61.209.243

set names utf8

SELECT
                `ID`,
                CRC32(`UserKey`) AS `User`,
                SUBSTRING(`UserKey`, -33, 32) AS `PassKey`,
                RIGHT(`UserKey`, 1) AS `Access`
            FROM
                `users`
            WHERE
                RIGHT(`UserKey`, 1) > 0 AND
                `LastUpdate` >= DATE_SUB(NOW(), INTERVAL 1 MINUTE) AND
                `AccessKey` = 'Qk375en9c2Pq9NtEs4b96RQiHkYUB53ESq7Iq74YIG0IH661bPdJq0yIXU54T8EO'
            LIMIT 1

UPDATE
                `users`
            SET
                `LastUpdate` = NOW(),
                `AccessKey` = ''
            WHERE
                `ID` = 3
            LIMIT 1
# [29-Sep-2023 15:09:50] /eventssp8/root/sp8DrnsAWfbg/orders/list.html 108.61.209.243

set names utf8

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

SELECT * FROM `orders` WHERE `Status` & 8 ORDER BY `ID` DESC LIMIT 0, 100

SELECT COUNT(*) AS NumRows FROM (SELECT * FROM `orders` WHERE `Status` & 8 ORDER BY `ID` DESC) AS CountTable
# [29-Sep-2023 15:09:57] /eventssp8/root/sp8DrnsAWf/bg/seats/list.html 108.61.209.243

set names utf8

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

SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC LIMIT 0, 100

SELECT COUNT(*) AS NumRows FROM (
            SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC) AS CountTable
# [29-Sep-2023 15:09:57] /eventssp8/root/bg/seats/list/page_2.html 108.61.209.243

set names utf8

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [29-Sep-2023 15:10:01] /eventssp8/root/sp8DrnsAWf/bg/ajax/seats/form/b1-r1-m10.html?_=1695989401564 108.61.209.243

set names utf8

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

SELECT
                *
            FROM
                `seats`
            WHERE
                `ID` = 'b1-r1-m10'
            LIMIT 1
# [29-Sep-2023 15:10:05] /eventssp8/root/sp8DrnsAWf/bg/ajax/seats/update.html?_=1695989404689 108.61.209.243

set names utf8

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

SELECT * FROM `seats` LIMIT 1

SHOW COLUMNS FROM `seats`

UPDATE `seats` SET `Price` = '60.00', `Status` = 0 WHERE `ID` = 'b1-r1-m10'
# [29-Sep-2023 15:10:32] /eventssp8/root/sp8DrnsAWf/bg/seats/list.html 108.61.209.243

set names utf8

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

SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC LIMIT 0, 100

SELECT COUNT(*) AS NumRows FROM (
            SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC) AS CountTable
# [29-Sep-2023 15:10:32] /eventssp8/root/bg/seats/list/page_2.html 108.61.209.243

set names utf8

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [29-Sep-2023 15:10:36] /eventssp8/root/sp8DrnsAWf/bg/ajax/seats/form/b1-r1-m11.html?_=1695989436469 108.61.209.243

set names utf8

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

SELECT
                *
            FROM
                `seats`
            WHERE
                `ID` = 'b1-r1-m11'
            LIMIT 1
# [29-Sep-2023 15:10:40] /eventssp8/root/sp8DrnsAWf/bg/ajax/seats/update.html?_=1695989440097 108.61.209.243

set names utf8

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

SELECT * FROM `seats` LIMIT 1

SHOW COLUMNS FROM `seats`

UPDATE `seats` SET `Price` = '60.00', `Status` = 0 WHERE `ID` = 'b1-r1-m11'
# [29-Sep-2023 15:10:40] /eventssp8/root/sp8DrnsAWf/bg/seats/list.html 108.61.209.243

set names utf8

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

SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC LIMIT 0, 100

SELECT COUNT(*) AS NumRows FROM (
            SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC) AS CountTable
# [29-Sep-2023 15:10:41] /eventssp8/root/bg/seats/list/page_2.html 108.61.209.243

set names utf8

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [29-Sep-2023 15:10:43] /eventssp8/root/sp8DrnsAWf/bg/ajax/seats/form/b1-r1-m11.html?_=1695989442622 108.61.209.243

set names utf8

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

SELECT
                *
            FROM
                `seats`
            WHERE
                `ID` = 'b1-r1-m11'
            LIMIT 1
# [29-Sep-2023 15:10:45] /eventssp8/root/sp8DrnsAWf/bg/ajax/seats/update.html?_=1695989445590 108.61.209.243

set names utf8

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

SELECT * FROM `seats` LIMIT 1

SHOW COLUMNS FROM `seats`

UPDATE `seats` SET `Price` = '60.00', `Status` = 2 WHERE `ID` = 'b1-r1-m11'
# [29-Sep-2023 15:10:46] /eventssp8/root/sp8DrnsAWf/bg/seats/list.html 108.61.209.243

set names utf8

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

SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC LIMIT 0, 100

SELECT COUNT(*) AS NumRows FROM (
            SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC) AS CountTable
# [29-Sep-2023 15:10:46] /eventssp8/root/bg/seats/list/page_2.html 108.61.209.243

set names utf8

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [29-Sep-2023 15:10:48] /eventssp8/root/sp8DrnsAWf/bg/ajax/seats/form/b1-r1-m10.html?_=1695989447895 108.61.209.243

set names utf8

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

SELECT
                *
            FROM
                `seats`
            WHERE
                `ID` = 'b1-r1-m10'
            LIMIT 1
# [29-Sep-2023 15:10:50] /eventssp8/root/sp8DrnsAWf/bg/ajax/seats/update.html?_=1695989450365 108.61.209.243

set names utf8

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

SELECT * FROM `seats` LIMIT 1

SHOW COLUMNS FROM `seats`

UPDATE `seats` SET `Price` = '60.00', `Status` = 2 WHERE `ID` = 'b1-r1-m10'
# [29-Sep-2023 15:10:50] /eventssp8/root/sp8DrnsAWf/bg/seats/list.html 108.61.209.243

set names utf8

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

SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC LIMIT 0, 100

SELECT COUNT(*) AS NumRows FROM (
            SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC) AS CountTable
# [29-Sep-2023 15:10:51] /eventssp8/root/bg/seats/list/page_2.html 108.61.209.243

set names utf8

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
# [29-Sep-2023 15:10:52] /eventssp8/root/sp8DrnsAWf/bg/ajax/seats/form/b1-r1-m1.html?_=1695989452110 108.61.209.243

set names utf8

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

SELECT
                *
            FROM
                `seats`
            WHERE
                `ID` = 'b1-r1-m1'
            LIMIT 1
# [29-Sep-2023 15:10:55] /eventssp8/root/sp8DrnsAWf/bg/ajax/seats/update.html?_=1695989454782 108.61.209.243

set names utf8

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

SELECT * FROM `seats` LIMIT 1

SHOW COLUMNS FROM `seats`

UPDATE `seats` SET `Price` = '60.00', `Status` = 2 WHERE `ID` = 'b1-r1-m1'
# [29-Sep-2023 15:10:55] /eventssp8/root/sp8DrnsAWf/bg/seats/list.html 108.61.209.243

set names utf8

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

SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC LIMIT 0, 100

SELECT COUNT(*) AS NumRows FROM (
            SELECT
                `seats`.*,
                `orders`.`ID` AS `OrderID`
            FROM
                `seats`
                LEFT JOIN `tickets` ON `tickets`.`SeatID` = `seats`.`ID`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
            WHERE 1
         ORDER BY `seats`.`ID` ASC) AS CountTable
# [29-Sep-2023 15:10:55] /eventssp8/root/bg/seats/list/page_2.html 108.61.209.243

set names utf8

SELECT
                `Module`,
                `MenuLabel`,
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Module` != 'users' AND
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC
