Чит коды
<?echo '<pre>'; print_r ($arResult); echo '</pre>';?>
<?=$arResult['NAME']?>
<img src="<?=$arResult['PICTURE']['SRC']?>" title="<?=$arResult['NAME']?>" border="0"/>
<?
$db_list = CIBlockSection::GetList(Array($by=>$order), $arFilter = Array("IBLOCK_ID"=>$arResult["IBLOCK_ID"], "ID"=>$arResult["ID"]), true,$arSelect=Array("UF_SOLUTIONS_TITLE"));
while($ar_result = $db_list->GetNext()):
?>
<?=$ar_result["UF_SOLUTIONS_TITLE"] ?>
<?endwhile?>
<?if (!empty($arResult["PROPERTIES"]["RABOTA_DOP"]["VALUE"])):?>
<tr>
<td>Äîïîëíèòåëüíî:</td>
<td><?=$arResult["PROPERTIES"]["RABOTA_DOP"]["VALUE"]?></td>
</tr>
<?endif?>
<?=number_format($arResult["PROPERTIES"]["RABOTA_PRICE"]["VALUE"], 0, ',', ' ' );?>
<? if(
preg_match('{^/news/index.php}', $APPLICATION->GetCurPage())
): ?>
11111
<?else:?>
22222
<?endif;?>
$db_list = CIBlockSection::GetList(Array("ID"=>"ASC"), $arFilter, true, Array("UF_EXCKEYWORDS","UF_EXCDESCRIPTION","UF_EXCTITLE"));
if($section = $db_list->GetNext()){
$APPLICATION->SetPageProperty("keywords", $section["UF_EXCKEYWORDS"]);
$APPLICATION->SetPageProperty("description", $section["UF_EXCDESCRIPTION"]);
$APPLICATION->SetPageProperty("title", $section["UF_EXCTITLE"]);
$db_list = CIBlockSection::GetList(Array($by=>$order), $arFilter = Array("IBLOCK_ID"=>$arResult["IBLOCK_ID"], "ID"=>$arResult["ID"]), true,$arSelect=Array("UF_SOLUTIONS_TITLE"));
if($section = $db_list->GetNext()){
$APPLICATION->SetPageProperty("title", $section["UF_SOLUTIONS_TITLE"]);