# [14-Apr-2025 15:36:02] /elitcar/www/bg/ajax/banners/pos_1.html?_=1744634160640 108.61.209.243
# [14-Apr-2025 15:36:02] /elitcar/www/bg/ajax/promo.html?_=1744634160641 108.61.209.243
# [14-Apr-2025 15:36:02] /elitcar/www/bg/ajax/banners/pos_0.html?_=1744634160640 108.61.209.243
# [14-Apr-2025 15:36:02] /elitcar/www/bg/ajax/banners/pos_2.html?_=1744634160641 108.61.209.243

set names utf8

SELECT
                `ID`,
                `Image`,
                `Title`,
                `Target`,
                `Position`
            FROM
                `elitcar_store`.`banners`
            WHERE
                (CURDATE() BETWEEN `StartFrom` AND `EndTo` OR `EndTo` IS NULL) AND
                `Image` != '' AND
                `Position` = 1 AND
                `Visible` = 1 AND
                `Domain` & 1
        ORDER BY RAND() LIMIT 1
# [14-Apr-2025 15:36:02] /elitcar/www/bg/ajax/promo.html?_=1744634160641 108.61.209.243

set names utf8

SELECT
                `ID`,
                `Image`,
                `Title`,
                `Target`,
                `Position`
            FROM
                `elitcar_store`.`banners`
            WHERE
                (CURDATE() BETWEEN `StartFrom` AND `EndTo` OR `EndTo` IS NULL) AND
                `Image` != '' AND
                `Position` = 0 AND
                `Visible` = 1 AND
                `Domain` & 1
        ORDER BY `PostDate` DESC

set names utf8

SELECT
                `ID`,
                `Image`,
                `Title`,
                `Target`,
                `Position`
            FROM
                `elitcar_store`.`banners`
            WHERE
                (CURDATE() BETWEEN `StartFrom` AND `EndTo` OR `EndTo` IS NULL) AND
                `Image` != '' AND
                `Position` = 2 AND
                `Visible` = 1 AND
                `Domain` & 1
        ORDER BY RAND() LIMIT 3

UPDATE `elitcar_store`.`banners` SET `Impressions` = `Impressions` + 1 WHERE `ID` IN (217,198)

SELECT TOP 5
                Item_Id
            FROM
                N_SalesPrice
            WHERE
                Comp_id = '001' AND
                _promotype = 1 AND
                (StartingDate <= GETDATE() OR StartingDate IS NULL) AND
                (EndingDate >= GETDATE() OR EndingDate IS NULL)
            ORDER BY NEWID()

set names utf8

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BOSCH S P00 000 149'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BOSCH S P00 000 149'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BOSCH S P00 000 149'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'TEKTINO RCC-6S'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'TEKTINO RCC-6S'
            LIMIT 1

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BOSCH S P00 000 175'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BOSCH S P00 000 175'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BOSCH S P00 000 175'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BOSCH S P00 000 162'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BOSCH S P00 000 162'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BOSCH S P00 000 162'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'ECS 14716-7.4'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ECS 14716-7.4'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'ECS 14716-7.4'
            ORDER BY N_Item.Id

SELECT TOP 5
                Item_Id
            FROM
                N_SalesPrice
            WHERE
                Comp_id = '001' AND
                _promotype = 2 AND
                (StartingDate <= GETDATE() OR StartingDate IS NULL) AND
                (EndingDate >= GETDATE() OR EndingDate IS NULL)
            ORDER BY NEWID()
# [14-Apr-2025 15:36:04] /elitcar/www/bg/groups/39849642.html 108.61.209.243

set names utf8

SELECT
                `autokelly`.`catalog`.`Id`,
                `autokelly`.`catalog`.`Type`,
                `autokelly`.`catalog`.`TecDocId`,
                `autokelly`.`structure`.`ParentId`,
                `autokelly`.`catalogname`.`CatalogNameConversionId`,
                `autokelly`.`catalogname`.`BG` AS `NodeName`,
                `autokelly`.`catalogimages`.*,
                IF(`autokelly`.`catalogvisible`.`Unvisible` IS NULL, 1, 0) AS `Visible`,
                IF(`S`.`ParentId` IS NULL, 0, 1) AS `ChildNodes`
            FROM
                `autokelly`.`structure`
                INNER JOIN `autokelly`.`catalognameconversion` ON `autokelly`.`catalognameconversion`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                INNER JOIN `autokelly`.`catalogname` ON `autokelly`.`catalogname`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id`
                INNER JOIN `autokelly`.`catalog` ON `autokelly`.`catalog`.`Id` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogimages` ON `autokelly`.`catalogimages`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogvisible` ON
                    `autokelly`.`catalogvisible`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id` AND
                    `autokelly`.`catalogvisible`.`ParentId` = `autokelly`.`structure`.`ParentId`
                LEFT JOIN `autokelly`.`structure` AS `S` ON `S`.`ParentId` = `autokelly`.`catalog`.`Id`
            WHERE
                `autokelly`.`structure`.`ParentId` = 39849642
        
            GROUP BY
                `autokelly`.`catalog`.`Id`
            ORDER BY
                `autokelly`.`catalogimages`.`FileName` DESC,
                `autokelly`.`structure`.`Order`,
                `autokelly`.`catalogname`.`BG`

SELECT
                `autokelly`.`catalog`.`Id`,
                `autokelly`.`catalog`.`Type`,
                `autokelly`.`catalog`.`TecDocId`,
                `autokelly`.`structure`.`ParentId`,
                `autokelly`.`catalogname`.`CatalogNameConversionId`,
                `autokelly`.`catalogname`.`BG` AS `NodeName`,
                `autokelly`.`catalogimages`.*,
                IF(`autokelly`.`catalogvisible`.`Unvisible` IS NULL, 1, 0) AS `Visible`,
                IF(`S`.`ParentId` IS NULL, 0, 1) AS `ChildNodes`
            FROM
                `autokelly`.`structure`
                INNER JOIN `autokelly`.`catalognameconversion` ON `autokelly`.`catalognameconversion`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                INNER JOIN `autokelly`.`catalogname` ON `autokelly`.`catalogname`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id`
                INNER JOIN `autokelly`.`catalog` ON `autokelly`.`catalog`.`Id` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogimages` ON `autokelly`.`catalogimages`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogvisible` ON
                    `autokelly`.`catalogvisible`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id` AND
                    `autokelly`.`catalogvisible`.`ParentId` = `autokelly`.`structure`.`ParentId`
                LEFT JOIN `autokelly`.`structure` AS `S` ON `S`.`ParentId` = `autokelly`.`catalog`.`Id`
            WHERE
                `autokelly`.`structure`.`ParentId` = 51224611
        
            GROUP BY
                `autokelly`.`catalog`.`Id`
            ORDER BY
                `autokelly`.`catalogimages`.`FileName` DESC,
                `autokelly`.`structure`.`Order`,
                `autokelly`.`catalogname`.`BG`

SELECT
                `autokelly`.`catalog`.`Id`,
                `autokelly`.`catalog`.`Type`,
                `autokelly`.`catalog`.`TecDocId`,
                `autokelly`.`structure`.`ParentId`,
                `autokelly`.`catalogname`.`CatalogNameConversionId`,
                `autokelly`.`catalogname`.`BG` AS `NodeName`,
                `autokelly`.`catalogimages`.*,
                IF(`autokelly`.`catalogvisible`.`Unvisible` IS NULL, 1, 0) AS `Visible`,
                IF(`S`.`ParentId` IS NULL, 0, 1) AS `ChildNodes`
            FROM
                `autokelly`.`structure`
                INNER JOIN `autokelly`.`catalognameconversion` ON `autokelly`.`catalognameconversion`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                INNER JOIN `autokelly`.`catalogname` ON `autokelly`.`catalogname`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id`
                INNER JOIN `autokelly`.`catalog` ON `autokelly`.`catalog`.`Id` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogimages` ON `autokelly`.`catalogimages`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogvisible` ON
                    `autokelly`.`catalogvisible`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id` AND
                    `autokelly`.`catalogvisible`.`ParentId` = `autokelly`.`structure`.`ParentId`
                LEFT JOIN `autokelly`.`structure` AS `S` ON `S`.`ParentId` = `autokelly`.`catalog`.`Id`
            WHERE
                `autokelly`.`structure`.`ParentId` = 38979037
        
            GROUP BY
                `autokelly`.`catalog`.`Id`
            ORDER BY
                `autokelly`.`catalogimages`.`FileName` DESC,
                `autokelly`.`structure`.`Order`,
                `autokelly`.`catalogname`.`BG`

SELECT
                `autokelly`.`catalog`.`Id`,
                `autokelly`.`catalog`.`Type`,
                `autokelly`.`catalog`.`TecDocId`,
                `autokelly`.`structure`.`ParentId`,
                `autokelly`.`catalogname`.`CatalogNameConversionId`,
                `autokelly`.`catalogname`.`BG` AS `NodeName`,
                `autokelly`.`catalogimages`.*,
                IF(`autokelly`.`catalogvisible`.`Unvisible` IS NULL, 1, 0) AS `Visible`,
                IF(`S`.`ParentId` IS NULL, 0, 1) AS `ChildNodes`
            FROM
                `autokelly`.`structure`
                INNER JOIN `autokelly`.`catalognameconversion` ON `autokelly`.`catalognameconversion`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                INNER JOIN `autokelly`.`catalogname` ON `autokelly`.`catalogname`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id`
                INNER JOIN `autokelly`.`catalog` ON `autokelly`.`catalog`.`Id` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogimages` ON `autokelly`.`catalogimages`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogvisible` ON
                    `autokelly`.`catalogvisible`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id` AND
                    `autokelly`.`catalogvisible`.`ParentId` = `autokelly`.`structure`.`ParentId`
                LEFT JOIN `autokelly`.`structure` AS `S` ON `S`.`ParentId` = `autokelly`.`catalog`.`Id`
            WHERE
                `autokelly`.`structure`.`ParentId` = 38979167
        
            GROUP BY
                `autokelly`.`catalog`.`Id`
            ORDER BY
                `autokelly`.`catalogimages`.`FileName` DESC,
                `autokelly`.`structure`.`Order`,
                `autokelly`.`catalogname`.`BG`

SELECT
                `autokelly`.`catalog`.`Id`,
                `autokelly`.`catalog`.`Type`,
                `autokelly`.`catalog`.`TecDocId`,
                `autokelly`.`structure`.`ParentId`,
                `autokelly`.`catalogname`.`CatalogNameConversionId`,
                `autokelly`.`catalogname`.`BG` AS `NodeName`,
                `autokelly`.`catalogimages`.*,
                IF(`autokelly`.`catalogvisible`.`Unvisible` IS NULL, 1, 0) AS `Visible`,
                IF(`S`.`ParentId` IS NULL, 0, 1) AS `ChildNodes`
            FROM
                `autokelly`.`structure`
                INNER JOIN `autokelly`.`catalognameconversion` ON `autokelly`.`catalognameconversion`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                INNER JOIN `autokelly`.`catalogname` ON `autokelly`.`catalogname`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id`
                INNER JOIN `autokelly`.`catalog` ON `autokelly`.`catalog`.`Id` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogimages` ON `autokelly`.`catalogimages`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogvisible` ON
                    `autokelly`.`catalogvisible`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id` AND
                    `autokelly`.`catalogvisible`.`ParentId` = `autokelly`.`structure`.`ParentId`
                LEFT JOIN `autokelly`.`structure` AS `S` ON `S`.`ParentId` = `autokelly`.`catalog`.`Id`
            WHERE
                `autokelly`.`structure`.`ParentId` = 38957081
        
            GROUP BY
                `autokelly`.`catalog`.`Id`
            ORDER BY
                `autokelly`.`catalogimages`.`FileName` DESC,
                `autokelly`.`structure`.`Order`,
                `autokelly`.`catalogname`.`BG`

SELECT
                `autokelly`.`catalog`.`Id`,
                `autokelly`.`catalog`.`Type`,
                `autokelly`.`catalog`.`TecDocId`,
                `autokelly`.`structure`.`ParentId`,
                `autokelly`.`catalogname`.`CatalogNameConversionId`,
                `autokelly`.`catalogname`.`BG` AS `NodeName`,
                `autokelly`.`catalogimages`.*,
                IF(`autokelly`.`catalogvisible`.`Unvisible` IS NULL, 1, 0) AS `Visible`,
                IF(`S`.`ParentId` IS NULL, 0, 1) AS `ChildNodes`
            FROM
                `autokelly`.`structure`
                INNER JOIN `autokelly`.`catalognameconversion` ON `autokelly`.`catalognameconversion`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                INNER JOIN `autokelly`.`catalogname` ON `autokelly`.`catalogname`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id`
                INNER JOIN `autokelly`.`catalog` ON `autokelly`.`catalog`.`Id` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogimages` ON `autokelly`.`catalogimages`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogvisible` ON
                    `autokelly`.`catalogvisible`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id` AND
                    `autokelly`.`catalogvisible`.`ParentId` = `autokelly`.`structure`.`ParentId`
                LEFT JOIN `autokelly`.`structure` AS `S` ON `S`.`ParentId` = `autokelly`.`catalog`.`Id`
            WHERE
                `autokelly`.`structure`.`ParentId` = 38957087
        
            GROUP BY
                `autokelly`.`catalog`.`Id`
            ORDER BY
                `autokelly`.`catalogimages`.`FileName` DESC,
                `autokelly`.`structure`.`Order`,
                `autokelly`.`catalogname`.`BG`

