# [26-Mar-2024 14:02:46] /micromax/www/bg/index.html 108.61.209.243

set names utf8

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

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

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

SELECT `Annotation` FROM `pages` WHERE `Module` = 'products' AND
	`URLLabel` = 'продукти' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                `products`.*
            FROM
                `products`
                INNER JOIN `products` AS `children` ON
                    `products`.`ID` = `children`.`ParentID` AND
                    `products`.`Language` = `children`.`Language` AND
                    `products`.`Visible` = `children`.`Visible`
            WHERE
                `products`.`Language` = 'bg' AND
                `products`.`ParentID` = 0
         AND `products`.`Visible` = 1
            GROUP BY
                `products`.`ID`
            ORDER BY
                `products`.`PostDate` ASC

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

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

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

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LContactUsNow') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [26-Mar-2024 14:02:47] /micromax/www/bg/ajax/cookies.html?_=1711454567516 108.61.209.243

set names utf8

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

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