diff --git a/index.php b/index.php index 0233231..bbdcf87 100644 --- a/index.php +++ b/index.php @@ -88,8 +88,8 @@ else { echo '
- - + +
'; echo '
'; @@ -99,15 +99,18 @@ return filemtime($b) - filemtime($a); }); + $autocomplete = ''; foreach($files as $path) { - if (!str_ends_with($path, '.del')) + $name = basename($path); + if (!str_ends_with($name, '.del')) { - $name = basename($path); - $mod = date("F d Y H:i:s", filemtime($path)); - echo '
' . $mod . ' ' . $name .'
'; + $autocomplete .= '
'; + echo $autocomplete; echo '
'; } ?>