Last active
August 29, 2015 14:04
-
-
Save Pavelovich/0f840516f6c2f14986ef to your computer and use it in GitHub Desktop.
Sturmkrieg.ru archive page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Archive</title> | |
</head> | |
<body style='background: #000000; color: #777777; padding: 30px;'> | |
<font face="arial,helvetica"> | |
<p><a style='color: #FF0000' href='../'>Return to board</a></p> | |
<?php | |
echo "<span style='font-size: 36pt'>Archive</span>"; | |
echo "<br/><br/>"; | |
$files = scandir("../arch/res"); | |
//for ($i = 2; $i < sizeof($files); $i++) | |
for ($i = sizeof($files)-1; $i >= 2; $i--) | |
{ | |
echo "<li><a style='color: #FF0000; font-size: 10pt;' href='../arch/res/".$files[$i]."'>".$files[$i]."</a></li><br/>"; | |
} | |
?> | |
</font> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment