open(($this->media->isAbsolute ? '' : __DIR__ . '/../../../../../../') . $this->media->getPath()); for($i = 0; $i < $archive->numFiles; ++$i) { $stat = $archive->statIndex($i); echo ''; echo '
' . \str_repeat(' ', (\substr_count(\trim($stat['name'], '/'), '/')) * 8) . ($stat['name'][\strlen($stat['name']) - 1] === '/' ? 'folder_open ' : 'article ') . $stat['name']; } ?>