# [08-Jul-2024 13:36:39] /constantinoff/root/ 167.99.142.201

set names utf8

SELECT
                    *
    	        FROM
    	        	`pages`
    	    	WHERE
                    (`ExternalURL` IS NULL OR `ExternalURL` = '') AND
                    `Language` = 'bg'
             AND `Visible` = 1 AND `URLLabel` = 'index' LIMIT 1

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

SELECT
	        	*
	        FROM
	        	`events`
	    	WHERE
                `Language` = 'bg' AND
                (CURDATE() BETWEEN `StartFrom` AND `EndTo` OR `EndTo` IS NULL) AND
                `Image` != ''
         AND `FirstPage` = 1 AND `Visible` = 1 ORDER BY `PostDate` ASC, `LastUpdate` ASC LIMIT 3

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

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

SELECT
                COUNT(`ID`)
            FROM
                `events`
            WHERE
                `Language` = 'bg' AND
                (CURDATE() BETWEEN `StartFrom` AND `EndTo` OR `EndTo` IS NULL) AND
                `Image` != ''
         AND `Visible` = 1

SELECT
                `ID`,
                `Language`,
                `Gold`,
                `Annotation`,
                `Visible`
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`Module` = 'events'
         AND `Visible` = 1 LIMIT 1

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

SELECT
	        	*
	        FROM
	        	`reviews`
	    	WHERE
                `Language` = 'bg'
         AND `FirstPage` = 1 AND `Visible` = 1 ORDER BY `PostDate` ASC, `LastUpdate` ASC LIMIT 2

SELECT
                `ID`,
                `Language`,
                `Gold`,
                `Annotation`,
                `Visible`
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`Module` = 'reviews'
         AND `Visible` = 1 LIMIT 1

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

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

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

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

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

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

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

SELECT
                        `Title`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'footer' AND `Language` = 'bg' AND `URLLabel` = 'footer-contacts' AND (`Visible` = '' OR `Visible` IS NULL) LIMIT 1

SELECT
                        `Content`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'footer' AND `Language` = 'bg' AND `URLLabel` = 'footer-contacts' AND (`Visible` = '' OR `Visible` IS NULL) LIMIT 1

SELECT
                        `Title`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'footer' AND `Language` = 'bg' AND `URLLabel` = 'footer-business-hours' AND (`Visible` = '' OR `Visible` IS NULL) LIMIT 1

SELECT
                        `Content`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'footer' AND `Language` = 'bg' AND `URLLabel` = 'footer-business-hours' AND (`Visible` = '' OR `Visible` IS NULL) LIMIT 1
# [08-Jul-2024 13:36:39] /constantinoff/root/bg/ajax/reservations/calendar.html?_=1720435003251 167.99.142.201

set names utf8

SELECT
                 DATE_FORMAT(`Date`, '%Y%m%d') AS `Date`
            FROM
                `calendar`
            WHERE
                `Date` BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL 91 DAY)
# [08-Jul-2024 13:36:39] /constantinoff/root/bg/ajax/reservations/form.html?_=1720435003251 167.99.142.201

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LMakeReservation','LName','LPhone','LEMail','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
                        `URLLabel`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'terms' AND (`Action` = '' OR `Action` IS NULL) AND `Language` = 'bg' AND `Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('IAgreeGeneral') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [08-Jul-2024 13:36:40] /constantinoff/root/bg/ajax/cookies.html?_=1720435003252 167.99.142.201

set names utf8

SELECT
                        `URLLabel`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'cookies' 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
# [08-Jul-2024 13:36:57] /constantinoff/root/cSN3dAd9/bg/ajax/users/form/login.html?_=1720435020593 167.99.142.201

set names utf8

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

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('ErrorEMail') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [08-Jul-2024 13:37:01] /constantinoff/root/cSN3dAd9/bg/ajax/users/login.html?_=1720435024808 167.99.142.201

set names utf8

UPDATE
                `users`
            SET
                `LastUpdate` = NOW(),
                `AccessKey` = 'mxNEu5Xwqq3f9sJDf973770auHlBLQgIwYp038dxRcvP3l6fmC5XiZawv8eKptu6'
            WHERE
                `UserKey` LIKE 'w4vCvcOjw6LCjcOZw43DrMK6w4rDjcOKw43DlMK9wp3CtsK8%' AND
                RIGHT(`UserKey`, 1) > 0
            LIMIT 1

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

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('ErrorPassword') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [08-Jul-2024 13:37:02] /constantinoff/root/cSN3dAd9/bg/ajax/users/login.html?_=1720435025603 167.99.142.201

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` = 'mxNEu5Xwqq3f9sJDf973770auHlBLQgIwYp038dxRcvP3l6fmC5XiZawv8eKptu6'
            LIMIT 1

UPDATE
                `users`
            SET
                `LastUpdate` = NOW(),
                `AccessKey` = ''
            WHERE
                `ID` = 1462881452
            LIMIT 1
# [08-Jul-2024 13:37:02] /constantinoff/root/cSN3dAd9/bg/pages/list.html 167.99.142.201

set names utf8

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

SELECT
                `ID`,
                `Language`,
                `PostDate`,
                `LastUpdate`,
                `ExternalURL`,
                `MenuLabel`,
                `Title`,
                `URLLabel`,
                `Visible`
            FROM
                `pages`
            WHERE
                `Language` = 'bg'
                
            ORDER BY  `PostDate` ASC
# [08-Jul-2024 13:37:02] /constantinoff/root/bg/ajax/reservations/calendar.html?_=1720435025967 167.99.142.201

set names utf8

SELECT
                 DATE_FORMAT(`Date`, '%Y%m%d') AS `Date`
            FROM
                `calendar`
            WHERE
                `Date` BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL 91 DAY)
# [08-Jul-2024 13:37:05] /constantinoff/root/cSN3dAd9/bg/invoices/list.html 167.99.142.201

set names utf8

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

SELECT * FROM `invoices` WHERE 1 ORDER BY `ID` DESC LIMIT 0, 20

SELECT COUNT(*) AS NumRows FROM (SELECT * FROM `invoices` WHERE 1 ORDER BY `ID` DESC) AS CountTable
# [08-Jul-2024 13:37:05] /constantinoff/root/bg/ajax/reservations/calendar.html?_=1720435028954 167.99.142.201

set names utf8

SELECT
                 DATE_FORMAT(`Date`, '%Y%m%d') AS `Date`
            FROM
                `calendar`
            WHERE
                `Date` BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL 91 DAY)
# [08-Jul-2024 13:37:05] /constantinoff/root/bg/invoices/list/page_2.html 167.99.142.201

set names utf8

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

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

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

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

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

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

SELECT
                        `Title`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'footer' AND `Language` = 'bg' AND `URLLabel` = 'footer-contacts' AND (`Visible` = '' OR `Visible` IS NULL) LIMIT 1

SELECT
                        `Content`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'footer' AND `Language` = 'bg' AND `URLLabel` = 'footer-contacts' AND (`Visible` = '' OR `Visible` IS NULL) LIMIT 1

SELECT
                        `Title`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'footer' AND `Language` = 'bg' AND `URLLabel` = 'footer-business-hours' AND (`Visible` = '' OR `Visible` IS NULL) LIMIT 1

SELECT
                        `Content`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'footer' AND `Language` = 'bg' AND `URLLabel` = 'footer-business-hours' AND (`Visible` = '' OR `Visible` IS NULL) LIMIT 1
# [08-Jul-2024 13:37:08] /constantinoff/root/cSN3dAd9/bg/ajax/invoices/form/9000000057.html?_=1720435031559 167.99.142.201

set names utf8

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

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 9000000057
            LIMIT 1

SELECT `Code`, `Name` FROM `countries` ORDER BY `countries`.`Name` ASC
# [08-Jul-2024 13:37:43] /constantinoff/root/cSN3dAd9/bg/ajax/invoices/update/9000000057.html?_=1720435066975 167.99.142.201

set names utf8

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

SELECT * FROM `invoices` WHERE 1  AND ID = '9000000057' AND Language = 'bg' LIMIT 1

