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

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

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

SELECT
                `Content`,
                `Limit`
            FROM
                `blocks`
            WHERE
                `Language` = 'bg' AND
                `Module` = 'articles' AND
                `Action` = 'home'
         AND `Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `articles`.`Title`,
                `articles`.`Annotation`,
                `articles`.`Color`,
                `articles`.`Label`,
                `meta`.`Visible`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC
         LIMIT 0, 4

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

SELECT * FROM `instagram` WHERE `Language` = 'bg' AND `Visible` = 1 ORDER BY `PostDate` DESC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InstagramURL','LViewMore') 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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 09:27:44] /sterimar/www/bg/produkti/hipertonichni.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` = 'produkti'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title`,
                `products`.`Annotation`,
                `meta`.`Visible`
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
                INNER JOIN `product_groups` ON
                    `products`.`ID` = `product_groups`.`ProductID`
            WHERE
                `product_groups`.`GroupID` = 10002 AND
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

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

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 09:27:48] /sterimar/www/bg/produkti/izotonichni.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` = 'produkti'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title`,
                `products`.`Annotation`,
                `meta`.`Visible`
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
                INNER JOIN `product_groups` ON
                    `products`.`ID` = `product_groups`.`ProductID`
            WHERE
                `product_groups`.`GroupID` = 10001 AND
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

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

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 09:27:55] /sterimar/www/bg/blog/pochistvane-nosle-bebe.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` = 'blog'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
	    	WHERE
	    		`meta`.`URLLabel` = 'pochistvane-nosle-bebe'
         AND `meta`.`Visible` = 1
            GROUP BY
                `articles`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'articles' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'pochistvane-nosle-bebe' AND
                P1.`Visible` = 1

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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 09:28:22] /sterimar/www/ 108.61.209.243

set names utf8

SELECT
                `ID`,
                `UploadID`,
                `Images`,
                `Title`,
                `URL`
            FROM
                `slides`
            WHERE
                `Language` = 'bg' AND
                `Images` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

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
                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
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`) AND
                `pages`.`Language` = 'bg' AND
                `meta`.`Module` = 'products' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `Content`,
                `Limit`
            FROM
                `blocks`
            WHERE
                `Language` = 'bg' AND
                `Module` = 'articles' AND
                `Action` = 'home'
         AND `Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `articles`.`Title`,
                `articles`.`Annotation`,
                `articles`.`Color`,
                `articles`.`Label`,
                `meta`.`Visible`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC
         LIMIT 0, 4

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

SELECT * FROM `instagram` WHERE `Language` = 'bg' AND `Visible` = 1 ORDER BY `PostDate` DESC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InstagramURL','LViewMore') 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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 09:28:23] /sterimar/www/bg/produkti.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` = 'produkti'
         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` = 'products' AND
	    		`meta`.`URLLabel` = 'produkti'
         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` = 'products' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'produkti' AND
                P1.`Visible` = 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title`,
                `meta`.`Visible`
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

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

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 09:28:24] /sterimar/www/bg/produkti/sprei-za-higiena-50ml.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` = 'produkti'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `groups`.`ID`
            FROM
                `groups`
                INNER JOIN `meta` ON
                    `groups`.`ID` = `meta`.`ID` AND
                    `groups`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'groups'
            WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`URLLabel` = 'sprei-za-higiena-50ml'
         AND
                `meta`.`Visible` = 1
             LIMIT 1

SELECT
                *
	        FROM
	        	`products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
	    	WHERE
	    		`meta`.`URLLabel` = 'sprei-za-higiena-50ml'
         AND `meta`.`Visible` = 1
            GROUP BY
                `products`.`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` = 'products' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'sprei-za-higiena-50ml' AND
                P1.`Visible` = 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LPurpose','LPack','LBuyNow','LPurpose1','LPurpose2','LPurpose3','LPurpose4') 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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:12:54] /sterimar/www/bg/produkti/sprey-za-nosna-higiena-bebe-50ml.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` = 'produkti'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `groups`.`ID`
            FROM
                `groups`
                INNER JOIN `meta` ON
                    `groups`.`ID` = `meta`.`ID` AND
                    `groups`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'groups'
            WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`URLLabel` = 'sprey-za-nosna-higiena-bebe-50ml'
         AND
                `meta`.`Visible` = 1
             LIMIT 1

SELECT
                *
	        FROM
	        	`products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
	    	WHERE
	    		`meta`.`URLLabel` = 'sprey-za-nosna-higiena-bebe-50ml'
         AND `meta`.`Visible` = 1
            GROUP BY
                `products`.`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` = 'products' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'sprey-za-nosna-higiena-bebe-50ml' AND
                P1.`Visible` = 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LPurpose','LPack','LBuyNow','LPurpose1','LPurpose2','LPurpose3','LPurpose4') 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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:12:58] /sterimar/www/ 108.61.209.243

set names utf8

SELECT
                `ID`,
                `UploadID`,
                `Images`,
                `Title`,
                `URL`
            FROM
                `slides`
            WHERE
                `Language` = 'bg' AND
                `Images` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

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
                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
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`) AND
                `pages`.`Language` = 'bg' AND
                `meta`.`Module` = 'products' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `Content`,
                `Limit`
            FROM
                `blocks`
            WHERE
                `Language` = 'bg' AND
                `Module` = 'articles' AND
                `Action` = 'home'
         AND `Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `articles`.`Title`,
                `articles`.`Annotation`,
                `articles`.`Color`,
                `articles`.`Label`,
                `meta`.`Visible`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC
         LIMIT 0, 4

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

SELECT * FROM `instagram` WHERE `Language` = 'bg' AND `Visible` = 1 ORDER BY `PostDate` DESC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InstagramURL','LViewMore') 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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:16:41] /sterimar/www/bg/usloviya-na-sayta.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` = 'usloviya-na-sayta'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'terms' AND
                `pages`.`FooterLabel` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Visible` = 1
            ORDER BY
                `PostDate` ASC
# [11-Mar-2025 10:17:07] /sterimar/www/bg/usloviya-na-sayta.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` = 'usloviya-na-sayta'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'terms' AND
                `pages`.`FooterLabel` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Visible` = 1
            ORDER BY
                `PostDate` ASC
# [11-Mar-2025 10:20:03] /sterimar/www/bg/usloviya-na-sayta.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` = 'usloviya-na-sayta'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'terms' AND
                `pages`.`FooterLabel` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Visible` = 1
            ORDER BY
                `PostDate` ASC
# [11-Mar-2025 10:20:31] /sterimar/www/bg/usloviya-na-sayta.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` = 'usloviya-na-sayta'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'terms' AND
                `pages`.`FooterLabel` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Visible` = 1
            ORDER BY
                `PostDate` ASC
# [11-Mar-2025 10:21:09] /sterimar/www/bg/usloviya-na-sayta.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` = 'usloviya-na-sayta'
         AND `meta`.`Visible` = 1 LIMIT 1