SELECT
                `autokelly`.`catalog`.`Id`,
                `autokelly`.`catalog`.`Type`,
                `autokelly`.`catalog`.`TecDocId`,
                `autokelly`.`structure`.`ParentId`,
                `autokelly`.`catalogname`.`CatalogNameConversionId`,
                `autokelly`.`catalogname`.`BG` AS `NodeName`,
                `autokelly`.`catalogimages`.*,
                IF(`autokelly`.`catalogvisible`.`Unvisible` IS NULL, 1, 0) AS `Visible`,
                IF(`S`.`ParentId` IS NULL, 0, 1) AS `ChildNodes`
            FROM
                `autokelly`.`structure`
                INNER JOIN `autokelly`.`catalognameconversion` ON `autokelly`.`catalognameconversion`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                INNER JOIN `autokelly`.`catalogname` ON `autokelly`.`catalogname`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id`
                INNER JOIN `autokelly`.`catalog` ON `autokelly`.`catalog`.`Id` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogimages` ON `autokelly`.`catalogimages`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogvisible` ON
                    `autokelly`.`catalogvisible`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id` AND
                    `autokelly`.`catalogvisible`.`ParentId` = `autokelly`.`structure`.`ParentId`
                LEFT JOIN `autokelly`.`structure` AS `S` ON `S`.`ParentId` = `autokelly`.`catalog`.`Id`
            WHERE
                `autokelly`.`structure`.`ParentId` = 40064029
        
            GROUP BY
                `autokelly`.`catalog`.`Id`
            ORDER BY
                `autokelly`.`catalogimages`.`FileName` DESC,
                `autokelly`.`structure`.`Order`,
                `autokelly`.`catalogname`.`BG`

SELECT
                `autokelly`.`catalog`.`Id`,
                `autokelly`.`catalog`.`Type`,
                `autokelly`.`catalog`.`TecDocId`,
                `autokelly`.`structure`.`ParentId`,
                `autokelly`.`catalogname`.`CatalogNameConversionId`,
                `autokelly`.`catalogname`.`BG` AS `NodeName`,
                `autokelly`.`catalogimages`.*,
                IF(`autokelly`.`catalogvisible`.`Unvisible` IS NULL, 1, 0) AS `Visible`,
                IF(`S`.`ParentId` IS NULL, 0, 1) AS `ChildNodes`
            FROM
                `autokelly`.`structure`
                INNER JOIN `autokelly`.`catalognameconversion` ON `autokelly`.`catalognameconversion`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                INNER JOIN `autokelly`.`catalogname` ON `autokelly`.`catalogname`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id`
                INNER JOIN `autokelly`.`catalog` ON `autokelly`.`catalog`.`Id` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogimages` ON `autokelly`.`catalogimages`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogvisible` ON
                    `autokelly`.`catalogvisible`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id` AND
                    `autokelly`.`catalogvisible`.`ParentId` = `autokelly`.`structure`.`ParentId`
                LEFT JOIN `autokelly`.`structure` AS `S` ON `S`.`ParentId` = `autokelly`.`catalog`.`Id`
            WHERE
                `autokelly`.`structure`.`ParentId` = 38957089
        
            GROUP BY
                `autokelly`.`catalog`.`Id`
            ORDER BY
                `autokelly`.`catalogimages`.`FileName` DESC,
                `autokelly`.`structure`.`Order`,
                `autokelly`.`catalogname`.`BG`

SELECT
                `autokelly`.`catalog`.`Id`,
                `autokelly`.`catalog`.`Type`,
                `autokelly`.`catalog`.`TecDocId`,
                `autokelly`.`structure`.`ParentId`,
                `autokelly`.`catalogname`.`CatalogNameConversionId`,
                `autokelly`.`catalogname`.`BG` AS `NodeName`,
                `autokelly`.`catalogimages`.*,
                IF(`autokelly`.`catalogvisible`.`Unvisible` IS NULL, 1, 0) AS `Visible`,
                IF(`S`.`ParentId` IS NULL, 0, 1) AS `ChildNodes`
            FROM
                `autokelly`.`structure`
                INNER JOIN `autokelly`.`catalognameconversion` ON `autokelly`.`catalognameconversion`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                INNER JOIN `autokelly`.`catalogname` ON `autokelly`.`catalogname`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id`
                INNER JOIN `autokelly`.`catalog` ON `autokelly`.`catalog`.`Id` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogimages` ON `autokelly`.`catalogimages`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogvisible` ON
                    `autokelly`.`catalogvisible`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id` AND
                    `autokelly`.`catalogvisible`.`ParentId` = `autokelly`.`structure`.`ParentId`
                LEFT JOIN `autokelly`.`structure` AS `S` ON `S`.`ParentId` = `autokelly`.`catalog`.`Id`
            WHERE
                `autokelly`.`structure`.`ParentId` = 38908614
        
            GROUP BY
                `autokelly`.`catalog`.`Id`
            ORDER BY
                `autokelly`.`catalogimages`.`FileName` DESC,
                `autokelly`.`structure`.`Order`,
                `autokelly`.`catalogname`.`BG`

SELECT
                `autokelly`.`catalog`.`Id`,
                `autokelly`.`catalog`.`Type`,
                `autokelly`.`catalog`.`TecDocId`,
                `autokelly`.`structure`.`ParentId`,
                `autokelly`.`catalogname`.`CatalogNameConversionId`,
                `autokelly`.`catalogname`.`BG` AS `NodeName`,
                `autokelly`.`catalogimages`.*,
                IF(`autokelly`.`catalogvisible`.`Unvisible` IS NULL, 1, 0) AS `Visible`,
                IF(`S`.`ParentId` IS NULL, 0, 1) AS `ChildNodes`
            FROM
                `autokelly`.`structure`
                INNER JOIN `autokelly`.`catalognameconversion` ON `autokelly`.`catalognameconversion`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                INNER JOIN `autokelly`.`catalogname` ON `autokelly`.`catalogname`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id`
                INNER JOIN `autokelly`.`catalog` ON `autokelly`.`catalog`.`Id` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogimages` ON `autokelly`.`catalogimages`.`CatalogId` = `autokelly`.`structure`.`CatalogId`
                LEFT JOIN `autokelly`.`catalogvisible` ON
                    `autokelly`.`catalogvisible`.`CatalogNameConversionId` = `autokelly`.`catalognameconversion`.`Id` AND
                    `autokelly`.`catalogvisible`.`ParentId` = `autokelly`.`structure`.`ParentId`
                LEFT JOIN `autokelly`.`structure` AS `S` ON `S`.`ParentId` = `autokelly`.`catalog`.`Id`
            WHERE
                `autokelly`.`structure`.`ParentId` = 40064028
        
            GROUP BY
                `autokelly`.`catalog`.`Id`
            ORDER BY
                `autokelly`.`catalogimages`.`FileName` DESC,
                `autokelly`.`structure`.`Order`,
                `autokelly`.`catalogname`.`BG`

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BGS 7310'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BGS 7310'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BGS 7310'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BGS 7890'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BGS 7890'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BGS 7890'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BGS 4114'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BGS 4114'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BGS 4114'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'ECS OP101'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ECS OP101'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'ECS OP101'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BGS 6055'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BGS 6055'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BGS 6055'
            ORDER BY N_Item.Id

SELECT TOP 5
                Item_Id
            FROM
                N_SalesPrice
            WHERE
                Comp_id = '001' AND
                _promotype = 3 AND
                (StartingDate <= GETDATE() OR StartingDate IS NULL) AND
                (EndingDate >= GETDATE() OR EndingDate IS NULL)
            ORDER BY NEWID()

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BGS 20210'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BGS 20210'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BGS 20210'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'OSRAM LEDIL408'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'OSRAM LEDIL408'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'OSRAM LEDIL408'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BGS 98098'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BGS 98098'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BGS 98098'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BGS 810'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BGS 810'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BGS 810'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'OSRAM OJS030'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'OSRAM OJS030'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'OSRAM OJS030'
            ORDER BY N_Item.Id

SELECT TOP 5
                Item_Id
            FROM
                N_SalesPrice
            WHERE
                Comp_id = '001' AND
                _promotype = 4 AND
                (StartingDate <= GETDATE() OR StartingDate IS NULL) AND
                (EndingDate >= GETDATE() OR EndingDate IS NULL)
            ORDER BY NEWID()

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BOSCH F 026 C00 469'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BOSCH F 026 C00 469'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BOSCH F 026 C00 469'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'GOLD EAGLE 21304'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'GOLD EAGLE 21304'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'GOLD EAGLE 21304'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BOSCH 0 684 400 253'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BOSCH 0 684 400 253'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BOSCH 0 684 400 253'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BOSCH F 026 C00 468'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BOSCH F 026 C00 468'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BOSCH F 026 C00 468'
            ORDER BY N_Item.Id

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'BOSCH F 026 C00 467'

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 0
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BOSCH F 026 C00 467'
            LIMIT 1

SELECT
                N_Item.Id,
                N_Item.No2,
                N_Item.FullSearch_Id,
                N_Item.FullSearchTecDoc_Id,
                N_Producer.SUP_ID,
                N_Producer.SUP_BRAND,
                N_Producer.BRA_ID,
                N_Producer.BRA_BRAND,
                N_Item.Description,
                N_Item.C_Datetime,
                N_Item.VendorNo,
                N_Item.VendorItemNo,
                N_Item.Blocked,
                N_Item._TecDocNo,
                N_Item.ReusableGroup_Id,
                N_Producer.Name,
                N_Producer._Name2,
                N_Producer.WithoutQty
            FROM
                N_Item WITH(NOLOCK)
                INNER JOIN N_Producer WITH(NOLOCK) ON (N_Producer.Id = N_Item.Producer_code)
            WHERE
                N_Item.Comp_Id = '001' AND
                N_Item.Id = 'BOSCH F 026 C00 467'
            ORDER BY N_Item.Id

Successfully disconnected from the database!
# [14-Apr-2025 15:36:09] /elitcar/www/bg/ajax/search/select.html?keyword=553.190&_=1744634168170 108.61.209.243
# [14-Apr-2025 15:36:15] /elitcar/www/bg/search/sn_553/W0ROIDU1My4xOTBd.html 108.61.209.243

set names utf8

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '80133' AND `ProducerId` = 4598

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'azmt420851071' AND `ProducerId` = 5275

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12027300' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 12027300'
            LIMIT 1

