Код |
---|
$strSql2 = "SELECT DISTINCT IBLOCK_ELEMENT_ID FROM b_iblock_element_property WHERE IBLOCK_PROPERTY_ID = 411 AND VALUE = '".IntVal($_POST['size'])."' AND IBLOCK_ELEMENT_ID = '".$arRes["IBLOCK_ELEMENT_ID"]."' OR IBLOCK_PROPERTY_ID = 409 AND VALUE = '".IntVal($_POST['opacity'])."' AND IBLOCK_ELEMENT_ID = '".$arRes["IBLOCK_ELEMENT_ID"]."' OR IBLOCK_PROPERTY_ID = 418 AND VALUE = '".IntVal($_POST['tok'])."' AND IBLOCK_ELEMENT_ID = '".$arRes["IBLOCK_ELEMENT_ID"]."'"; |