# [11-Mar-2025 10:25:24] /sterimar/www/bg/usloviya-na-sayta.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` = 'usloviya-na-sayta'
         AND `meta`.`Visible` = 1 LIMIT 1
# [11-Mar-2025 10:26:08] /sterimar/www/bg/usloviya-na-sayta.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` = 'usloviya-na-sayta'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'terms' AND
                `pages`.`FooterLabel` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Visible` = 1
            ORDER BY
                `PostDate` ASC
# [11-Mar-2025 10:34:18] /sterimar/www/ 108.61.209.243

set names utf8

SELECT
                `ID`,
                `UploadID`,
                `Images`,
                `Title`,
                `URL`
            FROM
                `slides`
            WHERE
                `Language` = 'bg' AND
                `Images` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

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
                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
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`) AND
                `pages`.`Language` = 'bg' AND
                `meta`.`Module` = 'products' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `Content`,
                `Limit`
            FROM
                `blocks`
            WHERE
                `Language` = 'bg' AND
                `Module` = 'articles' AND
                `Action` = 'home'
         AND `Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `articles`.`Title`,
                `articles`.`Annotation`,
                `articles`.`Color`,
                `articles`.`Label`,
                `meta`.`Visible`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC
         LIMIT 0, 4

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

SELECT * FROM `instagram` WHERE `Language` = 'bg' AND `Visible` = 1 ORDER BY `PostDate` DESC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InstagramURL','LViewMore') 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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:34:39] /sterimar/www/bg/produkti/hipertonichni.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` = 'produkti'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title`,
                `products`.`Annotation`,
                `meta`.`Visible`
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
                INNER JOIN `product_groups` ON
                    `products`.`ID` = `product_groups`.`ProductID`
            WHERE
                `product_groups`.`GroupID` = 10002 AND
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

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

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:34:46] /sterimar/www/bg/produkti/izotonichni.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` = 'produkti'
         AND `meta`.`Visible` = 1 LIMIT 1

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title`,
                `products`.`Annotation`,
                `meta`.`Visible`
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
                INNER JOIN `product_groups` ON
                    `products`.`ID` = `product_groups`.`ProductID`
            WHERE
                `product_groups`.`GroupID` = 10001 AND
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

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

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:34:49] /sterimar/www/bg/ajax/users/form/login.html?_=1741682089097 108.61.209.243

set names utf8

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

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('ErrorEMail','ErrorPassword') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:34:55] /sterimar/www/sMv8dk1cXir/bg/ajax/users/login.html?_=1741682094987 108.61.209.243

set names utf8

SELECT
                `ID`,
                CRC32(`UserKey`) AS `User`,
                RIGHT(`UserKey`, 1) AS `Access`
            FROM
                `users`
            WHERE
                `UserKey` LIKE 'N2EzMzMyZTM2NTFkMWQ1YzU1ZTM1NTBiYTNkMjVlMTUMDRlMDNlZGJlODkyODMwYTBjNzc0YTlkOTYxNjIzMWU%'
            LIMIT 1
# [11-Mar-2025 10:34:55] /sterimar/www/sMv8dk1cXir/bg/pages/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

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

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`Language`,
                `meta`.`Module`,
                `meta`.`PostDate`,
                `meta`.`LastUpdate`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabel`,
                `products`.`Title`,
                `meta`.`Visible`
            FROM
                `meta`
                INNER JOIN `products` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg'
         ORDER BY `meta`.`PostDate` DESC
# [11-Mar-2025 10:35:24] /sterimar/www/sMv8dk1cXir/bg/gama/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                *
            FROM
                `gama`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` ASC
# [11-Mar-2025 10:35:28] /sterimar/www/sMv8dk1cXir/bg/products/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`Language`,
                `meta`.`Module`,
                `meta`.`PostDate`,
                `meta`.`LastUpdate`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabel`,
                `products`.`Title`,
                `meta`.`Visible`
            FROM
                `meta`
                INNER JOIN `products` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg'
         ORDER BY `meta`.`PostDate` DESC
# [11-Mar-2025 10:35:30] /sterimar/www/sMv8dk1cXir/bg/ajax/products/form/10003.html?_=1741682130420 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                *
            FROM
                `meta`
                INNER JOIN `products` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`ID` = 10003 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'products'
            LIMIT 1

SELECT
                GROUP_CONCAT(`GamaID` SEPARATOR ',') AS GamaIDs
            FROM
                `product_gama`
            WHERE
                `ProductID` = 10003;

SELECT
                GROUP_CONCAT(`GroupID` SEPARATOR ',') AS GroupIDs
            FROM
                `product_groups`
            WHERE
                `ProductID` = 10003;

SELECT
                `meta`.`ID`,
                `meta`.`ParentID`,
                `meta`.`Module`,
                `pages`.`MenuLabel` AS `Label`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'products' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`ParentID` = 1 AND
                `pages`.`MenuLabel` <> ''

SELECT
                `ID`,
                `MenuLabel`
            FROM
                `gama`
            WHERE
                `Language` = 'bg'