INSERT INTO `history`
                (`ID`, `PostDate`, `TableName`, `PrimaryKey`, `Data`, `UserID`) VALUES
                (NULL, NOW(), 'invoices', '9000000057bg', 'ZwvD1mTk8USE4zatWs_N-mA5h025cgRZAT4Y6Bj-gOG2mVSMb0VXZuZ0ZhYbJGepRMuE5FA2S80UNfS9yuzW0td4VWSrcMxvVAgJW8ZuWqcklSsOZQuzKg0dqhcOkwTb7E6dkzQibdJIlnCzIN3NpEBKOnFE92LyOPXcx7UgElz3yXt8KG4TS1gzIbJ_yHVMbxMLYafuKlFFhdrI82y6IUnHjTrDmEKfb3Rp9PtdDnDiJ4wHs2T-a_3Vw-3TlHN5aJS47QN9eXbc1kth0mY9G02SY68rXj0ILWl9ucKzU1QS7iEhpNnPBRMPHqB0YstVVhuubdgp-0bTQMi5N988D-sWXM2pW2H6XkjLPP5HkuLP7lzQE1SazsfKMA6bkIyVszsWy8VsKAVJjC7oTYD1XHwbQHJUCCasq8okRHjxg1DX3RNnB4m3qfIZ_sdpxhr2Ks1uUx6wWdZdhSvp4910EVl9CTeRfS6_MXLs5_VpUo0hVY6vVx-CC4aqp7UGKDvzPHQBCrFRDNjEOmDAA6s-JEGjaE-Az8RdH1A-w-UmQRWudNl4t9ypbK4XFWVOzkCv8pyA54vY1kPbYBwSIq0kt4XXCShIi1qx0N9vrM9cHaOyTUcqupjls40zkjyQqHidxedMy8-pjj3PPox5LIhqSDqi4fdOy6bK5Deb4FqZ2tcBzwi0-aXyY5oA5qFMCC_XPPwR_7XwAsx1UofDTNVJMcWSNqe-QFLkXC4lO5XaZGOx0vABKFIeDXkLxGM9L_cHX3GOohtGicBNqeYTd8GsWUmEnc6FN15Tc3Lmao0qKXbc-bKDLNEd5dXigMChpSSgfPivN_X3oSLgI5pLGhdZDk5EZ__Oa6iHQZiy8WFVEM6kvrBtG6DRLphxHs-Z0TviM-OUlRne_NO6eIiZ0XGJWNCRhsB3wDZexQ_UEjnpKoVHUARvWePu1hh9rmwi_S1ALuIqsZ7jm5yEL_hsOXSs7Co4hrdrPso9BOjO72pEZ0S5sTGOhlqjC8H3ZdqOqOcVubA4eCqIyjmmc51ks73kDrLqf0V0q5bScxX8P_SGg2hAWuwVO_2Lng9OXigJL-q-W47RjYypNtLJCd6yaVgy7K-oAWOOpkzAyjj1RhZEyZeQlAgH91DLRCeBqrGgf4tz3lNvkev7or4947Ri9EeN29Zyzdfp926Jiimw5UrRp5A-lIvSySfvy0SPY2hGgOQaAII053UKZTEnC3NSoMCI8uBvBJ9O1oSmQ7SNXUl_Gl0', 1462881452)

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

