# [03-Feb-2026 13:26:23] /rapsody/www/ 108.61.209.243

set names utf8

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

SELECT
                `offers`.`ID`,
                `offers`.`UploadID`,
                `offers`.`HeaderImages`,
                `offers`.`URLLabel`,
                `offers`.`VideoURL`,
                `offers`.`Currency`,
                `offers`.`Title`,
                `offers`.`Visible`
	        FROM
	        	`offers`
                INNER JOIN `programs` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
	    	WHERE
                `HeaderImages` <> '' AND
	    		`TopOffer` = 1 AND
                `offers`.`Language` = 'bg' AND
                `programs`.`EndTo` >= CURDATE()
         AND `offers`.`Visible` = 1  ORDER BY `offers`.`PostDate` ASC LIMIT 1

SELECT
                `TopOffers`.`ID`,
                `TopOffers`.`UploadID`,
                `TopOffers`.`Image`,
                `TopOffers`.`Size`,
                `TopOffers`.`TripType`,
                `TopOffers`.`Currency`,
                `TopOffers`.`Title`,
                `TopOffers`.`URLLabel`,
                `TopOffers`.`Annotation`,
                `TopOffers`.`Visible`,
                `SubOffers`.`ID` AS `SubOffers`
            FROM
                `offers` AS `TopOffers`
                INNER JOIN `programs` ON `TopOffers`.`ID` = `programs`.`OfferID` AND `TopOffers`.`Language` = `programs`.`Language`
                LEFT JOIN `offers` AS `SubOffers` ON `SubOffers`.`ParentID` = `TopOffers`.`ID` AND `TopOffers`.`Language` = `SubOffers`.`Language`
            WHERE
                `TopOffers`.`ParentID` = 0 AND
                `TopOffers`.`Language` = 'bg' AND
                `TopOffers`.`MenuLabel` <> '' AND
                `programs`.`EndTo` >= CURDATE()
         AND `programs`.`Visible` = 1 AND `TopOffers`.`Image` <> '' AND `TopOffers`.`Visible` = 1 GROUP BY `TopOffers`.`ID` ORDER BY `TopOffers`.`Row` ASC, `TopOffers`.`PostDate` ASC

SELECT
                        `Title`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'offers' AND `Language` = 'bg' AND `Visible` = 1 LIMIT 1

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

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 139 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1601 AND
                    `OfferID` = 139 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 139 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

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

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 176 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1594 AND
                    `OfferID` = 176 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 176 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 67 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1502 AND
                    `OfferID` = 67 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 67 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `offers`.`ID`,
                `offers`.`UploadID`,
                `offers`.`Image`,
                `offers`.`Size`,
                `offers`.`TripType`,
                `offers`.`Currency`,
                `offers`.`Title`,
                `offers`.`URLLabel`,
                `offers`.`Annotation`,
                `offers`.`Visible`
            FROM
                `offers`
                INNER JOIN `programs` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
            WHERE
                `offers`.`ParentID` = 67 AND
                `offers`.`Language` = 'bg' AND
                `offers`.`MenuLabel` <> '' AND
                `programs`.`EndTo` >= CURDATE() AND
                `offers`.`Visible` = 1
         AND `offers`.`Image` <> '' AND `offers`.`Visible` = 1 GROUP BY `offers`.`ID` ORDER BY `offers`.`Row` ASC, `offers`.`PostDate` ASC

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 72 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1536 AND
                    `OfferID` = 72 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 72 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 281 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1583 AND
                    `OfferID` = 281 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 281 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 203 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1259 AND
                    `OfferID` = 203 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 203 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 71 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1508 AND
                    `OfferID` = 71 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 71 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 69 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1506 AND
                    `OfferID` = 69 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 69 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 204 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1559 AND
                    `OfferID` = 204 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 204 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 270 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1555 AND
                    `OfferID` = 270 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 270 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `offers`.`ID`,
                `offers`.`UploadID`,
                `offers`.`Image`,
                `offers`.`Size`,
                `offers`.`TripType`,
                `offers`.`Currency`,
                `offers`.`Title`,
                `offers`.`URLLabel`,
                `offers`.`Annotation`,
                `offers`.`Visible`
            FROM
                `offers`
                INNER JOIN `programs` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
            WHERE
                `offers`.`ParentID` = 270 AND
                `offers`.`Language` = 'bg' AND
                `offers`.`MenuLabel` <> '' AND
                `programs`.`EndTo` >= CURDATE() AND
                `offers`.`Visible` = 1
         AND `offers`.`Image` <> '' AND `offers`.`Visible` = 1 GROUP BY `offers`.`ID` ORDER BY `offers`.`Row` ASC, `offers`.`PostDate` ASC

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 284 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1591 AND
                    `OfferID` = 284 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 284 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 146 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1599 AND
                    `OfferID` = 146 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 146 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 208 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1276 AND
                    `OfferID` = 208 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 208 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `offers`.`ID`,
                `offers`.`UploadID`,
                `offers`.`Image`,
                `offers`.`Size`,
                `offers`.`TripType`,
                `offers`.`Currency`,
                `offers`.`Title`,
                `offers`.`URLLabel`,
                `offers`.`Annotation`,
                `offers`.`Visible`
            FROM
                `offers`
                INNER JOIN `programs` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
            WHERE
                `offers`.`ParentID` = 208 AND
                `offers`.`Language` = 'bg' AND
                `offers`.`MenuLabel` <> '' AND
                `programs`.`EndTo` >= CURDATE() AND
                `offers`.`Visible` = 1
         AND `offers`.`Image` <> '' AND `offers`.`Visible` = 1 GROUP BY `offers`.`ID` ORDER BY `offers`.`Row` ASC, `offers`.`PostDate` ASC

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 263 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1512 AND
                    `OfferID` = 263 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 263 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 288 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1600 AND
                    `OfferID` = 288 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 288 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 217 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1531 AND
                    `OfferID` = 217 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 217 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 222 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1533 AND
                    `OfferID` = 222 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 222 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 264 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1534 AND
                    `OfferID` = 264 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 264 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 53 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1577 AND
                    `OfferID` = 53 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 53 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 261 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 278 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1483 AND
                    `OfferID` = 278 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 278 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 96 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1607 AND
                    `OfferID` = 96 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 96 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 134 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1602 AND
                    `OfferID` = 134 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 134 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 40 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1517 AND
                    `OfferID` = 40 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 40 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 243 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1522 AND
                    `OfferID` = 243 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 243 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 109 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1562 AND
                    `OfferID` = 109 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 109 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 201 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 194 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1576 AND
                    `OfferID` = 194 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 194 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 271 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1513 AND
                    `OfferID` = 271 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 271 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 249 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1546 AND
                    `OfferID` = 249 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 249 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 267 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1547 AND
                    `OfferID` = 267 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 267 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 279 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1578 AND
                    `OfferID` = 279 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 279 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 282 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1584 AND
                    `OfferID` = 282 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 282 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 286 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1595 AND
                    `OfferID` = 286 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 286 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 269 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1552 AND
                    `OfferID` = 269 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 269 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 283 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1585 AND
                    `OfferID` = 283 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 283 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID`,
                `UploadID`,
                `PostDate`,
                `Image`,
                `URLLabel`,
                `Title`,
                `Annotation`,
                `Visible`
            FROM
                `articles`
            WHERE
                `ID` != 0 AND
                `Rapsody` = 1 AND
                `Language` = 'bg'
         AND `Visible` = 1 ORDER BY `PostDate` DESC LIMIT 2

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:26:23] /rapsody/www/bg/ajax/basket/qty.html?_=1770117991521 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = 'e9185f392fb326e4d5190c410370d2efaa6944467b074ae65ed1bc50f435b8fe'
            LIMIT 1
# [03-Feb-2026 13:26:26] /rapsody/www/bg/events.html 108.61.209.243

set names utf8

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

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

SELECT
                `events`.*,
                (CURDATE() BETWEEN `SaleFrom` AND `SaleTo` OR `SaleTo` IS NULL) AS `InSale`,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`
            WHERE
                `Language` = 'bg'
         AND `events`.`Visible` = 1
            GROUP BY
                `events`.`ID`
            ORDER BY
                `events`.`PostDate` DESC
         LIMIT 0, 10

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

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

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

SELECT COUNT(*) AS NumRows FROM (SELECT
                `events`.*,
                (CURDATE() BETWEEN `SaleFrom` AND `SaleTo` OR `SaleTo` IS NULL) AS `InSale`,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`
            WHERE
                `Language` = 'bg'
         AND `events`.`Visible` = 1
            GROUP BY
                `events`.`ID`
            ORDER BY
                `events`.`PostDate` DESC
        ) AS CountTable

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

SELECT
                `ID`,
                `UploadID`,
                `PostDate`,
                `Image`,
                `URLLabel`,
                `Title`,
                `Annotation`,
                `Visible`
            FROM
                `articles`
            WHERE
                `ID` != 0 AND
                `Rapsody` = 1 AND
                `Language` = 'bg'
         AND `Visible` = 1 ORDER BY `PostDate` DESC LIMIT 2

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:26:26] /rapsody/www/bg/ajax/basket/qty.html?_=1770117993910 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 13:26:27] /rapsody/www/bg/events/tomorrowland-belgium-2025.html 108.61.209.243

set names utf8

SELECT
                *
            FROM
                `events`
            WHERE
                `URLLabel` = 'tomorrowland-belgium-2025' AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

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

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:26:28] /rapsody/www/bg/ajax/basket/qty.html?_=1770117995757 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 13:26:28] /rapsody/www/bg/events/2600_https://digith.ink/rapsody/www/bg/events/tomorrowland-belgium-2025.html 108.61.209.243

set names utf8

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:29:51] /rapsody/www/rpV4nz0Sa0q/bg/ajax/users/login.html?_=1770118198654 108.61.209.243

set names utf8

UPDATE
                `users`
            SET
                `LastUpdate` = NOW(),
                `AccessKey` = 'DD1ejLJaEUoQo3o3DZ1r5pqHxkyhD475W290G8Qu6m01M2UpdTJVQJpH45SchLkC'
            WHERE
                `UserKey` LIKE 'w6vCmsK9wqjCt8KhwrfCrMOew6LCpMOaw5vCuMOIwqXCmMKr%' AND
                RIGHT(`UserKey`, 1) > 0
            LIMIT 1
# [03-Feb-2026 13:29:55] /rapsody/www/rpV4nz0Sa0q/bg/ajax/users/login.html?_=1770118203237 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` = 'DD1ejLJaEUoQo3o3DZ1r5pqHxkyhD475W290G8Qu6m01M2UpdTJVQJpH45SchLkC'
            LIMIT 1

UPDATE
                `users`
            SET
                `LastUpdate` = NOW(),
                `AccessKey` = ''
            WHERE
                `ID` = 1
            LIMIT 1
# [03-Feb-2026 13:29:55] /rapsody/www/rpV4nz0Sa0q/bg/pages/list.html 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Language`,
                `Module`,
                `Action`,
                `PostDate`,
                `LastUpdate`,
                `ExternalURL`,
                `MenuLabel`,
                `Title`,
                `URLLabel`,
                `Visible`
            FROM
                `pages`
            WHERE
                `Language` = 'bg'
                
            ORDER BY  `PostDate` ASC
# [03-Feb-2026 13:30:15] /rapsody/www/rpV4nz0Sa0q/bg/tickets/list.html 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Title`
            FROM
                `events`
            ORDER BY
                `Title` ASC

SELECT
                `ID`,
                `UserKey`
            FROM
                `users`

SELECT
                `tickets`.`ID`,
                `tickets`.`PostDate`,
                `tickets`.`Status`,
                `tickets`.`Checked`,
                `tickets`.`Data` AS `TicketData`,
                `reservations`.`ClientID`,
                `reservations`.`ID` AS `ReservationID`,
                CASE
                    WHEN `reservations`.`ID` IS NULL
                       THEN `orders`.`Data`
                       ELSE `reservations`.`Data`
               END AS `Data`
            FROM
                `tickets`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
                LEFT JOIN `reservations` ON `tickets`.`OrderID` = `reservations`.`ID`
            WHERE
                (`orders`.`Status` & 16 OR `reservations`.`Status` & 128)
         ORDER BY `tickets`.`PostDate` DESC LIMIT 0, 100

SELECT COUNT(*) AS NumRows FROM (
            SELECT
                `tickets`.`ID`,
                `tickets`.`PostDate`,
                `tickets`.`Status`,
                `tickets`.`Checked`,
                `tickets`.`Data` AS `TicketData`,
                `reservations`.`ClientID`,
                `reservations`.`ID` AS `ReservationID`,
                CASE
                    WHEN `reservations`.`ID` IS NULL
                       THEN `orders`.`Data`
                       ELSE `reservations`.`Data`
               END AS `Data`
            FROM
                `tickets`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
                LEFT JOIN `reservations` ON `tickets`.`OrderID` = `reservations`.`ID`
            WHERE
                (`orders`.`Status` & 16 OR `reservations`.`Status` & 128)
         ORDER BY `tickets`.`PostDate` DESC) AS CountTable
# [03-Feb-2026 13:30:15] /rapsody/www/bg/tickets/list/page_2.html 108.61.209.243

set names utf8

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:31:39] /rapsody/www/bg/events/tomorrowland-belgium-2025.html 108.61.209.243

set names utf8

SELECT
                *
            FROM
                `events`
            WHERE
                `URLLabel` = 'tomorrowland-belgium-2025' AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

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

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:31:39] /rapsody/www/bg/ajax/basket/qty.html?_=1770118307304 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 13:31:39] /rapsody/www/bg/events/2600_https://digith.ink/rapsody/www/bg/events/tomorrowland-belgium-2025.html 108.61.209.243

set names utf8

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:31:42] /rapsody/www/bg/ajax/orders/form/12.html?_=1770118310187 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`events`
	    	WHERE
	    		`ID` = 12 AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 12

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOverbooked1','LOverbooked2') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [03-Feb-2026 13:38:22] /rapsody/www/bg/events.html 108.61.209.243

set names utf8

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

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

SELECT
                `events`.*,
                (CURDATE() BETWEEN `SaleFrom` AND `SaleTo` OR `SaleTo` IS NULL) AS `InSale`,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`
            WHERE
                `Language` = 'bg'
         AND `events`.`Visible` = 1
            GROUP BY
                `events`.`ID`
            ORDER BY
                `events`.`PostDate` DESC
         LIMIT 0, 10

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

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

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

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

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

SELECT COUNT(*) AS NumRows FROM (SELECT
                `events`.*,
                (CURDATE() BETWEEN `SaleFrom` AND `SaleTo` OR `SaleTo` IS NULL) AS `InSale`,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`
            WHERE
                `Language` = 'bg'
         AND `events`.`Visible` = 1
            GROUP BY
                `events`.`ID`
            ORDER BY
                `events`.`PostDate` DESC
        ) AS CountTable

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

SELECT
                `ID`,
                `UploadID`,
                `PostDate`,
                `Image`,
                `URLLabel`,
                `Title`,
                `Annotation`,
                `Visible`
            FROM
                `articles`
            WHERE
                `ID` != 0 AND
                `Rapsody` = 1 AND
                `Language` = 'bg'
         AND `Visible` = 1 ORDER BY `PostDate` DESC LIMIT 2

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:38:22] /rapsody/www/bg/ajax/basket/qty.html?_=1770118709873 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 13:38:29] /rapsody/www/bg/events/tomorrowland-belgium.html 108.61.209.243

set names utf8

SELECT
                *
            FROM
                `events`
            WHERE
                `URLLabel` = 'tomorrowland-belgium' AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

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

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:38:29] /rapsody/www/bg/ajax/basket/qty.html?_=1770118716831 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 13:38:29] /rapsody/www/bg/events/2600_https://digith.ink/rapsody/www/bg/events/tomorrowland-belgium.html 108.61.209.243

set names utf8

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:38:31] /rapsody/www/bg/ajax/orders/form/13.html?_=1770118719450 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`events`
	    	WHERE
	    		`ID` = 13 AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOverbooked1','LOverbooked2') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [03-Feb-2026 13:38:35] /rapsody/www/bg/ajax/orders/form/13.html?_=1770118723495 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`events`
	    	WHERE
	    		`ID` = 13 AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOverbooked1','LOverbooked2') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [03-Feb-2026 13:38:42] /rapsody/www/bg/events/tomorrowland-belgium.html 108.61.209.243

set names utf8

SELECT
                *
            FROM
                `events`
            WHERE
                `URLLabel` = 'tomorrowland-belgium' AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

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

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:38:42] /rapsody/www/bg/ajax/basket/qty.html?_=1770118730360 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 13:38:42] /rapsody/www/bg/events/2600_https://digith.ink/rapsody/www/bg/events/tomorrowland-belgium.html 108.61.209.243

set names utf8

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:39:27] /rapsody/www/rpV4nz0Sa0q/bg/tickets/list.html?keyword=Tomorrowland Belgium&eid=&uid=0 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Title`
            FROM
                `events`
            ORDER BY
                `Title` ASC

SELECT
                `ID`,
                `UserKey`
            FROM
                `users`

SELECT
                `tickets`.`ID`,
                `tickets`.`PostDate`,
                `tickets`.`Status`,
                `tickets`.`Checked`,
                `tickets`.`Data` AS `TicketData`,
                `reservations`.`ClientID`,
                `reservations`.`ID` AS `ReservationID`,
                CASE
                    WHEN `reservations`.`ID` IS NULL
                       THEN `orders`.`Data`
                       ELSE `reservations`.`Data`
               END AS `Data`
            FROM
                `tickets`
                LEFT JOIN `orders` ON `tickets`.`OrderID` = `orders`.`ID`
                LEFT JOIN `reservations` ON `tickets`.`OrderID` = `reservations`.`ID`
            WHERE
                (`orders`.`Status` & 16 OR `reservations`.`Status` & 128)
         AND `orders`.`SearchKey` LIKE '%w5t8woPCqMOZZ8Kgwq3DmcKjwqfDncOMwqbCms%w5DCosKgwqfDkWbDgmXDmc%' ORDER BY `tickets`.`PostDate` DESC LIMIT 0, 100
# [03-Feb-2026 13:39:34] /rapsody/www/rpV4nz0Sa0q/bg/events/list.html 108.61.209.243

set names utf8

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

SELECT
                `events`.*,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`

         GROUP BY `events`.`ID` ORDER BY  `events`.`PostDate` DESC
# [03-Feb-2026 13:39:49] /rapsody/www/rpV4nz0Sa0q/bg/ajax/events/form/13.html?_=1770118796889 108.61.209.243

set names utf8

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

SELECT
                *
            FROM
                `events`
            WHERE
                `ID` = 13
            LIMIT 1

SELECT
                `ID`,
                `Title`
            FROM
                `templates`
            WHERE
                `TplName` = 'tickets' AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY
                `ID` ASC
# [03-Feb-2026 13:40:16] /rapsody/www/rpV4nz0Sa0q/bg/ajax/events/update/13.html?_=1770118824259 108.61.209.243

set names utf8

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

SELECT * FROM `events` LIMIT 1

SHOW COLUMNS FROM `events`

