local/include/header SITE_ID = en
GetList 9
GetList 2
GetList 3
strSql = 
					SELECT  BE.ID as ID,BE.IBLOCK_ID as IBLOCK_ID,BE.NAME as NAME,BE.CODE as CODE,BE.SORT as SORT, FPV0.VALUE as PROPERTY_CONTENT_EN_VALUE, FPV0.ID as PROPERTY_CONTENT_EN_VALUE_ID
					FROM 
			b_iblock B
			INNER JOIN b_lang L ON B.LID=L.LID
			INNER JOIN b_iblock_element BE ON BE.IBLOCK_ID = B.ID
			LEFT JOIN b_iblock_property FP0 ON FP0.IBLOCK_ID = B.ID AND  FP0.CODE='CONTENT_EN'
			LEFT JOIN b_iblock_element_property FPV0 ON FPV0.IBLOCK_PROPERTY_ID = FP0.ID AND FPV0.IBLOCK_ELEMENT_ID = BE.ID

		
					WHERE 1=1 
			AND (
			
				((((BE.IBLOCK_ID = '20'))))
				AND ((((BE.ID = '65'))))
			)
			AND (((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL)))
					
					 ORDER BY BE.SORT asc 
					LIMIT 1
				
Яндекс.Метрика