UPDATE `invoices` SET `ID` = '9000000057', `Language` = 'bg', `PostDate` = '2023-12-05 13:37:43', `LastUpdate` = '2024-07-08 13:37:43', `Type` = 1, `Data` = '2ZW_UUupw2yHc_MJ00wYMVAAmqiWMn49ROMJ4Yu8KihT_Uvj-cU5LUVZnEZ2CL1VqSIoFcHimml65cJ7W11g38y0SKmfYICvgCH-fMzrDmGyNXR5RdMpm8ODsXZ2D-AKYwLgP61B5EeKbljpV8YO3KeK48KxdB4qldpXHR1e_yErRK8Tt-wDpdnmWri4vsyIHNPCeNMxpJj0AE3_vYRn62UHoqnE95J8smDb3tVlg9cjj_UI-cDuU8UfcqsiV5IRjnf0DeZYcES9jyzMN_5hWKmySp-zAAuau6gFvvLrkmc7OnvX1i-KNT7B91m0XkYXsj9OYxLbZBc2ybHXU6xydPM7cCmkveAAo00EQwgc9ASJjdVMjIwCG02EzEKmviR4xUBti4V79u3eWUN0f7DZQYUrULOS9l1qY1MJsnuBsBk1x6I3NtZ7fKlVzBtCPgm3NLHNAcf7az-OUYdmJE1WP1a3UObNKxHJ5ldRs4Vw1QYRsDOYYS20xAnayO22neTF7JDu1ucErQr-ID5DFSa3WJh2BnQaQVmLcly3xOUTGLvBpAfFnhukXcZoU-wmrBSPzawHhANHV08nlbFkdPHShrVKZtvgCye3rpU1vsRIqfn92M9QOlNel3Nf0R5b7utuyuEYSmST6-jRtiUvW2UyZHTAQy-ZQCuHMlKwpA0q7Rdp4BF_tur8agICZxRxV9HKEBI9R4J2U8iTURUN-mUAhAkSkWtWiQGN5xMxNDizdhc-mu80EB-j67nJSluW9I-wK7083-O02rLOop8tUCngqIvlt81PnLjiDOkGq9Ge_Npko1sAqtmSEb31T4rPW_PWGgN9H0vmZLyY6MK9auC7mlbqOAlqgQnpePJwub_VgrUV_L-Uwu64OXXiWHggmteqGARjcqYK2kPJ71__5ucpqw', `SearchKey` = 'wrvCn8OGw6jCscwrnCisKpwwrjCoMK6w57CsMKfwr7DwrHCn8K2wqDCpsOEwrbDnMK0worDwofCpMK8wrDgMK6wrPCuMKDwrHDksKrw5nDj8Khw' WHERE `ID` = '9000000057'
# [08-Jul-2024 13:37:43] /constantinoff/root/cSN3dAd9/bg/invoices/list.html 167.99.142.201

set names utf8

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

SELECT * FROM `invoices` WHERE 1 ORDER BY `ID` DESC LIMIT 0, 20

SELECT COUNT(*) AS NumRows FROM (SELECT * FROM `invoices` WHERE 1 ORDER BY `ID` DESC) AS CountTable
# [08-Jul-2024 13:37:44] /constantinoff/root/bg/ajax/reservations/calendar.html?_=1720435067549 167.99.142.201

set names utf8

SELECT
                 DATE_FORMAT(`Date`, '%Y%m%d') AS `Date`
            FROM
                `calendar`
            WHERE
                `Date` BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL 91 DAY)
# [08-Jul-2024 13:37:44] /constantinoff/root/bg/invoices/list/page_2.html 167.99.142.201

set names utf8

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

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

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

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

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

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

SELECT
                        `Title`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'footer' AND `Language` = 'bg' AND `URLLabel` = 'footer-contacts' AND (`Visible` = '' OR `Visible` IS NULL) LIMIT 1

SELECT
                        `Content`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'footer' AND `Language` = 'bg' AND `URLLabel` = 'footer-contacts' AND (`Visible` = '' OR `Visible` IS NULL) LIMIT 1

SELECT
                        `Title`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'footer' AND `Language` = 'bg' AND `URLLabel` = 'footer-business-hours' AND (`Visible` = '' OR `Visible` IS NULL) LIMIT 1

SELECT
                        `Content`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'footer' AND `Language` = 'bg' AND `URLLabel` = 'footer-business-hours' AND (`Visible` = '' OR `Visible` IS NULL) LIMIT 1
# [08-Jul-2024 13:37:48] /constantinoff/root/cSN3dAd9/bg/invoices/9000000057.html 167.99.142.201

set names utf8

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

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 9000000057
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LInvoice','LOrgPerson','LOrgNumber','LOrgVAT','LInvDescription','LInvQuantity','LInvPrice','LInvSum','LInvSubTotal','LInvVAT','LInvSlovom','LInvTotal','LInvReceived','LInvPaymentMethod','LCard','LInvComposed') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

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

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