UPDATE `events` SET `Language` = 'bg', `UploadID` = '6948045816', `PostDate` = '2026-01-31', `StartTime` = '00:00:00', `LastUpdate` = '2026-02-03 13:40:16', `StartFrom` = '2026-07-16', `EndTo` = '2026-07-20', `SaleFrom` = '2026-02-01', `SaleTo` = '2026-07-30', `Currency` = 'EUR', `MetaTitle` = 'Tomorrowland Belgium 2026 WEEK 1- Rapsody Gold Package- 1599 евро', `MetaDescription` = 'Tomorrowland Belgium е един от най-известните и най-големи музикални фестивали за електронна музика (EDM) в света. Този фестивал е пътуване в свят на магия - където музиката, изкуството и хората от бъдещето се събират, за да празнуват живота!', `MetaImage` = 'tomorrowland-2026-meta.jpg', `URLLabel` = 'tomorrowland-belgium', `HeaderImages` = '["tomorrowland-2026-slider1.jpg"]', `Image` = 'tomorrowland-2026-home1.jpg', `Title` = 'Tomorrowland Belgium- WEEK 1 Rapsody Gold Package- 1599 евро', `Annotation` = 'Tomorrowland Belgium е един от най-известните и най-големи музикални фестивали за електронна музика (EDM) в света. Този фестивал е пътуване в свят на магия - където музиката, изкуството и хората от бъдещето се събират, за да празнуват живота!', `Content` = '<div>
    <h3>В ОФИЦИАЛНА ПРОДАЖБА ОТ 01.02.2026г. - <font color="#ff0000">SOLD OUT!</font></h3>
    <h4>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Tomorrowland Belgium е един от най-известните и най-големи музикални фестивали за електронна музика (EDM) в света. Провежда се в белгийския град Boom всяко лято и събира почитатели на електронната музика от цял ​​свят. Фестивалът се провежда за първи път през 2005 г. и оттогава се превърща в символ на световната EDM култура.</div>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><br></div>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Този фестивал е пътуване в свят на магия - където музиката, изкуството и хората от бъдещето се събират, за да празнуват живота и всичките му красоти!</div>
        <hr>
    </h4>
    <h4>ОФИЦИАЛЕН САЙТ НА ОРГАНИЗАТОРА НА ФЕСТИВАЛА:  <a href="https://www.tomorrowland.com/home/" style="font-family: Oswald, sans-serif; font-size: 18px;">https://www.tomorrowland.com/home/</a></h4>
    <div>
        <hr>
    </div>
    <h4></h4>
    <h4>WEEK 1/17-19.07/ OFFICIAL LINE UP:</h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div></div>
        </div>
    </h3>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="font-family: Oswald, sans-serif; font-size: 16px;">Ден</span><span style="font-family: Oswald, sans-serif; font-size: 16px;"> 1./16.07</span>
        <div class="slidetext">Настаняване в  хотела.. Dreamville Gathering Pre-Party – подгряване за най-добрия уикенд, който предстои! <br>Нощувка. </div>
    </div>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="font-family: Oswald, sans-serif; font-size: 16px;">Ден 2-4./ 17-19.07</span></div>
    <div class="day" style="position: relative; padding-bottom: 10px;">
        <font face="Oswald, sans-serif" size="3"><br></font>
        <div class="slidetext" data-height="285"><b>STAGE HOSTS</b><br><div class="slidetext" data-height="285">Calvin Harris, David Guetta, Martin Garrix, Hardwell, Sebastian Ingrosso, NERVO, Fisher,, Miss Monique John Summit, Indira Paganotto, Dimitri Vegas & Like Mike, Henri PFR, Kevin de Vries, Lost Frequencies, Agents of Time, The Chainsmokers</div><div class="slidetext" data-height="285">Marlon Hoffstadt (debut Mainstage), NOVAH (Belgian hard techno artist – debut Mainstage), MATTN, MC STRETCH, Bassjackers, Disco Lines, The Atmosphere stage and other genre-focused spaces include:, Sara Landry, Nico Moreno, I Hate Models, Holy Priest,, Onlynumbers, Azyr, Dyen b2b Maddix, BYORN b2b Shlømo, The Blessed Madonna b2b HAAi, Oscar and the Wolf, Job Jobse, Avalon Emerson b2b Ben UFO, Antdot, Modeselektor (DJ set), Sasha b2b Young Marco, Sally C, Bibi Seck, Helena Lauwaert</div>Shimza, Lisa Korver, Lammer, NOSI, IDEMI, BYORN, Oskar Med K, Malive ,Bullet Tooth, Marsolo, Portex, Rosey Gold, Sam Shure and many more. </div>
    </div>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="font-family: Oswald, sans-serif; font-size: 16px;">Ден 5./ 20.07</span></div>
    <div class="day" style="position: relative; padding-bottom: 10px;">Напускане на хотела.</div>
    <hr><br>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="color: rgb(255, 0, 0); font-family: Oswald, sans-serif; font-size: 22px;">RAPSODY GOLD PACKAGE- 1599 евро/човек</span><br></div>
    <h4>ЦЕНАТА ВКЛЮЧВА:</h4>
    <h4 style="margin-right: 0cm; margin-left: 0cm; font-size: medium; font-family: "Times New Roman", serif; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span style="font-size: 13.5pt; font-family: Oswald; color: rgb(41, 34, 84);">
            <o:p></o:p>
        </span></h4>
    <div>
        <ul>
            <li>Magnificent Greens Package<br></li>
            <li>Full Madness pass: 17-19.07. <br></li>
            <li>Marketplace entrance<br></li>
            <li>Chill out area & Balance in recovery area<br></li>
            <li>Dreamville Gathering Pre-party: 16.07.<br></li>
            <li>Dreamville camping pass: 16 - 20.07. <br></li>
            <li>Tomorrowland Bracelet & Treasure Case<br></li>
            <li>Magnificent greens location for tent <br></li>
            <li>Rapsody Staff асистенция<br></li>
            <li>Такса за обработкана резервацията <br></li>
            <li>4 нощувки в <span style="background-color: rgb(255, 255, 255);">Numa Brussles Royal Galleries</span> 4**** (или подобен) в двойна стая при пълен капацитет на настаняване (16- 20.07)<br></li><li>туристическа такса</li>
        </ul>
    </div>
    <div><br></div>
    <div><span style="color: rgb(41, 34, 84); font-family: Oswald, sans-serif; font-size: 18px;">ЦЕНАТА НЕ ВКЛЮЧВА:</span></div>
    <div>
        <ul>
            <li>Транспорт <br></li>
            <li>Доплащане за настаняване в единична стая</li>
            <li>Лични разходи<br></li>
            <li>Трансфери от Брюксел до Boom<br></li>
        </ul>
    </div>
</div>
<div>
    <h4><span style="font-size: 22px;">Молим всички да прочетат внимателно общите условия за закупуване на пакет, които са неразделна част от тази програма!</span></h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div><b>Rapsody Travel Bulgaria, посредством Rapsody Travel има сключени ексклузивни права върху отпусната квота билети за Week 1 /18- 20.07.2025г/</b></div>
            <div><br></div>
            <div><b style="color: rgb(255, 0, 0);">НА ФЕСТИВАЛА НЕ СЕ ДОПУСКАТ ЛИЦА ПОД 18г.!</b><br></div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>При резервация на пакет се вписват коректно данните на всеки ползващ билет по документа за самоличност с който ще пътува и влиза на територията на фестивала- име на латиница, дата на раждане, номер на лк/ паспорт. </div>
            <div>
                <div>Всеки билет е личен и всяка гривна има уникален код и ще бъде сканирана при влизане на фестивала. </div>
                <div>Поради тази причина до 24ч след получаване на потвърждение за покупка на билет имате ангажимент да ни изпратите необходимата информация по паспорт/ лична карта.</div>
                <div>В съответствие с Общите правила и условия за закупуване на Tomorrowland не е позволено да препродавате вашия билет. Всеки билет е личен и всяка гривна има уникален код ще бъде сканирана при влизане на фестивала. Документите за самоличност ще се проверяват при влизане в сайта на фестивала. Името на билета(ите) или гривната(ите) трябва да съвпада с името на вашия паспорт/лк.</div>
            </div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div></div>
        </div>
    </h3>
    <h4>Промяна на имена и данни в последствие НЕ Е ВЪЗМОЖНА!</h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>Билет за самия фестивал  WEEK 1 (кутия с гривна) ще получите  лично в Брюксел един ден преди началото на фестивала, като точна локация ще получите около 1 седмица преди заминаване.</div>
            <div>Раздаването на кутиите ще се извършва само лично от представител на Rapsody Travel & Events.</div>
            <div><br></div>
            <div>Без пощенска доставка: Пакетите, включително кутията за фестивалната гривна, няма да бъдат изпращани до домашен адреси или офиси при никакви обстоятелства.</div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>
                <div>Спрямо условията на организатора на събитието се забранява препродаването на билет с печалба ( от 30 юли 2013 г. - като глобата може да достигне до 60 000 евро). Тези мерки се предприемат, за да се избегне на посетителите да бъдат изправени пред прекомерни цени на билетите или да им бъде отказан достъп поради фалшиви билети.</div>
                <div><br></div>
                <div>Билети, които са били препродадени нелегитимно, ще бъдат анулирани, което ще ги направи невалидни, и достъпът до фестивала ще бъде отказан. Tomorrowland силно съветва да не купувате билети през вторичния пазар, тъй като валидността на тези билети не може да бъде гарантирана и достъпът до фестивала може да бъде отказан.</div>
            </div>
            <div><br></div>
        </div>
    </h3>
    <h4>ЗАПЛАЩАНЕ: 100% при резервация</h4>
    <h4>
        <ul>
            <li><span style="color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Всички плащания се извършват в евро;</span><br></li>
            <li><span style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Възможност за плащане само директно с карта по време на резервацията;</span><br></li>
        </ul>
    </h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div></div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>Имайки предвид спецификата на събитието, страните се съгласяват, че заплатената сума не подлежи на връщане, независимо от възможни промени в планирането на пътуването, анулиране или промени от страна на пътника!</div><div><br></div><div><div><b><font color="#ff0000">ВАЖНО!</font></b></div><div><br></div><div><div>Моля, имайте предвид, че посоченият хотел подлежи на наличност и оперативно потвърждение. </div><div>При изключителни обстоятелства Организаторът си запазва правото да замени избрания хотел с алтернативен хотел от същата или по-висока категория, разположен в същата зона/район, без предварително съгласие от страна на клиента.</div><div>Подобна промяна няма да повлияе на общото качество, категорията или основните характеристики на пакета за настаняване. Клиентите ще бъдат своевременно уведомени за всяка промяна на хотела, след като тя бъде потвърдена.</div><div>Такива замени не се считат за съществена промяна в туристическия пакет и не дават право на отказ, компенсация или възстановяване на суми, при условие че заместващият хотел отговаря на посочените критерии за местоположение и категория.</div></div></div>
            <div><br></div>
            <div>Общите условия за пътуване на Рапсоди Травел България ООД от 07.08.2018г. са валидни за останалите организирани пътувания (с изключение на заплатени невъзвръщаеми средства) от този пакет!</div>
        </div>
    </h3>
</div>', `Prices` = '[["Rapsody Gold Package"],["1599"],["5"]]', `TotalSeats` = 5, `TicketContent` = '<div><div><div><div><div>Този QR код <b>НЕ Е билет</b> за фестивала, а гаранция, че сте направили своята резервация!</div><div><br></div><div>Билет за самия фестивал WEEK 1 (кутия с гривна) ще получите лично в Брюксел  един ден преди началото на фестивала-16.07, като точна локация ще получите около 1 седмица преди заминаване.</div><div>Раздаването на кутиите ще се извършва само лично от представител на Rapsody Travel & Events.</div><div><br></div><div>Пакетите, включително кутията за фестивалната гривна, няма да бъдат изпращани до домашен адреси или офиси при никакви обстоятелства.<br></div><div><br></div><div>Продължавайки с плащането, вие потвърждавате, че сте прочели, разбрали и приели тези условия.</div></div><div><br></div><div><b style="color: rgb(255, 0, 0);"><br></b></div><div><span style="font-size: 22px; color: rgb(41, 34, 84); font-family: Oswald, sans-serif;">Молим всички да прочетат внимателно общите условия за закупуване на пакет, които са неразделна част от тази програма!</span><br></div><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"></div></h3><h4><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><div></div></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">До 24ч от потвърждение/ заплащане на резервацията имате ангажимент да предоставите данни по документа за самоличност с който ще пътувате и влизате на фестивала- три имена изписани коректно на латиница, дата на раждане, номер на лк/ паспорт с дата на издаване и валидност, телефон за връзка и мейл на следния мейл- <a href="mailto:info@rapsodytravel.bg?subject=TOMORROWLAND 2026">info@rapsodytravel.bg</a>, за да бъде финализирана успешно вашата покупка. </div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><br></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Всеки билет е поименен и всяка гривна има уникален код и ще бъде сканирана при влизане на фестивала. </div></h4><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><div>В съответствие с Общите правила и условия за закупуване на Tomorrowland не е позволено да препродавате вашия билет. </div><div>Документите за самоличност ще се проверяват при влизане в сайта на фестивала. Името на билета(ите) или гривната(ите) трябва да съвпада с името на вашия паспорт/лк.</div></div></h3><h4>Промяна на имена и данни в последствие НЕ Е ВЪЗМОЖНА!</h4><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><div></div></div></h3><h4><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Спрямо условията на организатора на събитието се забранява препродаването на билет с печалба ( от 30 юли 2013 г. - като глобата може да достигне до 60 000 евро). Тези мерки се предприемат, за да се избегне на посетителите да бъдат изправени пред прекомерни цени на билетите или да им бъде отказан достъп поради фалшиви билети. Билети, които са били препродадени нелегитимно, ще бъдат анулирани, което ще ги направи невалидни, и достъпът до фестивала ще бъде отказан. </div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Tomorrowland силно съветва да не купувате билети през вторичния пазар, тъй като валидността на тези билети не може да бъде гарантирана и достъпът до фестивала може да бъде отказан.</div></h4><h4><span style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Имайки предвид спецификата на събитието, страните се съгласяват, че заплатената сума не подлежи на връщане, независимо от възможни промени в планирането на пътуването, анулиране или промени от страна на пътника!</span></h4><h4><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"></div></h4><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Общите условия за пътуване на Рапсоди Травел България ООД от 07.08.2018г. са валидни за останалите организирани пътувания (с изключение на заплатени невъзвръщаеми средства) от този пакет!</div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><br></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><b style="color: rgb(255, 0, 0);">НА ФЕСТИВАЛА НЕ СЕ ДОПУСКАТ ЛИЦА ПОД 18г.!</b></div></h3></div><div><div></div></div></div><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Вашият пакет е на човек и включва: </div></h3></div><div><h4 style="background-color: rgb(255, 255, 255);">Rapsody Gold Package- 1599 евро/човек</h4><div style="background-color: rgb(255, 255, 255);"><ul><li>Magnificent Greens Package<br></li><li>Full Madness pass: 17- 19.07. <br></li><li>Marketplace entrance<br></li><li>Chill out area & Balance in recovery area<br></li><li>Dreamville Gathering Pre-party: 16.07.<br></li><li>Dreamville camping pass: 16 - 20.07. <br></li><li>Tomorrowland Bracelet & Treasure Case<br></li><li>Magnificent greens location for tent <br></li><li>Rapsody Staff асистенция<br></li><li>Такса за обарботване на резервацията <br></li><li>4 нощувки със закуски в Numa Brussles Royal Galleries 4**** в двойна стая при пълен капацитет на настаняване 16-20.07<br></li><li>Туристическа такса </li></ul></div><div style="background-color: rgb(255, 255, 255);">Посочените цени са на човек на база пълен капацитет на настаняване. В случай, че капацитета на стаята не е запълнен се заплаща празно легло. </div></div><div style="background-color: rgb(255, 255, 255);"><br></div><div><div><div><span style="color: rgb(41, 34, 84); font-family: Oswald, sans-serif; font-size: 18px;">НЕ ВКЛЮЧВА:</span></div><div><ul><li>Транспорт <br></li><li>Доплащане за настаняване в единична стая</li><li>Лични разходи<br></li><li>Трансфери от Брюксел до Boom</li></ul><div><div><b><font color="#ff0000">ВАЖНО!</font></b></div><div><br></div><div><div>Моля, имайте предвид, че посоченият хотел подлежи на наличност и оперативно потвърждение. </div><div>При изключителни обстоятелства Организаторът си запазва правото да замени избрания хотел с алтернативен хотел от същата или по-висока категория, разположен в същата зона/район, без предварително съгласие от страна на клиента.</div><div>Подобна промяна няма да повлияе на общото качество, категорията или основните характеристики на пакета за настаняване. Клиентите ще бъдат своевременно уведомени за всяка промяна на хотела, след като тя бъде потвърдена.</div><div>Такива замени не се считат за съществена промяна в туристическия пакет и не дават право на отказ, компенсация или възстановяване на суми, при условие че заместващият хотел отговаря на посочените критерии за местоположение и категория.</div></div></div></div></div></div>', `EventТemplateID` = '219', `Visible` = 1 WHERE `ID` = '13'
# [03-Feb-2026 13:40:16] /rapsody/www/rpV4nz0Sa0q/bg/events/list.html 108.61.209.243

set names utf8

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

SELECT
                `events`.*,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`

         GROUP BY `events`.`ID` ORDER BY  `events`.`PostDate` DESC
# [03-Feb-2026 13:41:14] /rapsody/www/bg/events/tomorrowland-belgium.html 108.61.209.243

set names utf8

SELECT
                *
            FROM
                `events`
            WHERE
                `URLLabel` = 'tomorrowland-belgium' AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

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

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:41:15] /rapsody/www/bg/ajax/basket/qty.html?_=1770118882725 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 13:41:15] /rapsody/www/bg/events/2600_https://digith.ink/rapsody/www/bg/events/tomorrowland-belgium.html 108.61.209.243

set names utf8

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:41:17] /rapsody/www/bg/ajax/orders/form/13.html?_=1770118884960 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`events`
	    	WHERE
	    		`ID` = 13 AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13

SELECT `ID` FROM `orders` WHERE `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a' AND `Status` = 0 LIMIT 1

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

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LHolderDetails','LFullNameLatin','LEMail','LPhone','LAgreeText','ErrorIAgreeCheck','LAgreeData','ErrorNumber') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13 AND `TypeID` = 0

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 ('LGoAhead','LPay') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [03-Feb-2026 13:41:28] /rapsody/www/bg/ajax/orders/submit/13.html?_=1770118895796 108.61.209.243

set names utf8

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

SELECT `ID` FROM `orders` WHERE `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a' AND `Status` = 0 LIMIT 1

SELECT * FROM `orders` LIMIT 1

SHOW COLUMNS FROM `orders`

INSERT INTO `orders` SET `LastUpdate` = '2026-02-03 13:41:28', `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a', `Data` = 'PmID2w95VN4HBUDZWW3Cojz7ZOakPpthyxVQHLpWmGnHl0iueA1fLwJvlwS0_PQXpxiNQKJxdwdZWpfZQ6UElEj0LdmVDJemaolrjuPx7iy31MFaoJZIS4fRaEIrB3Rh0jM-8Di020yB0rPl3z6RO-Sq0o4cEHeidXeUOm5WrEKQOSq4-iSdnCJ59ZR1r6Mh-QzdYbN9tWOaougjrpAgrTLSVSJWZShjeokTzcS_IzI', `PostDate` = '2026-02-03 13:41:28'

SELECT
                `Data`
            FROM
                `orders`
            WHERE
                `ID` = 51243874 AND
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1

