Skip to content

Instantly share code, notes, and snippets.

@Pavelovich
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pavelovich/0f840516f6c2f14986ef to your computer and use it in GitHub Desktop.
Save Pavelovich/0f840516f6c2f14986ef to your computer and use it in GitHub Desktop.
Sturmkrieg.ru archive page
<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