SELECT
                `meta`.`ID`,
                `meta`.`ParentID`,
                `meta`.`Module`,
                `groups`.`Title` AS `Label`
            FROM
                `meta`
                INNER JOIN `groups` ON
                    `groups`.`ID` = `meta`.`ID` AND
                    `groups`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'groups' AND
                `meta`.`Language` = 'bg'

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

SELECT
                `ID`,
                `TabLabel`,
                `Annotation`
            FROM
                `specifications`
            WHERE
                `ID` IN ('2','6','7','8','9') AND
                `Language` = 'bg'
            ORDER BY
                FIELD(`ID`, '2','6','7','8','9')
# [11-Mar-2025 10:35:35] /sterimar/www/sMv8dk1cXir/bg/ajax/products/update/10003.html?_=1741682135160 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT IF(COUNT(`ID`) > 0, TRUE, FALSE) FROM `meta` WHERE `ID` <> 10003 AND `Module` = 'products' AND `URLLabel` = 'sterimar-sprey-za-zapushen-nos-bebe-50ml'

SELECT * FROM `meta` LIMIT 1

SHOW COLUMNS FROM `meta`

UPDATE `meta` SET `ID` = 10003, `Module` = 'products', `Language` = 'bg', `ParentID` = '200', `PostDate` = '2025-03-06', `LastUpdate` = '2025-03-11 10:35:35', `UploadID` = '1262952305', `MetaTitle` = 'Sterimar Спрей за запушен нос бебе 50ml', `MetaDescription` = 'Sterimar Спрей за запушен нос бебе 50ml', `MetaImage` = '', `MetaKeywords` = 'Sterimar Спрей за запушен нос бебе 50ml', `NoIndex` = 0, `URLLabel` = 'sterimar-sprey-za-zapushen-nos-bebe-50ml', `NoCache` = 0, `Visible` = 1 WHERE `ID` = 10003 AND `Module` = 'products' AND `Language` = 'bg'

SELECT * FROM `products` LIMIT 1

SHOW COLUMNS FROM `products`

UPDATE `products` SET `ID` = 10003, `Language` = 'bg', `Title` = 'Sterimar Спрей за запушен нос бебе 50ml', `Annotation` = 'Хипертоничен', `SubTitle` = 'Хипертоничен', `Label` = 'Мед', `Color` = '#fc4c02', `Images` = '["sterimar-bebe-spray-nez-bouch-d-s-3-mois-100ml-ezg.jpg"]', `Content` = '<font><font>Спрей, препоръчван за бебета от 3 месеца за бързо отпушване на носа.</font></font><br><font><font>Измиването на носа на вашето бебе не винаги е лесно. Ето защо STÉRIMAR™ изобрети НОВИЯ СЪВЕТ ЗА БЕЗОПАСНОСТ НА БЕБЕТО: с неговата мека и ергономична форма, издухването на носа на вашето бебе се превръща в детска игра.</font></font>', `Purpose` = '2', `Pack` = '50ml', `BuyURL` = '', `Specifications` = '2,6,7,8,9', `HomePage` = 0 WHERE `ID` = 10003 AND `Language` = 'bg'

DELETE FROM `product_gama` WHERE `ProductID` = '10003'

INSERT INTO `product_gama` (`ProductID`, `GamaID`) VALUES 
	('10003', '6');

DELETE FROM `product_groups` WHERE `ProductID` = '10003'

INSERT INTO `product_groups` (`ProductID`, `GroupID`) VALUES 
	('10003', '10002');
# [11-Mar-2025 10:35:35] /sterimar/www/sMv8dk1cXir/bg/products/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`Language`,
                `meta`.`Module`,
                `meta`.`PostDate`,
                `meta`.`LastUpdate`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabel`,
                `products`.`Title`,
                `meta`.`Visible`
            FROM
                `meta`
                INNER JOIN `products` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg'
         ORDER BY `meta`.`PostDate` DESC
# [11-Mar-2025 10:35:38] /sterimar/www/sMv8dk1cXir/bg/ajax/products/form/10005.html?_=1741682137973 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                *
            FROM
                `meta`
                INNER JOIN `products` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`ID` = 10005 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'products'
            LIMIT 1

SELECT
                GROUP_CONCAT(`GamaID` SEPARATOR ',') AS GamaIDs
            FROM
                `product_gama`
            WHERE
                `ProductID` = 10005;

SELECT
                GROUP_CONCAT(`GroupID` SEPARATOR ',') AS GroupIDs
            FROM
                `product_groups`
            WHERE
                `ProductID` = 10005;

SELECT
                `meta`.`ID`,
                `meta`.`ParentID`,
                `meta`.`Module`,
                `pages`.`MenuLabel` AS `Label`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'products' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`ParentID` = 1 AND
                `pages`.`MenuLabel` <> ''

SELECT
                `ID`,
                `MenuLabel`
            FROM
                `gama`
            WHERE
                `Language` = 'bg'

SELECT
                `meta`.`ID`,
                `meta`.`ParentID`,
                `meta`.`Module`,
                `groups`.`Title` AS `Label`
            FROM
                `meta`
                INNER JOIN `groups` ON
                    `groups`.`ID` = `meta`.`ID` AND
                    `groups`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'groups' AND
                `meta`.`Language` = 'bg'

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

SELECT
                `ID`,
                `TabLabel`,
                `Annotation`
            FROM
                `specifications`
            WHERE
                `ID` IN ('2','6','7','8','9') AND
                `Language` = 'bg'
            ORDER BY
                FIELD(`ID`, '2','6','7','8','9')
# [11-Mar-2025 10:35:42] /sterimar/www/sMv8dk1cXir/bg/ajax/products/update/10005.html?_=1741682142340 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT IF(COUNT(`ID`) > 0, TRUE, FALSE) FROM `meta` WHERE `ID` <> 10005 AND `Module` = 'products' AND `URLLabel` = 'zapushen-nos-100ml'

SELECT * FROM `meta` LIMIT 1

SHOW COLUMNS FROM `meta`

UPDATE `meta` SET `ID` = 10005, `Module` = 'products', `Language` = 'bg', `ParentID` = '200', `PostDate` = '2025-03-06', `LastUpdate` = '2025-03-11 10:35:42', `UploadID` = '1264277727', `MetaTitle` = 'Sterimar Спрей за запушен нос 100ml', `MetaDescription` = 'Sterimar Хипертоничен Спрей за запушен нос 100ml', `MetaImage` = '', `MetaKeywords` = 'Sterimar Хипертоничен Спрей за запушен нос 100ml', `NoIndex` = 0, `URLLabel` = 'zapushen-nos-100ml', `NoCache` = 0, `Visible` = 1 WHERE `ID` = 10005 AND `Module` = 'products' AND `Language` = 'bg'

SELECT * FROM `products` LIMIT 1

SHOW COLUMNS FROM `products`

UPDATE `products` SET `ID` = 10005, `Language` = 'bg', `Title` = 'Запушен нос 100ml', `Annotation` = '', `SubTitle` = 'Хипертоничен', `Label` = 'Мед', `Color` = '#fc4c02', `Images` = '["333333313330303039373234352d73746572696d61722d6e65.jpg"]', `Content` = '<div>Спрей се препоръчва за деца от 3 години и възрастни при настинка, ринит, остър или хроничен синузит за бързо отпушване на носа.</div><div><br></div>', `Purpose` = '1,3', `Pack` = '100ml', `BuyURL` = '', `Specifications` = '2,6,7,8,9', `HomePage` = 0 WHERE `ID` = 10005 AND `Language` = 'bg'

DELETE FROM `product_gama` WHERE `ProductID` = '10005'

INSERT INTO `product_gama` (`ProductID`, `GamaID`) VALUES 
	('10005', '6');

DELETE FROM `product_groups` WHERE `ProductID` = '10005'

INSERT INTO `product_groups` (`ProductID`, `GroupID`) VALUES 
	('10005', '10002');
# [11-Mar-2025 10:35:42] /sterimar/www/sMv8dk1cXir/bg/products/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`Language`,
                `meta`.`Module`,
                `meta`.`PostDate`,
                `meta`.`LastUpdate`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabel`,
                `products`.`Title`,
                `meta`.`Visible`
            FROM
                `meta`
                INNER JOIN `products` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg'
         ORDER BY `meta`.`PostDate` DESC
