SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LViewProduct') 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
# [08-Apr-2025 08:56:42] /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
# [08-Apr-2025 08:56:44] /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`,
                `products`.`Annotation`,
                `products`.`Color`,
                `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
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LViewProduct') 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
# [08-Apr-2025 08:56:45] /sterimar/www/bg/produkti/sprei-za-higiena-100ml.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-100ml'
         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-100ml'
         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-100ml' 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
# [08-Apr-2025 08:57:45] /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
# [08-Apr-2025 08:57:46] /sterimar/www/bg/ajax/contacts/form.html?_=1744091866047 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','ErrorMessage','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
# [08-Apr-2025 08:57:51] /sterimar/www/bg/contacts.html 108.61.209.243

set names utf8

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` = 'contacts'
         AND `meta`.`Visible` = 1 LIMIT 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
# [08-Apr-2025 08:57:57] /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
# [08-Apr-2025 08:57:57] /sterimar/www/bg/ajax/contacts/form.html?_=1744091877611 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','ErrorMessage','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
# [08-Apr-2025 09:02:36] /sterimar/www/bg/contacts.html 108.61.209.243

set names utf8

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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:02:38] /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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:02:39] /sterimar/www/bg/ajax/contacts/form.html?_=1744092159025 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','ErrorMessage','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
# [08-Apr-2025 09:02:40] /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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:03:08] /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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:04:32] /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`,
                `products`.`Annotation`,
                `products`.`Color`,
                `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
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LViewProduct') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:04:36] /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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:04:37] /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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:04:38] /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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:04:39] /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`,
                `products`.`Annotation`,
                `products`.`Color`,
                `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
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LViewProduct') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:04:40] /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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:08:50] /sterimar/www/bg/search.html?q=test 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1
# [08-Apr-2025 09:09:04] /sterimar/www/bg/search.html?q=test 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `pages`.`MetaTitle`,
                `pages`.`MetaDescription`,
                `pages`.`URLLabel`,
                `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            FROM
                `pages`
                LEFT JOIN `pages` AS `Parent` ON
                    `pages`.`ParentID` = `Parent`.`ID` AND
                    `Parent`.`Language` = 'bg' AND
                    `Parent`.`ParentID` = 1
            WHERE
                `pages`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%test%' OR
                    `pages`.`FooterLabel` LIKE '%test%' OR
                    `pages`.`Annotation` LIKE '%test%' OR
                    `pages`.`Content` LIKE '%test%'
                ) AND
                `pages`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'test%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'test%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% test%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% test%' THEN 3
                ELSE 4
            END
# [08-Apr-2025 09:10:25] /sterimar/www/bg/search.html?q=test 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            FROM
                `meta`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `Parent`.`Language` = 'bg' AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Content` IS NOT NULL AND
                (`meta`.`MenuLabel` <> '' OR `meta`.`FooterLabel` <> '') AND
                (
                    `meta`.`MenuLabel` LIKE '%test%' OR
                    `meta`.`FooterLabel` LIKE '%test%' OR
                    `meta`.`Annotation` LIKE '%test%' OR
                    `meta`.`Content` LIKE '%test%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `meta`.`MenuLabel` LIKE 'test%' THEN 0
                WHEN `meta`.`FooterLabel` LIKE 'test%' THEN 1
                WHEN `meta`.`MenuLabel` LIKE '% test%' THEN 2
                WHEN `meta`.`FooterLabel` LIKE '% test%' THEN 3
                ELSE 4
            END
# [08-Apr-2025 09:12:08] /sterimar/www/bg/search.html?q=test 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Content` IS NOT NULL AND
                (`meta`.`MenuLabel` <> '' OR `meta`.`FooterLabel` <> '') AND
                (
                    `meta`.`MenuLabel` LIKE '%test%' OR
                    `meta`.`FooterLabel` LIKE '%test%' OR
                    `meta`.`Annotation` LIKE '%test%' OR
                    `meta`.`Content` LIKE '%test%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `meta`.`MenuLabel` LIKE 'test%' THEN 0
                WHEN `meta`.`FooterLabel` LIKE 'test%' THEN 1
                WHEN `meta`.`MenuLabel` LIKE '% test%' THEN 2
                WHEN `meta`.`FooterLabel` LIKE '% test%' THEN 3
                ELSE 4
            END
# [08-Apr-2025 09:12:51] /sterimar/www/bg/search.html?q=test 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Content` IS NOT NULL AND
                (`meta`.`MenuLabel` <> '' OR `meta`.`FooterLabel` <> '') AND
                (
                    `meta`.`MenuLabel` LIKE '%test%' OR
                    `meta`.`FooterLabel` LIKE '%test%' OR
                    `meta`.`Annotation` LIKE '%test%' OR
                    `meta`.`Content` LIKE '%test%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `meta`.`MenuLabel` LIKE 'test%' THEN 0
                WHEN `meta`.`FooterLabel` LIKE 'test%' THEN 1
                WHEN `meta`.`MenuLabel` LIKE '% test%' THEN 2
                WHEN `meta`.`FooterLabel` LIKE '% test%' THEN 3
                ELSE 4
            END
# [08-Apr-2025 09:12:53] /sterimar/www/bg/search.html?q=test 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Content` IS NOT NULL AND
                (`meta`.`MenuLabel` <> '' OR `meta`.`FooterLabel` <> '') AND
                (
                    `meta`.`MenuLabel` LIKE '%test%' OR
                    `meta`.`FooterLabel` LIKE '%test%' OR
                    `meta`.`Annotation` LIKE '%test%' OR
                    `meta`.`Content` LIKE '%test%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `meta`.`MenuLabel` LIKE 'test%' THEN 0
                WHEN `meta`.`FooterLabel` LIKE 'test%' THEN 1
                WHEN `meta`.`MenuLabel` LIKE '% test%' THEN 2
                WHEN `meta`.`FooterLabel` LIKE '% test%' THEN 3
                ELSE 4
            END
# [08-Apr-2025 09:12:53] /sterimar/www/bg/search.html?q=test 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Content` IS NOT NULL AND
                (`meta`.`MenuLabel` <> '' OR `meta`.`FooterLabel` <> '') AND
                (
                    `meta`.`MenuLabel` LIKE '%test%' OR
                    `meta`.`FooterLabel` LIKE '%test%' OR
                    `meta`.`Annotation` LIKE '%test%' OR
                    `meta`.`Content` LIKE '%test%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `meta`.`MenuLabel` LIKE 'test%' THEN 0
                WHEN `meta`.`FooterLabel` LIKE 'test%' THEN 1
                WHEN `meta`.`MenuLabel` LIKE '% test%' THEN 2
                WHEN `meta`.`FooterLabel` LIKE '% test%' THEN 3
                ELSE 4
            END
# [08-Apr-2025 09:13:06] /sterimar/www/bg/search.html?q=test 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `meta`.`MenuLabel` LIKE '%test%' OR
                    `meta`.`FooterLabel` LIKE '%test%' OR
                    `pages`.`Annotation` LIKE '%test%' OR
                    `pages`.`Content` LIKE '%test%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'test%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'test%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% test%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% test%' THEN 3
                ELSE 4
            END
# [08-Apr-2025 09:13:21] /sterimar/www/bg/search.html?q=test 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%test%' OR
                    `pages`.`FooterLabel` LIKE '%test%' OR
                    `pages`.`Annotation` LIKE '%test%' OR
                    `pages`.`Content` LIKE '%test%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'test%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'test%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% test%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% test%' THEN 3
                ELSE 4
            END
# [08-Apr-2025 09:13:21] /sterimar/www/bg/search.html?q=test 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%test%' OR
                    `pages`.`FooterLabel` LIKE '%test%' OR
                    `pages`.`Annotation` LIKE '%test%' OR
                    `pages`.`Content` LIKE '%test%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'test%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'test%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% test%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% test%' THEN 3
                ELSE 4
            END
# [08-Apr-2025 09:13:22] /sterimar/www/bg/search.html?q=test 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%test%' OR
                    `pages`.`FooterLabel` LIKE '%test%' OR
                    `pages`.`Annotation` LIKE '%test%' OR
                    `pages`.`Content` LIKE '%test%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'test%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'test%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% test%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% test%' THEN 3
                ELSE 4
            END
# [08-Apr-2025 09:13:47] /sterimar/www/bg/search.html?q=test 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%test%' OR
                    `pages`.`FooterLabel` LIKE '%test%' OR
                    `pages`.`Content` LIKE '%test%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'test%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'test%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% test%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% test%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LNoResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:13:59] /sterimar/www/bg/search.html?q=Свържете  108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%свържете%' OR
                    `pages`.`FooterLabel` LIKE '%свържете%' OR
                    `pages`.`Content` LIKE '%свържете%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'свържете%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'свържете%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% свържете%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% свържете%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:15:34] /sterimar/www/bg/search.html?q=Свържете  108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%свържете%' OR
                    `pages`.`FooterLabel` LIKE '%свържете%' OR
                    `pages`.`Content` LIKE '%свържете%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'свържете%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'свържете%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% свържете%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% свържете%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:17:22] /sterimar/www/bg/search.html?q=Свържете  108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%свържете%' OR
                    `pages`.`FooterLabel` LIKE '%свържете%' OR
                    `pages`.`Content` LIKE '%свържете%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'свържете%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'свържете%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% свържете%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% свържете%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:18:00] /sterimar/www/bg/search.html?q=Свържете  108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%свържете%' OR
                    `pages`.`FooterLabel` LIKE '%свържете%' OR
                    `pages`.`Content` LIKE '%свържете%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'свържете%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'свържете%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% свържете%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% свържете%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:19:01] /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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:19:02] /sterimar/www/bg/ajax/contacts/form.html?_=1744093142074 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','ErrorMessage','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
# [08-Apr-2025 09:19:11] /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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:19:26] /sterimar/www/bg/search.html?q=продукти 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%продукти%' OR
                    `pages`.`FooterLabel` LIKE '%продукти%' OR
                    `pages`.`Content` LIKE '%продукти%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'продукти%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'продукти%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% продукти%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% продукти%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:19:34] /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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:19:38] /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`,
                `products`.`Annotation`,
                `products`.`Color`,
                `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
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LViewProduct') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:20:25] /sterimar/www/bg/search.html?q=продукти 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%продукти%' OR
                    `pages`.`FooterLabel` LIKE '%продукти%' OR
                    `pages`.`Content` LIKE '%продукти%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'продукти%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'продукти%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% продукти%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% продукти%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:20:58] /sterimar/www/bg/search.html?q=съжаление 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`,
                -- `Parent`.`MenuLabel` AS `ParentMenuLabel`,
                `Parent`.`URLLabel` AS `ParentURLLabel`
            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` AND
                    `Parent`.`ParentID` = 1
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%съжаление%' OR
                    `pages`.`FooterLabel` LIKE '%съжаление%' OR
                    `pages`.`Content` LIKE '%съжаление%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'съжаление%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'съжаление%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% съжаление%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% съжаление%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LNoResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:21:32] /sterimar/www/bg/search.html?q=съжаление 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%съжаление%' OR
                    `pages`.`FooterLabel` LIKE '%съжаление%' OR
                    `pages`.`Content` LIKE '%съжаление%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'съжаление%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'съжаление%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% съжаление%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% съжаление%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LNoResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:21:37] /sterimar/www/bg/search.html?q=продукти 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%продукти%' OR
                    `pages`.`FooterLabel` LIKE '%продукти%' OR
                    `pages`.`Content` LIKE '%продукти%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'продукти%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'продукти%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% продукти%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% продукти%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:21:56] /sterimar/www/bg/search.html?q=обърка 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%обърка%' OR
                    `pages`.`FooterLabel` LIKE '%обърка%' OR
                    `pages`.`Content` LIKE '%обърка%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'обърка%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'обърка%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% обърка%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% обърка%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LNoResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:31:26] /sterimar/www/bg/search.html?q=обърка 108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%обърка%' OR
                    `pages`.`FooterLabel` LIKE '%обърка%' OR
                    `pages`.`Content` LIKE '%обърка%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'обърка%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'обърка%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% обърка%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% обърка%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LNoResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:31:28] /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`,
                `products`.`Annotation`,
                `products`.`Color`,
                `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
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LViewProduct') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:31:33] /sterimar/www/bg/search.html?q=носа  108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%носа%' OR
                    `pages`.`FooterLabel` LIKE '%носа%' OR
                    `pages`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'носа%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'носа%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% носа%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:31:51] /sterimar/www/bg/search.html?q=носа  108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `products`.`Title`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`
            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`.`Content` IS NOT NULL AND
                (
                    `products`.`Title` LIKE '%носа%' OR
                    `products`.`Annotation` LIKE '%носа%' OR
                    `products`.`SubTitle` LIKE '%носа%' OR
                    `products`.`Label` LIKE '%носа%' OR
                    `products`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `products`.`Title` LIKE 'носа%' THEN 0
                WHEN `products`.`SubTitle` LIKE 'носа%' THEN 1
                WHEN `products`.`Label` LIKE 'носа%' THEN 2
                WHEN `products`.`Content` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%носа%' OR
                    `pages`.`FooterLabel` LIKE '%носа%' OR
                    `pages`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'носа%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'носа%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% носа%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:32:25] /sterimar/www/bg/search.html?q=носа  108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`UploadID`,
                `products`.`Title`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`
            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`.`Content` IS NOT NULL AND
                (
                    `products`.`Title` LIKE '%носа%' OR
                    `products`.`Annotation` LIKE '%носа%' OR
                    `products`.`SubTitle` LIKE '%носа%' OR
                    `products`.`Label` LIKE '%носа%' OR
                    `products`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `products`.`Title` LIKE 'носа%' THEN 0
                WHEN `products`.`SubTitle` LIKE 'носа%' THEN 1
                WHEN `products`.`Label` LIKE 'носа%' THEN 2
                WHEN `products`.`Content` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%носа%' OR
                    `pages`.`FooterLabel` LIKE '%носа%' OR
                    `pages`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'носа%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'носа%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% носа%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:33:11] /sterimar/www/bg/search.html?q=носа  108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`UploadID`,
                `products`.`Title`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`
            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`.`Content` IS NOT NULL AND
                (
                    `products`.`Title` LIKE '%носа%' OR
                    `products`.`Annotation` LIKE '%носа%' OR
                    `products`.`SubTitle` LIKE '%носа%' OR
                    `products`.`Label` LIKE '%носа%' OR
                    `products`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `products`.`Title` LIKE 'носа%' THEN 0
                WHEN `products`.`SubTitle` LIKE 'носа%' THEN 1
                WHEN `products`.`Label` LIKE 'носа%' THEN 2
                WHEN `products`.`Content` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%носа%' OR
                    `pages`.`FooterLabel` LIKE '%носа%' OR
                    `pages`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'носа%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'носа%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% носа%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:33:28] /sterimar/www/bg/search.html?q=носа  108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`UploadID`,
                `products`.`Title`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`
            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`.`Content` IS NOT NULL AND
                (
                    `products`.`Title` LIKE '%носа%' OR
                    `products`.`Annotation` LIKE '%носа%' OR
                    `products`.`SubTitle` LIKE '%носа%' OR
                    `products`.`Label` LIKE '%носа%' OR
                    `products`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `products`.`Title` LIKE 'носа%' THEN 0
                WHEN `products`.`SubTitle` LIKE 'носа%' THEN 1
                WHEN `products`.`Label` LIKE 'носа%' THEN 2
                WHEN `products`.`Content` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%носа%' OR
                    `pages`.`FooterLabel` LIKE '%носа%' OR
                    `pages`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'носа%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'носа%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% носа%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:33:52] /sterimar/www/bg/search.html?q=носа  108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`UploadID`,
                `products`.`Title`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`
            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`.`Content` IS NOT NULL AND
                (
                    `products`.`Title` LIKE '%носа%' OR
                    `products`.`Annotation` LIKE '%носа%' OR
                    `products`.`SubTitle` LIKE '%носа%' OR
                    `products`.`Label` LIKE '%носа%' OR
                    `products`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `products`.`Title` LIKE 'носа%' THEN 0
                WHEN `products`.`SubTitle` LIKE 'носа%' THEN 1
                WHEN `products`.`Label` LIKE 'носа%' THEN 2
                WHEN `products`.`Content` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%носа%' OR
                    `pages`.`FooterLabel` LIKE '%носа%' OR
                    `pages`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'носа%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'носа%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% носа%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:37:12] /sterimar/www/bg/search.html?q=носа  108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`UploadID`,
                `products`.`Title`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`
            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`.`Content` IS NOT NULL AND
                (
                    `products`.`Title` LIKE '%носа%' OR
                    `products`.`Annotation` LIKE '%носа%' OR
                    `products`.`SubTitle` LIKE '%носа%' OR
                    `products`.`Label` LIKE '%носа%' OR
                    `products`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `products`.`Title` LIKE 'носа%' THEN 0
                WHEN `products`.`SubTitle` LIKE 'носа%' THEN 1
                WHEN `products`.`Label` LIKE 'носа%' THEN 2
                WHEN `products`.`Content` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`UploadID`,
                `articles`.`Title`,
                `articles`.`Image`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`,
            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
                `articles`.`Content` IS NOT NULL AND
                (
                    `articles`.`Title` LIKE '%носа%' OR
                    `articles`.`Annotation` LIKE '%носа%' OR
                    `articles`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `articles`.`Title` LIKE 'носа%' THEN 0
                WHEN `articles`.`Annotation` LIKE 'носа%' THEN 1
                WHEN `articles`.`Content` LIKE '% носа%' THEN 3
                ELSE 4
            END
# [08-Apr-2025 09:37:30] /sterimar/www/bg/search.html?q=носа  108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`UploadID`,
                `products`.`Title`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`
            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`.`Content` IS NOT NULL AND
                (
                    `products`.`Title` LIKE '%носа%' OR
                    `products`.`Annotation` LIKE '%носа%' OR
                    `products`.`SubTitle` LIKE '%носа%' OR
                    `products`.`Label` LIKE '%носа%' OR
                    `products`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `products`.`Title` LIKE 'носа%' THEN 0
                WHEN `products`.`SubTitle` LIKE 'носа%' THEN 1
                WHEN `products`.`Label` LIKE 'носа%' THEN 2
                WHEN `products`.`Content` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`UploadID`,
                `articles`.`Title`,
                `articles`.`Image`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`
            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
                `articles`.`Content` IS NOT NULL AND
                (
                    `articles`.`Title` LIKE '%носа%' OR
                    `articles`.`Annotation` LIKE '%носа%' OR
                    `articles`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `articles`.`Title` LIKE 'носа%' THEN 0
                WHEN `articles`.`Annotation` LIKE 'носа%' THEN 1
                WHEN `articles`.`Content` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%носа%' OR
                    `pages`.`FooterLabel` LIKE '%носа%' OR
                    `pages`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'носа%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'носа%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% носа%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

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` = 'contacts' AND
                `pages`.`Action` = 'index'
         AND `meta`.`Visible` = 1 LIMIT 1
# [08-Apr-2025 09:40:19] /sterimar/www/bg/search.html?q=носа  108.61.209.243

set names utf8

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'search' AND
	    		`meta`.`URLLabel` = 'search'
         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` = 'search' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'search' AND
                P1.`Visible` = 1

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`UploadID`,
                `products`.`Title`,
                `products`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`
            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`.`Content` IS NOT NULL AND
                (
                    `products`.`Title` LIKE '%носа%' OR
                    `products`.`Annotation` LIKE '%носа%' OR
                    `products`.`SubTitle` LIKE '%носа%' OR
                    `products`.`Label` LIKE '%носа%' OR
                    `products`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `products`.`Title` LIKE 'носа%' THEN 0
                WHEN `products`.`SubTitle` LIKE 'носа%' THEN 1
                WHEN `products`.`Label` LIKE 'носа%' THEN 2
                WHEN `products`.`Content` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`UploadID`,
                `articles`.`Title`,
                `articles`.`Image`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabels`
            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
                `articles`.`Content` IS NOT NULL AND
                (
                    `articles`.`Title` LIKE '%носа%' OR
                    `articles`.`Annotation` LIKE '%носа%' OR
                    `articles`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `articles`.`Title` LIKE 'носа%' THEN 0
                WHEN `articles`.`Annotation` LIKE 'носа%' THEN 1
                WHEN `articles`.`Content` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `meta`.`MetaTitle`,
                `meta`.`MetaDescription`,
                `meta`.`URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
            WHERE
                `meta`.`Language` = 'bg' AND
                `pages`.`Content` IS NOT NULL AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (
                    `pages`.`MenuLabel` LIKE '%носа%' OR
                    `pages`.`FooterLabel` LIKE '%носа%' OR
                    `pages`.`Content` LIKE '%носа%'
                ) AND
                `meta`.`Visible` = 1
            ORDER BY CASE
                WHEN `pages`.`MenuLabel` LIKE 'носа%' THEN 0
                WHEN `pages`.`FooterLabel` LIKE 'носа%' THEN 1
                WHEN `pages`.`MenuLabel` LIKE '% носа%' THEN 2
                WHEN `pages`.`FooterLabel` LIKE '% носа%' THEN 3
                ELSE 4
            END

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('InfoFoundResults') 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

