# [03-Jan-2026 09:05:39] /ski/www/bg/val-thorens.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` = 'val-thorens'
         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` = 'val-thorens'
         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` = 'val-thorens' AND
                P1.`Visible` = 1

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
                `pages`.`Language` = 'bg' AND
                `meta`.`ParentID` = 1 AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '')
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `ID`
            FROM
                `meta`
            WHERE
                `Language` = 'bg' AND
                `Module` = 'articles'
         AND
                `meta`.`Visible` = 1

SELECT
                `ID`
            FROM
                `meta`
            WHERE
                `ID` >= 1000 AND
                `Language` = 'bg' AND
                `Module` = 'offers'
         AND
                `meta`.`Visible` = 1

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