# [11-Mar-2025 10:35:43] /sterimar/www/sMv8dk1cXir/bg/ajax/products/form/10004.html?_=1741682143903 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                *
            FROM
                `meta`
                INNER JOIN `products` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`ID` = 10004 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'products'
            LIMIT 1

SELECT
                GROUP_CONCAT(`GamaID` SEPARATOR ',') AS GamaIDs
            FROM
                `product_gama`
            WHERE
                `ProductID` = 10004;

SELECT
                GROUP_CONCAT(`GroupID` SEPARATOR ',') AS GroupIDs
            FROM
                `product_groups`
            WHERE
                `ProductID` = 10004;

SELECT
                `meta`.`ID`,
                `meta`.`ParentID`,
                `meta`.`Module`,
                `pages`.`MenuLabel` AS `Label`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'products' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`ParentID` = 1 AND
                `pages`.`MenuLabel` <> ''

SELECT
                `ID`,
                `MenuLabel`
            FROM
                `gama`
            WHERE
                `Language` = 'bg'

SELECT
                `meta`.`ID`,
                `meta`.`ParentID`,
                `meta`.`Module`,
                `groups`.`Title` AS `Label`
            FROM
                `meta`
                INNER JOIN `groups` ON
                    `groups`.`ID` = `meta`.`ID` AND
                    `groups`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'groups' AND
                `meta`.`Language` = 'bg'

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

SELECT
                `ID`,
                `TabLabel`,
                `Annotation`
            FROM
                `specifications`
            WHERE
                `ID` IN ('2','7','6','8','9') AND
                `Language` = 'bg'
            ORDER BY
                FIELD(`ID`, '2','7','6','8','9')
# [11-Mar-2025 10:35:48] /sterimar/www/sMv8dk1cXir/bg/ajax/products/update/10004.html?_=1741682148787 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT IF(COUNT(`ID`) > 0, TRUE, FALSE) FROM `meta` WHERE `ID` <> 10004 AND `Module` = 'products' AND `URLLabel` = 'zapushen-nos-50ml'

SELECT * FROM `meta` LIMIT 1

SHOW COLUMNS FROM `meta`

UPDATE `meta` SET `ID` = 10004, `Module` = 'products', `Language` = 'bg', `ParentID` = '200', `PostDate` = '2025-03-06', `LastUpdate` = '2025-03-11 10:35:48', `UploadID` = '1263963294', `MetaTitle` = 'Sterimar Спрей за запушен нос 50ml', `MetaDescription` = 'Sterimar Хипертоничен Спрей за запушен нос 50ml', `MetaImage` = '', `MetaKeywords` = 'Sterimar Хипертоничен Спрей за запушен нос 50ml', `NoIndex` = 0, `URLLabel` = 'zapushen-nos-50ml', `NoCache` = 0, `Visible` = 1 WHERE `ID` = 10004 AND `Module` = 'products' AND `Language` = 'bg'

SELECT * FROM `products` LIMIT 1

SHOW COLUMNS FROM `products`

UPDATE `products` SET `ID` = 10004, `Language` = 'bg', `Title` = 'Запушен нос 50ml', `Annotation` = '', `SubTitle` = 'Хипертоничен', `Label` = 'Мед', `Color` = '#fc4c02', `Images` = '["333333313330303039373234352d73746572696d61722d6e65.jpg"]', `Content` = '<div>Спрей се препоръчва за деца от 3 години и възрастни при настинка, ринит, остър или хроничен синузит за бързо отпушване на носа.</div><div><br></div>', `Purpose` = '1,3', `Pack` = '50ml', `BuyURL` = '', `Specifications` = '2,7,6,8,9', `HomePage` = 0 WHERE `ID` = 10004 AND `Language` = 'bg'

DELETE FROM `product_gama` WHERE `ProductID` = '10004'