set names utf8

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '553190' AND `ProducerId` = 10

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '553190' AND `ProducerId` = 85

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '5531900a1' AND `ProducerId` = 78

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '5531901a1' AND `ProducerId` = 78

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '5531901lldue' AND `ProducerId` = 4657

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '5531901rldue' AND `ProducerId` = 4657

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '5531902a1' AND `ProducerId` = 78

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '5531902lue' AND `ProducerId` = 4657

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '5531902rue' AND `ProducerId` = 4657

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '5531903lue' AND `ProducerId` = 4657

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12000700' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 12000700'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12032600' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 12032600'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '57005000' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 57005000'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '23467tf' AND `ProducerId` = 317

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '10553190' AND `ProducerId` = 479

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'vk6305' AND `ProducerId` = 478

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '24021289' AND `ProducerId` = 16

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BILSTEIN 24-021289'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '241260' AND `ProducerId` = 14

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '30c590' AND `ProducerId` = 14

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'h52003' AND `ProducerId` = 65

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12014584' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 12014584'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '49472013' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 49472013'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1110570' AND `ProducerId` = 355

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DT 11.10570'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '553190' AND `ProducerId` = 10

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 553.190'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1656040' AND `ProducerId` = 237

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'vsk425' AND `ProducerId` = 267

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '03345' AND `ProducerId` = 101

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'FEBI 03345'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '5218561' AND `ProducerId` = 279

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'p7653100' AND `ProducerId` = 88

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1405268480' AND `ProducerId` = 4257

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1405268000' AND `ProducerId` = 4257

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1447158300' AND `ProducerId` = 4257

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '28u8003jpn' AND `ProducerId` = 6985

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'ssa9063' AND `ProducerId` = 201

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1130010' AND `ProducerId` = 4546

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '553190' AND `ProducerId` = 85

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'KYB 553190'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'g11259l' AND `ProducerId` = 4600

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '521744' AND `ProducerId` = 6470

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '520036' AND `ProducerId` = 6470

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'd8466s' AND `ProducerId` = 37

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'MONROE D8466S'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'd8467s' AND `ProducerId` = 37

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'MONROE D8467S'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 't490a208t' AND `ProducerId` = 440

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'hr569' AND `ProducerId` = 113

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'PAYEN HR569'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'hr805' AND `ProducerId` = 113

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'PAYEN HR805'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '333963' AND `ProducerId` = 273

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '333965' AND `ProducerId` = 273

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '290619' AND `ProducerId` = 32

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'SACHS 290 619'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'sksa0132299' AND `ProducerId` = 6357

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '30340001' AND `ProducerId` = 151

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'SWAG 30 34 0001'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '2859' AND `ProducerId` = 6968

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'TOKICO 2859'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'e2785' AND `ProducerId` = 6968

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'TOKICO E2785'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '100207' AND `ProducerId` = 301

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '100254' AND `ProducerId` = 301

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '0712117' AND `ProducerId` = 209

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'TRUCKTEC 07.12.117'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'bk1856' AND `ProducerId` = 161

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'TRW BK1856'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '702583700' AND `ProducerId` = 9

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 70-25837-00'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '211883' AND `ProducerId` = 6003

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1118830' AND `ProducerId` = 6003

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2308257' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2134503' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1177009' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1004625' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1242670' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2134436' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1087866' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1768860' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1004196' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1768882' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1433591' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1191853' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1169725' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2293069' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1181366' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2134437' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1103708' AND `ProducerId` = 4832

SELECT
                `autokelly`.`code`.`CodeValue`,
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`,
                `elitcar_store`.`moneta`.`FullSearchTecDocId`,
                `elitcar_store`.`moneta`.`ReusableGroupId`,
                `elitcar_store`.`moneta`.`OE`
            FROM
                `autokelly`.`code`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`code`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                INNER JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                MATCH(`autokelly`.`code`.`CodeValue`) AGAINST('553190' IN BOOLEAN MODE)
            LIMIT 500

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 8479242
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 8479242 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 8479242 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'MONROE D8467'
            LIMIT 1

SELECT
                `autokelly`.`codeoem`.`CodeValue`,
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`FullSearchTecDocId`,
                `elitcar_store`.`moneta`.`ReusableGroupId`,
                -- `elitcar_store`.`moneta`.`OE`
                1 AS `OE`
            FROM
                `autokelly`.`codeoem`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeoem`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                INNER JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                MATCH(`autokelly`.`codeoem`.`CodeValue`) AGAINST('553190' IN BOOLEAN MODE);

(SELECT * FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '553190')
            UNION
            (SELECT
                M2.*
            FROM
                `elitcar_store`.`moneta` AS M1
                LEFT JOIN `elitcar_store`.`moneta` AS M2 ON M1.`ReusableGroupId` = M2.`ReusableGroupId`
            WHERE
                M1.`FullSearchTecDocId` = '553190' AND
                M2.`ReusableGroupId` != '' AND
                M2.`QtyAll` > 0
            ORDER BY
                `M2`.`Sales` DESC,
                `M2`.`Qty` DESC,
                `M2`.`QtyAll` DESC)

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DPH 1272960'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DPH 45720'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 294.250'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'PEUGEOT 1607427280'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 12-25837-01'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 70-22737-00'
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 12121902
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 12121902
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 12121902 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 12121902 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5
# [14-Apr-2025 15:36:18] /elitcar/www/bg/ajax/moneta/sort.html?sn=553.190&_=1744634176849 108.61.209.243

set names utf8

SELECT
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`Sales`,
                `elitcar_store`.`moneta`.`Qty`,
                `elitcar_store`.`moneta`.`QtyAll`,
                `elitcar_store`.`moneta`.`FullSearchTecDocId`
            FROM
                `elitcar_store`.`moneta`
                LEFT JOIN `elitcar_store`.`availabilities` ON `elitcar_store`.`moneta`.`MonetaId` = `elitcar_store`.`availabilities`.`MonetaId` AND `elitcar_store`.`availabilities`.`BusinessGroupID` = ''
            WHERE
                `elitcar_store`.`moneta`.`MonetaId` IN('AJUSA 12027300','AJUSA 12000700','AJUSA 12032600','AJUSA 57005000','BILSTEIN 24-021289','CORTECO 12014584','CORTECO 49472013','DT 11.10570','ELRING 553.190','FEBI 03345','KYB 553190','MONROE D8466S','MONROE D8467S','PAYEN HR569','PAYEN HR805','SACHS 290 619','SWAG 30 34 0001','TOKICO 2859','TOKICO E2785','TRUCKTEC 07.12.117','TRW BK1856','REINZ 70-25837-00','RANCHO RS5144','MONROE D8467','DPH 1272960','DPH 45720','ELRING 294.250','PEUGEOT 1607427280','REINZ 12-25837-01','REINZ 70-22737-00','STARLINE GA 6506')
            ORDER BY
                `elitcar_store`.`availabilities`.`Qty` DESC,
                `elitcar_store`.`moneta`.`Qty` DESC,
                `elitcar_store`.`moneta`.`QtyAll` DESC,
                `elitcar_store`.`moneta`.`Sales` DESC
# [14-Apr-2025 15:36:24] /elitcar/www/bg/tecdoc/10/WzEwXVs1NTMuMTkwXVtNIEVMUklORyA1NTMuMTkwXQ.html?sn=553.190 108.61.209.243

set names utf8

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 553.190'
            LIMIT 1

SELECT
                `elitcar_store`.`moneta`.`ProductId`
            FROM
                `elitcar_store`.`moneta`
                INNER JOIN `autokelly`.`recommended` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`recommended`.`ProductId`
            WHERE
                `elitcar_store`.`moneta`.`MonetaId` = 'ELRING 553.190'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '80133' AND `ProducerId` = 4598

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12027300' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 12027300'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12000700' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 12000700'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12032600' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 12032600'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '23467tf' AND `ProducerId` = 317

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12014584' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 12014584'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '49472013' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 49472013'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1110570' AND `ProducerId` = 355

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DT 11.10570'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '553190' AND `ProducerId` = 10

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1656040' AND `ProducerId` = 237

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '03345' AND `ProducerId` = 101

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'FEBI 03345'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'p7653100' AND `ProducerId` = 88

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1405268480' AND `ProducerId` = 4257

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1447158300' AND `ProducerId` = 4257

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1405268000' AND `ProducerId` = 4257

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '28u8003jpn' AND `ProducerId` = 6985

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1130010' AND `ProducerId` = 4546

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '521744' AND `ProducerId` = 6470

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '520036' AND `ProducerId` = 6470

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '30340001' AND `ProducerId` = 151

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'SWAG 30 34 0001'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '100254' AND `ProducerId` = 301

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '100207' AND `ProducerId` = 301

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '0712117' AND `ProducerId` = 209

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'TRUCKTEC 07.12.117'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '702583700' AND `ProducerId` = 9

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 70-25837-00'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2134437' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1103708' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2293069' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1004625' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2308257' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2134503' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1087866' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1433591' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2134436' AND `ProducerId` = 4832

SELECT `ProductId` FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'ELRING 553.190' LIMIT 1

SELECT
                    `autokelly`.`product`.`Id` AS `ProductId`,
                    `autokelly`.`brand`.`Name` AS `BrandName`,
                    `autokelly`.`codeprimary`.`CodeValue`,
                    `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                    `autokelly`.`producttextglobaldescription`.`BG` AS `ProductDescription`,
                    `elitcar_store`.`moneta`.`MonetaId`,
                    `elitcar_store`.`moneta`.`ProducerId`,
                    `elitcar_store`.`moneta`.`FullSearchTecDocId`,
                    `elitcar_store`.`moneta`.`Sales`,
                    `elitcar_store`.`moneta`.`Qty`,
                    `elitcar_store`.`moneta`.`QtyAll`
                FROM
                    `autokelly`.`product`
                    INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                    INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                    INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                    INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                    INNER JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id` AND `elitcar_store`.`moneta`.`MonetaId` NOT IN ('ELRING 553.190','AJUSA 12027300','AJUSA 12000700','AJUSA 12032600','CORTECO 12014584','CORTECO 49472013','DT 11.10570','FEBI 03345','SWAG 30 34 0001','TRUCKTEC 07.12.117','REINZ 70-25837-00')
                    LEFT JOIN `autokelly`.`producttextglobaldescriptionconversion` ON `autokelly`.`producttextglobaldescriptionconversion`.`ProductId` = `autokelly`.`product`.`Id`
                    LEFT JOIN `autokelly`.`producttextglobaldescription` ON `autokelly`.`producttextglobaldescription`.`ProductTextGlobalDescriptionConversionId` = `autokelly`.`producttextglobaldescriptionconversion`.`Id`
                WHERE
                    `autokelly`.`product`.`Id` IN (
                        SELECT
                            cp1.`ProductId`
                        FROM
                            `autokelly`.`substitute`
                            INNER JOIN `autokelly`.`codeprimary` cp ON cp.`ProductId` = `autokelly`.`substitute`.`ProductId`
                            INNER JOIN `autokelly`.`codeprimary` cp1 ON cp1.`ProductId` = `autokelly`.`substitute`.`SubstituteId`
                        where
                            `autokelly`.`substitute`.`ProductId` = 11513339
                    )

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 1948172
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 1948172 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 1948172 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 12016850'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'PAYEN HR569'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'PAYEN HR615'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 11898471
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 11898471 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 11898471 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 12122729
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 12122729 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 12122729 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'PAYEN HR805'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 12004500'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 57005000'
            LIMIT 1

SELECT `ReusableGroupId` FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'ELRING 553.190' LIMIT 1

