$arFile = CFile::GetFileArray($arUser_Photo);
$widthF = $arFile['WIDTH'];
$heightF = $arFile['HEIGHT'];
$procent = 254*100/$widthF;
$height = floor($heightF*$procent/100);
//$itog = ;
$renderImageG = CFile::ResizeImageGet($arUser_Photo,Array("width" => "254", "height" => $height), BX_RESIZE_IMAGE_PROPORTIONAL, true);
echo '<img alt="'.$arUser['WORK_COMPANY'].'" src="'.$renderImageG['src'].'" />';
<?
if ($arResult['DATA_SAVED'] == 'Y' AND $arResult["USER_PROPERTIES"]["SHOW"] == "Y")// заменяю иф в самом начале
ShowNote(GetMessage('PROFILE_DATA_SAVED'));
?>
<input type="text" name="UF_VK" maxlength="255" value="<?=$arResult["USER_PROPERTIES"]["DATA"]["UF_VK"]["VALUE"]?>" />
<?
//вывожу дату
$IBLOCK_ID = intval($arParams['IBLOCK_ID']);
//print $IBLOCK_ID;
if(!CModule::IncludeModule("iblock"))
die('iblock module is not included!');
$arSort = Array("SORT"=>"ASC", "NAME"=>"ASC");
$arSelect = Array("ID","NAME","PROPERTY_DATA_SOBYTIYA");
$arFilter = Array("IBLOCK_ID"=>$IBLOCK_ID,"ACTIVE" => "Y", ">=DATE_ACTIVE_FROM" => $curdate, "PROPERTY" => array('ADD_TO_EVENTS' => array('VALUE' => 'Y')), "<=DATE_ACTIVE_FROM" => $curdatelast);
$arFilterDate = Array("IBLOCK_ID" => $IBLOCK_ID);
$obIBlockResult = CIBlockElement::GetList($arSort, $arFilter, false, false, $arSelect);
$arFilter = $obIBlockResult->GetNext();
?>
$GLOBALS['arrFilterTomain'] = array("PROPERTY_CITYS_VALUE"=>"Москва%");
<?require($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.php');?>
<head>
<?$APPLICATION->ShowHead()?>
</head>
<body>
<?$APPLICATION->ShowPanel();?>
<?$APPLICATION->IncludeComponent(
.....
);?>
<?require($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/epilog_after.php');?>
<?foreach($arResult["ITEMS"] as $key=>$arItem):
$res = CIBlockSection::GetByID($arItem["IBLOCK_SECTION_ID"]);
if($ar_res = $res->GetNext())
echo $arResult["ITEMS"][$key]["IBLOCK_SECTION_NAME"] = $ar_res['NAME'];
endforeach;?>
"SORT_BY1" => "RAND",
"SORT_ORDER1" => "RAND",
"SORT_BY2" => "RAND",
"SORT_ORDER2" => "RAND",