INSERT INTO `product_gama` (`ProductID`, `GamaID`) VALUES 
	('10004', '6');

DELETE FROM `product_groups` WHERE `ProductID` = '10004'

INSERT INTO `product_groups` (`ProductID`, `GroupID`) VALUES 
	('10004', '10002');
# [11-Mar-2025 10:35:48] /sterimar/www/sMv8dk1cXir/bg/products/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`Language`,
                `meta`.`Module`,
                `meta`.`PostDate`,
                `meta`.`LastUpdate`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabel`,
                `products`.`Title`,
                `meta`.`Visible`
            FROM
                `meta`
                INNER JOIN `products` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg'
         ORDER BY `meta`.`PostDate` DESC
# [11-Mar-2025 10:35:52] /sterimar/www/sMv8dk1cXir/bg/ajax/products/form/10002.html?_=1741682152124 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                *
            FROM
                `meta`
                INNER JOIN `products` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`ID` = 10002 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'products'
            LIMIT 1

SELECT
                GROUP_CONCAT(`GamaID` SEPARATOR ',') AS GamaIDs
            FROM
                `product_gama`
            WHERE
                `ProductID` = 10002;

SELECT
                GROUP_CONCAT(`GroupID` SEPARATOR ',') AS GroupIDs
            FROM
                `product_groups`
            WHERE
                `ProductID` = 10002;

SELECT
                `meta`.`ID`,
                `meta`.`ParentID`,
                `meta`.`Module`,
                `pages`.`MenuLabel` AS `Label`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'products' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`ParentID` = 1 AND
                `pages`.`MenuLabel` <> ''

SELECT
                `ID`,
                `MenuLabel`
            FROM
                `gama`
            WHERE
                `Language` = 'bg'

SELECT
                `meta`.`ID`,
                `meta`.`ParentID`,
                `meta`.`Module`,
                `groups`.`Title` AS `Label`
            FROM
                `meta`
                INNER JOIN `groups` ON
                    `groups`.`ID` = `meta`.`ID` AND
                    `groups`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'groups' AND
                `meta`.`Language` = 'bg'

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

SELECT
                `ID`,
                `TabLabel`,
                `Annotation`
            FROM
                `specifications`
            WHERE
                `ID` IN ('1','3','5') AND
                `Language` = 'bg'
            ORDER BY
                FIELD(`ID`, '1','3','5')
# [11-Mar-2025 10:35:55] /sterimar/www/sMv8dk1cXir/bg/ajax/products/form/10003.html?_=1741682155556 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                *
            FROM
                `meta`
                INNER JOIN `products` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`ID` = 10003 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'products'
            LIMIT 1

SELECT
                GROUP_CONCAT(`GamaID` SEPARATOR ',') AS GamaIDs
            FROM
                `product_gama`
            WHERE
                `ProductID` = 10003;

SELECT
                GROUP_CONCAT(`GroupID` SEPARATOR ',') AS GroupIDs
            FROM
                `product_groups`
            WHERE
                `ProductID` = 10003;

SELECT
                `meta`.`ID`,
                `meta`.`ParentID`,
                `meta`.`Module`,
                `pages`.`MenuLabel` AS `Label`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'products' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`ParentID` = 1 AND
                `pages`.`MenuLabel` <> ''

SELECT
                `ID`,
                `MenuLabel`
            FROM
                `gama`
            WHERE
                `Language` = 'bg'

SELECT
                `meta`.`ID`,
                `meta`.`ParentID`,
                `meta`.`Module`,
                `groups`.`Title` AS `Label`
            FROM
                `meta`
                INNER JOIN `groups` ON
                    `groups`.`ID` = `meta`.`ID` AND
                    `groups`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'groups' AND
                `meta`.`Language` = 'bg'

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

SELECT
                `ID`,
                `TabLabel`,
                `Annotation`
            FROM
                `specifications`
            WHERE
                `ID` IN ('2','6','7','8','9') AND
                `Language` = 'bg'
            ORDER BY
                FIELD(`ID`, '2','6','7','8','9')
# [11-Mar-2025 10:35:59] /sterimar/www/sMv8dk1cXir/bg/ajax/products/update/10003.html?_=1741682159208 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT IF(COUNT(`ID`) > 0, TRUE, FALSE) FROM `meta` WHERE `ID` <> 10003 AND `Module` = 'products' AND `URLLabel` = 'sterimar-sprey-za-zapushen-nos-bebe-50ml'

SELECT * FROM `meta` LIMIT 1

SHOW COLUMNS FROM `meta`

UPDATE `meta` SET `ID` = 10003, `Module` = 'products', `Language` = 'bg', `ParentID` = '200', `PostDate` = '2025-03-06', `LastUpdate` = '2025-03-11 10:35:59', `UploadID` = '1262952305', `MetaTitle` = 'Sterimar Спрей за запушен нос бебе 50ml', `MetaDescription` = 'Sterimar Спрей за запушен нос бебе 50ml', `MetaImage` = '', `MetaKeywords` = 'Sterimar Спрей за запушен нос бебе 50ml', `NoIndex` = 0, `URLLabel` = 'sterimar-sprey-za-zapushen-nos-bebe-50ml', `NoCache` = 0, `Visible` = 1 WHERE `ID` = 10003 AND `Module` = 'products' AND `Language` = 'bg'

SELECT * FROM `products` LIMIT 1

SHOW COLUMNS FROM `products`

UPDATE `products` SET `ID` = 10003, `Language` = 'bg', `Title` = 'Sterimar Спрей за запушен нос бебе 50ml', `Annotation` = 'Хипертоничен', `SubTitle` = 'Хипертоничен', `Label` = 'Мед', `Color` = '#fc4c02', `Images` = '["sterimar-bebe-spray-nez-bouch-d-s-3-mois-100ml-ezg.jpg"]', `Content` = '<font><font>Спрей, препоръчван за бебета от 3 месеца за бързо отпушване на носа.</font></font><br><font><font>Измиването на носа на вашето бебе не винаги е лесно. Ето защо STÉRIMAR™ изобрети НОВИЯ СЪВЕТ ЗА БЕЗОПАСНОСТ НА БЕБЕТО: с неговата мека и ергономична форма, издухването на носа на вашето бебе се превръща в детска игра.</font></font>', `Purpose` = '2', `Pack` = '50ml', `BuyURL` = '', `Specifications` = '2,6,7,8,9', `HomePage` = 0 WHERE `ID` = 10003 AND `Language` = 'bg'

DELETE FROM `product_gama` WHERE `ProductID` = '10003'

INSERT INTO `product_gama` (`ProductID`, `GamaID`) VALUES 
	('10003', '7');

DELETE FROM `product_groups` WHERE `ProductID` = '10003'

INSERT INTO `product_groups` (`ProductID`, `GroupID`) VALUES 
	('10003', '10002');
# [11-Mar-2025 10:35:59] /sterimar/www/sMv8dk1cXir/bg/products/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`Language`,
                `meta`.`Module`,
                `meta`.`PostDate`,
                `meta`.`LastUpdate`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabel`,
                `products`.`Title`,
                `meta`.`Visible`
            FROM
                `meta`
                INNER JOIN `products` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg'
         ORDER BY `meta`.`PostDate` DESC
# [11-Mar-2025 10:36:04] /sterimar/www/ 108.61.209.243

set names utf8

SELECT
                `ID`,
                `UploadID`,
                `Images`,
                `Title`,
                `URL`
            FROM
                `slides`
            WHERE
                `Language` = 'bg' AND
                `Images` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

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
                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
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`) AND
                `pages`.`Language` = 'bg' AND
                `meta`.`Module` = 'products' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `Content`,
                `Limit`
            FROM
                `blocks`
            WHERE
                `Language` = 'bg' AND
                `Module` = 'articles' AND
                `Action` = 'home'
         AND `Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `articles`.`Title`,
                `articles`.`Annotation`,
                `articles`.`Color`,
                `articles`.`Label`,
                `meta`.`Visible`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC
         LIMIT 0, 4

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

SELECT * FROM `instagram` WHERE `Language` = 'bg' AND `Visible` = 1 ORDER BY `PostDate` DESC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InstagramURL','LViewMore') 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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:36:19] /sterimar/www/bg/usloviya-na-sayta.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` = 'usloviya-na-sayta'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'terms' AND
                `pages`.`FooterLabel` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Visible` = 1
            ORDER BY
                `PostDate` ASC
# [11-Mar-2025 10:37:00] /sterimar/www/bg/vaprosi.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` = 'vaprosi'
         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` = 'faq' AND
	    		`meta`.`URLLabel` = 'vaprosi'
         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` = 'faq' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'vaprosi' AND
                P1.`Visible` = 1

SELECT DISTINCT
                `Label`
            FROM
                `faq`
            WHERE
                `Language` = 'bg' AND
                `Visible` = 1
         AND `Visible` = 1 ORDER BY `PostDate` ASC

SELECT
                `ID`,
                `Question`,
                `Answer`,
                `Visible`
            FROM
                `faq`
            WHERE
                `Label` = 'Употреба на продукта' AND
                `Language` = 'bg'
         AND `Visible` = 1 ORDER BY `PostDate` ASC

SELECT
                `ID`,
                `Question`,
                `Answer`,
                `Visible`
            FROM
                `faq`
            WHERE
                `Label` = 'Състав' AND
                `Language` = 'bg'
         AND `Visible` = 1 ORDER BY `PostDate` ASC

SELECT
                `ID`,
                `Question`,
                `Answer`,
                `Visible`
            FROM
                `faq`
            WHERE
                `Label` = 'Технология' AND
                `Language` = 'bg'
         AND `Visible` = 1 ORDER BY `PostDate` ASC

SELECT
                `ID`,
                `Question`,
                `Answer`,
                `Visible`
            FROM
                `faq`
            WHERE
                `Label` = 'Практична информация' AND
                `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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:37:07] /sterimar/www/bg/kontakti.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` = 'kontakti'
         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` = 'contacts' AND
	    		`meta`.`URLLabel` = 'kontakti'
         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` = 'contacts' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'kontakti' AND
                P1.`Visible` = 1

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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:37:08] /sterimar/www/bg/ajax/contacts/form.html?_=1741682228343 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LSubject','LFullName','LPhone','LEMail','LMessage','LSendRequest') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

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

SELECT
                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
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`) AND
                `pages`.`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
# [11-Mar-2025 10:37:22] /sterimar/www/bg/kontakti.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` = 'kontakti'
         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` = 'contacts' AND
	    		`meta`.`URLLabel` = 'kontakti'
         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` = 'contacts' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'kontakti' AND
                P1.`Visible` = 1

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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:37:23] /sterimar/www/bg/ajax/contacts/form.html?_=1741682242930 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LSubject','LFullName','LPhone','LEMail','LMessage','LSendRequest') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

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

SELECT
                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
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`) AND
                `pages`.`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
# [11-Mar-2025 10:37:33] /sterimar/www/ 108.61.209.243

set names utf8

SELECT
                `ID`,
                `UploadID`,
                `Images`,
                `Title`,
                `URL`
            FROM
                `slides`
            WHERE
                `Language` = 'bg' AND
                `Images` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

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
                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
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`) AND
                `pages`.`Language` = 'bg' AND
                `meta`.`Module` = 'products' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `Content`,
                `Limit`
            FROM
                `blocks`
            WHERE
                `Language` = 'bg' AND
                `Module` = 'articles' AND
                `Action` = 'home'
         AND `Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `articles`.`Title`,
                `articles`.`Annotation`,
                `articles`.`Color`,
                `articles`.`Label`,
                `meta`.`Visible`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC
         LIMIT 0, 4

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