SELECT
                *
	        FROM
	        	`events`
	    	WHERE
	    		`ID` = 13 AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LHolderDetails','LTickets','LName','LEMail','LPhone','LQtyLabel','LPrice','LTotal') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

DELETE FROM `reserved` WHERE `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13 AND `TypeID` = 0

INSERT INTO `reserved`
            (`ClientID`, `PostDate`, `EventID`, `TypeID`, `Num`) VALUES
            ('75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a', NOW(), 13, 0, 2)

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LGoAhead','LPay') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [03-Feb-2026 13:44:01] /rapsody/www/rpV4nz0Sa0q/bg/events/list.html 108.61.209.243

set names utf8

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

SELECT
                `events`.*,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`

         GROUP BY `events`.`ID` ORDER BY  `events`.`PostDate` DESC
# [03-Feb-2026 13:44:03] /rapsody/www/rpV4nz0Sa0q/bg/ajax/events/form/13.html?_=1770119050721 108.61.209.243

set names utf8

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

SELECT
                *
            FROM
                `events`
            WHERE
                `ID` = 13
            LIMIT 1

SELECT
                `ID`,
                `Title`
            FROM
                `templates`
            WHERE
                `TplName` = 'tickets' AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY
                `ID` ASC
# [03-Feb-2026 13:44:09] /rapsody/www/rpV4nz0Sa0q/bg/ajax/events/update/13.html?_=1770119057505 108.61.209.243

set names utf8

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

SELECT * FROM `events` LIMIT 1

SHOW COLUMNS FROM `events`

UPDATE `events` SET `Language` = 'bg', `UploadID` = '6948045816', `PostDate` = '2026-01-31', `StartTime` = '00:00:00', `LastUpdate` = '2026-02-03 13:44:09', `StartFrom` = '2026-07-16', `EndTo` = '2026-07-20', `SaleFrom` = '2026-02-01', `SaleTo` = '2026-07-30', `Currency` = 'EUR', `MetaTitle` = 'Tomorrowland Belgium 2026 WEEK 1- Rapsody Gold Package- 1599 евро', `MetaDescription` = 'Tomorrowland Belgium е един от най-известните и най-големи музикални фестивали за електронна музика (EDM) в света. Този фестивал е пътуване в свят на магия - където музиката, изкуството и хората от бъдещето се събират, за да празнуват живота!', `MetaImage` = 'tomorrowland-2026-meta.jpg', `URLLabel` = 'tomorrowland-belgium', `HeaderImages` = '["tomorrowland-2026-slider1.jpg"]', `Image` = 'tomorrowland-2026-home1.jpg', `Title` = 'Tomorrowland Belgium- WEEK 1 Rapsody Gold Package- 1599 евро', `Annotation` = 'Tomorrowland Belgium е един от най-известните и най-големи музикални фестивали за електронна музика (EDM) в света. Този фестивал е пътуване в свят на магия - където музиката, изкуството и хората от бъдещето се събират, за да празнуват живота!', `Content` = '<div>
    <h3>В ОФИЦИАЛНА ПРОДАЖБА ОТ 01.02.2026г. - <font color="#ff0000">SOLD OUT!</font></h3>
    <h4>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Tomorrowland Belgium е един от най-известните и най-големи музикални фестивали за електронна музика (EDM) в света. Провежда се в белгийския град Boom всяко лято и събира почитатели на електронната музика от цял ​​свят. Фестивалът се провежда за първи път през 2005 г. и оттогава се превърща в символ на световната EDM култура.</div>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><br></div>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Този фестивал е пътуване в свят на магия - където музиката, изкуството и хората от бъдещето се събират, за да празнуват живота и всичките му красоти!</div>
        <hr>
    </h4>
    <h4>ОФИЦИАЛЕН САЙТ НА ОРГАНИЗАТОРА НА ФЕСТИВАЛА:  <a href="https://www.tomorrowland.com/home/" style="font-family: Oswald, sans-serif; font-size: 18px;">https://www.tomorrowland.com/home/</a></h4>
    <div>
        <hr>
    </div>
    <h4></h4>
    <h4>WEEK 1/17-19.07/ OFFICIAL LINE UP:</h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div></div>
        </div>
    </h3>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="font-family: Oswald, sans-serif; font-size: 16px;">Ден</span><span style="font-family: Oswald, sans-serif; font-size: 16px;"> 1./16.07</span>
        <div class="slidetext">Настаняване в  хотела.. Dreamville Gathering Pre-Party – подгряване за най-добрия уикенд, който предстои! <br>Нощувка. </div>
    </div>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="font-family: Oswald, sans-serif; font-size: 16px;">Ден 2-4./ 17-19.07</span></div>
    <div class="day" style="position: relative; padding-bottom: 10px;">
        <font face="Oswald, sans-serif" size="3"><br></font>
        <div class="slidetext" data-height="285"><b>STAGE HOSTS</b><br><div class="slidetext" data-height="285">Calvin Harris, David Guetta, Martin Garrix, Hardwell, Sebastian Ingrosso, NERVO, Fisher,, Miss Monique John Summit, Indira Paganotto, Dimitri Vegas & Like Mike, Henri PFR, Kevin de Vries, Lost Frequencies, Agents of Time, The Chainsmokers</div><div class="slidetext" data-height="285">Marlon Hoffstadt (debut Mainstage), NOVAH (Belgian hard techno artist – debut Mainstage), MATTN, MC STRETCH, Bassjackers, Disco Lines, The Atmosphere stage and other genre-focused spaces include:, Sara Landry, Nico Moreno, I Hate Models, Holy Priest,, Onlynumbers, Azyr, Dyen b2b Maddix, BYORN b2b Shlømo, The Blessed Madonna b2b HAAi, Oscar and the Wolf, Job Jobse, Avalon Emerson b2b Ben UFO, Antdot, Modeselektor (DJ set), Sasha b2b Young Marco, Sally C, Bibi Seck, Helena Lauwaert</div>Shimza, Lisa Korver, Lammer, NOSI, IDEMI, BYORN, Oskar Med K, Malive ,Bullet Tooth, Marsolo, Portex, Rosey Gold, Sam Shure and many more. </div>
    </div>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="font-family: Oswald, sans-serif; font-size: 16px;">Ден 5./ 20.07</span></div>
    <div class="day" style="position: relative; padding-bottom: 10px;">Напускане на хотела.</div>
    <hr><br>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="color: rgb(255, 0, 0); font-family: Oswald, sans-serif; font-size: 22px;">RAPSODY GOLD PACKAGE- 1599 евро/човек</span><br></div>
    <h4>ЦЕНАТА ВКЛЮЧВА:</h4>
    <h4 style="margin-right: 0cm; margin-left: 0cm; font-size: medium; font-family: " times="" new="" roman",="" serif;="" caret-color:="" rgb(0,="" 0,="" 0);="" color:="" 0);"=""><span style="font-size: 13.5pt; font-family: Oswald; color: rgb(41, 34, 84);">
            <o:p></o:p>
        </span></h4>
    <div>
        <ul>
            <li>Magnificent Greens Package<br></li>
            <li>Full Madness pass: 17-19.07. <br></li>
            <li>Marketplace entrance<br></li>
            <li>Chill out area & Balance in recovery area<br></li>
            <li>Dreamville Gathering Pre-party: 16.07.<br></li>
            <li>Dreamville camping pass: 16 - 20.07. <br></li>
            <li>Tomorrowland Bracelet & Treasure Case<br></li>
            <li>Magnificent greens location for tent <br></li>
            <li>Rapsody Staff асистенция<br></li>
            <li>Такса за обработкана резервацията <br></li>
            <li>4 нощувки в <span style="background-color: rgb(255, 255, 255);">Numa Brussles Royal Galleries</span> 4**** (или подобен) в двойна стая при пълен капацитет на настаняване (16- 20.07)<br></li><li>туристическа такса</li>
        </ul>
    </div>
    <div><br></div>
    <div><span style="color: rgb(41, 34, 84); font-family: Oswald, sans-serif; font-size: 18px;">ЦЕНАТА НЕ ВКЛЮЧВА:</span></div>
    <div>
        <ul>
            <li>Транспорт <br></li>
            <li>Доплащане за настаняване в единична стая</li>
            <li>Лични разходи<br></li>
            <li>Трансфери от Брюксел до Boom<br></li>
        </ul>
    </div>
</div>
<div>
    <h4><span style="font-size: 22px;">Молим всички да прочетат внимателно общите условия за закупуване на пакет, които са неразделна част от тази програма!</span></h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div><b>Rapsody Travel Bulgaria, посредством Rapsody Travel има сключени ексклузивни права върху отпусната квота билети за Week 1 /18- 20.07.2025г/</b></div>
            <div><br></div>
            <div><b style="color: rgb(255, 0, 0);">НА ФЕСТИВАЛА НЕ СЕ ДОПУСКАТ ЛИЦА ПОД 18г.!</b><br></div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>При резервация на пакет се вписват коректно данните на всеки ползващ билет по документа за самоличност с който ще пътува и влиза на територията на фестивала- име на латиница, дата на раждане, номер на лк/ паспорт. </div>
            <div>
                <div>Всеки билет е личен и всяка гривна има уникален код и ще бъде сканирана при влизане на фестивала. </div>
                <div>Поради тази причина до 24ч след получаване на потвърждение за покупка на билет имате ангажимент да ни изпратите необходимата информация по паспорт/ лична карта.</div>
                <div>В съответствие с Общите правила и условия за закупуване на Tomorrowland не е позволено да препродавате вашия билет. Всеки билет е личен и всяка гривна има уникален код ще бъде сканирана при влизане на фестивала. Документите за самоличност ще се проверяват при влизане в сайта на фестивала. Името на билета(ите) или гривната(ите) трябва да съвпада с името на вашия паспорт/лк.</div>
            </div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div></div>
        </div>
    </h3>
    <h4>Промяна на имена и данни в последствие НЕ Е ВЪЗМОЖНА!</h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>Билет за самия фестивал  WEEK 1 (кутия с гривна) ще получите  лично в Брюксел един ден преди началото на фестивала, като точна локация ще получите около 1 седмица преди заминаване.</div>
            <div>Раздаването на кутиите ще се извършва само лично от представител на Rapsody Travel & Events.</div>
            <div><br></div>
            <div>Без пощенска доставка: Пакетите, включително кутията за фестивалната гривна, няма да бъдат изпращани до домашен адреси или офиси при никакви обстоятелства.</div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>
                <div>Спрямо условията на организатора на събитието се забранява препродаването на билет с печалба ( от 30 юли 2013 г. - като глобата може да достигне до 60 000 евро). Тези мерки се предприемат, за да се избегне на посетителите да бъдат изправени пред прекомерни цени на билетите или да им бъде отказан достъп поради фалшиви билети.</div>
                <div><br></div>
                <div>Билети, които са били препродадени нелегитимно, ще бъдат анулирани, което ще ги направи невалидни, и достъпът до фестивала ще бъде отказан. Tomorrowland силно съветва да не купувате билети през вторичния пазар, тъй като валидността на тези билети не може да бъде гарантирана и достъпът до фестивала може да бъде отказан.</div>
            </div>
            <div><br></div>
        </div>
    </h3>
    <h4>ЗАПЛАЩАНЕ: 100% при резервация</h4>
    <h4>
        <ul>
            <li><span style="color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Всички плащания се извършват в евро;</span><br></li>
            <li><span style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Възможност за плащане само директно с карта по време на резервацията;</span><br></li>
        </ul>
    </h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div></div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>Имайки предвид спецификата на събитието, страните се съгласяват, че заплатената сума не подлежи на връщане, независимо от възможни промени в планирането на пътуването, анулиране или промени от страна на пътника!</div><div><br></div><div><div><b><font color="#ff0000">ВАЖНО!</font></b></div><div><br></div><div><div>Моля, имайте предвид, че посоченият хотел подлежи на наличност и оперативно потвърждение. </div><div>При изключителни обстоятелства Организаторът си запазва правото да замени избрания хотел с алтернативен хотел от същата или по-висока категория, разположен в същата зона/район, без предварително съгласие от страна на клиента.</div><div>Подобна промяна няма да повлияе на общото качество, категорията или основните характеристики на пакета за настаняване. Клиентите ще бъдат своевременно уведомени за всяка промяна на хотела, след като тя бъде потвърдена.</div><div>Такива замени не се считат за съществена промяна в туристическия пакет и не дават право на отказ, компенсация или възстановяване на суми, при условие че заместващият хотел отговаря на посочените критерии за местоположение и категория.</div></div></div>
            <div><br></div>
            <div>Общите условия за пътуване на Рапсоди Травел България ООД от 07.08.2018г. са валидни за останалите организирани пътувания (с изключение на заплатени невъзвръщаеми средства) от този пакет!</div>
        </div>
    </h3>
</div>', `Prices` = '[["Rapsody Gold Package"],["1599"],["4"]]', `TotalSeats` = 4, `TicketContent` = '<div><div><div><div><div>Този QR код <b>НЕ Е билет</b> за фестивала, а гаранция, че сте направили своята резервация!</div><div><br></div><div>Билет за самия фестивал WEEK 1 (кутия с гривна) ще получите лично в Брюксел  един ден преди началото на фестивала-16.07, като точна локация ще получите около 1 седмица преди заминаване.</div><div>Раздаването на кутиите ще се извършва само лично от представител на Rapsody Travel & Events.</div><div><br></div><div>Пакетите, включително кутията за фестивалната гривна, няма да бъдат изпращани до домашен адреси или офиси при никакви обстоятелства.<br></div><div><br></div><div>Продължавайки с плащането, вие потвърждавате, че сте прочели, разбрали и приели тези условия.</div></div><div><br></div><div><b style="color: rgb(255, 0, 0);"><br></b></div><div><span style="font-size: 22px; color: rgb(41, 34, 84); font-family: Oswald, sans-serif;">Молим всички да прочетат внимателно общите условия за закупуване на пакет, които са неразделна част от тази програма!</span><br></div><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"></div></h3><h4><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><div></div></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">До 24ч от потвърждение/ заплащане на резервацията имате ангажимент да предоставите данни по документа за самоличност с който ще пътувате и влизате на фестивала- три имена изписани коректно на латиница, дата на раждане, номер на лк/ паспорт с дата на издаване и валидност, телефон за връзка и мейл на следния мейл- <a href="mailto:info@rapsodytravel.bg?subject=TOMORROWLAND 2026">info@rapsodytravel.bg</a>, за да бъде финализирана успешно вашата покупка. </div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><br></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Всеки билет е поименен и всяка гривна има уникален код и ще бъде сканирана при влизане на фестивала. </div></h4><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><div>В съответствие с Общите правила и условия за закупуване на Tomorrowland не е позволено да препродавате вашия билет. </div><div>Документите за самоличност ще се проверяват при влизане в сайта на фестивала. Името на билета(ите) или гривната(ите) трябва да съвпада с името на вашия паспорт/лк.</div></div></h3><h4>Промяна на имена и данни в последствие НЕ Е ВЪЗМОЖНА!</h4><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><div></div></div></h3><h4><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Спрямо условията на организатора на събитието се забранява препродаването на билет с печалба ( от 30 юли 2013 г. - като глобата може да достигне до 60 000 евро). Тези мерки се предприемат, за да се избегне на посетителите да бъдат изправени пред прекомерни цени на билетите или да им бъде отказан достъп поради фалшиви билети. Билети, които са били препродадени нелегитимно, ще бъдат анулирани, което ще ги направи невалидни, и достъпът до фестивала ще бъде отказан. </div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Tomorrowland силно съветва да не купувате билети през вторичния пазар, тъй като валидността на тези билети не може да бъде гарантирана и достъпът до фестивала може да бъде отказан.</div></h4><h4><span style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Имайки предвид спецификата на събитието, страните се съгласяват, че заплатената сума не подлежи на връщане, независимо от възможни промени в планирането на пътуването, анулиране или промени от страна на пътника!</span></h4><h4><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"></div></h4><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Общите условия за пътуване на Рапсоди Травел България ООД от 07.08.2018г. са валидни за останалите организирани пътувания (с изключение на заплатени невъзвръщаеми средства) от този пакет!</div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><br></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><b style="color: rgb(255, 0, 0);">НА ФЕСТИВАЛА НЕ СЕ ДОПУСКАТ ЛИЦА ПОД 18г.!</b></div></h3></div><div><div></div></div></div><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Вашият пакет е на човек и включва: </div></h3></div><div><h4 style="background-color: rgb(255, 255, 255);">Rapsody Gold Package- 1599 евро/човек</h4><div style="background-color: rgb(255, 255, 255);"><ul><li>Magnificent Greens Package<br></li><li>Full Madness pass: 17- 19.07. <br></li><li>Marketplace entrance<br></li><li>Chill out area & Balance in recovery area<br></li><li>Dreamville Gathering Pre-party: 16.07.<br></li><li>Dreamville camping pass: 16 - 20.07. <br></li><li>Tomorrowland Bracelet & Treasure Case<br></li><li>Magnificent greens location for tent <br></li><li>Rapsody Staff асистенция<br></li><li>Такса за обарботване на резервацията <br></li><li>4 нощувки със закуски в Numa Brussles Royal Galleries 4**** в двойна стая при пълен капацитет на настаняване 16-20.07<br></li><li>Туристическа такса </li></ul></div><div style="background-color: rgb(255, 255, 255);">Посочените цени са на човек на база пълен капацитет на настаняване. В случай, че капацитета на стаята не е запълнен се заплаща празно легло. </div></div><div style="background-color: rgb(255, 255, 255);"><br></div><div><div><div><span style="color: rgb(41, 34, 84); font-family: Oswald, sans-serif; font-size: 18px;">НЕ ВКЛЮЧВА:</span></div><div><ul><li>Транспорт <br></li><li>Доплащане за настаняване в единична стая</li><li>Лични разходи<br></li><li>Трансфери от Брюксел до Boom</li></ul><div><div><b><font color="#ff0000">ВАЖНО!</font></b></div><div><br></div><div><div>Моля, имайте предвид, че посоченият хотел подлежи на наличност и оперативно потвърждение. </div><div>При изключителни обстоятелства Организаторът си запазва правото да замени избрания хотел с алтернативен хотел от същата или по-висока категория, разположен в същата зона/район, без предварително съгласие от страна на клиента.</div><div>Подобна промяна няма да повлияе на общото качество, категорията или основните характеристики на пакета за настаняване. Клиентите ще бъдат своевременно уведомени за всяка промяна на хотела, след като тя бъде потвърдена.</div><div>Такива замени не се считат за съществена промяна в туристическия пакет и не дават право на отказ, компенсация или възстановяване на суми, при условие че заместващият хотел отговаря на посочените критерии за местоположение и категория.</div></div></div></div></div></div>', `EventТemplateID` = '219', `Visible` = 1 WHERE `ID` = '13'
# [03-Feb-2026 13:44:10] /rapsody/www/rpV4nz0Sa0q/bg/events/list.html 108.61.209.243

set names utf8

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

SELECT
                `events`.*,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`

         GROUP BY `events`.`ID` ORDER BY  `events`.`PostDate` DESC
# [03-Feb-2026 13:44:15] /rapsody/www/bg/events/tomorrowland-belgium.html 108.61.209.243

set names utf8

SELECT
                *
            FROM
                `events`
            WHERE
                `URLLabel` = 'tomorrowland-belgium' AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

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

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:44:15] /rapsody/www/bg/ajax/basket/qty.html?_=1770119063373 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 13:44:15] /rapsody/www/bg/events/2600_https://digith.ink/rapsody/www/bg/events/tomorrowland-belgium.html 108.61.209.243

set names utf8

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 13:44:16] /rapsody/www/bg/ajax/orders/form/13.html?_=1770119064366 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`events`
	    	WHERE
	    		`ID` = 13 AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13

SELECT `ID` FROM `orders` WHERE `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a' AND `Status` = 0 LIMIT 1