SELECT
                    *
                FROM
                    `elitcar_store`.`moneta`
                WHERE
                    `ReusableGroupId` = 'B975FCE6DA3249339C216FDFA6DB75F7' AND
                    `MonetaId` NOT IN ('ELRING 553.190','AJUSA 12027300','AJUSA 12000700','AJUSA 12032600','CORTECO 12014584','CORTECO 49472013','DT 11.10570','FEBI 03345','SWAG 30 34 0001','TRUCKTEC 07.12.117','REINZ 70-25837-00','AUTO KELLY XS 047109675A','CORTECO 12016850','PAYEN HR569','PAYEN HR615','GOETZE 50-306670-50','STARLINE GA 6511','PAYEN HR805','AJUSA 12004500','AJUSA 57005000') AND
                    `QtyAll` > 0
                ORDER BY
                    `Sales`  DESC,
                    `Qty`  DESC,
                    `QtyAll`  DESC

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 12-25837-01'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DPH 45720'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 70-22737-00'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 294.250'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DPH 1272960'
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 12121902
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 12121902
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 12121902 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 12121902 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'PEUGEOT 1607427280'
            LIMIT 1

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'ELRING 553.190' LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`Sales`,
                `elitcar_store`.`moneta`.`Qty`,
                `elitcar_store`.`moneta`.`QtyAll`
            FROM
                `autokelly`.`recommended`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`recommended`.`RecommendedId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                INNER JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`recommended`.`ProductId` = 11513339
            ORDER BY
                `Sales` DESC,
                `Qty` DESC,
                `QtyAll` DESC
            LIMIT 3

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 240305
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 240305 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 240305 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 240306
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 240306 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 240306 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 8363184
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 8363184 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 8363184 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDU1My4xOTBd.html?_=1744634185809 108.61.209.243
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/moneta/sort.html?_=1744634185810 108.61.209.243

set names utf8

SELECT
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`Sales`,
                `elitcar_store`.`moneta`.`Qty`,
                `elitcar_store`.`moneta`.`QtyAll`,
                `elitcar_store`.`moneta`.`FullSearchTecDocId`
            FROM
                `elitcar_store`.`moneta`
                LEFT JOIN `elitcar_store`.`availabilities` ON `elitcar_store`.`moneta`.`MonetaId` = `elitcar_store`.`availabilities`.`MonetaId` AND `elitcar_store`.`availabilities`.`BusinessGroupID` = ''
            WHERE
                `elitcar_store`.`moneta`.`MonetaId` IN('AJUSA 12027300','AJUSA 12000700','AJUSA 12032600','CORTECO 12014584','CORTECO 49472013','DT 11.10570','FEBI 03345','SWAG 30 34 0001','TRUCKTEC 07.12.117','REINZ 70-25837-00','AUTO KELLY XS 047109675A','CORTECO 12016850','PAYEN HR569','PAYEN HR615','GOETZE 50-306670-50','STARLINE GA 6511','PAYEN HR805','AJUSA 12004500','AJUSA 57005000','REINZ 12-25837-01','DPH 45720','REINZ 70-22737-00','ELRING 294.250','DPH 1272960','STARLINE GA 6506','PEUGEOT 1607427280')
            ORDER BY
                `elitcar_store`.`availabilities`.`Qty` DESC,
                `elitcar_store`.`moneta`.`Qty` DESC,
                `elitcar_store`.`moneta`.`QtyAll` DESC,
                `elitcar_store`.`moneta`.`Sales` DESC
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjU4MzctMDBd.html?_=1744634185896 108.61.209.243
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjI3MzctMDBd.html?_=1744634185896 108.61.209.243
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjU4MzctMDFd.html?_=1744634185897 108.61.209.243
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gRFBIIDQ1NzIwXQ.html?_=1744634185897 108.61.209.243
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gRFBIIDEyNzI5NjBd.html?_=1744634185898 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('ELRING 553.190', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 553.190', '', '')

SELECT * FROM  fn_EShopItemInfo_New('REINZ 70-22737-00', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('REINZ 12-25837-01', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('REINZ 70-25837-00', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('DPH 1272960', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('DPH 45720', '', '', '');

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 553.190'
            GROUP BY fComp_Id,fItem_Id

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 70-22737-00', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 12-25837-01', '', '')
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDU1My4xOTBd.html?_=1744634185809 108.61.209.243

set names utf8

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('DPH 1272960', '', '')

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 70-25837-00', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('DPH 45720', '', '')
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUwNl0.html?_=1744634185898 108.61.209.243

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 70-22737-00'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 12-25837-01'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'DPH 1272960'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 70-25837-00'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'DPH 45720'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjI3MzctMDBd.html?_=1744634185896 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjU4MzctMDFd.html?_=1744634185897 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gRFBIIDEyNzI5NjBd.html?_=1744634185898 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjU4MzctMDBd.html?_=1744634185896 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gRFBIIDQ1NzIwXQ.html?_=1744634185897 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gRkVCSSAwMzM0NV0.html?_=1744634185899 108.61.209.243
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gQVVUTyBLRUxMWSBYUyAwNDcxMDk2NzVBXQ.html?_=1744634185899 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('STARLINE GA 6506', '', '', '');
# [14-Apr-2025 15:36:27] /elitcar/www/bg/ajax/prices/W00gRkVCSSAwMzM0NV0.html?_=1744634186427 108.61.209.243
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyA0OTQ3MjAxM10.html?_=1744634186430 108.61.209.243
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gQVVUTyBLRUxMWSBYUyAwNDcxMDk2NzVBXQ.html?_=1744634186428 108.61.209.243

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('STARLINE GA 6506', '', '')

SELECT * FROM  fn_EShopItemInfo_New('AUTO KELLY XS 047109675A', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('FEBI 03345', '', '', '');

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'STARLINE GA 6506'
            GROUP BY fComp_Id,fItem_Id

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AUTO KELLY XS 047109675A', '', '')
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUwNl0.html?_=1744634185898 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('FEBI 03345', '', '')

SELECT * FROM  fn_EShopItemInfo_New('FEBI 03345', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 49472013', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('AUTO KELLY XS 047109675A', '', '', '');
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDU4NF0.html?_=1744634186432 108.61.209.243

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AUTO KELLY XS 047109675A'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'FEBI 03345'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gQVVUTyBLRUxMWSBYUyAwNDcxMDk2NzVBXQ.html?_=1744634185899 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('FEBI 03345', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 49472013', '', '')
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gRkVCSSAwMzM0NV0.html?_=1744634185899 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AUTO KELLY XS 047109675A', '', '')
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gUEVVR0VPVCAxNjA3NDI3MjgwXQ.html?_=1744634186434 108.61.209.243
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4yNTBd.html?_=1744634186436 108.61.209.243

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 49472013'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'FEBI 03345'
            GROUP BY fComp_Id,fItem_Id

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 12014584', '', '', '');

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AUTO KELLY XS 047109675A'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gRkVCSSAwMzM0NV0.html?_=1744634186427 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyA0OTQ3MjAxM10.html?_=1744634186430 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gQVVUTyBLRUxMWSBYUyAwNDcxMDk2NzVBXQ.html?_=1744634186428 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUxMV0.html?_=1744634186438 108.61.209.243
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgMTIwMDA3MDBd.html?_=1744634186440 108.61.209.243

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 12014584', '', '')
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgMTIwMDA3MDBd.html?_=1744634186884 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('PEUGEOT 1607427280', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('ELRING 294.250', '', '', '');

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 12014584'
            GROUP BY fComp_Id,fItem_Id

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('PEUGEOT 1607427280', '', '')
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDU4NF0.html?_=1744634186432 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 294.250', '', '')

SELECT * FROM  fn_EShopItemInfo_New('STARLINE GA 6511', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 12000700', '', '', '');
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gR09FVFpFIDUwLTMwNjY3MC01MF0.html?_=1744634186886 108.61.209.243

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'PEUGEOT 1607427280'
            GROUP BY fComp_Id,fItem_Id

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 12000700', '', '', '');

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 294.250'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gUEVVR0VPVCAxNjA3NDI3MjgwXQ.html?_=1744634186434 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('STARLINE GA 6511', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 12000700', '', '')
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4yNTBd.html?_=1744634186436 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gUEFZRU4gSFI1Njld.html?_=1744634186887 108.61.209.243

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 12000700', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'STARLINE GA 6511'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gUEFZRU4gSFI2MTVd.html?_=1744634186889 108.61.209.243

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 12000700'
            GROUP BY fComp_Id,fItem_Id

SELECT * FROM  fn_EShopItemInfo_New('GOETZE 50-306670-50', '', '', '');
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUxMV0.html?_=1744634186438 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgMTIwMDA3MDBd.html?_=1744634186440 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 12000700'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gUEFZRU4gSFI4MDVd.html?_=1744634186891 108.61.209.243
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gRFQgMTEuMTA1NzBd.html?_=1744634186892 108.61.209.243
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgMTIwMDA3MDBd.html?_=1744634186884 108.61.209.243

set names utf8

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('GOETZE 50-306670-50', '', '')

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT * FROM  fn_EShopItemInfo_New('PAYEN HR569', '', '', '');
# [14-Apr-2025 15:36:28] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNjg1MF0.html?_=1744634186894 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('PAYEN HR615', '', '', '');

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'GOETZE 50-306670-50'
            GROUP BY fComp_Id,fItem_Id

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('PAYEN HR569', '', '')

SELECT * FROM  fn_EShopItemInfo_New('PAYEN HR805', '', '', '');
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gR09FVFpFIDUwLTMwNjY3MC01MF0.html?_=1744634186886 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('PAYEN HR615', '', '')

SELECT * FROM  fn_EShopItemInfo_New('DT 11.10570', '', '', '');
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDUwMDBd.html?_=1744634186895 108.61.209.243

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'PAYEN HR569'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'PAYEN HR615'
            GROUP BY fComp_Id,fItem_Id

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 12016850', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('PAYEN HR805', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('DT 11.10570', '', '')
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gUEFZRU4gSFI1Njld.html?_=1744634186887 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gUEFZRU4gSFI2MTVd.html?_=1744634186889 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgMTIwMzI2MDBd.html?_=1744634186896 108.61.209.243
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgMTIwMzI2MDBd.html?_=1744634187280 108.61.209.243

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 12016850', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'PAYEN HR805'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'DT 11.10570'
            GROUP BY fComp_Id,fItem_Id

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 57005000', '', '', '');
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gUEFZRU4gSFI4MDVd.html?_=1744634186891 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gRFQgMTEuMTA1NzBd.html?_=1744634186892 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 12016850'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgMTIwMjczMDBd.html?_=1744634187280 108.61.209.243
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgMTIwMDQ1MDBd.html?_=1744634187281 108.61.209.243
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNjg1MF0.html?_=1744634186894 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 57005000', '', '')

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 12032600', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 12032600', '', '', '');
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gU1dBRyAzMCAzNCAwMDAxXQ.html?_=1744634187281 108.61.209.243

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 57005000'
            GROUP BY fComp_Id,fItem_Id

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 12032600', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 12032600', '', '')
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDUwMDBd.html?_=1744634186895 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 12004500', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 12027300', '', '', '');
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gVFJVQ0tURUMgMDcuMTIuMTE3XQ.html?_=1744634187282 108.61.209.243

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 12032600'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 12032600'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgMTIwMzI2MDBd.html?_=1744634186896 108.61.209.243

set names utf8
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgMTIwMzI2MDBd.html?_=1744634187280 108.61.209.243

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

set names utf8

Successfully disconnected from the database!

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT * FROM  fn_EShopItemInfo_New('SWAG 30 34 0001', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 12004500', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 12027300', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 12004500'
            GROUP BY fComp_Id,fItem_Id

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('SWAG 30 34 0001', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 12027300'
            GROUP BY fComp_Id,fItem_Id

SELECT * FROM  fn_EShopItemInfo_New('TRUCKTEC 07.12.117', '', '', '');
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgMTIwMDQ1MDBd.html?_=1744634187281 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgMTIwMjczMDBd.html?_=1744634187280 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'SWAG 30 34 0001'
            GROUP BY fComp_Id,fItem_Id

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('TRUCKTEC 07.12.117', '', '')
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gU1dBRyAzMCAzNCAwMDAxXQ.html?_=1744634187281 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'TRUCKTEC 07.12.117'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:29] /elitcar/www/bg/ajax/prices/W00gVFJVQ0tURUMgMDcuMTIuMTE3XQ.html?_=1744634187282 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:31] /elitcar/www/bg/ajax/substitutes/WzldWzcwLTI1ODM3LTAwXQ.html?_=1744634190025 108.61.209.243

set names utf8

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '80133' AND `ProducerId` = 4598

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '23467tf' AND `ProducerId` = 317

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12017061' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 12017061'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12014584' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 12014584'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '49472916' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 49472916'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '49472013' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 49472013'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12014265' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 12014265'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '420468' AND `ProducerId` = 355

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DT 4.20468'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1110570' AND `ProducerId` = 355

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DT 11.10570'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '553190' AND `ProducerId` = 10

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 553.190'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '294110' AND `ProducerId` = 10

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 294.110'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1656040' AND `ProducerId` = 237

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '03345' AND `ProducerId` = 101

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'FEBI 03345'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'p7653100' AND `ProducerId` = 88

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1405268483' AND `ProducerId` = 4257

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1447158300' AND `ProducerId` = 4257

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1130010' AND `ProducerId` = 4546

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '520036' AND `ProducerId` = 6470

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'mvh6006' AND `ProducerId` = 5645

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '30340001' AND `ProducerId` = 151

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'SWAG 30 34 0001'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '100254' AND `ProducerId` = 301

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '100207' AND `ProducerId` = 301

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '0712117' AND `ProducerId` = 209

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'TRUCKTEC 07.12.117'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1103708' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2313523' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1191852' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2293069' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2293163' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1004625' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2308257' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2134503' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1433591' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1223245' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2134438' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1087866' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '702583700' AND `ProducerId` = 9

SELECT `ProductId` FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'REINZ 70-25837-00' LIMIT 1

SELECT
                `MonetaId`
            FROM
                `elitcar_store`.`moneta`
            WHERE
                `ProductId` = 239848
            LIMIT 1

SELECT `ProductId` FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'REINZ 70-25837-00' LIMIT 1

SELECT
                    `autokelly`.`product`.`Id` AS `ProductId`,
                    `autokelly`.`brand`.`Name` AS `BrandName`,
                    `autokelly`.`codeprimary`.`CodeValue`,
                    `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                    `autokelly`.`producttextglobaldescription`.`BG` AS `ProductDescription`,
                    `elitcar_store`.`moneta`.`MonetaId`,
                    `elitcar_store`.`moneta`.`ProducerId`,
                    `elitcar_store`.`moneta`.`FullSearchTecDocId`,
                    `elitcar_store`.`moneta`.`Sales`,
                    `elitcar_store`.`moneta`.`Qty`,
                    `elitcar_store`.`moneta`.`QtyAll`
                FROM
                    `autokelly`.`product`
                    INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                    INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                    INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                    INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                    INNER JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id` AND `elitcar_store`.`moneta`.`MonetaId` NOT IN ('REINZ 70-25837-00')
                    LEFT JOIN `autokelly`.`producttextglobaldescriptionconversion` ON `autokelly`.`producttextglobaldescriptionconversion`.`ProductId` = `autokelly`.`product`.`Id`
                    LEFT JOIN `autokelly`.`producttextglobaldescription` ON `autokelly`.`producttextglobaldescription`.`ProductTextGlobalDescriptionConversionId` = `autokelly`.`producttextglobaldescriptionconversion`.`Id`
                WHERE
                    `autokelly`.`product`.`Id` IN (
                        SELECT
                            cp1.`ProductId`
                        FROM
                            `autokelly`.`substitute`
                            INNER JOIN `autokelly`.`codeprimary` cp ON cp.`ProductId` = `autokelly`.`substitute`.`ProductId`
                            INNER JOIN `autokelly`.`codeprimary` cp1 ON cp1.`ProductId` = `autokelly`.`substitute`.`SubstituteId`
                        where
                            `autokelly`.`substitute`.`ProductId` = 239848
                    )

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 12-25837-01'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 12-26058-02'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'FEBI 03345'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 9164101
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 9164101 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 9164101 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 294.110'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 553.190'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'PAYEN HR569'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 12122729
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 12122729 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 12122729 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'REINZ 70-25837-00' LIMIT 1

SELECT
                *
            FROM
                `elitcar_store`.`moneta`
            WHERE
                `ReusableGroupId` = 'B975FCE6DA3249339C216FDFA6DB75F7' AND
                `QtyAll` > 0
            ORDER BY
                `Sales`  DESC,
                `Qty`  DESC,
                `QtyAll`  DESC

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 553.190'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 70-25837-00'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 12-25837-01'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DPH 45720'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 70-22737-00'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 49472013'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'FEBI 03345'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 294.250'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DPH 1272960'
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 12121902
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 12121902
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 12121902 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 12121902 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 12014584'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'PEUGEOT 1607427280'
            LIMIT 1
# [14-Apr-2025 15:36:33] /elitcar/www/bg/ajax/moneta/sort.html?_=1744634192165 108.61.209.243

set names utf8

SELECT
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`Sales`,
                `elitcar_store`.`moneta`.`Qty`,
                `elitcar_store`.`moneta`.`QtyAll`,
                `elitcar_store`.`moneta`.`FullSearchTecDocId`
            FROM
                `elitcar_store`.`moneta`
                LEFT JOIN `elitcar_store`.`availabilities` ON `elitcar_store`.`moneta`.`MonetaId` = `elitcar_store`.`availabilities`.`MonetaId` AND `elitcar_store`.`availabilities`.`BusinessGroupID` = ''
            WHERE
                `elitcar_store`.`moneta`.`MonetaId` IN('CORTECO 12017061','CORTECO 12014584','CORTECO 49472916','CORTECO 49472013','CORTECO 12014265','DT 4.20468','DT 11.10570','ELRING 553.190','ELRING 294.110','FEBI 03345','SWAG 30 34 0001','TRUCKTEC 07.12.117','REINZ 12-25837-01','REINZ 12-26058-02','FEBI 03345','VAG 026 109 675','ELRING 294.110','ELRING 553.190','PAYEN HR569','STARLINE GA 6511','ELRING 553.190','REINZ 70-25837-00','REINZ 12-25837-01','DPH 45720','REINZ 70-22737-00','CORTECO 49472013','FEBI 03345','ELRING 294.250','DPH 1272960','STARLINE GA 6506','CORTECO 12014584','PEUGEOT 1607427280')
            ORDER BY
                `elitcar_store`.`availabilities`.`Qty` DESC,
                `elitcar_store`.`moneta`.`Qty` DESC,
                `elitcar_store`.`moneta`.`QtyAll` DESC,
                `elitcar_store`.`moneta`.`Sales` DESC
# [14-Apr-2025 15:36:33] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDI2NV0.html?_=1744634192234 108.61.209.243
# [14-Apr-2025 15:36:33] /elitcar/www/bg/ajax/prices/W00gRFQgMTEuMTA1NzBd.html?_=1744634192235 108.61.209.243
# [14-Apr-2025 15:36:33] /elitcar/www/bg/ajax/prices/W00gUEFZRU4gSFI1Njld.html?_=1744634192235 108.61.209.243
# [14-Apr-2025 15:36:33] /elitcar/www/bg/ajax/prices/W00gVFJVQ0tURUMgMDcuMTIuMTE3XQ.html?_=1744634192236 108.61.209.243
# [14-Apr-2025 15:36:33] /elitcar/www/bg/ajax/prices/W00gU1dBRyAzMCAzNCAwMDAxXQ.html?_=1744634192236 108.61.209.243
# [14-Apr-2025 15:36:33] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNzA2MV0.html?_=1744634192235 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 12014265', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('SWAG 30 34 0001', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('PAYEN HR569', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('DT 11.10570', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 12017061', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('TRUCKTEC 07.12.117', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 12014265', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('SWAG 30 34 0001', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('DT 11.10570', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('PAYEN HR569', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 12017061', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('TRUCKTEC 07.12.117', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 12014265'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'SWAG 30 34 0001'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'DT 11.10570'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'PAYEN HR569'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:34] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDI2NV0.html?_=1744634192234 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 12017061'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'TRUCKTEC 07.12.117'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:34] /elitcar/www/bg/ajax/prices/W00gU1dBRyAzMCAzNCAwMDAxXQ.html?_=1744634192236 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:34] /elitcar/www/bg/ajax/prices/W00gRFQgMTEuMTA1NzBd.html?_=1744634192235 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:34] /elitcar/www/bg/ajax/prices/W00gUEFZRU4gSFI1Njld.html?_=1744634192235 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:34] /elitcar/www/bg/ajax/prices/W00gVkFHIDAyNiAxMDkgNjc1XQ.html?_=1744634192237 108.61.209.243
# [14-Apr-2025 15:36:34] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNzA2MV0.html?_=1744634192235 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC
# [14-Apr-2025 15:36:34] /elitcar/www/bg/ajax/prices/W00gVFJVQ0tURUMgMDcuMTIuMTE3XQ.html?_=1744634192236 108.61.209.243

Successfully disconnected from the database!

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT * FROM  fn_EShopItemInfo_New('VAG 026 109 675', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('VAG 026 109 675', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'VAG 026 109 675'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:34] /elitcar/www/bg/ajax/prices/W00gVkFHIDAyNiAxMDkgNjc1XQ.html?_=1744634192237 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:40] /elitcar/www/bg/ajax/prices/W00gUEVVR0VPVCAxNjA3NDI3MjgwXQ.html?_=1744634199186 108.61.209.243
# [14-Apr-2025 15:36:40] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4yNTBd.html?_=1744634199188 108.61.209.243
# [14-Apr-2025 15:36:40] /elitcar/www/bg/ajax/prices/W00gRFQgNC4yMDQ2OF0.html?_=1744634199190 108.61.209.243
# [14-Apr-2025 15:36:40] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUxMV0.html?_=1744634199189 108.61.209.243
# [14-Apr-2025 15:36:40] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4xMTBd.html?_=1744634199191 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('ELRING 294.250', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('DT 4.20468', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('PEUGEOT 1607427280', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('ELRING 294.110', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('STARLINE GA 6511', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 294.250', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('DT 4.20468', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('PEUGEOT 1607427280', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('STARLINE GA 6511', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 294.110', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 294.250'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'PEUGEOT 1607427280'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'DT 4.20468'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4yNTBd.html?_=1744634199188 108.61.209.243

set names utf8
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gUEVVR0VPVCAxNjA3NDI3MjgwXQ.html?_=1744634199186 108.61.209.243

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

set names utf8

Successfully disconnected from the database!

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gRFQgNC4yMDQ2OF0.html?_=1744634199190 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'STARLINE GA 6511'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 294.110'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUxMV0.html?_=1744634199189 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4xMTBd.html?_=1744634199191 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjI3MzctMDBd.html?_=1744634200046 108.61.209.243
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjYwNTgtMDJd.html?_=1744634200046 108.61.209.243
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjU4MzctMDFd.html?_=1744634200048 108.61.209.243
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gRFBIIDQ1NzIwXQ.html?_=1744634200049 108.61.209.243
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gRFBIIDEyNzI5NjBd.html?_=1744634200051 108.61.209.243
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUwNl0.html?_=1744634200052 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('REINZ 70-22737-00', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('REINZ 12-25837-01', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('REINZ 12-26058-02', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('DPH 1272960', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('STARLINE GA 6506', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('DPH 45720', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 70-22737-00', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('DPH 1272960', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 12-25837-01', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('STARLINE GA 6506', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 12-26058-02', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('DPH 45720', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 70-22737-00'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'DPH 1272960'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'STARLINE GA 6506'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 12-25837-01'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjI3MzctMDBd.html?_=1744634200046 108.61.209.243

set names utf8

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 12-26058-02'
            GROUP BY fComp_Id,fItem_Id

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'DPH 45720'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gRFBIIDEyNzI5NjBd.html?_=1744634200051 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUwNl0.html?_=1744634200052 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:41] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjU4MzctMDFd.html?_=1744634200048 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjYwNTgtMDJd.html?_=1744634200046 108.61.209.243

set names utf8
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gRFBIIDQ1NzIwXQ.html?_=1744634200049 108.61.209.243

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gRkVCSSAwMzM0NV0.html?_=1744634200053 108.61.209.243
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyA0OTQ3MjkxNl0.html?_=1744634200054 108.61.209.243
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyA0OTQ3MjAxM10.html?_=1744634200057 108.61.209.243
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDU4NF0.html?_=1744634200059 108.61.209.243
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjU4MzctMDBd.html?_=1744634200475 108.61.209.243
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDU1My4xOTBd.html?_=1744634200474 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('FEBI 03345', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 49472916', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 12014584', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('REINZ 70-25837-00', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 49472013', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('ELRING 553.190', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('FEBI 03345', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 12014584', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 49472916', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 70-25837-00', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 553.190', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 49472013', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'FEBI 03345'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 12014584'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 49472916'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gRkVCSSAwMzM0NV0.html?_=1744634200053 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 70-25837-00'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 553.190'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 49472013'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDU4NF0.html?_=1744634200059 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyA0OTQ3MjkxNl0.html?_=1744634200054 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjU4MzctMDBd.html?_=1744634200475 108.61.209.243
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjYwNTgtMDJd.html?_=1744634200477 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDU1My4xOTBd.html?_=1744634200474 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyA0OTQ3MjAxM10.html?_=1744634200057 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjU4MzctMDFd.html?_=1744634200478 108.61.209.243
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gRFBIIDQ1NzIwXQ.html?_=1744634200481 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('REINZ 12-26058-02', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('REINZ 12-25837-01', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('DPH 45720', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 12-26058-02', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 12-25837-01', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('DPH 45720', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 12-26058-02'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjYwNTgtMDJd.html?_=1744634200477 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 12-25837-01'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'DPH 45720'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjU4MzctMDFd.html?_=1744634200478 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:42] /elitcar/www/bg/ajax/prices/W00gRFBIIDQ1NzIwXQ.html?_=1744634200481 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:44] /elitcar/www/bg/ajax/moneta/sort.html?sn=553.190&_=1744634203141 108.61.209.243

set names utf8

SELECT
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`Sales`,
                `elitcar_store`.`moneta`.`Qty`,
                `elitcar_store`.`moneta`.`QtyAll`,
                `elitcar_store`.`moneta`.`FullSearchTecDocId`
            FROM
                `elitcar_store`.`moneta`
                LEFT JOIN `elitcar_store`.`availabilities` ON `elitcar_store`.`moneta`.`MonetaId` = `elitcar_store`.`availabilities`.`MonetaId` AND `elitcar_store`.`availabilities`.`BusinessGroupID` = ''
            WHERE
                `elitcar_store`.`moneta`.`MonetaId` IN('AJUSA 12027300','AJUSA 12000700','AJUSA 12032600','AJUSA 57005000','BILSTEIN 24-021289','CORTECO 12014584','CORTECO 49472013','DT 11.10570','ELRING 553.190','FEBI 03345','KYB 553190','MONROE D8466S','MONROE D8467S','PAYEN HR569','PAYEN HR805','SACHS 290 619','SWAG 30 34 0001','TOKICO 2859','TOKICO E2785','TRUCKTEC 07.12.117','TRW BK1856','REINZ 70-25837-00','RANCHO RS5144','MONROE D8467','DPH 1272960','DPH 45720','ELRING 294.250','PEUGEOT 1607427280','REINZ 12-25837-01','REINZ 70-22737-00','STARLINE GA 6506')
            ORDER BY
                `elitcar_store`.`availabilities`.`Qty` DESC,
                `elitcar_store`.`moneta`.`Qty` DESC,
                `elitcar_store`.`moneta`.`QtyAll` DESC,
                `elitcar_store`.`moneta`.`Sales` DESC
# [14-Apr-2025 15:36:47] /elitcar/www/bg/tecdoc/9/WzldWzEyLTI1ODM3LTAxXVtNIFJFSU5aIDEyLTI1ODM3LTAxXQ.html?sn=12-25837-01 108.61.209.243

set names utf8

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 12-25837-01'
            LIMIT 1

SELECT
                `elitcar_store`.`moneta`.`ProductId`
            FROM
                `elitcar_store`.`moneta`
                INNER JOIN `autokelly`.`recommended` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`recommended`.`ProductId`
            WHERE
                `elitcar_store`.`moneta`.`MonetaId` = 'REINZ 12-25837-01'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '57050700' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 57050700'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '57000200' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 57000200'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '57000600' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 57000600'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '57004900' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 57004900'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '57019800' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 57019800'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '57066900' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 57066900'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '57009000' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 57009000'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'vk5341' AND `ProducerId` = 478

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '19018251' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 19018251'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '702706' AND `ProducerId` = 10

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 702.706'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '294250' AND `ProducerId` = 10

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 294.250'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '9056005' AND `ProducerId` = 237

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'vs501' AND `ProducerId` = 267

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'vsk501' AND `ProducerId` = 267

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'n9030000' AND `ProducerId` = 88

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '553190fpmset8ms' AND `ProducerId` = 358

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '522818' AND `ProducerId` = 6470

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'hr569' AND `ProducerId` = 113

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'PAYEN HR569'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '323s0004' AND `ProducerId` = 6358

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '122583701' AND `ProducerId` = 9

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1170055' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1242670' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1177009' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1004196' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1768882' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1194198' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1103057' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1455682' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1169724' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1169827' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1004180' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1191853' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1169747' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1169686' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1169682' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1768816' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1224363' AND `ProducerId` = 4832

SELECT `ProductId` FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'REINZ 12-25837-01' LIMIT 1

SELECT
                    `autokelly`.`product`.`Id` AS `ProductId`,
                    `autokelly`.`brand`.`Name` AS `BrandName`,
                    `autokelly`.`codeprimary`.`CodeValue`,
                    `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                    `autokelly`.`producttextglobaldescription`.`BG` AS `ProductDescription`,
                    `elitcar_store`.`moneta`.`MonetaId`,
                    `elitcar_store`.`moneta`.`ProducerId`,
                    `elitcar_store`.`moneta`.`FullSearchTecDocId`,
                    `elitcar_store`.`moneta`.`Sales`,
                    `elitcar_store`.`moneta`.`Qty`,
                    `elitcar_store`.`moneta`.`QtyAll`
                FROM
                    `autokelly`.`product`
                    INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                    INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                    INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                    INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                    INNER JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id` AND `elitcar_store`.`moneta`.`MonetaId` NOT IN ('REINZ 12-25837-01','AJUSA 57050700','AJUSA 57000200','AJUSA 57000600','AJUSA 57004900','AJUSA 57019800','AJUSA 57066900','AJUSA 57009000','CORTECO 19018251','ELRING 702.706','ELRING 294.250','PAYEN HR569')
                    LEFT JOIN `autokelly`.`producttextglobaldescriptionconversion` ON `autokelly`.`producttextglobaldescriptionconversion`.`ProductId` = `autokelly`.`product`.`Id`
                    LEFT JOIN `autokelly`.`producttextglobaldescription` ON `autokelly`.`producttextglobaldescription`.`ProductTextGlobalDescriptionConversionId` = `autokelly`.`producttextglobaldescriptionconversion`.`Id`
                WHERE
                    `autokelly`.`product`.`Id` IN (
                        SELECT
                            cp1.`ProductId`
                        FROM
                            `autokelly`.`substitute`
                            INNER JOIN `autokelly`.`codeprimary` cp ON cp.`ProductId` = `autokelly`.`substitute`.`ProductId`
                            INNER JOIN `autokelly`.`codeprimary` cp1 ON cp1.`ProductId` = `autokelly`.`substitute`.`SubstituteId`
                        where
                            `autokelly`.`substitute`.`ProductId` = 237055
                    )

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 12-26058-02'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 70-25837-00'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 9164101
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 9164101 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 9164101 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 12121902
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 12121902 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 12121902 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT `ReusableGroupId` FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'REINZ 12-25837-01' LIMIT 1

SELECT
                    *
                FROM
                    `elitcar_store`.`moneta`
                WHERE
                    `ReusableGroupId` = 'B975FCE6DA3249339C216FDFA6DB75F7' AND
                    `MonetaId` NOT IN ('REINZ 12-25837-01','AJUSA 57050700','AJUSA 57000200','AJUSA 57000600','AJUSA 57004900','AJUSA 57019800','AJUSA 57066900','AJUSA 57009000','CORTECO 19018251','ELRING 702.706','ELRING 294.250','PAYEN HR569','REINZ 12-26058-02','REINZ 70-25837-00','VAG 026 109 675','STARLINE GA 6506') AND
                    `QtyAll` > 0
                ORDER BY
                    `Sales`  DESC,
                    `Qty`  DESC,
                    `QtyAll`  DESC

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 553.190'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DPH 45720'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 70-22737-00'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 49472013'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'FEBI 03345'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DPH 1272960'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 12014584'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'PEUGEOT 1607427280'
            LIMIT 1

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'REINZ 12-25837-01' LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`Sales`,
                `elitcar_store`.`moneta`.`Qty`,
                `elitcar_store`.`moneta`.`QtyAll`
            FROM
                `autokelly`.`recommended`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`recommended`.`RecommendedId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                INNER JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`recommended`.`ProductId` = 237055
            ORDER BY
                `Sales` DESC,
                `Qty` DESC,
                `QtyAll` DESC
            LIMIT 3

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 240305
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 240305 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 240305 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 240306
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 240306 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 240306 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 8363184
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 8363184 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 8363184 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjU4MzctMDFd.html?_=1744634208699 108.61.209.243
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/moneta/sort.html?_=1744634208700 108.61.209.243

