if (CModule::IncludeModule("iblock")) { $res = CIBlockElement::GetByID($_GET["PID"]); if($ar_res = $res->GetNext()) echo $ar_res['NAME']; }