SELECT
                `Data`
            FROM
                `orders`
            WHERE
                `ID` = 51243874 AND
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1

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

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LHolderDetails','LFullNameLatin','LEMail','LPhone','LAgreeText','ErrorIAgreeCheck','LAgreeData','ErrorNumber') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13 AND `TypeID` = 0

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 ('LGoAhead','LPay') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [03-Feb-2026 13:44:20] /rapsody/www/bg/ajax/orders/submit/13.html?_=1770119068024 108.61.209.243

set names utf8

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

SELECT `ID` FROM `orders` WHERE `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a' AND `Status` = 0 LIMIT 1

SELECT * FROM `orders` LIMIT 1

SHOW COLUMNS FROM `orders`

UPDATE `orders` SET `LastUpdate` = '2026-02-03 13:44:20', `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a', `Data` = 'PFTa-eXwhxln7UVZxOttsG3TfBV2KqSv-W31J87b6USwRuW2Y5pFwTa8U5iXEVJKlzy9iKxeMFPnN-ShLS8lMmS3yXih5FoQwMk4664NiyHbcIr-wKGANeahYRBf0eufcyRFC6fuHE3qx8lm_C_2WhIOq_rgSnfIcQ-4BiW9_AJiggNZvEubAl_HvoBPZpJIjuJiy9EYwoPym-4_cxSrBaRh1wRht0OFMzDlQYZnfYU' WHERE `ID` = '51243874'

SELECT
                `Data`
            FROM
                `orders`
            WHERE
                `ID` = 51243874 AND
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1

SELECT
                *
	        FROM
	        	`events`
	    	WHERE
	    		`ID` = 13 AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LHolderDetails','LTickets','LName','LEMail','LPhone','LQtyLabel','LPrice','LTotal') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

DELETE FROM `reserved` WHERE `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13 AND `TypeID` = 0

INSERT INTO `reserved`
            (`ClientID`, `PostDate`, `EventID`, `TypeID`, `Num`) VALUES
            ('75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a', NOW(), 13, 0, 1)

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LGoAhead','LPay') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [03-Feb-2026 13:44:36] /rapsody/www/bg/ajax/orders/confirm/51243874.html?_=1770119084178 108.61.209.243

set names utf8

SELECT
                `Data`
            FROM
                `orders`
            WHERE
                `ID` = 51243874 AND
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1

SELECT
                *
	        FROM
	        	`events`
	    	WHERE
	    		`ID` = 13 AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

SELECT
                    `Exchange`
                FROM
                    `currencies`
                WHERE
                    `CharCode` = 'BGN'
             AND `Visible` = 1 LIMIT 1

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

SELECT * FROM `orders` LIMIT 1

SHOW COLUMNS FROM `orders`

UPDATE `orders` SET `LastUpdate` = '2026-02-03 13:44:36', `Module` = 'tickets', `Data` = 'xl0Na4FAq6DCxMoXB1MTbvrH46iOkPzCLIYXsxImzVPL9wDEi2BxLEuFJXuzLS_5-03INOitf-GsqfV82UDo0ncGxUfZWZAWapyZ521hdbgDRAtBn9LudHIiz3qQ2I8XOi3dK0QPqJUMZ8mSmkn21OSRTGm50v0GYtKDkDcxqL7lFyW4MeWSf-oL6cSBGEvUaNOl-JUeIelTBvM8SvtI053ubCajLJjxIQoaf5M7doxejuMuL-ZgHoUKN8jp2IwByul3TIvm27UFoUe7quMVUqAYfqj-h92oA1EsXVlnETyYwv1_MIxuLuY8f_JBR3Pat1_cESnykv427bAIBp_mxFR4zBKNbbmzoXPDLRKzIFoO09DOTGs7WURTjp0Bl2dpXJULJwScudx3l_Kleh1CEKKctYtz04mZrh1mgbjZmujIW-qXCtyn7HJl6GFM-PfuKODI9937CnlWNAHizSGhpv0qpCIF_8IfqM7Uk-z3IafbdiZhZY4g62pZEqUH47Aq4Fho5EEXSqknn4iPlNqISTpeIIVaUdueMFW1vhfZFPCyHZKmO_FLZixpCCsM-pP-vXZnyAfx5eO01_I8379aXoJvm5V38Kt4lMqrziJ76-wBMUAE4wxxOU8SI1vgjRWXsZtA4vtqxeXU-FfU8vhEWy_DIVcy9A-REvZn1VRWdHfWtO6aVIZnZ1TQ7V4DjymsJl66-nxAETg0vfIbzp0NkQrfHGssYIBdBcW2yuVREzbS0h2L2SU3KzzdR_EawAf4', `SearchKey` = 'w5h9wpTCpMOaZ8Koww5F8wpBmw5DCjMKgwq7DmMKiww5F8wpBmw5DCjMKgwq7DmMKiww5Fne8Kcw5jCi8w5BnwoPCw4R5wrFow4Z4wqtmw4XDqsKYwpzDgc', `Status` = 1 WHERE `ID` = '51243874'
# [03-Feb-2026 13:44:53] /rapsody/www/rpV4nz0Sa0q/bg/ajax/events/form/13.html?_=1770119101345 108.61.209.243

set names utf8

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

SELECT
                *
            FROM
                `events`
            WHERE
                `ID` = 13
            LIMIT 1

SELECT
                `ID`,
                `Title`
            FROM
                `templates`
            WHERE
                `TplName` = 'tickets' AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY
                `ID` ASC
# [03-Feb-2026 14:00:29] /rapsody/www/rpV4nz0Sa0q/bg/ajax/users/login.html?_=1770120036579 108.61.209.243

set names utf8

UPDATE
                `users`
            SET
                `LastUpdate` = NOW(),
                `AccessKey` = 'LS2552E5dA7hd5VC355XrImkW86PSRAZ6lqi0Ms1Id7yvZahYLZlR7K4P7mKxja9'
            WHERE
                `UserKey` LIKE 'w6vCmsK9wqjCt8KhwrfCrMOew6LCpMOaw5vCuMOIwqXCmMKr%' AND
                RIGHT(`UserKey`, 1) > 0
            LIMIT 1
# [03-Feb-2026 14:00:32] /rapsody/www/rpV4nz0Sa0q/bg/ajax/users/login.html?_=1770120039702 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` = 'LS2552E5dA7hd5VC355XrImkW86PSRAZ6lqi0Ms1Id7yvZahYLZlR7K4P7mKxja9'
            LIMIT 1

UPDATE
                `users`
            SET
                `LastUpdate` = NOW(),
                `AccessKey` = ''
            WHERE
                `ID` = 1
            LIMIT 1
# [03-Feb-2026 14:00:32] /rapsody/www/rpV4nz0Sa0q/bg/pages/list.html 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Language`,
                `Module`,
                `Action`,
                `PostDate`,
                `LastUpdate`,
                `ExternalURL`,
                `MenuLabel`,
                `Title`,
                `URLLabel`,
                `Visible`
            FROM
                `pages`
            WHERE
                `Language` = 'bg'
                
            ORDER BY  `PostDate` ASC
# [03-Feb-2026 14:00:36] /rapsody/www/rpV4nz0Sa0q/bg/events/list.html 108.61.209.243

set names utf8

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

SELECT
                `events`.*,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`

         GROUP BY `events`.`ID` ORDER BY  `events`.`PostDate` DESC
# [03-Feb-2026 14:00:44] /rapsody/www/rpV4nz0Sa0q/bg/ajax/events/form/13.html?_=1770120052456 108.61.209.243

set names utf8

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

SELECT
                *
            FROM
                `events`
            WHERE
                `ID` = 13
            LIMIT 1

SELECT
                `ID`,
                `Title`
            FROM
                `templates`
            WHERE
                `TplName` = 'tickets' AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY
                `ID` ASC
# [03-Feb-2026 14:00:51] /rapsody/www/rpV4nz0Sa0q/bg/ajax/events/update/13.html?_=1770120058785 108.61.209.243

set names utf8

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

SELECT * FROM `events` LIMIT 1

SHOW COLUMNS FROM `events`

UPDATE `events` SET `Language` = 'bg', `UploadID` = '6948045816', `PostDate` = '2026-01-31', `StartTime` = '00:00:00', `LastUpdate` = '2026-02-03 14:00:51', `StartFrom` = '2026-07-16', `EndTo` = '2026-07-20', `SaleFrom` = '2026-02-01', `SaleTo` = '2026-07-30', `Currency` = 'EUR', `MetaTitle` = 'Tomorrowland Belgium 2026 WEEK 1- Rapsody Gold Package- 1599 евро', `MetaDescription` = 'Tomorrowland Belgium е един от най-известните и най-големи музикални фестивали за електронна музика (EDM) в света. Този фестивал е пътуване в свят на магия - където музиката, изкуството и хората от бъдещето се събират, за да празнуват живота!', `MetaImage` = 'tomorrowland-2026-meta.jpg', `URLLabel` = 'tomorrowland-belgium', `HeaderImages` = '["tomorrowland-2026-slider1.jpg"]', `Image` = 'tomorrowland-2026-home1.jpg', `Title` = 'Tomorrowland Belgium- WEEK 1 Rapsody Gold Package- 1599 евро', `Annotation` = 'Tomorrowland Belgium е един от най-известните и най-големи музикални фестивали за електронна музика (EDM) в света. Този фестивал е пътуване в свят на магия - където музиката, изкуството и хората от бъдещето се събират, за да празнуват живота!', `Content` = '<div>
    <h3>В ОФИЦИАЛНА ПРОДАЖБА ОТ 01.02.2026г. - <font color="#ff0000">SOLD OUT!</font></h3>
    <h4>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Tomorrowland Belgium е един от най-известните и най-големи музикални фестивали за електронна музика (EDM) в света. Провежда се в белгийския град Boom всяко лято и събира почитатели на електронната музика от цял ​​свят. Фестивалът се провежда за първи път през 2005 г. и оттогава се превърща в символ на световната EDM култура.</div>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><br></div>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Този фестивал е пътуване в свят на магия - където музиката, изкуството и хората от бъдещето се събират, за да празнуват живота и всичките му красоти!</div>
        <hr>
    </h4>
    <h4>ОФИЦИАЛЕН САЙТ НА ОРГАНИЗАТОРА НА ФЕСТИВАЛА:  <a href="https://www.tomorrowland.com/home/" style="font-family: Oswald, sans-serif; font-size: 18px;">https://www.tomorrowland.com/home/</a></h4>
    <div>
        <hr>
    </div>
    <h4></h4>
    <h4>WEEK 1/17-19.07/ OFFICIAL LINE UP:</h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div></div>
        </div>
    </h3>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="font-family: Oswald, sans-serif; font-size: 16px;">Ден</span><span style="font-family: Oswald, sans-serif; font-size: 16px;"> 1./16.07</span>
        <div class="slidetext">Настаняване в  хотела.. Dreamville Gathering Pre-Party – подгряване за най-добрия уикенд, който предстои! <br>Нощувка. </div>
    </div>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="font-family: Oswald, sans-serif; font-size: 16px;">Ден 2-4./ 17-19.07</span></div>
    <div class="day" style="position: relative; padding-bottom: 10px;">
        <font face="Oswald, sans-serif" size="3"><br></font>
        <div class="slidetext" data-height="285"><b>STAGE HOSTS</b><br><div class="slidetext" data-height="285">Calvin Harris, David Guetta, Martin Garrix, Hardwell, Sebastian Ingrosso, NERVO, Fisher,, Miss Monique John Summit, Indira Paganotto, Dimitri Vegas & Like Mike, Henri PFR, Kevin de Vries, Lost Frequencies, Agents of Time, The Chainsmokers</div><div class="slidetext" data-height="285">Marlon Hoffstadt (debut Mainstage), NOVAH (Belgian hard techno artist – debut Mainstage), MATTN, MC STRETCH, Bassjackers, Disco Lines, The Atmosphere stage and other genre-focused spaces include:, Sara Landry, Nico Moreno, I Hate Models, Holy Priest,, Onlynumbers, Azyr, Dyen b2b Maddix, BYORN b2b Shlømo, The Blessed Madonna b2b HAAi, Oscar and the Wolf, Job Jobse, Avalon Emerson b2b Ben UFO, Antdot, Modeselektor (DJ set), Sasha b2b Young Marco, Sally C, Bibi Seck, Helena Lauwaert</div>Shimza, Lisa Korver, Lammer, NOSI, IDEMI, BYORN, Oskar Med K, Malive ,Bullet Tooth, Marsolo, Portex, Rosey Gold, Sam Shure and many more. </div>
    </div>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="font-family: Oswald, sans-serif; font-size: 16px;">Ден 5./ 20.07</span></div>
    <div class="day" style="position: relative; padding-bottom: 10px;">Напускане на хотела.</div>
    <hr><br>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="color: rgb(255, 0, 0); font-family: Oswald, sans-serif; font-size: 22px;">RAPSODY GOLD PACKAGE- 1599 евро/човек</span><br></div>
    <h4>ЦЕНАТА ВКЛЮЧВА:</h4>
    <h4 style="margin-right: 0cm; margin-left: 0cm; font-size: medium; font-family: " times="" new="" roman",="" serif;="" caret-color:="" rgb(0,="" 0,="" 0);="" color:="" 0);"=""><span style="font-size: 13.5pt; font-family: Oswald; color: rgb(41, 34, 84);">
            <o:p></o:p>
        </span></h4>
    <div>
        <ul>
            <li>Magnificent Greens Package<br></li>
            <li>Full Madness pass: 17-19.07. <br></li>
            <li>Marketplace entrance<br></li>
            <li>Chill out area & Balance in recovery area<br></li>
            <li>Dreamville Gathering Pre-party: 16.07.<br></li>
            <li>Dreamville camping pass: 16 - 20.07. <br></li>
            <li>Tomorrowland Bracelet & Treasure Case<br></li>
            <li>Magnificent greens location for tent <br></li>
            <li>Rapsody Staff асистенция<br></li>
            <li>Такса за обработкана резервацията <br></li>
            <li>4 нощувки в <span style="background-color: rgb(255, 255, 255);">Numa Brussles Royal Galleries</span> 4**** (или подобен) в двойна стая при пълен капацитет на настаняване (16- 20.07)<br></li><li>туристическа такса</li>
        </ul>
    </div>
    <div><br></div>
    <div><span style="color: rgb(41, 34, 84); font-family: Oswald, sans-serif; font-size: 18px;">ЦЕНАТА НЕ ВКЛЮЧВА:</span></div>
    <div>
        <ul>
            <li>Транспорт <br></li>
            <li>Доплащане за настаняване в единична стая</li>
            <li>Лични разходи<br></li>
            <li>Трансфери от Брюксел до Boom<br></li>
        </ul>
    </div>
</div>
<div>
    <h4><span style="font-size: 22px;">Молим всички да прочетат внимателно общите условия за закупуване на пакет, които са неразделна част от тази програма!</span></h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div><b>Rapsody Travel Bulgaria, посредством Rapsody Travel има сключени ексклузивни права върху отпусната квота билети за Week 1 /18- 20.07.2025г/</b></div>
            <div><br></div>
            <div><b style="color: rgb(255, 0, 0);">НА ФЕСТИВАЛА НЕ СЕ ДОПУСКАТ ЛИЦА ПОД 18г.!</b><br></div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>При резервация на пакет се вписват коректно данните на всеки ползващ билет по документа за самоличност с който ще пътува и влиза на територията на фестивала- име на латиница, дата на раждане, номер на лк/ паспорт. </div>
            <div>
                <div>Всеки билет е личен и всяка гривна има уникален код и ще бъде сканирана при влизане на фестивала. </div>
                <div>Поради тази причина до 24ч след получаване на потвърждение за покупка на билет имате ангажимент да ни изпратите необходимата информация по паспорт/ лична карта.</div>
                <div>В съответствие с Общите правила и условия за закупуване на Tomorrowland не е позволено да препродавате вашия билет. Всеки билет е личен и всяка гривна има уникален код ще бъде сканирана при влизане на фестивала. Документите за самоличност ще се проверяват при влизане в сайта на фестивала. Името на билета(ите) или гривната(ите) трябва да съвпада с името на вашия паспорт/лк.</div>
            </div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div></div>
        </div>
    </h3>
    <h4>Промяна на имена и данни в последствие НЕ Е ВЪЗМОЖНА!</h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>Билет за самия фестивал  WEEK 1 (кутия с гривна) ще получите  лично в Брюксел един ден преди началото на фестивала, като точна локация ще получите около 1 седмица преди заминаване.</div>
            <div>Раздаването на кутиите ще се извършва само лично от представител на Rapsody Travel & Events.</div>
            <div><br></div>
            <div>Без пощенска доставка: Пакетите, включително кутията за фестивалната гривна, няма да бъдат изпращани до домашен адреси или офиси при никакви обстоятелства.</div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>
                <div>Спрямо условията на организатора на събитието се забранява препродаването на билет с печалба ( от 30 юли 2013 г. - като глобата може да достигне до 60 000 евро). Тези мерки се предприемат, за да се избегне на посетителите да бъдат изправени пред прекомерни цени на билетите или да им бъде отказан достъп поради фалшиви билети.</div>
                <div><br></div>
                <div>Билети, които са били препродадени нелегитимно, ще бъдат анулирани, което ще ги направи невалидни, и достъпът до фестивала ще бъде отказан. Tomorrowland силно съветва да не купувате билети през вторичния пазар, тъй като валидността на тези билети не може да бъде гарантирана и достъпът до фестивала може да бъде отказан.</div>
            </div>
            <div><br></div>
        </div>
    </h3>
    <h4>ЗАПЛАЩАНЕ: 100% при резервация</h4>
    <h4>
        <ul>
            <li><span style="color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Всички плащания се извършват в евро;</span><br></li>
            <li><span style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Възможност за плащане само директно с карта по време на резервацията;</span><br></li>
        </ul>
    </h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div></div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>Имайки предвид спецификата на събитието, страните се съгласяват, че заплатената сума не подлежи на връщане, независимо от възможни промени в планирането на пътуването, анулиране или промени от страна на пътника!</div><div><br></div><div><div><b><font color="#ff0000">ВАЖНО!</font></b></div><div><br></div><div><div>Моля, имайте предвид, че посоченият хотел подлежи на наличност и оперативно потвърждение. </div><div>При изключителни обстоятелства Организаторът си запазва правото да замени избрания хотел с алтернативен хотел от същата или по-висока категория, разположен в същата зона/район, без предварително съгласие от страна на клиента.</div><div>Подобна промяна няма да повлияе на общото качество, категорията или основните характеристики на пакета за настаняване. Клиентите ще бъдат своевременно уведомени за всяка промяна на хотела, след като тя бъде потвърдена.</div><div>Такива замени не се считат за съществена промяна в туристическия пакет и не дават право на отказ, компенсация или възстановяване на суми, при условие че заместващият хотел отговаря на посочените критерии за местоположение и категория.</div></div></div>
            <div><br></div>
            <div>Общите условия за пътуване на Рапсоди Травел България ООД от 07.08.2018г. са валидни за останалите организирани пътувания (с изключение на заплатени невъзвръщаеми средства) от този пакет!</div>
        </div>
    </h3>
</div>', `Prices` = '[["Rapsody Gold Package"],["1599"],["3"]]', `TotalSeats` = 3, `TicketContent` = '<div><div><div><div><div>Този QR код <b>НЕ Е билет</b> за фестивала, а гаранция, че сте направили своята резервация!</div><div><br></div><div>Билет за самия фестивал WEEK 1 (кутия с гривна) ще получите лично в Брюксел  един ден преди началото на фестивала-16.07, като точна локация ще получите около 1 седмица преди заминаване.</div><div>Раздаването на кутиите ще се извършва само лично от представител на Rapsody Travel & Events.</div><div><br></div><div>Пакетите, включително кутията за фестивалната гривна, няма да бъдат изпращани до домашен адреси или офиси при никакви обстоятелства.<br></div><div><br></div><div>Продължавайки с плащането, вие потвърждавате, че сте прочели, разбрали и приели тези условия.</div></div><div><br></div><div><b style="color: rgb(255, 0, 0);"><br></b></div><div><span style="font-size: 22px; color: rgb(41, 34, 84); font-family: Oswald, sans-serif;">Молим всички да прочетат внимателно общите условия за закупуване на пакет, които са неразделна част от тази програма!</span><br></div><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"></div></h3><h4><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><div></div></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">До 24ч от потвърждение/ заплащане на резервацията имате ангажимент да предоставите данни по документа за самоличност с който ще пътувате и влизате на фестивала- три имена изписани коректно на латиница, дата на раждане, номер на лк/ паспорт с дата на издаване и валидност, телефон за връзка и мейл на следния мейл- <a href="mailto:info@rapsodytravel.bg?subject=TOMORROWLAND 2026">info@rapsodytravel.bg</a>, за да бъде финализирана успешно вашата покупка. </div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><br></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Всеки билет е поименен и всяка гривна има уникален код и ще бъде сканирана при влизане на фестивала. </div></h4><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><div>В съответствие с Общите правила и условия за закупуване на Tomorrowland не е позволено да препродавате вашия билет. </div><div>Документите за самоличност ще се проверяват при влизане в сайта на фестивала. Името на билета(ите) или гривната(ите) трябва да съвпада с името на вашия паспорт/лк.</div></div></h3><h4>Промяна на имена и данни в последствие НЕ Е ВЪЗМОЖНА!</h4><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><div></div></div></h3><h4><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Спрямо условията на организатора на събитието се забранява препродаването на билет с печалба ( от 30 юли 2013 г. - като глобата може да достигне до 60 000 евро). Тези мерки се предприемат, за да се избегне на посетителите да бъдат изправени пред прекомерни цени на билетите или да им бъде отказан достъп поради фалшиви билети. Билети, които са били препродадени нелегитимно, ще бъдат анулирани, което ще ги направи невалидни, и достъпът до фестивала ще бъде отказан. </div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Tomorrowland силно съветва да не купувате билети през вторичния пазар, тъй като валидността на тези билети не може да бъде гарантирана и достъпът до фестивала може да бъде отказан.</div></h4><h4><span style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Имайки предвид спецификата на събитието, страните се съгласяват, че заплатената сума не подлежи на връщане, независимо от възможни промени в планирането на пътуването, анулиране или промени от страна на пътника!</span></h4><h4><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"></div></h4><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Общите условия за пътуване на Рапсоди Травел България ООД от 07.08.2018г. са валидни за останалите организирани пътувания (с изключение на заплатени невъзвръщаеми средства) от този пакет!</div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><br></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><b style="color: rgb(255, 0, 0);">НА ФЕСТИВАЛА НЕ СЕ ДОПУСКАТ ЛИЦА ПОД 18г.!</b></div></h3></div><div><div></div></div></div><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Вашият пакет е на човек и включва: </div></h3></div><div><h4 style="background-color: rgb(255, 255, 255);">Rapsody Gold Package- 1599 евро/човек</h4><div style="background-color: rgb(255, 255, 255);"><ul><li>Magnificent Greens Package<br></li><li>Full Madness pass: 17- 19.07. <br></li><li>Marketplace entrance<br></li><li>Chill out area & Balance in recovery area<br></li><li>Dreamville Gathering Pre-party: 16.07.<br></li><li>Dreamville camping pass: 16 - 20.07. <br></li><li>Tomorrowland Bracelet & Treasure Case<br></li><li>Magnificent greens location for tent <br></li><li>Rapsody Staff асистенция<br></li><li>Такса за обарботване на резервацията <br></li><li>4 нощувки със закуски в Numa Brussles Royal Galleries 4**** в двойна стая при пълен капацитет на настаняване 16-20.07<br></li><li>Туристическа такса </li></ul></div><div style="background-color: rgb(255, 255, 255);">Посочените цени са на човек на база пълен капацитет на настаняване. В случай, че капацитета на стаята не е запълнен се заплаща празно легло. </div></div><div style="background-color: rgb(255, 255, 255);"><br></div><div><div><div><span style="color: rgb(41, 34, 84); font-family: Oswald, sans-serif; font-size: 18px;">НЕ ВКЛЮЧВА:</span></div><div><ul><li>Транспорт <br></li><li>Доплащане за настаняване в единична стая</li><li>Лични разходи<br></li><li>Трансфери от Брюксел до Boom</li></ul><div><div><b><font color="#ff0000">ВАЖНО!</font></b></div><div><br></div><div><div>Моля, имайте предвид, че посоченият хотел подлежи на наличност и оперативно потвърждение. </div><div>При изключителни обстоятелства Организаторът си запазва правото да замени избрания хотел с алтернативен хотел от същата или по-висока категория, разположен в същата зона/район, без предварително съгласие от страна на клиента.</div><div>Подобна промяна няма да повлияе на общото качество, категорията или основните характеристики на пакета за настаняване. Клиентите ще бъдат своевременно уведомени за всяка промяна на хотела, след като тя бъде потвърдена.</div><div>Такива замени не се считат за съществена промяна в туристическия пакет и не дават право на отказ, компенсация или възстановяване на суми, при условие че заместващият хотел отговаря на посочените критерии за местоположение и категория.</div></div></div></div></div></div>', `EventТemplateID` = '219', `Visible` = 1 WHERE `ID` = '13'
# [03-Feb-2026 14:00:51] /rapsody/www/rpV4nz0Sa0q/bg/events/list.html 108.61.209.243

set names utf8

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

SELECT
                `events`.*,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`

         GROUP BY `events`.`ID` ORDER BY  `events`.`PostDate` DESC
