static function Read()
 {
     if (self::$id <= 0) {
         return false;
     }
     self::$holidaysFields = new CSupportTableFields(CSupportHolidays::$holidays);
     $rs = CSupportHolidays::GetList(array(), array('ID' => self::$id));
     if ($arResult = $rs->Fetch()) {
         self::$holidaysFields->FromArray($arResult);
         self::$notSaved = false;
         self::$holidaysSlaFields = CSupportHolidays::GetSLAByID(self::$id, true);
     } else {
         self::$canNotRead = true;
         return false;
     }
     return true;
 }
        }
    }
}
$arHeaders = array(array("id" => "ID", "content" => "ID", "sort" => "ID", "default" => true), array("id" => "NAME", "content" => GetMessage("SUP_NAME"), "sort" => "NAME", "default" => true), array("id" => "OPEN_TIME", "content" => GetMessage("SUP_OPEN_TIME"), "sort" => "OPEN_TIME", "default" => true), array("id" => "DATE_FROM", "content" => GetMessage("SUP_DATE_FROM"), "sort" => "DATE_FROM", "default" => true), array("id" => "DATE_TILL", "content" => GetMessage("SUP_DATE_TILL"), "sort" => "DATE_TILL", "default" => true), array("id" => "SLA", "content" => GetMessage("SUP_SLA"), "default" => true));
$USER_FIELD_MANAGER->AdminListAddHeaders("SUPPORT", $arHeaders);
$lAdmin->AddHeaders($arHeaders);
/*
$arVisibleColumns = $lAdmin->GetVisibleHeaderColumns();

$arSelectedFields = array("ID", "NAME", "OPEN_TIME", "DATE_FROM", "DATE_TILL", "SLA");

foreach($arVisibleColumns as $val)
	if(!in_array($val, $arSelectedFields))
		$arSelectedFields[] = $val;
*/
$dbResultList = CSupportHolidays::GetList(array($by => $order), $arFilter);
$dbResultList = new CAdminResult($dbResultList, $sTableID);
$dbResultList->NavStart();
$lAdmin->NavText($dbResultList->GetNavPrint(GetMessage("SUP_GROUP_NAV")));
while ($arBlog = $dbResultList->NavNext(true, "f_")) {
    $row =& $lAdmin->AddRow($f_ID, $arBlog, "/bitrix/admin/ticket_holidays_edit.php?ID=" . $f_ID . "&lang=" . LANGUAGE_ID, GetMessage("SUP_UPDATE_ALT"));
    $row->AddField("NAME", '<a href="/bitrix/admin/ticket_holidays_edit.php?ID=' . $f_ID . '&lang=' . LANGUAGE_ID . '" title="' . GetMessage("SUP_UPDATE_ALT") . '">' . $f_NAME . '</a>');
    $row->AddField("OPEN_TIME", GetMessage(CSupportHolidays::GetOpenTimeT($f_OPEN_TIME)));
    if ($f_OPEN_TIME != "HOLIDAY_H" && $f_OPEN_TIME != "WORKDAY_H") {
        $f_DATE_FROM = GetTime(MakeTimeStamp($f_DATE_FROM), "SHORT");
        $f_DATE_TILL = GetTime(MakeTimeStamp($f_DATE_TILL), "SHORT");
    }
    $row->AddField("DATE_FROM", $f_DATE_FROM);
    $row->AddField("DATE_TILL", $f_DATE_TILL);
    $SLA = "";
    $rs = CSupportHolidays::GetSLAByID($f_ID);