+7 (499) 517-94-22 | (495)973-25-57 Статьи Новости Условия сотрудничества Контакты
  • Отправка сообщения

  • Нанесение
111action index
SELECT SQL_CALC_FOUND_ROWS DISTINCT a.`Message_ID`, a.`User_ID`, a.`IP`, a.`UserAgent`, a.`LastUser_ID`, a.`LastIP`, a.`LastUserAgent`, a.`Priority`, a.`Parent_Message_ID`, a.`ncTitle`, a.`ncKeywords`, a.`ncDescription`, a.`ncSMO_Title`, a.`ncSMO_Description`, a.`ncSMO_Image`, sub.`Subdivision_ID`, CONCAT('', sub.`Hidden_URL`) AS `Hidden_URL`, cc.`Sub_Class_ID`, cc.`EnglishName`, a.`Checked`, a.`Created`, a.`Keyword`, a.`LastUpdated` + 0 AS LastUpdated, a.Name, a.Vendor, a.VariantName, a.Article, a.Type, a.Description, a.Details, a.Image, a.Image_mini, a.SuperBigImage, a.PriceDiscount, a.Price, tbl234.ShopCurrency_Name AS Currency, tbl234.ShopCurrency_ID AS Currency_id, tbl234.`Value` AS Currency_value , a.PriceMinimum, tbl235.ShopCurrency_Name AS CurrencyMinimum, tbl235.ShopCurrency_ID AS CurrencyMinimum_id, tbl235.`Value` AS CurrencyMinimum_value , tbl236.ShopUnits_Name AS Units, tbl236.ShopUnits_ID AS Units_id, tbl236.`Value` AS Units_value , a.Weight, a.StockUnits, a.TopSellingMultiplier, a.TopSellingAddition, a.VAT, a.SalesNotes, a.ItemID, a.ImportSourceID, a.RateTotal, a.RateCount, a.Id1c, a.Size, a.Material, a.Color, a.base_id, a.Applications, a.Categories, a.FullDescription, tbl450.dating_Name AS dating, tbl450.dating_ID AS dating_id, tbl450.`Value` AS dating_value , tbl451.Sex_Name AS sex, tbl451.Sex_ID AS sex_id, tbl451.`Value` AS sex_value , a.Tag, a.BigImage, a.Stock FROM (`Message31` AS a ) LEFT JOIN `Subdivision` AS sub ON sub.`Subdivision_ID` = a.`Subdivision_ID` LEFT JOIN `Sub_Class` AS cc ON cc.`Sub_Class_ID` = a.`Sub_Class_ID` LEFT JOIN `Classificator_ShopCurrency` AS tbl234 ON a.`Currency` = tbl234.ShopCurrency_ID LEFT JOIN `Classificator_ShopCurrency` AS tbl235 ON a.`CurrencyMinimum` = tbl235.ShopCurrency_ID LEFT JOIN `Classificator_ShopUnits` AS tbl236 ON a.`Units` = tbl236.ShopUnits_ID LEFT JOIN `Classificator_dating` AS tbl450 ON a.`dating` = tbl450.dating_ID LEFT JOIN `Classificator_Sex` AS tbl451 ON a.`sex` = tbl451.Sex_ID LEFT JOIN `Categories` AS cat ON a.`Message_ID` = cat.`Message_ID` WHERE (1 AND a.`Parent_Message_ID` = '0' AND 1 and ((a.Subdivision_ID IN ('14','15','17','20','21','22','322','349','407') ) or cat.Subdivision_ID IN ('14','15','17','20','21','22','322','349','407') ) AND sub.`Catalogue_ID` = '1' AND a.`Checked` = 1 ) ORDER BY Price ASC LIMIT 180, 20

Подарочная и сувенирная продукция к Новому году