# [03-Feb-2026 14:01:01] /rapsody/www/ 108.61.209.243

set names utf8

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

SELECT
                `offers`.`ID`,
                `offers`.`UploadID`,
                `offers`.`HeaderImages`,
                `offers`.`URLLabel`,
                `offers`.`VideoURL`,
                `offers`.`Currency`,
                `offers`.`Title`,
                `offers`.`Visible`
	        FROM
	        	`offers`
                INNER JOIN `programs` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
	    	WHERE
                `HeaderImages` <> '' AND
	    		`TopOffer` = 1 AND
                `offers`.`Language` = 'bg' AND
                `programs`.`EndTo` >= CURDATE()
         AND `offers`.`Visible` = 1  ORDER BY `offers`.`PostDate` ASC LIMIT 1

SELECT
                `TopOffers`.`ID`,
                `TopOffers`.`UploadID`,
                `TopOffers`.`Image`,
                `TopOffers`.`Size`,
                `TopOffers`.`TripType`,
                `TopOffers`.`Currency`,
                `TopOffers`.`Title`,
                `TopOffers`.`URLLabel`,
                `TopOffers`.`Annotation`,
                `TopOffers`.`Visible`,
                `SubOffers`.`ID` AS `SubOffers`
            FROM
                `offers` AS `TopOffers`
                INNER JOIN `programs` ON `TopOffers`.`ID` = `programs`.`OfferID` AND `TopOffers`.`Language` = `programs`.`Language`
                LEFT JOIN `offers` AS `SubOffers` ON `SubOffers`.`ParentID` = `TopOffers`.`ID` AND `TopOffers`.`Language` = `SubOffers`.`Language`
            WHERE
                `TopOffers`.`ParentID` = 0 AND
                `TopOffers`.`Language` = 'bg' AND
                `TopOffers`.`MenuLabel` <> '' AND
                `programs`.`EndTo` >= CURDATE()
         AND `programs`.`Visible` = 1 AND `TopOffers`.`Image` <> '' AND `TopOffers`.`Visible` = 1 GROUP BY `TopOffers`.`ID` ORDER BY `TopOffers`.`Row` ASC, `TopOffers`.`PostDate` ASC

SELECT
                        `Title`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'offers' AND `Language` = 'bg' AND `Visible` = 1 LIMIT 1

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

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 139 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1601 AND
                    `OfferID` = 139 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 139 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

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

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 176 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1594 AND
                    `OfferID` = 176 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 176 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 67 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1502 AND
                    `OfferID` = 67 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 67 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `offers`.`ID`,
                `offers`.`UploadID`,
                `offers`.`Image`,
                `offers`.`Size`,
                `offers`.`TripType`,
                `offers`.`Currency`,
                `offers`.`Title`,
                `offers`.`URLLabel`,
                `offers`.`Annotation`,
                `offers`.`Visible`
            FROM
                `offers`
                INNER JOIN `programs` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
            WHERE
                `offers`.`ParentID` = 67 AND
                `offers`.`Language` = 'bg' AND
                `offers`.`MenuLabel` <> '' AND
                `programs`.`EndTo` >= CURDATE() AND
                `offers`.`Visible` = 1
         AND `offers`.`Image` <> '' AND `offers`.`Visible` = 1 GROUP BY `offers`.`ID` ORDER BY `offers`.`Row` ASC, `offers`.`PostDate` ASC

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 72 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1536 AND
                    `OfferID` = 72 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 72 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 281 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1583 AND
                    `OfferID` = 281 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 281 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 203 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1259 AND
                    `OfferID` = 203 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 203 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 71 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1508 AND
                    `OfferID` = 71 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 71 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 69 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1506 AND
                    `OfferID` = 69 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 69 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 204 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1559 AND
                    `OfferID` = 204 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 204 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 270 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1555 AND
                    `OfferID` = 270 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 270 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `offers`.`ID`,
                `offers`.`UploadID`,
                `offers`.`Image`,
                `offers`.`Size`,
                `offers`.`TripType`,
                `offers`.`Currency`,
                `offers`.`Title`,
                `offers`.`URLLabel`,
                `offers`.`Annotation`,
                `offers`.`Visible`
            FROM
                `offers`
                INNER JOIN `programs` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
            WHERE
                `offers`.`ParentID` = 270 AND
                `offers`.`Language` = 'bg' AND
                `offers`.`MenuLabel` <> '' AND
                `programs`.`EndTo` >= CURDATE() AND
                `offers`.`Visible` = 1
         AND `offers`.`Image` <> '' AND `offers`.`Visible` = 1 GROUP BY `offers`.`ID` ORDER BY `offers`.`Row` ASC, `offers`.`PostDate` ASC

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 284 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1591 AND
                    `OfferID` = 284 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 284 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 146 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1599 AND
                    `OfferID` = 146 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 146 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 208 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1276 AND
                    `OfferID` = 208 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 208 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `offers`.`ID`,
                `offers`.`UploadID`,
                `offers`.`Image`,
                `offers`.`Size`,
                `offers`.`TripType`,
                `offers`.`Currency`,
                `offers`.`Title`,
                `offers`.`URLLabel`,
                `offers`.`Annotation`,
                `offers`.`Visible`
            FROM
                `offers`
                INNER JOIN `programs` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
            WHERE
                `offers`.`ParentID` = 208 AND
                `offers`.`Language` = 'bg' AND
                `offers`.`MenuLabel` <> '' AND
                `programs`.`EndTo` >= CURDATE() AND
                `offers`.`Visible` = 1
         AND `offers`.`Image` <> '' AND `offers`.`Visible` = 1 GROUP BY `offers`.`ID` ORDER BY `offers`.`Row` ASC, `offers`.`PostDate` ASC

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 263 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1512 AND
                    `OfferID` = 263 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 263 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 288 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1600 AND
                    `OfferID` = 288 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 288 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 217 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1531 AND
                    `OfferID` = 217 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 217 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 222 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1533 AND
                    `OfferID` = 222 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 222 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 264 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1534 AND
                    `OfferID` = 264 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 264 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 53 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1577 AND
                    `OfferID` = 53 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 53 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 261 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 278 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1483 AND
                    `OfferID` = 278 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 278 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 96 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1607 AND
                    `OfferID` = 96 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 96 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 134 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1602 AND
                    `OfferID` = 134 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 134 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 40 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1517 AND
                    `OfferID` = 40 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 40 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 243 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1522 AND
                    `OfferID` = 243 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 243 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 109 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1562 AND
                    `OfferID` = 109 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 109 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 201 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 194 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1576 AND
                    `OfferID` = 194 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 194 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 271 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1513 AND
                    `OfferID` = 271 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 271 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 249 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1546 AND
                    `OfferID` = 249 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 249 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 267 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1547 AND
                    `OfferID` = 267 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 267 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 279 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1578 AND
                    `OfferID` = 279 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 279 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 282 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1584 AND
                    `OfferID` = 282 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 282 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 286 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1595 AND
                    `OfferID` = 286 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 286 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 269 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1552 AND
                    `OfferID` = 269 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 269 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 283 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1585 AND
                    `OfferID` = 283 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 283 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID`,
                `UploadID`,
                `PostDate`,
                `Image`,
                `URLLabel`,
                `Title`,
                `Annotation`,
                `Visible`
            FROM
                `articles`
            WHERE
                `ID` != 0 AND
                `Rapsody` = 1 AND
                `Language` = 'bg'
         AND `Visible` = 1 ORDER BY `PostDate` DESC LIMIT 2

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:01:01] /rapsody/www/bg/ajax/basket/qty.html?_=1770120069561 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 14:01:03] /rapsody/www/bg/events.html 108.61.209.243

set names utf8

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

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

SELECT
                `events`.*,
                (CURDATE() BETWEEN `SaleFrom` AND `SaleTo` OR `SaleTo` IS NULL) AS `InSale`,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`
            WHERE
                `Language` = 'bg'
         AND `events`.`Visible` = 1
            GROUP BY
                `events`.`ID`
            ORDER BY
                `events`.`PostDate` DESC
         LIMIT 0, 10

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

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

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

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

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

