X
{{foreach $path as $folder => $name}}
{{$name}}
{{/foreach}}
{{if $folders }}
{{foreach $folders as $folder}}
{{$folder}}
{{/foreach}}
{{/if}}
{{foreach $files as $f}}
{{$f.1}}
{{/foreach}}
{{$upload}}