1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
|
<?php
$array = array();
$handle=opendir('.');
while ($file = readdir ($handle))
if ($file != "." && $file != ".." && $file != "index.php" && $file != "gal.php" && $file != "forums.html" )
{
$array[] = $file;
}
closedir($handle);
sort($array);
foreach($array as $wert)
{
echo "<img src='http://www.xyz.info/img/pdf20.png' width='16' height='16'> <a target=_blank href=$wert>$wert</a><br>";
}
?> |