SELECT COUNT(*) AS NumRows FROM (SELECT
                `events`.*,
                (CURDATE() BETWEEN `SaleFrom` AND `SaleTo` OR `SaleTo` IS NULL) AS `InSale`,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`
            WHERE
                `Language` = 'bg'
         AND `events`.`Visible` = 1
            GROUP BY
                `events`.`ID`
            ORDER BY
                `events`.`PostDate` DESC
        ) AS CountTable

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

SELECT
                `ID`,
                `UploadID`,
                `PostDate`,
                `Image`,
                `URLLabel`,
                `Title`,
                `Annotation`,
                `Visible`
            FROM
                `articles`
            WHERE
                `ID` != 0 AND
                `Rapsody` = 1 AND
                `Language` = 'bg'
         AND `Visible` = 1 ORDER BY `PostDate` DESC LIMIT 2

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:01:03] /rapsody/www/bg/ajax/basket/qty.html?_=1770120071042 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 14:01:06] /rapsody/www/bg/events/tomorrowland-belgium.html 108.61.209.243

set names utf8

SELECT
                *
            FROM
                `events`
            WHERE
                `URLLabel` = 'tomorrowland-belgium' AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

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

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:01:07] /rapsody/www/bg/ajax/basket/qty.html?_=1770120074660 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 14:01:07] /rapsody/www/bg/events/2600_https://digith.ink/rapsody/www/bg/events/tomorrowland-belgium.html 108.61.209.243

set names utf8

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:01:11] /rapsody/www/bg/ajax/orders/form/13.html?_=1770120078919 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`events`
	    	WHERE
	    		`ID` = 13 AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOverbooked1','LOverbooked2') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [03-Feb-2026 14:01:16] /rapsody/www/rpV4nz0Sa0q/bg/ajax/events/form/13.html?_=1770120083815 108.61.209.243

set names utf8

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

SELECT
                *
            FROM
                `events`
            WHERE
                `ID` = 13
            LIMIT 1

SELECT
                `ID`,
                `Title`
            FROM
                `templates`
            WHERE
                `TplName` = 'tickets' AND
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY
                `ID` ASC
# [03-Feb-2026 14:01:25] /rapsody/www/rpV4nz0Sa0q/bg/ajax/events/update/13.html?_=1770120093161 108.61.209.243

set names utf8

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

SELECT * FROM `events` LIMIT 1

SHOW COLUMNS FROM `events`

UPDATE `events` SET `Language` = 'bg', `UploadID` = '6948045816', `PostDate` = '2026-01-31', `StartTime` = '00:00:00', `LastUpdate` = '2026-02-03 14:01:25', `StartFrom` = '2026-07-16', `EndTo` = '2026-07-20', `SaleFrom` = '2026-02-01', `SaleTo` = '2026-07-30', `Currency` = 'EUR', `MetaTitle` = 'Tomorrowland Belgium 2026 WEEK 1- Rapsody Gold Package- 1599 евро', `MetaDescription` = 'Tomorrowland Belgium е един от най-известните и най-големи музикални фестивали за електронна музика (EDM) в света. Този фестивал е пътуване в свят на магия - където музиката, изкуството и хората от бъдещето се събират, за да празнуват живота!', `MetaImage` = 'tomorrowland-2026-meta.jpg', `URLLabel` = 'tomorrowland-belgium', `HeaderImages` = '["tomorrowland-2026-slider1.jpg"]', `Image` = 'tomorrowland-2026-home1.jpg', `Title` = 'Tomorrowland Belgium- WEEK 1 Rapsody Gold Package- 1599 евро', `Annotation` = 'Tomorrowland Belgium е един от най-известните и най-големи музикални фестивали за електронна музика (EDM) в света. Този фестивал е пътуване в свят на магия - където музиката, изкуството и хората от бъдещето се събират, за да празнуват живота!', `Content` = '<div>
    <h3>В ОФИЦИАЛНА ПРОДАЖБА ОТ 01.02.2026г. - <font color="#ff0000">SOLD OUT!</font></h3>
    <h4>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Tomorrowland Belgium е един от най-известните и най-големи музикални фестивали за електронна музика (EDM) в света. Провежда се в белгийския град Boom всяко лято и събира почитатели на електронната музика от цял ​​свят. Фестивалът се провежда за първи път през 2005 г. и оттогава се превърща в символ на световната EDM култура.</div>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><br></div>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Този фестивал е пътуване в свят на магия - където музиката, изкуството и хората от бъдещето се събират, за да празнуват живота и всичките му красоти!</div>
        <hr>
    </h4>
    <h4>ОФИЦИАЛЕН САЙТ НА ОРГАНИЗАТОРА НА ФЕСТИВАЛА:  <a href="https://www.tomorrowland.com/home/" style="font-family: Oswald, sans-serif; font-size: 18px;">https://www.tomorrowland.com/home/</a></h4>
    <div>
        <hr>
    </div>
    <h4></h4>
    <h4>WEEK 1/17-19.07/ OFFICIAL LINE UP:</h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div></div>
        </div>
    </h3>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="font-family: Oswald, sans-serif; font-size: 16px;">Ден</span><span style="font-family: Oswald, sans-serif; font-size: 16px;"> 1./16.07</span>
        <div class="slidetext">Настаняване в  хотела.. Dreamville Gathering Pre-Party – подгряване за най-добрия уикенд, който предстои! <br>Нощувка. </div>
    </div>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="font-family: Oswald, sans-serif; font-size: 16px;">Ден 2-4./ 17-19.07</span></div>
    <div class="day" style="position: relative; padding-bottom: 10px;">
        <font face="Oswald, sans-serif" size="3"><br></font>
        <div class="slidetext" data-height="285"><b>STAGE HOSTS</b><br><div class="slidetext" data-height="285">Calvin Harris, David Guetta, Martin Garrix, Hardwell, Sebastian Ingrosso, NERVO, Fisher,, Miss Monique John Summit, Indira Paganotto, Dimitri Vegas & Like Mike, Henri PFR, Kevin de Vries, Lost Frequencies, Agents of Time, The Chainsmokers</div><div class="slidetext" data-height="285">Marlon Hoffstadt (debut Mainstage), NOVAH (Belgian hard techno artist – debut Mainstage), MATTN, MC STRETCH, Bassjackers, Disco Lines, The Atmosphere stage and other genre-focused spaces include:, Sara Landry, Nico Moreno, I Hate Models, Holy Priest,, Onlynumbers, Azyr, Dyen b2b Maddix, BYORN b2b Shlømo, The Blessed Madonna b2b HAAi, Oscar and the Wolf, Job Jobse, Avalon Emerson b2b Ben UFO, Antdot, Modeselektor (DJ set), Sasha b2b Young Marco, Sally C, Bibi Seck, Helena Lauwaert</div>Shimza, Lisa Korver, Lammer, NOSI, IDEMI, BYORN, Oskar Med K, Malive ,Bullet Tooth, Marsolo, Portex, Rosey Gold, Sam Shure and many more. </div>
    </div>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="font-family: Oswald, sans-serif; font-size: 16px;">Ден 5./ 20.07</span></div>
    <div class="day" style="position: relative; padding-bottom: 10px;">Напускане на хотела.</div>
    <hr><br>
    <div class="day" style="position: relative; padding-bottom: 10px;"><span style="color: rgb(255, 0, 0); font-family: Oswald, sans-serif; font-size: 22px;">RAPSODY GOLD PACKAGE- 1599 евро/човек</span><br></div>
    <h4>ЦЕНАТА ВКЛЮЧВА:</h4>
    <h4 style="margin-right: 0cm; margin-left: 0cm; font-size: medium; font-family: " times="" new="" roman",="" serif;="" caret-color:="" rgb(0,="" 0,="" 0);="" color:="" 0);"=""><span style="font-size: 13.5pt; font-family: Oswald; color: rgb(41, 34, 84);">
            <o:p></o:p>
        </span></h4>
    <div>
        <ul>
            <li>Magnificent Greens Package<br></li>
            <li>Full Madness pass: 17-19.07. <br></li>
            <li>Marketplace entrance<br></li>
            <li>Chill out area & Balance in recovery area<br></li>
            <li>Dreamville Gathering Pre-party: 16.07.<br></li>
            <li>Dreamville camping pass: 16 - 20.07. <br></li>
            <li>Tomorrowland Bracelet & Treasure Case<br></li>
            <li>Magnificent greens location for tent <br></li>
            <li>Rapsody Staff асистенция<br></li>
            <li>Такса за обработкана резервацията <br></li>
            <li>4 нощувки в <span style="background-color: rgb(255, 255, 255);">Numa Brussles Royal Galleries</span> 4**** (или подобен) в двойна стая при пълен капацитет на настаняване (16- 20.07)<br></li><li>туристическа такса</li>
        </ul>
    </div>
    <div><br></div>
    <div><span style="color: rgb(41, 34, 84); font-family: Oswald, sans-serif; font-size: 18px;">ЦЕНАТА НЕ ВКЛЮЧВА:</span></div>
    <div>
        <ul>
            <li>Транспорт <br></li>
            <li>Доплащане за настаняване в единична стая</li>
            <li>Лични разходи<br></li>
            <li>Трансфери от Брюксел до Boom<br></li>
        </ul>
    </div>
</div>
<div>
    <h4><span style="font-size: 22px;">Молим всички да прочетат внимателно общите условия за закупуване на пакет, които са неразделна част от тази програма!</span></h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div><b>Rapsody Travel Bulgaria, посредством Rapsody Travel има сключени ексклузивни права върху отпусната квота билети за Week 1 /18- 20.07.2025г/</b></div>
            <div><br></div>
            <div><b style="color: rgb(255, 0, 0);">НА ФЕСТИВАЛА НЕ СЕ ДОПУСКАТ ЛИЦА ПОД 18г.!</b><br></div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>При резервация на пакет се вписват коректно данните на всеки ползващ билет по документа за самоличност с който ще пътува и влиза на територията на фестивала- име на латиница, дата на раждане, номер на лк/ паспорт. </div>
            <div>
                <div>Всеки билет е личен и всяка гривна има уникален код и ще бъде сканирана при влизане на фестивала. </div>
                <div>Поради тази причина до 24ч след получаване на потвърждение за покупка на билет имате ангажимент да ни изпратите необходимата информация по паспорт/ лична карта.</div>
                <div>В съответствие с Общите правила и условия за закупуване на Tomorrowland не е позволено да препродавате вашия билет. Всеки билет е личен и всяка гривна има уникален код ще бъде сканирана при влизане на фестивала. Документите за самоличност ще се проверяват при влизане в сайта на фестивала. Името на билета(ите) или гривната(ите) трябва да съвпада с името на вашия паспорт/лк.</div>
            </div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div></div>
        </div>
    </h3>
    <h4>Промяна на имена и данни в последствие НЕ Е ВЪЗМОЖНА!</h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>Билет за самия фестивал  WEEK 1 (кутия с гривна) ще получите  лично в Брюксел един ден преди началото на фестивала, като точна локация ще получите около 1 седмица преди заминаване.</div>
            <div>Раздаването на кутиите ще се извършва само лично от представител на Rapsody Travel & Events.</div>
            <div><br></div>
            <div>Без пощенска доставка: Пакетите, включително кутията за фестивалната гривна, няма да бъдат изпращани до домашен адреси или офиси при никакви обстоятелства.</div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>
                <div>Спрямо условията на организатора на събитието се забранява препродаването на билет с печалба ( от 30 юли 2013 г. - като глобата може да достигне до 60 000 евро). Тези мерки се предприемат, за да се избегне на посетителите да бъдат изправени пред прекомерни цени на билетите или да им бъде отказан достъп поради фалшиви билети.</div>
                <div><br></div>
                <div>Билети, които са били препродадени нелегитимно, ще бъдат анулирани, което ще ги направи невалидни, и достъпът до фестивала ще бъде отказан. Tomorrowland силно съветва да не купувате билети през вторичния пазар, тъй като валидността на тези билети не може да бъде гарантирана и достъпът до фестивала може да бъде отказан.</div>
            </div>
            <div><br></div>
        </div>
    </h3>
    <h4>ЗАПЛАЩАНЕ: 100% при резервация</h4>
    <h4>
        <ul>
            <li><span style="color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Всички плащания се извършват в евро;</span><br></li>
            <li><span style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Възможност за плащане само директно с карта по време на резервацията;</span><br></li>
        </ul>
    </h4>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div></div>
        </div>
    </h3>
    <h3>
        <div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">
            <div>Имайки предвид спецификата на събитието, страните се съгласяват, че заплатената сума не подлежи на връщане, независимо от възможни промени в планирането на пътуването, анулиране или промени от страна на пътника!</div><div><br></div><div><div><b><font color="#ff0000">ВАЖНО!</font></b></div><div><br></div><div><div>Моля, имайте предвид, че посоченият хотел подлежи на наличност и оперативно потвърждение. </div><div>При изключителни обстоятелства Организаторът си запазва правото да замени избрания хотел с алтернативен хотел от същата или по-висока категория, разположен в същата зона/район, без предварително съгласие от страна на клиента.</div><div>Подобна промяна няма да повлияе на общото качество, категорията или основните характеристики на пакета за настаняване. Клиентите ще бъдат своевременно уведомени за всяка промяна на хотела, след като тя бъде потвърдена.</div><div>Такива замени не се считат за съществена промяна в туристическия пакет и не дават право на отказ, компенсация или възстановяване на суми, при условие че заместващият хотел отговаря на посочените критерии за местоположение и категория.</div></div></div>
            <div><br></div>
            <div>Общите условия за пътуване на Рапсоди Травел България ООД от 07.08.2018г. са валидни за останалите организирани пътувания (с изключение на заплатени невъзвръщаеми средства) от този пакет!</div>
        </div>
    </h3>
</div>', `Prices` = '[["Rapsody Gold Package"],["1599"],["5"]]', `TotalSeats` = 5, `TicketContent` = '<div><div><div><div><div>Този QR код <b>НЕ Е билет</b> за фестивала, а гаранция, че сте направили своята резервация!</div><div><br></div><div>Билет за самия фестивал WEEK 1 (кутия с гривна) ще получите лично в Брюксел  един ден преди началото на фестивала-16.07, като точна локация ще получите около 1 седмица преди заминаване.</div><div>Раздаването на кутиите ще се извършва само лично от представител на Rapsody Travel & Events.</div><div><br></div><div>Пакетите, включително кутията за фестивалната гривна, няма да бъдат изпращани до домашен адреси или офиси при никакви обстоятелства.<br></div><div><br></div><div>Продължавайки с плащането, вие потвърждавате, че сте прочели, разбрали и приели тези условия.</div></div><div><br></div><div><b style="color: rgb(255, 0, 0);"><br></b></div><div><span style="font-size: 22px; color: rgb(41, 34, 84); font-family: Oswald, sans-serif;">Молим всички да прочетат внимателно общите условия за закупуване на пакет, които са неразделна част от тази програма!</span><br></div><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"></div></h3><h4><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><div></div></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">До 24ч от потвърждение/ заплащане на резервацията имате ангажимент да предоставите данни по документа за самоличност с който ще пътувате и влизате на фестивала- три имена изписани коректно на латиница, дата на раждане, номер на лк/ паспорт с дата на издаване и валидност, телефон за връзка и мейл на следния мейл- <a href="mailto:info@rapsodytravel.bg?subject=TOMORROWLAND 2026">info@rapsodytravel.bg</a>, за да бъде финализирана успешно вашата покупка. </div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><br></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Всеки билет е поименен и всяка гривна има уникален код и ще бъде сканирана при влизане на фестивала. </div></h4><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><div>В съответствие с Общите правила и условия за закупуване на Tomorrowland не е позволено да препродавате вашия билет. </div><div>Документите за самоличност ще се проверяват при влизане в сайта на фестивала. Името на билета(ите) или гривната(ите) трябва да съвпада с името на вашия паспорт/лк.</div></div></h3><h4>Промяна на имена и данни в последствие НЕ Е ВЪЗМОЖНА!</h4><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><div></div></div></h3><h4><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Спрямо условията на организатора на събитието се забранява препродаването на билет с печалба ( от 30 юли 2013 г. - като глобата може да достигне до 60 000 евро). Тези мерки се предприемат, за да се избегне на посетителите да бъдат изправени пред прекомерни цени на билетите или да им бъде отказан достъп поради фалшиви билети. Билети, които са били препродадени нелегитимно, ще бъдат анулирани, което ще ги направи невалидни, и достъпът до фестивала ще бъде отказан. </div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Tomorrowland силно съветва да не купувате билети през вторичния пазар, тъй като валидността на тези билети не може да бъде гарантирана и достъпът до фестивала може да бъде отказан.</div></h4><h4><span style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Имайки предвид спецификата на събитието, страните се съгласяват, че заплатената сума не подлежи на връщане, независимо от възможни промени в планирането на пътуването, анулиране или промени от страна на пътника!</span></h4><h4><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"></div></h4><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Общите условия за пътуване на Рапсоди Травел България ООД от 07.08.2018г. са валидни за останалите организирани пътувания (с изключение на заплатени невъзвръщаеми средства) от този пакет!</div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><br></div><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;"><b style="color: rgb(255, 0, 0);">НА ФЕСТИВАЛА НЕ СЕ ДОПУСКАТ ЛИЦА ПОД 18г.!</b></div></h3></div><div><div></div></div></div><h3><div style="caret-color: rgb(34, 66, 41); color: rgb(34, 66, 41); font-family: Montserrat, sans-serif; font-size: 15px;">Вашият пакет е на човек и включва: </div></h3></div><div><h4 style="background-color: rgb(255, 255, 255);">Rapsody Gold Package- 1599 евро/човек</h4><div style="background-color: rgb(255, 255, 255);"><ul><li>Magnificent Greens Package<br></li><li>Full Madness pass: 17- 19.07. <br></li><li>Marketplace entrance<br></li><li>Chill out area & Balance in recovery area<br></li><li>Dreamville Gathering Pre-party: 16.07.<br></li><li>Dreamville camping pass: 16 - 20.07. <br></li><li>Tomorrowland Bracelet & Treasure Case<br></li><li>Magnificent greens location for tent <br></li><li>Rapsody Staff асистенция<br></li><li>Такса за обарботване на резервацията <br></li><li>4 нощувки със закуски в Numa Brussles Royal Galleries 4**** в двойна стая при пълен капацитет на настаняване 16-20.07<br></li><li>Туристическа такса </li></ul></div><div style="background-color: rgb(255, 255, 255);">Посочените цени са на човек на база пълен капацитет на настаняване. В случай, че капацитета на стаята не е запълнен се заплаща празно легло. </div></div><div style="background-color: rgb(255, 255, 255);"><br></div><div><div><div><span style="color: rgb(41, 34, 84); font-family: Oswald, sans-serif; font-size: 18px;">НЕ ВКЛЮЧВА:</span></div><div><ul><li>Транспорт <br></li><li>Доплащане за настаняване в единична стая</li><li>Лични разходи<br></li><li>Трансфери от Брюксел до Boom</li></ul><div><div><b><font color="#ff0000">ВАЖНО!</font></b></div><div><br></div><div><div>Моля, имайте предвид, че посоченият хотел подлежи на наличност и оперативно потвърждение. </div><div>При изключителни обстоятелства Организаторът си запазва правото да замени избрания хотел с алтернативен хотел от същата или по-висока категория, разположен в същата зона/район, без предварително съгласие от страна на клиента.</div><div>Подобна промяна няма да повлияе на общото качество, категорията или основните характеристики на пакета за настаняване. Клиентите ще бъдат своевременно уведомени за всяка промяна на хотела, след като тя бъде потвърдена.</div><div>Такива замени не се считат за съществена промяна в туристическия пакет и не дават право на отказ, компенсация или възстановяване на суми, при условие че заместващият хотел отговаря на посочените критерии за местоположение и категория.</div></div></div></div></div></div>', `EventТemplateID` = '219', `Visible` = 1 WHERE `ID` = '13'
# [03-Feb-2026 14:01:25] /rapsody/www/rpV4nz0Sa0q/bg/events/list.html 108.61.209.243

set names utf8

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

SELECT
                `events`.*,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`

         GROUP BY `events`.`ID` ORDER BY  `events`.`PostDate` DESC
# [03-Feb-2026 14:01:27] /rapsody/www/bg/events/tomorrowland-belgium.html 108.61.209.243

set names utf8

SELECT
                *
            FROM
                `events`
            WHERE
                `URLLabel` = 'tomorrowland-belgium' AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

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

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:01:28] /rapsody/www/bg/ajax/basket/qty.html?_=1770120095626 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 14:01:28] /rapsody/www/bg/events/2600_https://digith.ink/rapsody/www/bg/events/tomorrowland-belgium.html 108.61.209.243

set names utf8

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:01:29] /rapsody/www/bg/events.html 108.61.209.243

set names utf8

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

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

SELECT
                `events`.*,
                (CURDATE() BETWEEN `SaleFrom` AND `SaleTo` OR `SaleTo` IS NULL) AS `InSale`,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`
            WHERE
                `Language` = 'bg'
         AND `events`.`Visible` = 1
            GROUP BY
                `events`.`ID`
            ORDER BY
                `events`.`PostDate` DESC
         LIMIT 0, 10

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

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

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

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

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

SELECT COUNT(*) AS NumRows FROM (SELECT
                `events`.*,
                (CURDATE() BETWEEN `SaleFrom` AND `SaleTo` OR `SaleTo` IS NULL) AS `InSale`,
                COUNT(`tickets`.`ID`) AS `Sold`
            FROM
                `events`
                LEFT JOIN `tickets` ON `events`.`ID` = `tickets`.`EventID`
            WHERE
                `Language` = 'bg'
         AND `events`.`Visible` = 1
            GROUP BY
                `events`.`ID`
            ORDER BY
                `events`.`PostDate` DESC
        ) AS CountTable

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

SELECT
                `ID`,
                `UploadID`,
                `PostDate`,
                `Image`,
                `URLLabel`,
                `Title`,
                `Annotation`,
                `Visible`
            FROM
                `articles`
            WHERE
                `ID` != 0 AND
                `Rapsody` = 1 AND
                `Language` = 'bg'
         AND `Visible` = 1 ORDER BY `PostDate` DESC LIMIT 2

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:01:29] /rapsody/www/bg/ajax/basket/qty.html?_=1770120097505 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 14:01:31] /rapsody/www/bg/ajax/orders/form/13.html?_=1770120099078 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`events`
	    	WHERE
	    		`ID` = 13 AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13

SELECT `ID` FROM `orders` WHERE `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a' AND `Status` = 0 LIMIT 1

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

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LHolderDetails','LFullNameLatin','LEMail','LPhone','LAgreeText','ErrorIAgreeCheck','LAgreeData','ErrorNumber') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13 AND `TypeID` = 0

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 ('LGoAhead','LPay') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [03-Feb-2026 14:01:40] /rapsody/www/bg/ajax/orders/submit/13.html?_=1770120108434 108.61.209.243

set names utf8

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

SELECT `ID` FROM `orders` WHERE `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a' AND `Status` = 0 LIMIT 1

SELECT * FROM `orders` LIMIT 1

SHOW COLUMNS FROM `orders`

INSERT INTO `orders` SET `LastUpdate` = '2026-02-03 14:01:40', `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a', `Data` = 'PibJoopWGVvCBXra7Yc7E5QAPK1QgWPxgtX3BgA13VelQbhAnNsxWlMRbXR2Bfe4pTMU7gfGHpSm2x1u2gZOBHtR47aR-2kAlEQWBdysfR8fJTSAVgrsy8DG2JoFc8QUNYnynCzCC1-zsrnbtLg-mQEwGK_naXa2FskSv6r_ldHLsdNwY1cQVYeqE8zOWHtd09ZLnF3h0Boqu2EvA_NAe51tiUVFW13pxx94-fl2mZU', `PostDate` = '2026-02-03 14:01:40'

SELECT
                `Data`
            FROM
                `orders`
            WHERE
                `ID` = 51243875 AND
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1

SELECT
                *
	        FROM
	        	`events`
	    	WHERE
	    		`ID` = 13 AND
                `Language` = 'bg'
         AND `Visible` = 1 LIMIT 1

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LHolderDetails','LTickets','LName','LEMail','LPhone','LQtyLabel','LPrice','LTotal') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