set names utf8

SELECT
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`Sales`,
                `elitcar_store`.`moneta`.`Qty`,
                `elitcar_store`.`moneta`.`QtyAll`,
                `elitcar_store`.`moneta`.`FullSearchTecDocId`
            FROM
                `elitcar_store`.`moneta`
                LEFT JOIN `elitcar_store`.`availabilities` ON `elitcar_store`.`moneta`.`MonetaId` = `elitcar_store`.`availabilities`.`MonetaId` AND `elitcar_store`.`availabilities`.`BusinessGroupID` = ''
            WHERE
                `elitcar_store`.`moneta`.`MonetaId` IN('AJUSA 57050700','AJUSA 57000200','AJUSA 57000600','AJUSA 57004900','AJUSA 57019800','AJUSA 57066900','AJUSA 57009000','CORTECO 19018251','ELRING 702.706','ELRING 294.250','PAYEN HR569','REINZ 12-26058-02','REINZ 70-25837-00','VAG 026 109 675','STARLINE GA 6506','ELRING 553.190','DPH 45720','REINZ 70-22737-00','CORTECO 49472013','FEBI 03345','DPH 1272960','CORTECO 12014584','PEUGEOT 1607427280')
            ORDER BY
                `elitcar_store`.`availabilities`.`Qty` DESC,
                `elitcar_store`.`moneta`.`Qty` DESC,
                `elitcar_store`.`moneta`.`QtyAll` DESC,
                `elitcar_store`.`moneta`.`Sales` DESC
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gRFBIIDEyNzI5NjBd.html?_=1744634208793 108.61.209.243
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxOTAxODI1MV0.html?_=1744634208793 108.61.209.243
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUwNl0.html?_=1744634208793 108.61.209.243
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gRkVCSSAwMzM0NV0.html?_=1744634208794 108.61.209.243
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyA0OTQ3MjAxM10.html?_=1744634208795 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('REINZ 12-25837-01', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 12-25837-01', '', '')

SELECT * FROM  fn_EShopItemInfo_New('STARLINE GA 6506', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('DPH 1272960', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 49472013', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('FEBI 03345', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 19018251', '', '', '');

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 12-25837-01'
            GROUP BY fComp_Id,fItem_Id

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('STARLINE GA 6506', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('DPH 1272960', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 49472013', '', '')
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjU4MzctMDFd.html?_=1744634208699 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('FEBI 03345', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 19018251', '', '')
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDU4NF0.html?_=1744634208795 108.61.209.243

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'STARLINE GA 6506'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 49472013'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'DPH 1272960'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'FEBI 03345'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUwNl0.html?_=1744634208793 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 19018251'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gRFBIIDEyNzI5NjBd.html?_=1744634208793 108.61.209.243

set names utf8
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyA0OTQ3MjAxM10.html?_=1744634208795 108.61.209.243

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

set names utf8

Successfully disconnected from the database!

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gRkVCSSAwMzM0NV0.html?_=1744634208794 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gUEVVR0VPVCAxNjA3NDI3MjgwXQ.html?_=1744634208795 108.61.209.243
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxOTAxODI1MV0.html?_=1744634208793 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4yNTBd.html?_=1744634208796 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 12014584', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 12014584', '', '')
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDU4NF0.html?_=1744634209372 108.61.209.243
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gUEVVR0VPVCAxNjA3NDI3MjgwXQ.html?_=1744634209373 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('ELRING 294.250', '', '', '');
# [14-Apr-2025 15:36:50] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4yNTBd.html?_=1744634209373 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('PEUGEOT 1607427280', '', '', '');

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 12014584'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:51] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDU4NF0.html?_=1744634208795 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 294.250', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('PEUGEOT 1607427280', '', '')
# [14-Apr-2025 15:36:51] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDAyMDBd.html?_=1744634209373 108.61.209.243

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 294.250'
            GROUP BY fComp_Id,fItem_Id

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 12014584', '', '', '');
# [14-Apr-2025 15:36:51] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4yNTBd.html?_=1744634208796 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT * FROM  fn_EShopItemInfo_New('ELRING 294.250', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('PEUGEOT 1607427280', '', '', '');

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'PEUGEOT 1607427280'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:51] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDA2MDBd.html?_=1744634209374 108.61.209.243
# [14-Apr-2025 15:36:51] /elitcar/www/bg/ajax/prices/W00gUEVVR0VPVCAxNjA3NDI3MjgwXQ.html?_=1744634208795 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 12014584', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 294.250', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('PEUGEOT 1607427280', '', '')
# [14-Apr-2025 15:36:51] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDQ5MDBd.html?_=1744634209374 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 57000200', '', '', '');

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 12014584'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 294.250'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:51] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDU4NF0.html?_=1744634209372 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'PEUGEOT 1607427280'
            GROUP BY fComp_Id,fItem_Id

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 57000200', '', '')
# [14-Apr-2025 15:36:51] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4yNTBd.html?_=1744634209373 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:51] /elitcar/www/bg/ajax/prices/W00gUEVVR0VPVCAxNjA3NDI3MjgwXQ.html?_=1744634209373 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 57000600', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 57004900', '', '', '');

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 57000200'
            GROUP BY fComp_Id,fItem_Id

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 57000600', '', '')
# [14-Apr-2025 15:36:51] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDAyMDBd.html?_=1744634209373 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 57004900', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 57000600'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 57004900'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:36:51] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDA2MDBd.html?_=1744634209374 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:36:51] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDQ5MDBd.html?_=1744634209374 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:37:01] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDkwMDBd.html?_=1744634219659 108.61.209.243
# [14-Apr-2025 15:37:01] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMTk4MDBd.html?_=1744634219660 108.61.209.243
# [14-Apr-2025 15:37:01] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwNTA3MDBd.html?_=1744634219662 108.61.209.243
# [14-Apr-2025 15:37:01] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwNjY5MDBd.html?_=1744634219663 108.61.209.243
# [14-Apr-2025 15:37:01] /elitcar/www/bg/ajax/prices/W00gVkFHIDAyNiAxMDkgNjc1XQ.html?_=1744634219666 108.61.209.243
# [14-Apr-2025 15:37:01] /elitcar/www/bg/ajax/prices/W00gUEFZRU4gSFI1Njld.html?_=1744634219665 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 57019800', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 57009000', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 57066900', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('VAG 026 109 675', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('PAYEN HR569', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 57050700', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 57019800', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 57009000', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 57066900', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('PAYEN HR569', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('VAG 026 109 675', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 57050700', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 57019800'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'PAYEN HR569'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 57066900'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 57009000'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'VAG 026 109 675'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:37:01] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMTk4MDBd.html?_=1744634219660 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:37:01] /elitcar/www/bg/ajax/prices/W00gUEFZRU4gSFI1Njld.html?_=1744634219665 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:37:01] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwNjY5MDBd.html?_=1744634219663 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 57050700'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:37:01] /elitcar/www/bg/ajax/prices/W00gVkFHIDAyNiAxMDkgNjc1XQ.html?_=1744634219666 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:37:01] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDkwMDBd.html?_=1744634219659 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:37:01] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwNTA3MDBd.html?_=1744634219662 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:37:03] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDcwMi43MDZd.html?_=1744634221557 108.61.209.243
# [14-Apr-2025 15:37:03] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjYwNTgtMDJd.html?_=1744634221558 108.61.209.243
# [14-Apr-2025 15:37:03] /elitcar/www/bg/ajax/prices/W00gRFBIIDQ1NzIwXQ.html?_=1744634221560 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('ELRING 702.706', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('DPH 45720', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('REINZ 12-26058-02', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 702.706', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('DPH 45720', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 12-26058-02', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 702.706'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'DPH 45720'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 12-26058-02'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:37:03] /elitcar/www/bg/ajax/prices/W00gRFBIIDQ1NzIwXQ.html?_=1744634221560 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:37:03] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDcwMi43MDZd.html?_=1744634221557 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:37:03] /elitcar/www/bg/ajax/prices/W00gUkVJTlogMTItMjYwNTgtMDJd.html?_=1744634221558 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:37:06] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDU1My4xOTBd.html?_=1744634225212 108.61.209.243
# [14-Apr-2025 15:37:06] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjU4MzctMDBd.html?_=1744634225214 108.61.209.243
# [14-Apr-2025 15:37:06] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjI3MzctMDBd.html?_=1744634225215 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('ELRING 553.190', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('REINZ 70-25837-00', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('REINZ 70-22737-00', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 553.190', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 70-25837-00', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 70-22737-00', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 553.190'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 70-25837-00'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:37:07] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDU1My4xOTBd.html?_=1744634225212 108.61.209.243

set names utf8

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 70-22737-00'
            GROUP BY fComp_Id,fItem_Id

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:37:07] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjU4MzctMDBd.html?_=1744634225214 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:37:07] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjI3MzctMDBd.html?_=1744634225215 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:03] /elitcar/www/bg/tecdoc/113/WzExM11bSFI1NjldW00gUEFZRU4gSFI1Njld.html?sn=HR569 108.61.209.243

