Location: PHPKode > projects > Crown of Evanion > final/char.php
<?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 = "Character";
include("include.php");
if(!$Username) {
	header("location: login.php");
}
echo "<div align=\"center\"><p class=\"drag\"><a href=$PHP_SELF>Overview</a> | <a href=spellbook.php>Spellbook</a>";

if(!$page) {
	echo "<div class=\"drag\">
	<p><strong>Strength:</strong> $Stren</p>
	<p><strong>Toughness:</strong> $Tough</p>
	<p><strong>Intelligence:</strong> $Intel</p>
	<p><strong>Mana:</strong> $Mana / $MaxMana</p>
	<p><strong>Donated Money:</strong> $user_data[donated]</p>
	</div>";
}
include("footer.php");
?>
Return current item: Crown of Evanion