function update_group($gr, $fpacks, $newfile, $tgets, $fsize, $fname)
 {
     if ($fsize <= 0) {
         $fsize = filesize_cache($fname);
     }
     $ttrans = $fsize * $tgets;
     $this->total['xx_gets'] += $tgets;
     $this->gruppen['*']['xx_gets'] += $tgets;
     $this->info[$fpacks]['xx_gets'] += $tgets;
     $this->total['trans'] += $ttrans;
     $this->gruppen['*']['trans'] += $ttrans;
     $this->info[$fpacks]['trans'] += $ttrans;
     $this->info[$fpacks]['xx_data'] = $gr;
     if (!isset($this->gruppen[$gr]['packs'])) {
         $this->gruppen[$gr]['packs'] = 0;
         $this->gruppen[$gr]['size'] = 0;
         $this->gruppen[$gr]['xx_gets'] = 0;
         $this->gruppen[$gr]['trans'] = 0;
     }
     $this->gruppen[$gr]['xx_gets'] += $tgets;
     $this->gruppen[$gr]['trans'] += $ttrans;
     if ($newfile != 0) {
         $this->gruppen[$gr]['packs']++;
         $this->gruppen[$gr]['size'] += $fsize;
         $this->total['size'] += $fsize;
         $this->gruppen['*']['size'] += $fsize;
         $this->info[$fpacks]['size'] = $fsize;
     }
 }
             continue;
         }
         $seen[$text] = 0;
         $total['packs']++;
         $total['size'] += $fsize;
     }
     if ($key == 'xx_gets') {
         $total['xx_gets'] += $text;
         $total['trans'] += $fsize * $text;
     }
     continue;
 }
 if ($key == 'xx_file') {
     $newfile = 0;
     $packs++;
     $fsize = filesize_cache($text);
     $info[$packs]['pack'] = $packs;
     $info[$packs]['size'] = $fsize;
     if (!isset($info[$packs]['xx_gets'])) {
         $info[$packs]['xx_gets'] = 0;
         $info[$packs]['trans'] = 0;
     }
     if (!isset($seen[$text])) {
         $newfile = 1;
         $seen[$text] = $packs;
         $total['packs']++;
         $total['size'] += $fsize;
     }
     $fpacks = $seen[$text];
 }
 if ($key == 'xx_gets') {