SELECT * FROM `instagram` WHERE `Language` = 'bg' AND `Visible` = 1 ORDER BY `PostDate` DESC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InstagramURL','LViewMore') 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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:38:04] /sterimar/www/bg/istoriya.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` = 'istoriya'
         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` = 'istoriya'
         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` = 'istoriya' AND
                P1.`Visible` = 1

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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:38:06] /sterimar/www/bg/produkti.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` = 'produkti'
         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` = 'products' AND
	    		`meta`.`URLLabel` = 'produkti'
         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` = 'products' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'produkti' AND
                P1.`Visible` = 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title`,
                `meta`.`Visible`
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

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

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:38:08] /sterimar/www/bg/produkti/sprei-za-higiena-50ml.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` = 'produkti'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `groups`.`ID`
            FROM
                `groups`
                INNER JOIN `meta` ON
                    `groups`.`ID` = `meta`.`ID` AND
                    `groups`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'groups'
            WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`URLLabel` = 'sprei-za-higiena-50ml'
         AND
                `meta`.`Visible` = 1
             LIMIT 1

SELECT
                *
	        FROM
	        	`products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
	    	WHERE
	    		`meta`.`URLLabel` = 'sprei-za-higiena-50ml'
         AND `meta`.`Visible` = 1
            GROUP BY
                `products`.`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` = 'products' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'sprei-za-higiena-50ml' AND
                P1.`Visible` = 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LPurpose','LPack','LBuyNow','LPurpose1','LPurpose2','LPurpose3','LPurpose4') 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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:38:13] /sterimar/www/bg/istoriya.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` = 'istoriya'
         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` = 'istoriya'
         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` = 'istoriya' AND
                P1.`Visible` = 1

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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:38:13] /sterimar/www/bg/blog.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` = 'blog'
         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` = 'articles' AND
	    		`meta`.`URLLabel` = 'blog'
         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` = 'articles' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'blog' AND
                P1.`Visible` = 1

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

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `articles`.`Title`,
                `articles`.`Annotation`,
                `articles`.`Color`,
                `articles`.`Label`,
                `meta`.`Visible`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

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

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:38:14] /sterimar/www/bg/blog/pochistvane-nosle-bebe.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` = 'blog'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                *
	        FROM
	        	`articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
	    	WHERE
	    		`meta`.`URLLabel` = 'pochistvane-nosle-bebe'
         AND `meta`.`Visible` = 1
            GROUP BY
                `articles`.`ID`
            LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'articles' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'pochistvane-nosle-bebe' AND
                P1.`Visible` = 1

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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:52:38] /sterimar/www/ 108.61.209.243

set names utf8

SELECT
                `ID`,
                `UploadID`,
                `Images`,
                `Title`,
                `URL`
            FROM
                `slides`
            WHERE
                `Language` = 'bg' AND
                `Images` != '' AND
                `Visible` = 1
            ORDER BY `PostDate` DESC

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
                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
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`) AND
                `pages`.`Language` = 'bg' AND
                `meta`.`Module` = 'products' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1

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

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

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

SELECT
                `Content`,
                `Limit`
            FROM
                `blocks`
            WHERE
                `Language` = 'bg' AND
                `Module` = 'articles' AND
                `Action` = 'home'
         AND `Visible` = 1 LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `articles`.`Image`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `articles`.`Title`,
                `articles`.`Annotation`,
                `articles`.`Color`,
                `articles`.`Label`,
                `meta`.`Visible`
            FROM
                `articles`
                INNER JOIN `meta` ON
                    `articles`.`ID` = `meta`.`ID` AND
                    `articles`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'articles'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'articles'
            WHERE
                `meta`.`Language` = 'bg'
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `articles`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC
         LIMIT 0, 4

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

