"ASC", "NAME"=>"ASC"),array('CHECK_PERMISSIONS' => 'Y','MIN_PERMISSION' => 'W')); while ($res = $db_res->Fetch()) { if ($arCatalog = CCatalog::GetByIDExt($res["ID"])) { if($arCatalog['CATALOG_TYPE'] == "D" || $arCatalog['CATALOG_TYPE'] == "X" || $arCatalog['CATALOG_TYPE'] == "P") { $arSiteList = array(); $rsSites = CIBlock::GetSite($res["ID"]); while ($arSite = $rsSites->Fetch()) { $arSiteList[] = $arSite["SITE_ID"]; } $db_properties = CIBlock::GetProperties($res['ID'], Array()); $properties = Array(); while($prop = $db_properties->Fetch()) $properties[] = $prop; $boolExport = (in_array($res['ID'],$IBLOCK_EXPORT)); $arIBlockList[] = array( 'ID' => $res['ID'], 'NAME' => $res['NAME'], 'IBLOCK_TYPE_ID' => $res['IBLOCK_TYPE_ID'], 'IBLOCK_EXPORT' => $boolExport, 'PROPERTIES' => $properties, 'SITE_LIST' => '('.implode(' ',$arSiteList).')', ); if ($boolExport) $intCountChecked++; $intCountAvailIBlock++; } } } $intCountChecked = $intCountAvailIBlock; $boolAll = true; ?> $arIBlock) { ?>
 
>  
" onclick="checkOne(this,);" >















 


 


" class="adm-btn-save">
" class="adm-btn-save">