Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $dir = './goseigen/';
- $files1 = scandir($dir, 0);
- $index=count($files1);
- echo '<center><h3>Here is a collection of Games by the Go Master <a href="http://en.wikipedia.org/wiki/Go_Seigen">Go Seigen</a></h3></center>';
- echo "<center><table border=\"1\">";
- for($i=0; $i < $index; $i++)
- {
- if($files1[$i] != '.' && $files1[$i] != '..')
- {
- echo "<tr><td><a href=\"goseigen-play.php?sgf_file=$files1[$i]\">$files1[$i]</a></td></tr>";
- }
- }
- echo "</table></center>";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement