include("/data/httpd/linvdr.org/htdocs/lib/library.inc.php");
function FileInfo($file) {
if(is_dir($file)) {
$type = "
";
}
if(is_file($file)) {
$type = "<--->";
}
if(is_link($file)) {
$type = "";
}
return(htmlentities($type));
}
$files = array();
$handle = opendir(".");
while(false != ($file = readdir($handle))) {
if($file != "." && $file != "index.php" && !preg_match("/^\.[a-zA-Z0-9]+/", $file)) {
array_push($files, $file);
}
}
sort($files);
?>
LinVDR
|
|
|
|
|
LinVDR Download - print dirname($PHP_SELF); ?>
|
|
|
|
|
|
|
Name |
Last Modified |
Size |
|
|
$handle = opendir(".");
foreach($files as $file) {
$stat = stat($file);
?>
print FileInfo($file) ?> |
print $file ?> |
print strftime("%d.%m.%Y %H:%M:%S", $stat[9]) ?> |
print $stat[7] ?> |
|
}
?>
|
|
|
|
|