<?=var_dump($arResult['PROPERTIES']['TIP_KOMPANII'])?>
//var_dump
["VALUE"]=>
array(2) {
[0]=>
string(31) "gfh"
[1]=>
string(25) "dfsfdsа"
}
["DESCRIPTION"]=>
array(2) {
[0]=>
NULL
[1]=>
NULL
}
["VALUE_ENUM"]=>
array(2) {
[0]=>
string(31) "gfh"
[1]=>
string(25) "dfsfdsа"
}
<?
while($arEnum = $UF_TIP_COMPANY->GetNext()){
foreach($ppi as $key=>$value){
//echo $arEnum['ID']."=>".$value."<br />";
echo "<label><input type='checkbox' value='".$arEnum["ID"]."' ";
if($arEnum["ID"]==$value){
echo "checked";
}
echo " name='UF_TIP_COMPANY[]' />".$arEnum["VALUE"]."</label><br />";
}
}
?>
<?
while($arEnum = $UF_RAZDEL_KATALOGA->GetNext()){
echo "<option value=".$ci=1+$ci;
if($ci==$arResult['USER_PROPERTIES']['DATA']['UF_RAZDEL_KATALOGA']['VALUE']){
echo " selected ";
}
echo ">".$arEnum["VALUE"]."</option>";
}
?>
<?$APPLICATION->IncludeComponent(
"bitrix:system.field.edit",
$arUserField["USER_TYPE"]["USER_TYPE_ID"],
array("bVarsFromForm" => $arResult["bVarsFromForm"], "arUserField" => $arUserField), null, array("HIDE_ICONS"=>"Y"));?>