set names utf8

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'PAYEN HR569'
            LIMIT 1

SELECT
                `elitcar_store`.`moneta`.`ProductId`
            FROM
                `elitcar_store`.`moneta`
                INNER JOIN `autokelly`.`recommended` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`recommended`.`ProductId`
            WHERE
                `elitcar_store`.`moneta`.`MonetaId` = 'PAYEN HR569'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '57009600' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 57009600'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '57004900' AND `ProducerId` = 139

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'AJUSA 57004900'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'vk6345' AND `ProducerId` = 478

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '19018251' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 19018251'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '702706' AND `ProducerId` = 10

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 702.706'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'vsk501' AND `ProducerId` = 267

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'vsk865' AND `ProducerId` = 267

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'vs501' AND `ProducerId` = 267

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'hr569' AND `ProducerId` = 113

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '323s0004' AND `ProducerId` = 6358

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1194198' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1169724' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1768882' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1004196' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1169753' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1242670' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1177009' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1191853' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1224363' AND `ProducerId` = 4832

SELECT `ProductId` FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'PAYEN HR569' LIMIT 1

SELECT
                    `autokelly`.`product`.`Id` AS `ProductId`,
                    `autokelly`.`brand`.`Name` AS `BrandName`,
                    `autokelly`.`codeprimary`.`CodeValue`,
                    `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                    `autokelly`.`producttextglobaldescription`.`BG` AS `ProductDescription`,
                    `elitcar_store`.`moneta`.`MonetaId`,
                    `elitcar_store`.`moneta`.`ProducerId`,
                    `elitcar_store`.`moneta`.`FullSearchTecDocId`,
                    `elitcar_store`.`moneta`.`Sales`,
                    `elitcar_store`.`moneta`.`Qty`,
                    `elitcar_store`.`moneta`.`QtyAll`
                FROM
                    `autokelly`.`product`
                    INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                    INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                    INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                    INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                    INNER JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id` AND `elitcar_store`.`moneta`.`MonetaId` NOT IN ('PAYEN HR569','AJUSA 57009600','AJUSA 57004900','CORTECO 19018251','ELRING 702.706')
                    LEFT JOIN `autokelly`.`producttextglobaldescriptionconversion` ON `autokelly`.`producttextglobaldescriptionconversion`.`ProductId` = `autokelly`.`product`.`Id`
                    LEFT JOIN `autokelly`.`producttextglobaldescription` ON `autokelly`.`producttextglobaldescription`.`ProductTextGlobalDescriptionConversionId` = `autokelly`.`producttextglobaldescriptionconversion`.`Id`
                WHERE
                    `autokelly`.`product`.`Id` IN (
                        SELECT
                            cp1.`ProductId`
                        FROM
                            `autokelly`.`substitute`
                            INNER JOIN `autokelly`.`codeprimary` cp ON cp.`ProductId` = `autokelly`.`substitute`.`ProductId`
                            INNER JOIN `autokelly`.`codeprimary` cp1 ON cp1.`ProductId` = `autokelly`.`substitute`.`SubstituteId`
                        where
                            `autokelly`.`substitute`.`ProductId` = 11894342
                    )

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 70-22737-00'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 70-25837-00'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'FEBI 03345'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 197.378'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 294.110'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 294.250'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 553.190'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 12014265'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 12014584'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 12122729
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 12122729 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 12122729 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 12122730
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 12122730 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 12122730 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'BREMBO T 24 132'
            LIMIT 1

