# [28-Aug-2024 06:47:59] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 06:49:36] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 06:50:05] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 06:50:58] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 06:51:01] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 06:51:06] /ski/www/bg/ajax/requests/1001.html?_=1724817067336 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 10:53:25] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:01:05] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Visible` = 1
            ORDER BY
                `meta`.`PostDate` ASC
# [28-Aug-2024 11:01:41] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Visible` = 1
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:02:16] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Visible` = 1
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:05:34] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Visible` = 1
            GROUP BY
                `meta`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:06:40] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                (`MenuLabel` <> '' OR `FooterLabel` <> '') AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Visible` = 1
            GROUP BY
                `meta`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:06:41] /ski/www/bg/всичко-за-вал-торенс.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'всичко-за-вал-торенс'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'всичко-за-вал-торенс'
         AND `meta`.`Visible` = 1 LIMIT 1
# [28-Aug-2024 11:11:05] /ski/www/sKiEsnZ9sp2/bg/ajax/users/login.html?_=1724832665598 108.61.209.243

set names utf8

SELECT
                `ID`,
                CRC32(`UserKey`) AS `User`,
                RIGHT(`UserKey`, 1) AS `Access`
            FROM
                `users`
            WHERE
                `UserKey` LIKE 'NzkzYjAzNGI1NTAwNmYyNjE4ZTE0YTgxNTRhMjY0MTIYjFhNTYxNzFmZThiOWY0YjI0NWU5MzU5Mzg0NTk5NTc%'
            LIMIT 1
# [28-Aug-2024 11:11:05] /ski/www/sKiEsnZ9sp2/bg/pages/list.html 108.61.209.243

set names utf8

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

SELECT
                `meta`.`ID`,
                `meta`.`Language`,
                `meta`.`Module`,
                `pages`.`Action`,
                `meta`.`PostDate`,
                `meta`.`LastUpdate`,
                IF(`pages`.`MenuLabel` <> '', `pages`.`MenuLabel`, `pages`.`FooterLabel`) AS `Label`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`,
                `meta`.`Visible`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages')
         ORDER BY `meta`.`PostDate` ASC
# [28-Aug-2024 11:11:22] /ski/www/sKiEsnZ9sp2/bg/pages/list.html 108.61.209.243

set names utf8

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

SELECT
                `meta`.`ID`,
                `meta`.`Language`,
                `meta`.`Module`,
                `pages`.`Action`,
                `meta`.`PostDate`,
                `meta`.`LastUpdate`,
                IF(`pages`.`MenuLabel` <> '', `pages`.`MenuLabel`, `pages`.`FooterLabel`) AS `Label`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`,
                `meta`.`Visible`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages')
         ORDER BY `meta`.`PostDate` ASC
# [28-Aug-2024 11:14:47] /ski/www/sKiEsnZ9sp2/bg/ajax/users/logout.html?_=1724832887426 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 1 AND
                                CRC32(`UserKey`) = 1449405464 AND
                                RIGHT(`UserKey`, 1) = 2
                            LIMIT 1
# [28-Aug-2024 11:14:47] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` AS
# [28-Aug-2024 11:15:06] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:17:54] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:19:05] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:21:08] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:21:58] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:23:33] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:24:12] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:24:25] /ski/www/bg/блог/всичко-за-вал-торенс.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
	    	WHERE
	    		`meta`.`URLLabel` = 'всичко-за-вал-торенс'
         AND `meta`.`Visible` = 1
            GROUP BY
                `articles`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'articles' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'всичко-за-вал-торенс' AND
                P1.`Visible` = 1

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 5 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:27:22] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:27:26] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:27:29] /ski/www/bg/ajax/requests/1001.html?_=1724833649264 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:31:18] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:31:19] /ski/www/bg/ajax/requests/1001.html?_=1724833879518 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:31:36] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:31:37] /ski/www/bg/ajax/requests/1001.html?_=1724833897089 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:32:09] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:32:10] /ski/www/bg/ajax/requests/1001.html?_=1724833929823 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:34:27] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:34:29] /ski/www/bg/ajax/requests/1001.html?_=1724834068885 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:35:38] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:35:40] /ski/www/bg/ajax/requests/1001.html?_=1724834139796 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:35:49] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:35:51] /ski/www/bg/ajax/requests/1001.html?_=1724834150863 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:36:04] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:36:05] /ski/www/bg/ajax/requests/1001.html?_=1724834165470 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:37:14] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:37:14] /ski/www/bg/ajax/requests/1001.html?_=1724834234676 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:37:49] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:37:51] /ski/www/bg/ajax/requests/1001.html?_=1724834270884 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:38:09] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:38:10] /ski/www/bg/ajax/requests/1001.html?_=1724834290415 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:39:19] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:39:20] /ski/www/bg/ajax/requests/1001.html?_=1724834360021 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:42:14] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:42:59] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:43:01] /ski/www/bg/ajax/requests/1001.html?_=1724834580819 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:43:13] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:43:14] /ski/www/bg/ajax/requests/1001.html?_=1724834594573 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:43:22] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:43:23] /ski/www/bg/ajax/requests/1001.html?_=1724834603201 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:44:36] /ski/www/ 108.61.209.243

