<?
$arPath = explode('/',$_SERVER['REQUEST_URI']);
$ID = trim($arPath[3]);
if (!is_numeric($ID)) {
$url = str_replace('/target_programs/','/target_programs/basis/',$_SERVER['REQUEST_URI']);
header('Location:'.$url);
}
?>
<?
$arResult2 = array();
foreach ($arResult["ITEMS"] as $key => $item)
{
if ($item["ID"] == $ID)
{
$arResult2 = $item;
}
}
?>
<? $APPLICATION->SetTitle($arResult2["NAME"]); ?>
<table class="zelevye_programmy">
<tbody>
<tr> <td>
<p class="color_595959">Наименование</p>
</td> <td>
<? echo $arResult2["DISPLAY_PROPERTIES"]["NAME"]["DISPLAY_VALUE"]; ?>
</td> </tr>
|