SELECT `ReusableGroupId` FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'PAYEN HR569' LIMIT 1

SELECT
                    *
                FROM
                    `elitcar_store`.`moneta`
                WHERE
                    `ReusableGroupId` = 'EA9668F54AC048F5837A88964BF52CE3' AND
                    `MonetaId` NOT IN ('PAYEN HR569','AJUSA 57009600','AJUSA 57004900','CORTECO 19018251','ELRING 702.706','REINZ 70-22737-00','REINZ 70-25837-00','FEBI 03345','ELRING 197.378','ELRING 294.110','ELRING 294.250','ELRING 553.190','CORTECO 12014265','CORTECO 12014584','STARLINE GA 6511','STARLINE GA 6512','BREMBO T 24 132') AND
                    `QtyAll` > 0
                ORDER BY
                    `Sales`  DESC,
                    `Qty`  DESC,
                    `QtyAll`  DESC

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 774.456'
            LIMIT 1

SELECT * FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'PAYEN HR569' LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`Sales`,
                `elitcar_store`.`moneta`.`Qty`,
                `elitcar_store`.`moneta`.`QtyAll`
            FROM
                `autokelly`.`recommended`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`recommended`.`RecommendedId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                INNER JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`recommended`.`ProductId` = 11894342
            ORDER BY
                `Sales` DESC,
                `Qty` DESC,
                `QtyAll` DESC
            LIMIT 3

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 3569949
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 3569949 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 3569949 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5
# [14-Apr-2025 15:38:05] /elitcar/www/bg/ajax/prices/W00gUEFZRU4gSFI1Njld.html?_=1744634284266 108.61.209.243
# [14-Apr-2025 15:38:05] /elitcar/www/bg/ajax/moneta/sort.html?_=1744634284268 108.61.209.243

set names utf8

SELECT
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`Sales`,
                `elitcar_store`.`moneta`.`Qty`,
                `elitcar_store`.`moneta`.`QtyAll`,
                `elitcar_store`.`moneta`.`FullSearchTecDocId`
            FROM
                `elitcar_store`.`moneta`
                LEFT JOIN `elitcar_store`.`availabilities` ON `elitcar_store`.`moneta`.`MonetaId` = `elitcar_store`.`availabilities`.`MonetaId` AND `elitcar_store`.`availabilities`.`BusinessGroupID` = ''
            WHERE
                `elitcar_store`.`moneta`.`MonetaId` IN('AJUSA 57009600','AJUSA 57004900','CORTECO 19018251','ELRING 702.706','REINZ 70-22737-00','REINZ 70-25837-00','FEBI 03345','ELRING 197.378','ELRING 294.110','ELRING 294.250','ELRING 553.190','CORTECO 12014265','CORTECO 12014584','STARLINE GA 6511','STARLINE GA 6512','BREMBO T 24 132','ELRING 774.456')
            ORDER BY
                `elitcar_store`.`availabilities`.`Qty` DESC,
                `elitcar_store`.`moneta`.`Qty` DESC,
                `elitcar_store`.`moneta`.`QtyAll` DESC,
                `elitcar_store`.`moneta`.`Sales` DESC
# [14-Apr-2025 15:38:05] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxOTAxODI1MV0.html?_=1744634284352 108.61.209.243
# [14-Apr-2025 15:38:05] /elitcar/www/bg/ajax/prices/W00gQlJFTUJPIFQgMjQgMTMyXQ.html?_=1744634284352 108.61.209.243
# [14-Apr-2025 15:38:05] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDc3NC40NTZd.html?_=1744634284353 108.61.209.243
# [14-Apr-2025 15:38:05] /elitcar/www/bg/ajax/prices/W00gRkVCSSAwMzM0NV0.html?_=1744634284353 108.61.209.243
# [14-Apr-2025 15:38:05] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDU4NF0.html?_=1744634284354 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('PAYEN HR569', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('PAYEN HR569', '', '')

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 19018251', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('BREMBO T 24 132', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('ELRING 774.456', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('FEBI 03345', '', '', '');

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'PAYEN HR569'
            GROUP BY fComp_Id,fItem_Id

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 12014584', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 19018251', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('BREMBO T 24 132', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 774.456', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('FEBI 03345', '', '')
# [14-Apr-2025 15:38:06] /elitcar/www/bg/ajax/prices/W00gUEFZRU4gSFI1Njld.html?_=1744634284266 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:06] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4yNTBd.html?_=1744634284354 108.61.209.243

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 19018251'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'BREMBO T 24 132'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 774.456'
            GROUP BY fComp_Id,fItem_Id

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 12014584', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'FEBI 03345'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:38:06] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxOTAxODI1MV0.html?_=1744634284352 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:06] /elitcar/www/bg/ajax/prices/W00gQlJFTUJPIFQgMjQgMTMyXQ.html?_=1744634284352 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:06] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDc3NC40NTZd.html?_=1744634284353 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:06] /elitcar/www/bg/ajax/prices/W00gRkVCSSAwMzM0NV0.html?_=1744634284353 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:06] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUxMV0.html?_=1744634284355 108.61.209.243

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 12014584'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:38:06] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4xMTBd.html?_=1744634284355 108.61.209.243
# [14-Apr-2025 15:38:06] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDU4NF0.html?_=1744634284354 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT * FROM  fn_EShopItemInfo_New('ELRING 294.250', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 294.250', '', '')

SELECT * FROM  fn_EShopItemInfo_New('STARLINE GA 6511', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('ELRING 294.110', '', '', '');

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 294.250'
            GROUP BY fComp_Id,fItem_Id

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 294.110', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('STARLINE GA 6511', '', '')
# [14-Apr-2025 15:38:06] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4yNTBd.html?_=1744634284354 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 294.110'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'STARLINE GA 6511'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:38:06] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDI5NC4xMTBd.html?_=1744634284355 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:06] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUxMV0.html?_=1744634284355 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:08] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjU4MzctMDBd.html?_=1744634286460 108.61.209.243
# [14-Apr-2025 15:38:08] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDU1My4xOTBd.html?_=1744634286459 108.61.209.243
# [14-Apr-2025 15:38:08] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjI3MzctMDBd.html?_=1744634286461 108.61.209.243
# [14-Apr-2025 15:38:08] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDcwMi43MDZd.html?_=1744634286462 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('REINZ 70-25837-00', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('ELRING 553.190', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('ELRING 702.706', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('REINZ 70-22737-00', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 70-25837-00', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 553.190', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 702.706', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('REINZ 70-22737-00', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 70-25837-00'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 553.190'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 702.706'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:38:08] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjU4MzctMDBd.html?_=1744634286460 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:08] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDU1My4xOTBd.html?_=1744634286459 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:08] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDcwMi43MDZd.html?_=1744634286462 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'REINZ 70-22737-00'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:38:08] /elitcar/www/bg/ajax/prices/W00gUkVJTlogNzAtMjI3MzctMDBd.html?_=1744634286461 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:35] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDQ5MDBd.html?_=1744634313803 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 57004900', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 57004900', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 57004900'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:38:35] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDQ5MDBd.html?_=1744634313803 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:37] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDk2MDBd.html?_=1744634316204 108.61.209.243
# [14-Apr-2025 15:38:37] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDE5Ny4zNzhd.html?_=1744634316206 108.61.209.243
# [14-Apr-2025 15:38:37] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDI2NV0.html?_=1744634316205 108.61.209.243
# [14-Apr-2025 15:38:37] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUxMl0.html?_=1744634316207 108.61.209.243

SELECT * FROM  fn_EShopItemInfo_New('AJUSA 57009600', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('CORTECO 12014265', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('STARLINE GA 6512', '', '', '');

SELECT * FROM  fn_EShopItemInfo_New('ELRING 197.378', '', '', '');

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('CORTECO 12014265', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('STARLINE GA 6512', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('AJUSA 57009600', '', '')

SELECT AuctionDescription FROM fn_EShopItemInfoGiftsAuctionDesc_ElitCar('ELRING 197.378', '', '')

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'CORTECO 12014265'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'STARLINE GA 6512'
            GROUP BY fComp_Id,fItem_Id

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'AJUSA 57009600'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:38:38] /elitcar/www/bg/ajax/prices/W00gQ09SVEVDTyAxMjAxNDI2NV0.html?_=1744634316205 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!

SELECT
                SUM(sQuantity) AS sQuantity
            FROM
                G_LItemEntry_0 E WITH(NOLOCK)
                INNER JOIN N_Businessgroup B WITH(NOLOCK) ON (B.Id=E.fBusinessGroup_Id) AND (B.Comp_Id=E.fComp_Id)
            WHERE
                E.SLevel=3 AND
                E.fComp_Id = '001' AND
                B.IsOuterBG = 1 AND
                E.fBusinessGroup_Id > 74 AND
                e.fItem_Id = 'ELRING 197.378'
            GROUP BY fComp_Id,fItem_Id
# [14-Apr-2025 15:38:38] /elitcar/www/bg/ajax/prices/W00gU1RBUkxJTkUgR0EgNjUxMl0.html?_=1744634316207 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:38] /elitcar/www/bg/ajax/prices/W00gQUpVU0EgNTcwMDk2MDBd.html?_=1744634316204 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:38] /elitcar/www/bg/ajax/prices/W00gRUxSSU5HIDE5Ny4zNzhd.html?_=1744634316206 108.61.209.243

set names utf8

SELECT
                `Label`,
                `Value`
            FROM
                `elitcar_store`.`labels`
            WHERE
                `Label` IN ('LPriceForYou','InfoDeposit','LDeposit','InfoDeliveryTaxes','LSevenDays','LAction','LAdd','LReplace','LDeliveryNoReturn','LOutOfStock') AND
                `Language` = 'bg'
             ORDER BY
                `elitcar_store`.`labels`.`Label` ASC

Successfully disconnected from the database!
# [14-Apr-2025 15:38:50] /elitcar/www/bg/tecdoc/9/WzldWzcwLTI1ODM3LTAwXVtNIFJFSU5aIDcwLTI1ODM3LTAwXQ.html 108.61.209.243

set names utf8

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 70-25837-00'
            LIMIT 1

SELECT
                `elitcar_store`.`moneta`.`ProductId`
            FROM
                `elitcar_store`.`moneta`
                INNER JOIN `autokelly`.`recommended` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`recommended`.`ProductId`
            WHERE
                `elitcar_store`.`moneta`.`MonetaId` = 'REINZ 70-25837-00'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '80133' AND `ProducerId` = 4598

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '23467tf' AND `ProducerId` = 317

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12017061' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 12017061'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12014584' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 12014584'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '49472916' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 49472916'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '49472013' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 49472013'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '12014265' AND `ProducerId` = 140

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'CORTECO 12014265'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '420468' AND `ProducerId` = 355

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DT 4.20468'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1110570' AND `ProducerId` = 355

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DT 11.10570'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '553190' AND `ProducerId` = 10

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 553.190'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '294110' AND `ProducerId` = 10

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 294.110'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1656040' AND `ProducerId` = 237

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '03345' AND `ProducerId` = 101

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'FEBI 03345'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'p7653100' AND `ProducerId` = 88

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1405268483' AND `ProducerId` = 4257

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1447158300' AND `ProducerId` = 4257

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '1130010' AND `ProducerId` = 4546

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '520036' AND `ProducerId` = 6470

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'mvh6006' AND `ProducerId` = 5645

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '30340001' AND `ProducerId` = 151

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'SWAG 30 34 0001'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '100254' AND `ProducerId` = 301

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '100207' AND `ProducerId` = 301

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '0712117' AND `ProducerId` = 209

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'TRUCKTEC 07.12.117'
            LIMIT 1

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = '702583700' AND `ProducerId` = 9

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1103708' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2313523' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1191852' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2293069' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2293163' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1004625' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2308257' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2134503' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1433591' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1223245' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg2134438' AND `ProducerId` = 4832

SELECT `MonetaId` FROM `elitcar_store`.`moneta` WHERE `FullSearchTecDocId` = 'wg1087866' AND `ProducerId` = 4832

SELECT `ProductId` FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'REINZ 70-25837-00' LIMIT 1

SELECT
                    `autokelly`.`product`.`Id` AS `ProductId`,
                    `autokelly`.`brand`.`Name` AS `BrandName`,
                    `autokelly`.`codeprimary`.`CodeValue`,
                    `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                    `autokelly`.`producttextglobaldescription`.`BG` AS `ProductDescription`,
                    `elitcar_store`.`moneta`.`MonetaId`,
                    `elitcar_store`.`moneta`.`ProducerId`,
                    `elitcar_store`.`moneta`.`FullSearchTecDocId`,
                    `elitcar_store`.`moneta`.`Sales`,
                    `elitcar_store`.`moneta`.`Qty`,
                    `elitcar_store`.`moneta`.`QtyAll`
                FROM
                    `autokelly`.`product`
                    INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                    INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                    INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                    INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                    INNER JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id` AND `elitcar_store`.`moneta`.`MonetaId` NOT IN ('REINZ 70-25837-00','CORTECO 12017061','CORTECO 12014584','CORTECO 49472916','CORTECO 49472013','CORTECO 12014265','DT 4.20468','DT 11.10570','ELRING 553.190','ELRING 294.110','FEBI 03345','SWAG 30 34 0001','TRUCKTEC 07.12.117')
                    LEFT JOIN `autokelly`.`producttextglobaldescriptionconversion` ON `autokelly`.`producttextglobaldescriptionconversion`.`ProductId` = `autokelly`.`product`.`Id`
                    LEFT JOIN `autokelly`.`producttextglobaldescription` ON `autokelly`.`producttextglobaldescription`.`ProductTextGlobalDescriptionConversionId` = `autokelly`.`producttextglobaldescriptionconversion`.`Id`
                WHERE
                    `autokelly`.`product`.`Id` IN (
                        SELECT
                            cp1.`ProductId`
                        FROM
                            `autokelly`.`substitute`
                            INNER JOIN `autokelly`.`codeprimary` cp ON cp.`ProductId` = `autokelly`.`substitute`.`ProductId`
                            INNER JOIN `autokelly`.`codeprimary` cp1 ON cp1.`ProductId` = `autokelly`.`substitute`.`SubstituteId`
                        where
                            `autokelly`.`substitute`.`ProductId` = 239848
                    )

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 12-25837-01'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 12-26058-02'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 9164101
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 9164101 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 9164101 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'PAYEN HR569'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 12122729
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 12122729 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 12122729 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

SELECT `ReusableGroupId` FROM `elitcar_store`.`moneta` WHERE `MonetaId` = 'REINZ 70-25837-00' LIMIT 1

SELECT
                    *
                FROM
                    `elitcar_store`.`moneta`
                WHERE
                    `ReusableGroupId` = 'B975FCE6DA3249339C216FDFA6DB75F7' AND
                    `MonetaId` NOT IN ('REINZ 70-25837-00','CORTECO 12017061','CORTECO 12014584','CORTECO 49472916','CORTECO 49472013','CORTECO 12014265','DT 4.20468','DT 11.10570','ELRING 553.190','ELRING 294.110','FEBI 03345','SWAG 30 34 0001','TRUCKTEC 07.12.117','REINZ 12-25837-01','REINZ 12-26058-02','VAG 026 109 675','PAYEN HR569','STARLINE GA 6511') AND
                    `QtyAll` > 0
                ORDER BY
                    `Sales`  DESC,
                    `Qty`  DESC,
                    `QtyAll`  DESC

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DPH 45720'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'REINZ 70-22737-00'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'ELRING 294.250'
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `MonetaID` = 'DPH 1272960'
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS `ProductId`,
                `autokelly`.`codeprimary`.`CodeValue`,
                `autokelly`.`brand`.`Name` AS `BrandName`,
                `autokelly`.`producttextname`.`BG` AS `ProductTitle`,
                `elitcar_store`.`moneta`.`MonetaId`,
                `elitcar_store`.`moneta`.`ProducerId`,
                `elitcar_store`.`moneta`.`ProducerCode`
            FROM
                `autokelly`.`product`
                INNER JOIN `autokelly`.`brand` ON `autokelly`.`brand`.`Id` =  `autokelly`.`product`.`BrandId`
                INNER JOIN `autokelly`.`codeprimary` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextnameconversion` ON `autokelly`.`producttextnameconversion`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`producttextname` ON `autokelly`.`producttextname`.`ProductTextNameConversionId` = `autokelly`.`producttextnameconversion`.`Id`
                LEFT JOIN `elitcar_store`.`moneta` ON `elitcar_store`.`moneta`.`ProductId` = `autokelly`.`product`.`Id`
            WHERE
                `autokelly`.`product`.`Id` = 12121902
            LIMIT 1