set names utf8

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

SELECT
                `ID`,
                `Country`,
                `Resort`
            FROM
                `destinations`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
            ORDER BY `PostDate` ASC

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `UploadID`,
                `Image`,
                `FullName`,
                `Review`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg' AND
                `Image` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'отзиви'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                `meta`.`URLLabel`,
                `articles`.`Title`,
                `articles`.`Annotation`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'articles' AND
	    		`meta`.`URLLabel` = 'блог'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

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

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

SELECT
                *
            FROM
                `partners`
            WHERE
                `Language` = 'bg'

         AND `Visible` = 1
            ORDER BY
                `PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:45:55] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:45:58] /ski/www/bg/ajax/requests/1001.html?_=1724834758290 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:46:16] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:46:18] /ski/www/bg/ajax/requests/1001.html?_=1724834778283 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:46:25] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:46:27] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:46:28] /ski/www/bg/ajax/requests/1001.html?_=1724834788082 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:47:13] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:47:15] /ski/www/bg/ajax/requests/1001.html?_=1724834835442 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:48:38] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:48:39] /ski/www/bg/ajax/requests/1001.html?_=1724834919353 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:50:00] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:50:01] /ski/www/bg/ajax/requests/1001.html?_=1724835001197 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:50:12] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

SELECT
                `meta`.`UploadID`,
                `pages`.`Images`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `pages`.`Images` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'offers' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `offers`.`Gallery`,
                `meta`.`URLLabel`,
                `offers`.`DateFrom`,
                `offers`.`DateTo`,
                `offers`.`Beds`,
                `offers`.`Country`,
                `offers`.`Resort`,
                `offers`.`Annotation`
            FROM
                `offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
            WHERE
                `meta`.`Language` = 'bg'
         AND `meta`.`ID` != 1001 AND
                `meta`.`Visible` = 1 AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages') AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContacts','Domain','FacebookURL','LFacebook','InstagramURL','LInstagram','Phone','EMail','LHome','LHowOffer','InfoNewsletter','SubscribeURL','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:50:15] /ski/www/bg/ajax/requests/1001.html?_=1724835014731 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 1001
         AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
             LIMIT 1

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

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

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

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

SELECT
                `meta`.`URLLabel`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`ParentID` < 2 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'terms' AND
                `pages`.`Action` = 'privacy'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LIAgree') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [28-Aug-2024 11:50:36] /ski/www/bg/оферти/france-tighes.html 108.61.209.243

set names utf8

SELECT
                `meta`.`Module`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
	    		`meta`.`URLLabel` = 'оферти'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`meta`.`URLLabel` = 'france-tighes'
         AND
                `meta`.`Visible` = 1  AND
                (`offers`.`StartFrom` IS NULL OR `offers`.`StartFrom` <= CURDATE()) AND
                (`offers`.`EndTo` IS NULL OR `offers`.`EndTo` >= CURDATE())
            
            GROUP BY
                `offers`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'offers' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'оферти' AND
                P1.`Visible` = 1