SELECT * FROM `instagram` WHERE `Language` = 'bg' AND `Visible` = 1 ORDER BY `PostDate` DESC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InstagramURL','LViewMore') 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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:52:42] /sterimar/www/bg/usloviya-na-sayta.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` = 'usloviya-na-sayta'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'terms' AND
                `pages`.`FooterLabel` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Visible` = 1
            ORDER BY
                `PostDate` ASC
# [11-Mar-2025 10:53:46] /sterimar/www/bg/usloviya-na-sayta.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` = 'usloviya-na-sayta'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'terms' AND
                `pages`.`FooterLabel` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`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` = 'terms' AND
	    		`meta`.`URLLabel` = 'usloviya-na-sayta'
         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` = 'terms' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'usloviya-na-sayta' AND
                P1.`Visible` = 1

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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 10:54:10] /sterimar/www/bg/usloviya-na-sayta.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` = 'usloviya-na-sayta'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'terms' AND
                `pages`.`FooterLabel` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`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` = 'terms' AND
	    		`meta`.`URLLabel` = 'usloviya-na-sayta'
         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` = 'terms' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'usloviya-na-sayta' AND
                P1.`Visible` = 1

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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 11:04:10] /sterimar/www/sMv8dk1cXir/bg/ajax/products/form/10003.html?_=1741683850346 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                *
            FROM
                `meta`
                INNER JOIN `products` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`ID` = 10003 AND
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'products'
            LIMIT 1

SELECT
                GROUP_CONCAT(`GamaID` SEPARATOR ',') AS GamaIDs
            FROM
                `product_gama`
            WHERE
                `ProductID` = 10003;

SELECT
                GROUP_CONCAT(`GroupID` SEPARATOR ',') AS GroupIDs
            FROM
                `product_groups`
            WHERE
                `ProductID` = 10003;

SELECT
                `meta`.`ID`,
                `meta`.`ParentID`,
                `meta`.`Module`,
                `pages`.`MenuLabel` AS `Label`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'products' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`ParentID` = 1 AND
                `pages`.`MenuLabel` <> ''

SELECT
                `ID`,
                `MenuLabel`
            FROM
                `gama`
            WHERE
                `Language` = 'bg'

SELECT
                `meta`.`ID`,
                `meta`.`ParentID`,
                `meta`.`Module`,
                `groups`.`Title` AS `Label`
            FROM
                `meta`
                INNER JOIN `groups` ON
                    `groups`.`ID` = `meta`.`ID` AND
                    `groups`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'groups' AND
                `meta`.`Language` = 'bg'

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

SELECT
                `ID`,
                `TabLabel`,
                `Annotation`
            FROM
                `specifications`
            WHERE
                `ID` IN ('2','6','7','8','9') AND
                `Language` = 'bg'
            ORDER BY
                FIELD(`ID`, '2','6','7','8','9')
# [11-Mar-2025 11:04:28] /sterimar/www/sMv8dk1cXir/bg/ajax/products/update/10003.html?_=1741683868663 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT IF(COUNT(`ID`) > 0, TRUE, FALSE) FROM `meta` WHERE `ID` <> 10003 AND `Module` = 'products' AND `URLLabel` = 'sterimar-sprey-za-zapushen-nos-bebe-50ml'

SELECT * FROM `meta` LIMIT 1

SHOW COLUMNS FROM `meta`

UPDATE `meta` SET `ID` = 10003, `Module` = 'products', `Language` = 'bg', `ParentID` = '200', `PostDate` = '2025-03-06', `LastUpdate` = '2025-03-11 11:04:28', `UploadID` = '1262952305', `MetaTitle` = 'Sterimar Спрей за запушен нос бебе 50ml', `MetaDescription` = 'Sterimar Спрей за запушен нос бебе 50ml', `MetaImage` = '', `MetaKeywords` = 'Sterimar Спрей за запушен нос бебе 50ml', `NoIndex` = 0, `URLLabel` = 'sterimar-sprey-za-zapushen-nos-bebe-50ml', `NoCache` = 0, `Visible` = 1 WHERE `ID` = 10003 AND `Module` = 'products' AND `Language` = 'bg'

SELECT * FROM `products` LIMIT 1

SHOW COLUMNS FROM `products`

UPDATE `products` SET `ID` = 10003, `Language` = 'bg', `Title` = 'Спрей за запушен нос бебе', `Annotation` = 'Хипертоничен', `SubTitle` = 'Хипертоничен', `Label` = 'Мед', `Color` = '#fc4c02', `Images` = '["sterimar-bebe-spray-nez-bouch-d-s-3-mois-100ml-ezg.jpg"]', `Content` = '<font><font>Спрей, препоръчван за бебета от 3 месеца за бързо отпушване на носа.</font></font><br><font><font>Измиването на носа на вашето бебе не винаги е лесно. Ето защо STÉRIMAR™ изобрети НОВИЯ СЪВЕТ ЗА БЕЗОПАСНОСТ НА БЕБЕТО: с неговата мека и ергономична форма, издухването на носа на вашето бебе се превръща в детска игра.</font></font>', `Purpose` = '2', `Pack` = '50ml', `BuyURL` = '', `Specifications` = '2,6,7,8,9', `HomePage` = 0 WHERE `ID` = 10003 AND `Language` = 'bg'

DELETE FROM `product_gama` WHERE `ProductID` = '10003'

INSERT INTO `product_gama` (`ProductID`, `GamaID`) VALUES 
	('10003', '7');

DELETE FROM `product_groups` WHERE `ProductID` = '10003'

INSERT INTO `product_groups` (`ProductID`, `GroupID`) VALUES 
	('10003', '10002');
# [11-Mar-2025 11:04:28] /sterimar/www/sMv8dk1cXir/bg/products/list.html 108.61.209.243

set names utf8

SELECT
                                `ID`
                            FROM
                                `users`
                            WHERE
                                `ID` = 200876879 AND
                                CRC32(`UserKey`) = 3514158796 AND
                                RIGHT(`UserKey`, 1) = 9
                            LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`Language`,
                `meta`.`Module`,
                `meta`.`PostDate`,
                `meta`.`LastUpdate`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabel`,
                `products`.`Title`,
                `meta`.`Visible`
            FROM
                `meta`
                INNER JOIN `products` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg'
         ORDER BY `meta`.`PostDate` DESC
# [11-Mar-2025 11:25:04] /sterimar/www/bg/usloviya-na-sayta.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` = 'usloviya-na-sayta'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'terms' AND
                `pages`.`FooterLabel` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`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` = 'terms' AND
	    		`meta`.`URLLabel` = 'usloviya-na-sayta'
         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` = 'terms' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'usloviya-na-sayta' AND
                P1.`Visible` = 1

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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [11-Mar-2025 11:25:43] /sterimar/www/bg/usloviya-na-sayta.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` = 'usloviya-na-sayta'
         AND `meta`.`Visible` = 1 LIMIT 1

SELECT
                `pages`.`FooterLabel`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Module` = 'terms' AND
                `pages`.`FooterLabel` <> '' AND
                `meta`.`Language` = 'bg' AND
                `meta`.`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` = 'terms' AND
	    		`meta`.`URLLabel` = 'usloviya-na-sayta'
         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` = 'terms' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'usloviya-na-sayta' AND
                P1.`Visible` = 1

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
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         AND `meta`.`Visible` = 1
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `gama`.`UploadID`,
                `gama`.`MenuLabel`,
                `gama`.`Icon`,
                `gama`.`Color`,
                GROUP_CONCAT(`products`.`ID`) AS `ProductIDs`
            FROM
                `gama`
                INNER JOIN `product_gama` ON `gama`.`ID` = `product_gama`.`GamaID`
                INNER JOIN `products` ON `products`.`ID` = `product_gama`.`ProductID`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
            WHERE
                `gama`.`Language` = 'bg' AND
                `products`.`Language` = 'bg'
         AND
                `gama`.`Visible` = 1 AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `gama`.`ID`
            ORDER BY
                `gama`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10001','10000')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10005','10004')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
                `products`.`Title` AS `MenuLabel` -- TODO: add MenuLabel in table
            FROM
                `products`
                INNER JOIN `meta` ON
                    `products`.`ID` = `meta`.`ID` AND
                    `products`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'products'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'products'
            WHERE
                `meta`.`Language` = 'bg' AND
                `products`.`ID` IN('10002','10003')
         AND
                `meta`.`Visible` = 1
            
            GROUP BY
                `products`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LOurCommitments','Address','LContacts','LFollowUs','FacebookURL','InstagramURL','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
