- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
<?$props = "";
if(!empty($arResult["PROPERTIES"]["ARTNUMBER"]["VALUE"])):
$props[] = array(
"NAME" => $arResult["PROPERTIES"]["ARTNUMBER"]["NAME"],
"CODE" => $arResult["PROPERTIES"]["ARTNUMBER"]["CODE"],
"VALUE" => $arResult["PROPERTIES"]["ARTNUMBER"]["VALUE"]
);
$props = strtr(base64_encode(addslashes(gzcompress(serialize($props),9))), '+/=', '-_,');?>
<input type="hidden" name="PROPS" value="<?=$props?>" />
<?endif;?>
теперь не сломают