1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
|
<?php echo"<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>No Cheats!</title>
<meta name="robots" content="noindex, nofollow" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<strong>Die letzten 50 Punkbuster Screenshots des ANS Server</strong>
<?PHP
$dirpath = "./svss/";
$dir = opendir($dirpath);
$files = array();
$endung = array('png');
$limit = 50;
while ($file = readdir($dir)) {
$localpath = $dirpath.$file;
if (($file != ".") && ($file != ".."))
{
if (in_array(substr($file, -3), $endung))
{
if (is_file($localpath)) {
$key = filemtime($localpath).md5($file);
$files[$key] = $file;
}
}
}
}
ksort($files);
$files = array_reverse($files);
$i=0;
echo "<a href=\"/svss/pbsvss.htm\">Alle verfuegbaren durchsuchen</a><BR />\n";
echo "<strong>Powered by PBSS Auto Gamma Correction Viewer</strong><BR />\n";
foreach ($files as $file) {
$i++;
if ($i > $limit)
{
break;
}
echo "<embed src=\"./svss/" .$file. " \" width=\"800\" height=\"400\" gamma=\"1.99\" image=\"./svss/" .$file. " \" pluginspage=\"http://www.aliasfinder.co.uk/PBSS/nppbss.dll\" type=\"application/x-png-pbss\"></embed><BR />\n";
echo "<a href=\"http://www.aliasfinder.co.uk/PBSS/\" target=\"_blank\">get the Plugin here</a><BR />\n";
}
?>
</body>
|