<?$pdf = CFile::GetPath($arResult['PROPERTIES']['PDF']['VALUE']);?>
<a href="<?=$pdf;?>" class="file-types-link" download>pdf</a>
<?= $arResult['PROPERTIES']['PDF']['VALUE'] ?>
<?$pdf = CFile::GetFileArray($arResult['PROPERTIES']['PDF']['VALUE']);?>
<a href="<?=$pdf["SRC"];?>" class="file-types-link" download>pdf</a>
<?if(IntVal($arResult['PROPERTIES']['PDF']['VALUE']) > 0):
$pdf = CFile::GetPath($arResult['PROPERTIES']['PDF']['VALUE']);?>
<a href="<?=$pdf;?>" class="file-types-link" download>pdf</a>
<?endif;?>
<?echo $pdf;?>