SELECT
                `BrandID`,
                `Gallery`,
                `Title`,
                `Content`
            FROM
                `elitcar_store`.`products`
            WHERE
                `ProductId` = 12121902
            LIMIT 1

SELECT
                `FolderName`,
                `Name`,
                `Suffix`
            FROM
                `autokelly`.`productfile`
                INNER JOIN `autokelly`.`file` ON `autokelly`.`file`.`Id` = `autokelly`.`productfile`.`FileId`
            WHERE
                `autokelly`.`productfile`.`ProductId` = 12121902 AND
                `autokelly`.`file`.`Image` = 1 AND
                 `autokelly`.`file`.`Suffix` = 'JPG'
            ORDER BY
                `autokelly`.`productfile`.`Order`
            LIMIT 1

SELECT
                `autokelly`.`product`.`Id` AS ProductId,
                `autokelly`.`productcriterium`.*,
                `autokelly`.`codeprimary`.`CodeValue` AS Code,
                `autokelly`.`criteriumtext`.`Name` AS CriteriumName,
                `autokelly`.`criteriumunittext`.`Code` AS CriteriumUnitText,
                CASE `autokelly`.`productcriterium`.`CriteriumType`
                    WHEN 1
                    THEN (SELECT
                            `autokelly`.`criteriumvaluetext`.Value
                        FROM
                            `autokelly`.`criteriumvalue`
                            INNER JOIN `autokelly`.`criteriumvaluetext` ON
                                `autokelly`.`criteriumvaluetext`.`CriteriumValueId` = `autokelly`.`criteriumvalue`.`Id` AND
                                `autokelly`.`criteriumvaluetext`.`CountryType` = 'BG'
                        WHERE
                            `autokelly`.`criteriumvalue`.`CriteriumId` = `autokelly`.`criterium`.`Id` AND
                            `autokelly`.`criteriumvalue`.`ValueId` = `autokelly`.`productcriterium`.`Value`
                        LIMIT 1)
                    ELSE `autokelly`.`productcriterium`.Value
                END AS `Value`,
                `autokelly`.`criterium`.`Order`
            FROM
                `autokelly`.`codeprimary`
                INNER JOIN `autokelly`.`product` ON `autokelly`.`codeprimary`.`ProductId` =  `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`productcriterium` ON  `autokelly`.`productcriterium`.`ProductId` = `autokelly`.`product`.`Id`
                INNER JOIN `autokelly`.`criterium` ON `autokelly`.`criterium`.`Id` = `autokelly`.`productcriterium`.CriteriumId
                INNER JOIN `autokelly`.`criteriumtext` ON `autokelly`.`criteriumtext`.`CriteriumId` = `autokelly`.`productcriterium`.`CriteriumId` AND `autokelly`.`criteriumtext`.`CountryType` = 'BG'
                LEFT JOIN `autokelly`.`criteriumunit` ON `autokelly`.`criteriumunit`.`Id` = `autokelly`.`criterium`.`CriteriumUnitId`
                LEFT JOIN `autokelly`.`criteriumunittext` ON `autokelly`.`criteriumunittext`.`CriteriumUnitId` = `autokelly`.`criterium`.`CriteriumUnitId` AND `autokelly`.`criteriumunittext`.`CountryType` = 'BG'
            WHERE
                `autokelly`.`codeprimary`.`ProductId` = 12121902 AND
                `autokelly`.`criterium`.`Order` = 100
            ORDER BY
                /* `autokelly`.`product`.`Id`, ??? */
                `autokelly`.`productcriterium`.`Group`,
                `autokelly`.`productcriterium`.`Order`
         LIMIT 5

