mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-01 22:25:46 -04:00
Remove website CGI script.
This commit is contained in:
parent
5d85ebd294
commit
ccf2ed3666
1 changed files with 0 additions and 38 deletions
|
@ -1,38 +0,0 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>moo!</title>
|
||||
</head>
|
||||
|
||||
<?php
|
||||
$file=array();
|
||||
$i=0;
|
||||
|
||||
if(empty($flat) == 0)
|
||||
{
|
||||
printf("<body background=\"%s\">\n", $flat);
|
||||
printf("<table><tr><td bgcolor=black text=white>\n");
|
||||
printf("<a href=\"%s\"><font color=#ffffff>Back to image index</font></a><br>\n", $PHP_SELF);
|
||||
printf("</td></tr></table>\n");
|
||||
}
|
||||
else {
|
||||
printf("<body>\n");
|
||||
$handle=opendir('.');
|
||||
while($filex = readdir($handle)) {
|
||||
$file[$i]=$filex;
|
||||
$i++;
|
||||
}
|
||||
|
||||
for($j=0; $j != $i; $j++)
|
||||
{
|
||||
if(strstr($file[$j], ".gif") == true)
|
||||
printf("<a href=\"%s?flat=%s\">%s</a><br>\n", $PHP_SELF, $file[$j], $file[$j]);
|
||||
}
|
||||
closedir($handle);
|
||||
}
|
||||
?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue