# [30-Nov-2024 06:42: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
                `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` = 'blog'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LViewMore') 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
# [30-Nov-2024 06:42:13] /ski/www/bg/ajax/terms/cookies.html?_=1732941733167 108.61.209.243

set names utf8

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` = 'cookies'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('TextCookies','LUnderstood') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [30-Nov-2024 06:42:19] /ski/www/bg/оферти/valfrejus.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` = 'valfrejus'
         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 ('BGN') 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` != 10012 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
                `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
# [30-Nov-2024 06:42:19] /ski/www/bg/ajax/terms/cookies.html?_=1732941739832 108.61.209.243

set names utf8

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` = 'cookies'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('TextCookies','LUnderstood') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [30-Nov-2024 06:42:21] /ski/www/bg/ajax/offers/gallery/10012.html?_=1732941741786 108.61.209.243

set names utf8

SELECT
                `meta`.`UploadID`,
                `offers`.`Gallery`
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`offers`.`ID` = 10012
         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
# [30-Nov-2024 06:45:28] /ski/www/bg/ajax/offers/gallery/10012.html?_=1732941928146 108.61.209.243

set names utf8

SELECT
                `meta`.`UploadID`,
                `offers`.`Gallery`
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`offers`.`ID` = 10012
         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
# [30-Nov-2024 06:45:31] /ski/www/bg/ajax/offers/gallery/10012.html?_=1732941931640 108.61.209.243

set names utf8

SELECT
                `meta`.`UploadID`,
                `offers`.`Gallery`
	        FROM
	        	`offers`
                INNER JOIN `meta` ON
                    `offers`.`ID` = `meta`.`ID` AND
                    `offers`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'offers'
	    	WHERE
	    		`offers`.`ID` = 10012
         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
# [30-Nov-2024 06:45:44] /ski/www/bg/ajax/requests/10012.html?_=1732941944328 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 10012
         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
# [30-Nov-2024 06:46:02] /ski/www/bg/оферти/valfrejus.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` = 'valfrejus'
         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 ('BGN') 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` != 10012 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
                `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
# [30-Nov-2024 06:46:02] /ski/www/bg/ajax/terms/cookies.html?_=1732941962728 108.61.209.243

set names utf8

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` = 'cookies'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('TextCookies','LUnderstood') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [30-Nov-2024 06:46:08] /ski/www/bg/оферти/livignoo.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` = 'livignoo'
         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 ('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` != 10011 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
                `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
# [30-Nov-2024 06:46:08] /ski/www/bg/ajax/terms/cookies.html?_=1732941968313 108.61.209.243

set names utf8

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` = 'cookies'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('TextCookies','LUnderstood') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [30-Nov-2024 06:46:09] /ski/www/bg/ajax/requests/10011.html?_=1732941969872 108.61.209.243

set names utf8

SELECT
                `DateFrom`,
                `DateTo`,
                `Country`,
                `Resort`
	        FROM
	        	`offers`
	    	WHERE
	    		`ID` = 10011
         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
# [30-Nov-2024 07:38:16] /ski/www/bg/ 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
                `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` = 'blog'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LViewMore') 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
# [30-Nov-2024 07:38:17] /ski/www/bg/ajax/terms/cookies.html?_=1732945097011 108.61.209.243

set names utf8

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` = 'cookies'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('TextCookies','LUnderstood') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [30-Nov-2024 07:38:23] /ski/www/bg/оферти/valfrejus.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` = 'valfrejus'
         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 ('BGN') 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` != 10012 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
                `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
# [30-Nov-2024 07:38:23] /ski/www/bg/ajax/terms/cookies.html?_=1732945103831 108.61.209.243

set names utf8

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` = 'cookies'
         AND `meta`.`Visible` = 1 LIMIT 1

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