DELETE FROM `reserved` WHERE `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'

SELECT COUNT(`ID`) FROM `tickets` WHERE `EventID` = 13 AND `TypeID` = 0

INSERT INTO `reserved`
            (`ClientID`, `PostDate`, `EventID`, `TypeID`, `Num`) VALUES
            ('75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a', NOW(), 13, 0, 2)

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LGoAhead','LPay') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [03-Feb-2026 14:18:05] /rapsody/www/ 108.61.209.243

set names utf8

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

SELECT
                `offers`.`ID`,
                `offers`.`UploadID`,
                `offers`.`HeaderImages`,
                `offers`.`URLLabel`,
                `offers`.`VideoURL`,
                `offers`.`Currency`,
                `offers`.`Title`,
                `offers`.`Visible`
	        FROM
	        	`offers`
                INNER JOIN `programs` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
	    	WHERE
                `HeaderImages` <> '' AND
	    		`TopOffer` = 1 AND
                `offers`.`Language` = 'bg' AND
                `programs`.`EndTo` >= CURDATE()
         AND `offers`.`Visible` = 1  ORDER BY `offers`.`PostDate` ASC LIMIT 1

SELECT
                `TopOffers`.`ID`,
                `TopOffers`.`UploadID`,
                `TopOffers`.`Image`,
                `TopOffers`.`Size`,
                `TopOffers`.`TripType`,
                `TopOffers`.`Currency`,
                `TopOffers`.`Title`,
                `TopOffers`.`URLLabel`,
                `TopOffers`.`Annotation`,
                `TopOffers`.`Visible`,
                `SubOffers`.`ID` AS `SubOffers`
            FROM
                `offers` AS `TopOffers`
                INNER JOIN `programs` ON `TopOffers`.`ID` = `programs`.`OfferID` AND `TopOffers`.`Language` = `programs`.`Language`
                LEFT JOIN `offers` AS `SubOffers` ON `SubOffers`.`ParentID` = `TopOffers`.`ID` AND `TopOffers`.`Language` = `SubOffers`.`Language`
            WHERE
                `TopOffers`.`ParentID` = 0 AND
                `TopOffers`.`Language` = 'bg' AND
                `TopOffers`.`MenuLabel` <> '' AND
                `programs`.`EndTo` >= CURDATE()
         AND `programs`.`Visible` = 1 AND `TopOffers`.`Image` <> '' AND `TopOffers`.`Visible` = 1 GROUP BY `TopOffers`.`ID` ORDER BY `TopOffers`.`Row` ASC, `TopOffers`.`PostDate` ASC

SELECT
                        `Title`
                    FROM
                        `pages`
                    WHERE
                        1
                 AND `Module` = 'offers' AND `Language` = 'bg' AND `Visible` = 1 LIMIT 1

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

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 139 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1601 AND
                    `OfferID` = 139 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 139 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

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

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 176 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1594 AND
                    `OfferID` = 176 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 176 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 67 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1502 AND
                    `OfferID` = 67 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 67 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `offers`.`ID`,
                `offers`.`UploadID`,
                `offers`.`Image`,
                `offers`.`Size`,
                `offers`.`TripType`,
                `offers`.`Currency`,
                `offers`.`Title`,
                `offers`.`URLLabel`,
                `offers`.`Annotation`,
                `offers`.`Visible`
            FROM
                `offers`
                INNER JOIN `programs` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
            WHERE
                `offers`.`ParentID` = 67 AND
                `offers`.`Language` = 'bg' AND
                `offers`.`MenuLabel` <> '' AND
                `programs`.`EndTo` >= CURDATE() AND
                `offers`.`Visible` = 1
         AND `offers`.`Image` <> '' AND `offers`.`Visible` = 1 GROUP BY `offers`.`ID` ORDER BY `offers`.`Row` ASC, `offers`.`PostDate` ASC

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 72 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1536 AND
                    `OfferID` = 72 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 72 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 281 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1583 AND
                    `OfferID` = 281 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 281 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 203 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1259 AND
                    `OfferID` = 203 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 203 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 71 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1508 AND
                    `OfferID` = 71 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 71 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 69 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1506 AND
                    `OfferID` = 69 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 69 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 204 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1559 AND
                    `OfferID` = 204 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 204 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 270 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1555 AND
                    `OfferID` = 270 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 270 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `offers`.`ID`,
                `offers`.`UploadID`,
                `offers`.`Image`,
                `offers`.`Size`,
                `offers`.`TripType`,
                `offers`.`Currency`,
                `offers`.`Title`,
                `offers`.`URLLabel`,
                `offers`.`Annotation`,
                `offers`.`Visible`
            FROM
                `offers`
                INNER JOIN `programs` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
            WHERE
                `offers`.`ParentID` = 270 AND
                `offers`.`Language` = 'bg' AND
                `offers`.`MenuLabel` <> '' AND
                `programs`.`EndTo` >= CURDATE() AND
                `offers`.`Visible` = 1
         AND `offers`.`Image` <> '' AND `offers`.`Visible` = 1 GROUP BY `offers`.`ID` ORDER BY `offers`.`Row` ASC, `offers`.`PostDate` ASC

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 284 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1591 AND
                    `OfferID` = 284 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 284 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 146 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1599 AND
                    `OfferID` = 146 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 146 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 208 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1276 AND
                    `OfferID` = 208 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 208 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `offers`.`ID`,
                `offers`.`UploadID`,
                `offers`.`Image`,
                `offers`.`Size`,
                `offers`.`TripType`,
                `offers`.`Currency`,
                `offers`.`Title`,
                `offers`.`URLLabel`,
                `offers`.`Annotation`,
                `offers`.`Visible`
            FROM
                `offers`
                INNER JOIN `programs` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
            WHERE
                `offers`.`ParentID` = 208 AND
                `offers`.`Language` = 'bg' AND
                `offers`.`MenuLabel` <> '' AND
                `programs`.`EndTo` >= CURDATE() AND
                `offers`.`Visible` = 1
         AND `offers`.`Image` <> '' AND `offers`.`Visible` = 1 GROUP BY `offers`.`ID` ORDER BY `offers`.`Row` ASC, `offers`.`PostDate` ASC

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 263 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1512 AND
                    `OfferID` = 263 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 263 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 288 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1600 AND
                    `OfferID` = 288 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 288 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 217 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1531 AND
                    `OfferID` = 217 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 217 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 222 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1533 AND
                    `OfferID` = 222 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 222 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 264 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1534 AND
                    `OfferID` = 264 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 264 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 53 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1577 AND
                    `OfferID` = 53 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 53 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 261 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 278 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1483 AND
                    `OfferID` = 278 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 278 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 96 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1607 AND
                    `OfferID` = 96 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 96 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 134 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1602 AND
                    `OfferID` = 134 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 134 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 40 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1517 AND
                    `OfferID` = 40 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 40 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 243 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1522 AND
                    `OfferID` = 243 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 243 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 109 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1562 AND
                    `OfferID` = 109 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 109 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 201 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 194 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1576 AND
                    `OfferID` = 194 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 194 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 271 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1513 AND
                    `OfferID` = 271 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 271 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 249 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1546 AND
                    `OfferID` = 249 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 249 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 267 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1547 AND
                    `OfferID` = 267 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 267 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 279 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1578 AND
                    `OfferID` = 279 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 279 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 282 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1584 AND
                    `OfferID` = 282 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 282 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 286 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1595 AND
                    `OfferID` = 286 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 286 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 269 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1552 AND
                    `OfferID` = 269 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 269 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID` AS `ProgramID`,
                `StartFrom`,
                `EndTo`,
                `Nights`,
                `Price`,
                `PromoPrice`,
                `PromoDate`
            FROM
                `programs`
            WHERE
                `OfferID` = 283 AND
                `Language` = 'bg' AND
                `EndTo` >= CURDATE()
         AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    `StartFrom` AS `StartFrom2`,
                    `EndTo` AS `EndTo2`
                FROM
                    `programs`
                WHERE
                    `ID` <> 1585 AND
                    `OfferID` = 283 AND
                    `Language` = 'bg' AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1
            ORDER BY
                CASE
                    WHEN `PromoDate` >= CURDATE() THEN 0
                    ELSE 1
                END,
                `PromoDate` ASC,
                `StartFrom` ASC
            LIMIT 1

SELECT
                    MIN(`Price`) AS `MinPrice`
                FROM
                    `programs`
                WHERE
                    `Price` > 0 AND
                    `OfferID` = 283 AND
                    `EndTo` >= CURDATE()
             AND `Visible` = 1

SELECT
                `ID`,
                `UploadID`,
                `PostDate`,
                `Image`,
                `URLLabel`,
                `Title`,
                `Annotation`,
                `Visible`
            FROM
                `articles`
            WHERE
                `ID` != 0 AND
                `Rapsody` = 1 AND
                `Language` = 'bg'
         AND `Visible` = 1 ORDER BY `PostDate` DESC LIMIT 2

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

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:18:05] /rapsody/www/bg/ajax/basket/qty.html?_=1770121093054 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 14:18:06] /rapsody/www/bg/studentskaekskurzija.html 108.61.209.243

set names utf8

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

SELECT
                `TopOffers`.*,
                `SubOffers`.`ID` AS `SubOffers`
	        FROM
	        	`offers` AS `TopOffers`
                LEFT JOIN `offers` AS `SubOffers` ON
                    `SubOffers`.`ParentID` = `TopOffers`.`ID` AND
                    `SubOffers`.`Language` = `TopOffers`.`Language`
	    	WHERE
                `TopOffers`.`Language` = 'bg' AND
                `TopOffers`.`URLLabel` = 'studentskaekskurzija'
         AND `TopOffers`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LFrom','LUntil','LBookNow','LPriceFrom','LGallery','LProgram','LReadMore','LPrices','LAccommodation','LAdditionalExcursions','LFAQ','LDays','LPrice','LDeposit') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `programs`.*
            FROM
                `programs`
                INNER JOIN `offers` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
            WHERE
                `programs`.`OfferID` = 176 AND
                `programs`.`Language` = 'bg' AND
                `programs`.`EndTo` >= CURDATE()
         AND `programs`.`Visible` = 1 GROUP BY `programs`.`ID` ORDER BY `programs`.`StartFrom` ASC

SELECT
				`rooms`.`ID`
			FROM
				`rooms`
				INNER JOIN `accommodation` ON 
					`rooms`.`AccommodationID` = `accommodation`.`ID`
                INNER JOIN `offers` ON
                    `offers`.`ID` = `accommodation`.`OfferID` AND
                    `offers`.`Language` = `accommodation`.`Language`
                INNER JOIN `programs` ON
                    `rooms`.`ProgramID` = `programs`.`ID` AND
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
				LEFT JOIN `reservation_rooms` ON `reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
				`rooms`.`ProgramID` = 1594 AND
				`accommodation`.`Visible` = 1 AND
				`rooms`.`Visible` = 1 AND
				`reservation_rooms`.`RoomID` IS NULL
			LIMIT 1

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

SELECT
				`rooms`.`Price`
			FROM
				`rooms`
				INNER JOIN `accommodation` ON 
					`rooms`.`AccommodationID` = `accommodation`.`ID`
				INNER JOIN `programs` ON 
					`rooms`.`ProgramID` = `programs`.`ID`
				LEFT JOIN `reservation_rooms` ON 
					`reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
				`programs`.`StartFrom` > CURDATE() AND
				`rooms`.`ProgramID` = 1594 AND
				`accommodation`.`Visible` = 1 AND
				`rooms`.`Visible` = 1 AND
				`reservation_rooms`.`RoomID` IS NULL
			LIMIT 1

SELECT
                *
            FROM
                `programs`
            WHERE
                `Language` = 'bg' AND
                `ID` = 1594
         AND `Visible` = 1 LIMIT 1

SELECT
                    `accommodation`.*,
                    `programs`.`PromoDate`,
                    MIN(`rooms`.`Price`) AS `Price`,
                    MIN(`rooms`.`PromoPrice`) AS `PromoPrice`
                FROM
                    `accommodation`
                    INNER JOIN `offers` ON
                        `accommodation`.`OfferID` = `offers`.`ID` AND
                        `offers`.`Language` = `accommodation`.`Language`
                    INNER JOIN `rooms` ON
                        `rooms`.`AccommodationID` = `accommodation`.`ID` AND
                        `rooms`.`Language` = `accommodation`.`Language` AND
                        `rooms`.`ProgramID` = 1594
                    INNER JOIN `programs` ON
                        `rooms`.`ProgramID` = `programs`.`ID` AND
                        `programs`.`Language` = `accommodation`.`Language`
                WHERE
                    `accommodation`.`OfferID` = 176 AND
                    `accommodation`.`Language` = 'bg'
             AND 
                `accommodation`.`Visible` = 1 AND 
                `offers`.`Visible` = 1 AND
                `rooms`.`Visible` = 1
            
            GROUP BY `accommodation`.`ID`
            ORDER BY `accommodation`.`PostDate` ASC

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

SELECT DISTINCT
                `rooms`.`Beds`,
                COALESCE(NULLIF(`rooms`.`Label`, ''), `rooms`.`Title`) AS `RoomLabel`
            FROM
                `accommodation`
                INNER JOIN `programs` ON `programs`.`OfferID` = `accommodation`.`OfferID`
                INNER JOIN `offers` ON `offers`.`ID` = `accommodation`.`OfferID`
                INNER JOIN `rooms` ON
                    `rooms`.`AccommodationID` = `accommodation`.`ID` AND
                    `rooms`.`ProgramID` = `programs`.`ID`
                LEFT OUTER JOIN `reservation_rooms` ON `reservation_rooms`.`RoomID` = `rooms`.`ID`
            WHERE
                `programs`.`ID` = 1594 AND
                `accommodation`.`Visible` = 1 AND
                `programs`.`Visible` = 1 AND
                `offers`.`Visible` = 1 AND
                `rooms`.`Gallery` <> '' AND
                `rooms`.`Visible` = 1 AND
                `reservation_rooms`.`RoomID` IS NULL
            GROUP BY 
                `rooms`.`Beds`
            ORDER BY 
                `rooms`.`Beds` ASC

SELECT
				MIN(`rooms`.`Price`) AS `Price`,
				MIN(`rooms`.`PromoPrice`) AS `PromoPrice`
			FROM
			    `rooms`
			    LEFT OUTER JOIN `reservation_rooms` ON 
					`reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
			    `reservation_rooms`.`RoomID` IS NULL AND
    			`rooms`.`Price` > 0 AND
			    `rooms`.`AccommodationID` = 454 AND
			    `rooms`.`ProgramID` = 1594 AND
			    `rooms`.`Language` = 'bg' AND
			    `rooms`.`Visible` = 1
			LIMIT 1

SELECT
				`rooms`.`ID`,
				`rooms`.`Beds`,
				`rooms`.`Title`,
				`rooms`.`Gallery`,
				`rooms`.`UploadID`,
				`rooms`.`Price`,
				`rooms`.`PromoPrice`,
				`reservation_rooms`.`RoomID` AS `ResRoomID`
			FROM
				`rooms`
				LEFT OUTER JOIN `reservation_rooms` ON `reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
				-- `reservation_rooms`.`RoomID` IS NULL AND
				(`reservation_rooms`.`RoomID` IS NULL OR `rooms`.`Price` = 0) AND
				`AccommodationID` = 454 AND
				`ProgramID` = 1594 AND
				`Language` = 'bg' AND
				`Visible` = 1
			GROUP BY
				`rooms`.`Title`,
				`rooms`.`Beds`,
				`rooms`.`Price`
			ORDER BY
				`Beds` ASC,
				`Price` ASC

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:18:07] /rapsody/www/bg/ajax/basket/qty.html?_=1770121095101 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 14:18:09] /rapsody/www/bg/ajax/reservations/accommodation/oid_176/pid_1594/t_1770121087.html?_=1770121097483 108.61.209.243

set names utf8

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:18:13] /rapsody/www/bg/studentskaekskurzija.html 108.61.209.243

set names utf8

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

SELECT
                `TopOffers`.*,
                `SubOffers`.`ID` AS `SubOffers`
	        FROM
	        	`offers` AS `TopOffers`
                LEFT JOIN `offers` AS `SubOffers` ON
                    `SubOffers`.`ParentID` = `TopOffers`.`ID` AND
                    `SubOffers`.`Language` = `TopOffers`.`Language`
	    	WHERE
                `TopOffers`.`Language` = 'bg' AND
                `TopOffers`.`URLLabel` = 'studentskaekskurzija'
         AND `TopOffers`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LFrom','LUntil','LBookNow','LPriceFrom','LGallery','LProgram','LReadMore','LPrices','LAccommodation','LAdditionalExcursions','LFAQ','LDays','LPrice','LDeposit') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `programs`.*
            FROM
                `programs`
                INNER JOIN `offers` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
            WHERE
                `programs`.`OfferID` = 176 AND
                `programs`.`Language` = 'bg' AND
                `programs`.`EndTo` >= CURDATE()
         AND `programs`.`Visible` = 1 GROUP BY `programs`.`ID` ORDER BY `programs`.`StartFrom` ASC

SELECT
				`rooms`.`ID`
			FROM
				`rooms`
				INNER JOIN `accommodation` ON 
					`rooms`.`AccommodationID` = `accommodation`.`ID`
                INNER JOIN `offers` ON
                    `offers`.`ID` = `accommodation`.`OfferID` AND
                    `offers`.`Language` = `accommodation`.`Language`
                INNER JOIN `programs` ON
                    `rooms`.`ProgramID` = `programs`.`ID` AND
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
				LEFT JOIN `reservation_rooms` ON `reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
				`rooms`.`ProgramID` = 1594 AND
				`accommodation`.`Visible` = 1 AND
				`rooms`.`Visible` = 1 AND
				`reservation_rooms`.`RoomID` IS NULL
			LIMIT 1

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

SELECT
				`rooms`.`Price`
			FROM
				`rooms`
				INNER JOIN `accommodation` ON 
					`rooms`.`AccommodationID` = `accommodation`.`ID`
				INNER JOIN `programs` ON 
					`rooms`.`ProgramID` = `programs`.`ID`
				LEFT JOIN `reservation_rooms` ON 
					`reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
				`programs`.`StartFrom` > CURDATE() AND
				`rooms`.`ProgramID` = 1594 AND
				`accommodation`.`Visible` = 1 AND
				`rooms`.`Visible` = 1 AND
				`reservation_rooms`.`RoomID` IS NULL
			LIMIT 1

SELECT
                *
            FROM
                `programs`
            WHERE
                `Language` = 'bg' AND
                `ID` = 1594
         AND `Visible` = 1 LIMIT 1

SELECT
                    `accommodation`.*,
                    `programs`.`PromoDate`,
                    MIN(`rooms`.`Price`) AS `Price`,
                    MIN(`rooms`.`PromoPrice`) AS `PromoPrice`
                FROM
                    `accommodation`
                    INNER JOIN `offers` ON
                        `accommodation`.`OfferID` = `offers`.`ID` AND
                        `offers`.`Language` = `accommodation`.`Language`
                    INNER JOIN `rooms` ON
                        `rooms`.`AccommodationID` = `accommodation`.`ID` AND
                        `rooms`.`Language` = `accommodation`.`Language` AND
                        `rooms`.`ProgramID` = 1594
                    INNER JOIN `programs` ON
                        `rooms`.`ProgramID` = `programs`.`ID` AND
                        `programs`.`Language` = `accommodation`.`Language`
                WHERE
                    `accommodation`.`OfferID` = 176 AND
                    `accommodation`.`Language` = 'bg'
             AND 
                `accommodation`.`Visible` = 1 AND 
                `offers`.`Visible` = 1 AND
                `rooms`.`Visible` = 1
            
            GROUP BY `accommodation`.`ID`
            ORDER BY `accommodation`.`PostDate` ASC

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

SELECT DISTINCT
                `rooms`.`Beds`,
                COALESCE(NULLIF(`rooms`.`Label`, ''), `rooms`.`Title`) AS `RoomLabel`
            FROM
                `accommodation`
                INNER JOIN `programs` ON `programs`.`OfferID` = `accommodation`.`OfferID`
                INNER JOIN `offers` ON `offers`.`ID` = `accommodation`.`OfferID`
                INNER JOIN `rooms` ON
                    `rooms`.`AccommodationID` = `accommodation`.`ID` AND
                    `rooms`.`ProgramID` = `programs`.`ID`
                LEFT OUTER JOIN `reservation_rooms` ON `reservation_rooms`.`RoomID` = `rooms`.`ID`
            WHERE
                `programs`.`ID` = 1594 AND
                `accommodation`.`Visible` = 1 AND
                `programs`.`Visible` = 1 AND
                `offers`.`Visible` = 1 AND
                `rooms`.`Gallery` <> '' AND
                `rooms`.`Visible` = 1 AND
                `reservation_rooms`.`RoomID` IS NULL
            GROUP BY 
                `rooms`.`Beds`
            ORDER BY 
                `rooms`.`Beds` ASC

SELECT
				MIN(`rooms`.`Price`) AS `Price`,
				MIN(`rooms`.`PromoPrice`) AS `PromoPrice`
			FROM
			    `rooms`
			    LEFT OUTER JOIN `reservation_rooms` ON 
					`reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
			    `reservation_rooms`.`RoomID` IS NULL AND
    			`rooms`.`Price` > 0 AND
			    `rooms`.`AccommodationID` = 454 AND
			    `rooms`.`ProgramID` = 1594 AND
			    `rooms`.`Language` = 'bg' AND
			    `rooms`.`Visible` = 1
			LIMIT 1

SELECT
				`rooms`.`ID`,
				`rooms`.`Beds`,
				`rooms`.`Title`,
				`rooms`.`Gallery`,
				`rooms`.`UploadID`,
				`rooms`.`Price`,
				`rooms`.`PromoPrice`,
				`reservation_rooms`.`RoomID` AS `ResRoomID`
			FROM
				`rooms`
				LEFT OUTER JOIN `reservation_rooms` ON `reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
				-- `reservation_rooms`.`RoomID` IS NULL AND
				(`reservation_rooms`.`RoomID` IS NULL OR `rooms`.`Price` = 0) AND
				`AccommodationID` = 454 AND
				`ProgramID` = 1594 AND
				`Language` = 'bg' AND
				`Visible` = 1
			GROUP BY
				`rooms`.`Title`,
				`rooms`.`Beds`,
				`rooms`.`Price`
			ORDER BY
				`Beds` ASC,
				`Price` ASC

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:18:19] /rapsody/www/bg/studentskaekskurzija.html 108.61.209.243

set names utf8

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

SELECT
                `TopOffers`.*,
                `SubOffers`.`ID` AS `SubOffers`
	        FROM
	        	`offers` AS `TopOffers`
                LEFT JOIN `offers` AS `SubOffers` ON
                    `SubOffers`.`ParentID` = `TopOffers`.`ID` AND
                    `SubOffers`.`Language` = `TopOffers`.`Language`
	    	WHERE
                `TopOffers`.`Language` = 'bg' AND
                `TopOffers`.`URLLabel` = 'studentskaekskurzija'
         AND `TopOffers`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LFrom','LUntil','LBookNow','LPriceFrom','LGallery','LProgram','LReadMore','LPrices','LAccommodation','LAdditionalExcursions','LFAQ','LDays','LPrice','LDeposit') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `programs`.*
            FROM
                `programs`
                INNER JOIN `offers` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
            WHERE
                `programs`.`OfferID` = 176 AND
                `programs`.`Language` = 'bg' AND
                `programs`.`EndTo` >= CURDATE()
         AND `programs`.`Visible` = 1 GROUP BY `programs`.`ID` ORDER BY `programs`.`StartFrom` ASC

SELECT
				`rooms`.`ID`
			FROM
				`rooms`
				INNER JOIN `accommodation` ON 
					`rooms`.`AccommodationID` = `accommodation`.`ID`
                INNER JOIN `offers` ON
                    `offers`.`ID` = `accommodation`.`OfferID` AND
                    `offers`.`Language` = `accommodation`.`Language`
                INNER JOIN `programs` ON
                    `rooms`.`ProgramID` = `programs`.`ID` AND
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
				LEFT JOIN `reservation_rooms` ON `reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
				`rooms`.`ProgramID` = 1594 AND
				`accommodation`.`Visible` = 1 AND
				`rooms`.`Visible` = 1 AND
				`reservation_rooms`.`RoomID` IS NULL
			LIMIT 1

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

SELECT
				`rooms`.`Price`
			FROM
				`rooms`
				INNER JOIN `accommodation` ON 
					`rooms`.`AccommodationID` = `accommodation`.`ID`
				INNER JOIN `programs` ON 
					`rooms`.`ProgramID` = `programs`.`ID`
				LEFT JOIN `reservation_rooms` ON 
					`reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
				`programs`.`StartFrom` > CURDATE() AND
				`rooms`.`ProgramID` = 1594 AND
				`accommodation`.`Visible` = 1 AND
				`rooms`.`Visible` = 1 AND
				`reservation_rooms`.`RoomID` IS NULL
			LIMIT 1

SELECT
                *
            FROM
                `programs`
            WHERE
                `Language` = 'bg' AND
                `ID` = 1594
         AND `Visible` = 1 LIMIT 1

SELECT
                    `accommodation`.*,
                    `programs`.`PromoDate`,
                    MIN(`rooms`.`Price`) AS `Price`,
                    MIN(`rooms`.`PromoPrice`) AS `PromoPrice`
                FROM
                    `accommodation`
                    INNER JOIN `offers` ON
                        `accommodation`.`OfferID` = `offers`.`ID` AND
                        `offers`.`Language` = `accommodation`.`Language`
                    INNER JOIN `rooms` ON
                        `rooms`.`AccommodationID` = `accommodation`.`ID` AND
                        `rooms`.`Language` = `accommodation`.`Language` AND
                        `rooms`.`ProgramID` = 1594
                    INNER JOIN `programs` ON
                        `rooms`.`ProgramID` = `programs`.`ID` AND
                        `programs`.`Language` = `accommodation`.`Language`
                WHERE
                    `accommodation`.`OfferID` = 176 AND
                    `accommodation`.`Language` = 'bg'
             AND 
                `accommodation`.`Visible` = 1 AND 
                `offers`.`Visible` = 1 AND
                `rooms`.`Visible` = 1
            
            GROUP BY `accommodation`.`ID`
            ORDER BY `accommodation`.`PostDate` ASC

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

SELECT DISTINCT
                `rooms`.`Beds`,
                COALESCE(NULLIF(`rooms`.`Label`, ''), `rooms`.`Title`) AS `RoomLabel`
            FROM
                `accommodation`
                INNER JOIN `programs` ON `programs`.`OfferID` = `accommodation`.`OfferID`
                INNER JOIN `offers` ON `offers`.`ID` = `accommodation`.`OfferID`
                INNER JOIN `rooms` ON
                    `rooms`.`AccommodationID` = `accommodation`.`ID` AND
                    `rooms`.`ProgramID` = `programs`.`ID`
                LEFT OUTER JOIN `reservation_rooms` ON `reservation_rooms`.`RoomID` = `rooms`.`ID`
            WHERE
                `programs`.`ID` = 1594 AND
                `accommodation`.`Visible` = 1 AND
                `programs`.`Visible` = 1 AND
                `offers`.`Visible` = 1 AND
                `rooms`.`Gallery` <> '' AND
                `rooms`.`Visible` = 1 AND
                `reservation_rooms`.`RoomID` IS NULL
            GROUP BY 
                `rooms`.`Beds`
            ORDER BY 
                `rooms`.`Beds` ASC

SELECT
				MIN(`rooms`.`Price`) AS `Price`,
				MIN(`rooms`.`PromoPrice`) AS `PromoPrice`
			FROM
			    `rooms`
			    LEFT OUTER JOIN `reservation_rooms` ON 
					`reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
			    `reservation_rooms`.`RoomID` IS NULL AND
    			`rooms`.`Price` > 0 AND
			    `rooms`.`AccommodationID` = 454 AND
			    `rooms`.`ProgramID` = 1594 AND
			    `rooms`.`Language` = 'bg' AND
			    `rooms`.`Visible` = 1
			LIMIT 1

SELECT
				`rooms`.`ID`,
				`rooms`.`Beds`,
				`rooms`.`Title`,
				`rooms`.`Gallery`,
				`rooms`.`UploadID`,
				`rooms`.`Price`,
				`rooms`.`PromoPrice`,
				`reservation_rooms`.`RoomID` AS `ResRoomID`
			FROM
				`rooms`
				LEFT OUTER JOIN `reservation_rooms` ON `reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
				-- `reservation_rooms`.`RoomID` IS NULL AND
				(`reservation_rooms`.`RoomID` IS NULL OR `rooms`.`Price` = 0) AND
				`AccommodationID` = 454 AND
				`ProgramID` = 1594 AND
				`Language` = 'bg' AND
				`Visible` = 1
			GROUP BY
				`rooms`.`Title`,
				`rooms`.`Beds`,
				`rooms`.`Price`
			ORDER BY
				`Beds` ASC,
				`Price` ASC

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:18:21] /rapsody/www/bg/ajax/basket/qty.html?_=1770121108256 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 14:18:21] /rapsody/www/bg/ajax/reservations/accommodation/oid_176/pid_1594/t_1770121099.html?_=1770121108661 108.61.209.243

set names utf8

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:18:37] /rapsody/www/bg/studentskaekskurzija.html 108.61.209.243

set names utf8

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

SELECT
                `TopOffers`.*,
                `SubOffers`.`ID` AS `SubOffers`
	        FROM
	        	`offers` AS `TopOffers`
                LEFT JOIN `offers` AS `SubOffers` ON
                    `SubOffers`.`ParentID` = `TopOffers`.`ID` AND
                    `SubOffers`.`Language` = `TopOffers`.`Language`
	    	WHERE
                `TopOffers`.`Language` = 'bg' AND
                `TopOffers`.`URLLabel` = 'studentskaekskurzija'
         AND `TopOffers`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LFrom','LUntil','LBookNow','LPriceFrom','LGallery','LProgram','LReadMore','LPrices','LAccommodation','LAdditionalExcursions','LFAQ','LDays','LPrice','LDeposit') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `programs`.*
            FROM
                `programs`
                INNER JOIN `offers` ON
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
            WHERE
                `programs`.`OfferID` = 176 AND
                `programs`.`Language` = 'bg' AND
                `programs`.`EndTo` >= CURDATE()
         AND `programs`.`Visible` = 1 GROUP BY `programs`.`ID` ORDER BY `programs`.`StartFrom` ASC

SELECT
				`rooms`.`ID`
			FROM
				`rooms`
				INNER JOIN `accommodation` ON 
					`rooms`.`AccommodationID` = `accommodation`.`ID`
                INNER JOIN `offers` ON
                    `offers`.`ID` = `accommodation`.`OfferID` AND
                    `offers`.`Language` = `accommodation`.`Language`
                INNER JOIN `programs` ON
                    `rooms`.`ProgramID` = `programs`.`ID` AND
                    `offers`.`ID` = `programs`.`OfferID` AND
                    `offers`.`Language` = `programs`.`Language`
				LEFT JOIN `reservation_rooms` ON `reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
				`rooms`.`ProgramID` = 1594 AND
				`accommodation`.`Visible` = 1 AND
				`rooms`.`Visible` = 1 AND
				`reservation_rooms`.`RoomID` IS NULL
			LIMIT 1

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

SELECT
				`rooms`.`Price`
			FROM
				`rooms`
				INNER JOIN `accommodation` ON 
					`rooms`.`AccommodationID` = `accommodation`.`ID`
				INNER JOIN `programs` ON 
					`rooms`.`ProgramID` = `programs`.`ID`
				LEFT JOIN `reservation_rooms` ON 
					`reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
				`programs`.`StartFrom` > CURDATE() AND
				`rooms`.`ProgramID` = 1594 AND
				`accommodation`.`Visible` = 1 AND
				`rooms`.`Visible` = 1 AND
				`reservation_rooms`.`RoomID` IS NULL
			LIMIT 1

SELECT
                *
            FROM
                `programs`
            WHERE
                `Language` = 'bg' AND
                `ID` = 1594
         AND `Visible` = 1 LIMIT 1

SELECT
                    `accommodation`.*,
                    `programs`.`PromoDate`,
                    MIN(`rooms`.`Price`) AS `Price`,
                    MIN(`rooms`.`PromoPrice`) AS `PromoPrice`
                FROM
                    `accommodation`
                    INNER JOIN `offers` ON
                        `accommodation`.`OfferID` = `offers`.`ID` AND
                        `offers`.`Language` = `accommodation`.`Language`
                    INNER JOIN `rooms` ON
                        `rooms`.`AccommodationID` = `accommodation`.`ID` AND
                        `rooms`.`Language` = `accommodation`.`Language` AND
                        `rooms`.`ProgramID` = 1594
                    INNER JOIN `programs` ON
                        `rooms`.`ProgramID` = `programs`.`ID` AND
                        `programs`.`Language` = `accommodation`.`Language`
                WHERE
                    `accommodation`.`OfferID` = 176 AND
                    `accommodation`.`Language` = 'bg'
             AND 
                `accommodation`.`Visible` = 1 AND 
                `offers`.`Visible` = 1 AND
                `rooms`.`Visible` = 1
            
            GROUP BY `accommodation`.`ID`
            ORDER BY `accommodation`.`PostDate` ASC

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

SELECT DISTINCT
                `rooms`.`Beds`,
                COALESCE(NULLIF(`rooms`.`Label`, ''), `rooms`.`Title`) AS `RoomLabel`
            FROM
                `accommodation`
                INNER JOIN `programs` ON `programs`.`OfferID` = `accommodation`.`OfferID`
                INNER JOIN `offers` ON `offers`.`ID` = `accommodation`.`OfferID`
                INNER JOIN `rooms` ON
                    `rooms`.`AccommodationID` = `accommodation`.`ID` AND
                    `rooms`.`ProgramID` = `programs`.`ID`
                LEFT OUTER JOIN `reservation_rooms` ON `reservation_rooms`.`RoomID` = `rooms`.`ID`
            WHERE
                `programs`.`ID` = 1594 AND
                `accommodation`.`Visible` = 1 AND
                `programs`.`Visible` = 1 AND
                `offers`.`Visible` = 1 AND
                `rooms`.`Gallery` <> '' AND
                `rooms`.`Visible` = 1 AND
                `reservation_rooms`.`RoomID` IS NULL
            GROUP BY 
                `rooms`.`Beds`
            ORDER BY 
                `rooms`.`Beds` ASC

SELECT
				MIN(`rooms`.`Price`) AS `Price`,
				MIN(`rooms`.`PromoPrice`) AS `PromoPrice`
			FROM
			    `rooms`
			    LEFT OUTER JOIN `reservation_rooms` ON 
					`reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
			    `reservation_rooms`.`RoomID` IS NULL AND
    			`rooms`.`Price` > 0 AND
			    `rooms`.`AccommodationID` = 454 AND
			    `rooms`.`ProgramID` = 1594 AND
			    `rooms`.`Language` = 'bg' AND
			    `rooms`.`Visible` = 1
			LIMIT 1

SELECT
				`rooms`.`ID`,
				`rooms`.`Beds`,
				`rooms`.`Title`,
				`rooms`.`Gallery`,
				`rooms`.`UploadID`,
				`rooms`.`Price`,
				`rooms`.`PromoPrice`,
				`reservation_rooms`.`RoomID` AS `ResRoomID`
			FROM
				`rooms`
				LEFT OUTER JOIN `reservation_rooms` ON `reservation_rooms`.`RoomID` = `rooms`.`ID`
			WHERE
				-- `reservation_rooms`.`RoomID` IS NULL AND
				(`reservation_rooms`.`RoomID` IS NULL OR `rooms`.`Price` = 0) AND
				`AccommodationID` = 454 AND
				`ProgramID` = 1594 AND
				`Language` = 'bg' AND
				`Visible` = 1
			GROUP BY
				`rooms`.`Title`,
				`rooms`.`Beds`,
				`rooms`.`Price`
			ORDER BY
				`Beds` ASC,
				`Price` ASC

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

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
# [03-Feb-2026 14:18:38] /rapsody/www/bg/ajax/basket/qty.html?_=1770121125452 108.61.209.243

set names utf8

SELECT
                `Qty`
            FROM
                `basket`
            WHERE
                `ClientID` = '75bf4d060e0b0324887d347254fc4f9dfdd3f3fb5c4cc7eafc8490dfebd97a9a'
            LIMIT 1
# [03-Feb-2026 14:18:43] /rapsody/www/bg/ajax/reservations/accommodation/oid_176/pid_1594/t_1770121117.html?_=1770121130760 108.61.209.243

set names utf8

SELECT
                `pages`.`ID`,
                `pages`.`ParentID`,
                `pages`.`MenuLabel`,
                `pages`.`URLLabel`,
                `pages`.`Module`,
                `pages`.`ExternalURL`,
                `pages`.`Class`,
                `SubPages`.`ID` AS `SubPageID`
            FROM
                `pages`
                LEFT JOIN `pages` AS `SubPages` ON
                    `pages`.`ID` = `SubPages`.`ParentID` AND
                    `pages`.`Language` = `SubPages`.`Language` AND
                    `SubPages`.`Visible` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`MenuLabel` <> '' AND
                `pages`.`Visible` = 1
             GROUP BY
                `pages`.`ID`
             ORDER BY
                `pages`.`ParentID` ASC,
                `pages`.`PostDate` ASC

SELECT
                    `offers`.`ID` + 1000 AS `ID`,
                    `offers`.`TripType`,
                    `offers`.`MenuLabel`,
                    `offers`.`URLLabel`,
                    `calendar`.`URLLabel` AS `CalendarURLLabel`
                FROM
                    `offers`
                    INNER JOIN `programs` ON
                        `offers`.`ID` = `programs`.`OfferID` AND
                        `offers`.`Language` = `programs`.`Language` AND
                        `programs`.`Visible` = 1
                    LEFT JOIN `calendar` ON
                        `offers`.`ID` = `calendar`.`OfferID` AND
                        `offers`.`Language` = `calendar`.`Language` AND
                        `calendar`.`Visible` = 1
                WHERE
                    `offers`.`Language` = 'bg' AND
                    `offers`.`MenuLabel` <> '' AND
                    `programs`.`EndTo` >= CURDATE() AND
                    `offers`.`Visible` = 1
                GROUP BY
                    `offers`.`ID`
                ORDER BY
                    `offers`.`TripType` ASC,
                    `calendar`.`URLLabel` DESC,
                    `offers`.`PostDate` ASC

SELECT
                `FooterLabel`,
                `URLLabel`
            FROM
                `pages`
            WHERE
                `Language` = 'bg' AND
                `FooterLabel` <> ''
         AND `Visible` = 1 ORDER BY `PostDate` ASC
