}
         }
     }
     foreach ($fsIndex as $fsName) {
         if ($fsM->getId($fsName) == 0) {
             $idFs = $fsM->create($fsName, $fsArray[$fsName]['fileSystem'], $fsArray[$fsName]['alias']);
         } else {
             $fs = new fs($fsM->getId($fsName));
             if ($fs->name != $fsName || $fs->fileSystem != $fsArray[$fsName]['fileSystem'] || $fs->alias != $fsArray[$fsName]['alias']) {
                 $fsM->delete($fs->id);
                 $idFs = $fsM->create($fsName, $fsArray[$fsName]['fileSystem'], $fsArray[$fsName]['alias']);
             }
         }
         $fs = new fs($fsM->getId($fsName));
         if ($fsM->getSpaceUpdate($xmlDate, $fs->id) == 0) {
             $fs->updateSpaceStatus($xmlDate, $fsArray[$fsName]['size'], $fsArray[$fsName]['freeSpace']);
         }
     }
 }
 unset($fsIndex);
 unset($fsArray);
 // !Fs
 // Services
 $serviceIndex = array();
 $serviceArray = array();
 $serviceItemCount = 0;
 while (is_object($serviceItems = $item->getElementsByTagName("SERVICES")->item($serviceItemCount))) {
     foreach ($serviceItems->childNodes as $serviceItem) {
         $serviceName = $serviceItem->getElementsByTagName("NAME")->item(0)->nodeValue;
         array_push($serviceIndex, $serviceName);
         $serviceArray[$serviceName]['name'] = $serviceItem->getElementsByTagName("NAME")->item(0)->nodeValue;