<?php
/*
* This file is part of 'Crown of Evanion'.
*
* 'Crown of Evanion' is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* 'Crown of Evanion' is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with 'Crown of Evanion'; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
$title = "Hall of Jesters";
include("include.php");
if(!$Username) {
header("Location: login.php");
}
if(!$page) {
$select = mysql_query("SELECT * FROM games ORDER BY id DESC");
echo "<div align=\"center\">
<h3>Jester's Hall</h3>
<p>Welcome to the Hall of Jesters. You should feel free to play a game with any Jester you like.</p>
<div class=\"games\">
<table border=\"0\" cellspacing=\"0\">";
while($games = mysql_fetch_array($select)) {
echo "<tr><td>
<img src=\"$games[keeper]\" width=\"100\" height=\"100\">
</td>
<td>
<a href=\"$games[url]\">
$games[name]
</a>
</td></tr>";
}
echo "</table>
</div>
</div>";
}
include("footer.php");
?>