# [12-Mar-2024 14:11:43] /micromax/www/ 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
# [12-Mar-2024 14:11:54] /micromax/www/bg/продукти/уплътнителни-листи-гума-паронит-силикон-стъклотефлон.html 108.61.209.243

set names utf8

SELECT
                `Module`
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'продукти' AND
                `Action` = 'index'
                -- `ParentID` = 1 AND // TODO: FULL TEST
                -- (`Action` IS NULL OR `Action` = '')
         AND `Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`products`
	    	WHERE
                `ParentID` = 0 AND
                `Language` = 'bg' AND
	    		`URLLabel` = 'уплътнителни-листи-гума-паронит-силикон-стъклотефлон'
         AND `Visible` = 1 LIMIT 1

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

SELECT `MenuLabel`, `FooterLabel`, `Title` FROM `pages` WHERE `ParentID` = 1 AND
	`Module` = 'products' AND
	`URLLabel` = 'продукти' AND
	`Action` = 'index' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

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

SELECT `MenuLabel` FROM `pages` WHERE `ID` = 1 AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `PostDate`,
                `UploadID`,
                `Image`,
                `URLLabel`,
                `Title`,
                `Annotation`,
                `Visible`
            FROM
                `products`
            WHERE
                `Language` = 'bg' AND
                `ParentID` = 11

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

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'bg'
         AND P1.`Visible` = 1 LIMIT 1

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'en'
         AND P1.`Visible` = 1 LIMIT 1

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
# [12-Mar-2024 14:12:01] /micromax/www/bg/продукти/уплътнителни-листи-гума-паронит-силикон-стъклотефлон/силиконови-листи.html 108.61.209.243

set names utf8

SELECT
                `Module`
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'продукти' AND
                `Action` = 'index'
                -- `ParentID` = 1 AND // TODO: FULL TEST
                -- (`Action` IS NULL OR `Action` = '')
         AND `Visible` = 1 LIMIT 1

SELECT
                `products`.*,
                `Parent`.`Title` AS `ParentTitle`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            FROM
                `products`
                INNER JOIN `products` AS `Parent` ON
                    `products`.`ParentID` = `Parent`.`ID` AND
                    `products`.`Language` = `Parent`.`Language` AND
                    `Parent`.`URLLabel` = 'уплътнителни-листи-гума-паронит-силикон-стъклотефлон'
            WHERE
                `products`.`Language` = 'bg' AND
                `products`.`URLLabel` = 'силиконови-листи'
         AND `products`.`Visible` = 1 LIMIT 1

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

SELECT `MenuLabel`, `FooterLabel`, `Title` FROM `pages` WHERE `ParentID` = 1 AND
	`Module` = 'products' AND
	`URLLabel` = 'продукти' AND
	`Action` = 'index' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'bg'
         AND P1.`Visible` = 1 LIMIT 1

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'en'
         AND P1.`Visible` = 1 LIMIT 1

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
# [12-Mar-2024 14:12:25] /micromax/www/bg/продукти/уплътнителни-листи-гума-паронит-силикон-стъклотефлон/техническа-гума.html 108.61.209.243

set names utf8

SELECT
                `Module`
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'продукти' AND
                `Action` = 'index'
                -- `ParentID` = 1 AND // TODO: FULL TEST
                -- (`Action` IS NULL OR `Action` = '')
         AND `Visible` = 1 LIMIT 1

SELECT
                `products`.*,
                `Parent`.`Title` AS `ParentTitle`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            FROM
                `products`
                INNER JOIN `products` AS `Parent` ON
                    `products`.`ParentID` = `Parent`.`ID` AND
                    `products`.`Language` = `Parent`.`Language` AND
                    `Parent`.`URLLabel` = 'уплътнителни-листи-гума-паронит-силикон-стъклотефлон'
            WHERE
                `products`.`Language` = 'bg' AND
                `products`.`URLLabel` = 'техническа-гума'
         AND `products`.`Visible` = 1 LIMIT 1

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

SELECT `MenuLabel`, `FooterLabel`, `Title` FROM `pages` WHERE `ParentID` = 1 AND
	`Module` = 'products' AND
	`URLLabel` = 'продукти' AND
	`Action` = 'index' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'bg'
         AND P1.`Visible` = 1 LIMIT 1

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'en'
         AND P1.`Visible` = 1 LIMIT 1

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
# [12-Mar-2024 14:12:54] /micromax/www/bg/продукти/технически-пружини.html 108.61.209.243

set names utf8

SELECT
                `Module`
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'продукти' AND
                `Action` = 'index'
                -- `ParentID` = 1 AND // TODO: FULL TEST
                -- (`Action` IS NULL OR `Action` = '')
         AND `Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`products`
	    	WHERE
                `ParentID` = 0 AND
                `Language` = 'bg' AND
	    		`URLLabel` = 'технически-пружини'
         AND `Visible` = 1 LIMIT 1

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

SELECT `MenuLabel`, `FooterLabel`, `Title` FROM `pages` WHERE `ParentID` = 1 AND
	`Module` = 'products' AND
	`URLLabel` = 'продукти' AND
	`Action` = 'index' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

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

SELECT `MenuLabel` FROM `pages` WHERE `ID` = 1 AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `PostDate`,
                `UploadID`,
                `Image`,
                `URLLabel`,
                `Title`,
                `Annotation`,
                `Visible`
            FROM
                `products`
            WHERE
                `Language` = 'bg' AND
                `ParentID` = 21

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

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'bg'
         AND P1.`Visible` = 1 LIMIT 1

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'en'
         AND P1.`Visible` = 1 LIMIT 1

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
# [12-Mar-2024 14:13:02] /micromax/www/bg/продукти/високотемпературни-изолации-и-уплътнения.html 108.61.209.243

set names utf8

SELECT
                `Module`
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'продукти' AND
                `Action` = 'index'
                -- `ParentID` = 1 AND // TODO: FULL TEST
                -- (`Action` IS NULL OR `Action` = '')
         AND `Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`products`
	    	WHERE
                `ParentID` = 0 AND
                `Language` = 'bg' AND
	    		`URLLabel` = 'високотемпературни-изолации-и-уплътнения'
         AND `Visible` = 1 LIMIT 1

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

SELECT `MenuLabel`, `FooterLabel`, `Title` FROM `pages` WHERE `ParentID` = 1 AND
	`Module` = 'products' AND
	`URLLabel` = 'продукти' AND
	`Action` = 'index' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

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

SELECT `MenuLabel` FROM `pages` WHERE `ID` = 1 AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `PostDate`,
                `UploadID`,
                `Image`,
                `URLLabel`,
                `Title`,
                `Annotation`,
                `Visible`
            FROM
                `products`
            WHERE
                `Language` = 'bg' AND
                `ParentID` = 13

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

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'bg'
         AND P1.`Visible` = 1 LIMIT 1

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'en'
         AND P1.`Visible` = 1 LIMIT 1

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
# [12-Mar-2024 14:13:11] /micromax/www/bg/продукти/екструдирани-силиконови-профили.html 108.61.209.243

set names utf8

SELECT
                `Module`
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'продукти' AND
                `Action` = 'index'
                -- `ParentID` = 1 AND // TODO: FULL TEST
                -- (`Action` IS NULL OR `Action` = '')
         AND `Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`products`
	    	WHERE
                `ParentID` = 0 AND
                `Language` = 'bg' AND
	    		`URLLabel` = 'екструдирани-силиконови-профили'
         AND `Visible` = 1 LIMIT 1

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

SELECT `MenuLabel`, `FooterLabel`, `Title` FROM `pages` WHERE `ParentID` = 1 AND
	`Module` = 'products' AND
	`URLLabel` = 'продукти' AND
	`Action` = 'index' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

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

SELECT `MenuLabel` FROM `pages` WHERE `ID` = 1 AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `PostDate`,
                `UploadID`,
                `Image`,
                `URLLabel`,
                `Title`,
                `Annotation`,
                `Visible`
            FROM
                `products`
            WHERE
                `Language` = 'bg' AND
                `ParentID` = 9

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

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'bg'
         AND P1.`Visible` = 1 LIMIT 1

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'en'
         AND P1.`Visible` = 1 LIMIT 1

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
# [12-Mar-2024 14:13:24] /micromax/www/bg/продукти/технически-инженерни-пластмаси.html 108.61.209.243

set names utf8

SELECT
                `Module`
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'продукти' AND
                `Action` = 'index'
                -- `ParentID` = 1 AND // TODO: FULL TEST
                -- (`Action` IS NULL OR `Action` = '')
         AND `Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`products`
	    	WHERE
                `ParentID` = 0 AND
                `Language` = 'bg' AND
	    		`URLLabel` = 'технически-инженерни-пластмаси'
         AND `Visible` = 1 LIMIT 1

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

SELECT `MenuLabel`, `FooterLabel`, `Title` FROM `pages` WHERE `ParentID` = 1 AND
	`Module` = 'products' AND
	`URLLabel` = 'продукти' AND
	`Action` = 'index' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

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

SELECT `MenuLabel` FROM `pages` WHERE `ID` = 1 AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                `ID`,
                `PostDate`,
                `UploadID`,
                `Image`,
                `URLLabel`,
                `Title`,
                `Annotation`,
                `Visible`
            FROM
                `products`
            WHERE
                `Language` = 'bg' AND
                `ParentID` = 10

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

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'bg'
         AND P1.`Visible` = 1 LIMIT 1

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'en'
         AND P1.`Visible` = 1 LIMIT 1

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
# [12-Mar-2024 14:13:30] /micromax/www/bg/продукти/prod.php?cat=12&subcat=4 108.61.209.243

set names utf8

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
# [12-Mar-2024 14:13:43] /micromax/www/bg/продукти/технически-инженерни-пластмаси/поликарбонат-органично-стъкло.html 108.61.209.243

set names utf8

SELECT
                `Module`
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'продукти' AND
                `Action` = 'index'
                -- `ParentID` = 1 AND // TODO: FULL TEST
                -- (`Action` IS NULL OR `Action` = '')
         AND `Visible` = 1 LIMIT 1

SELECT
                `products`.*,
                `Parent`.`Title` AS `ParentTitle`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            FROM
                `products`
                INNER JOIN `products` AS `Parent` ON
                    `products`.`ParentID` = `Parent`.`ID` AND
                    `products`.`Language` = `Parent`.`Language` AND
                    `Parent`.`URLLabel` = 'технически-инженерни-пластмаси'
            WHERE
                `products`.`Language` = 'bg' AND
                `products`.`URLLabel` = 'поликарбонат-органично-стъкло'
         AND `products`.`Visible` = 1 LIMIT 1

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

SELECT `MenuLabel`, `FooterLabel`, `Title` FROM `pages` WHERE `ParentID` = 1 AND
	`Module` = 'products' AND
	`URLLabel` = 'продукти' AND
	`Action` = 'index' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'bg'
         AND P1.`Visible` = 1 LIMIT 1

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'en'
         AND P1.`Visible` = 1 LIMIT 1

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
# [12-Mar-2024 14:13:49] /micromax/www/bg/продукти/prod.php?cat=12&subcat=6 108.61.209.243

set names utf8

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
# [12-Mar-2024 14:14:00] /micromax/www/bg/продукти/технически-инженерни-пластмаси/свойства-и-характеристики-на.html 108.61.209.243

set names utf8

SELECT
                `Module`
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'продукти' AND
                `Action` = 'index'
                -- `ParentID` = 1 AND // TODO: FULL TEST
                -- (`Action` IS NULL OR `Action` = '')
         AND `Visible` = 1 LIMIT 1

SELECT
                `products`.*,
                `Parent`.`Title` AS `ParentTitle`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            FROM
                `products`
                INNER JOIN `products` AS `Parent` ON
                    `products`.`ParentID` = `Parent`.`ID` AND
                    `products`.`Language` = `Parent`.`Language` AND
                    `Parent`.`URLLabel` = 'технически-инженерни-пластмаси'
            WHERE
                `products`.`Language` = 'bg' AND
                `products`.`URLLabel` = 'свойства-и-характеристики-на'
         AND `products`.`Visible` = 1 LIMIT 1

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

SELECT `MenuLabel`, `FooterLabel`, `Title` FROM `pages` WHERE `ParentID` = 1 AND
	`Module` = 'products' AND
	`URLLabel` = 'продукти' AND
	`Action` = 'index' AND
	`Language` = 'bg' AND
	`Visible` = 1 LIMIT 1

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'bg'
         AND P1.`Visible` = 1 LIMIT 1

SELECT
                P1.`URLLabel`
	        FROM
	        	`pages` P1
                INNER JOIN `pages` P2 ON
                    P1.`ID` = P2.`ID` AND
                    P2.`Language` = 'bg' AND
                    P2.`URLLabel` = 'продукти'
	    	WHERE
                P1.`Language` = 'en'
         AND P1.`Visible` = 1 LIMIT 1

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
