Location: PHPKode > projects > Dominant Creature RPG > index.php
<?

session_start();

if($_SESSION['logged'] == 'true'){

	require("database.php");

	require_once('class/gui_class.php');

	

	$gui = new GUI;

	

?>

<HTML>

<HEAD>

<TITLE>Dominant Evil</TITLE>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

<SCRIPT SRC="class/boxover.js"></SCRIPT>

<style>

body {

background: #1E1E1E url(images/index_01.jpg) top repeat-x;

color: #fff;

font-size: 11px;

font-family: Verdana;

}



td {

color: #fff;

font-size: 11px;

font-family: Verdana;

}



#foot {

color: #fff;

font-size: 11px;

font-family: Verdana;

width: 808px;

height: 24px;

background: #1E1E1E url(images/footbg.jpg) top center repeat-x;

}



a, a:visited {

color: #D9C5C5;

font-weight: bold;

text-decoration: none;

}



a:hover, a:active {

color: #fff;

font-weight: bold;

text-decoration: none;

}



#head {

background: #1E1E1E url(images/index_02.jpg) no-repeat;

width: 808px;

height: 154px;

font-size: 11px;

font-family: Verdana;

}



#menu {

background: #1E1E1E url(images/index_04.jpg) no-repeat;

width: 808px;

height: 30px;

font-size: 11px;

font-family: Verdana;

padding-top: 6px;

padding-left: 12px;

}



#body {

background: #1E1E1E url(images/index_05.jpg) repeat-y;

width: 580px;

height: 500px;

font-size: 11px;

font-family: Verdana;

padding-top: 10px;

padding-left: 20px;

}



#body-right {

background: #1E1E1E url(images/index_06.jpg) repeat-y;

width: 208px;

height: 500px;

font-size: 11px;

font-family: Verdana;

padding-top: 10px;

}



input, select {

font-size: 11px;

}



</style>



</HEAD>

<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>

<!-- ImageReady Slices (psd.psd) -->

<TABLE align=center width='808' BORDER=0 CELLPADDING=0 CELLSPACING=0>

	<TR>

		<TD colspan='2' valign='top' id='head'>

		</TD>

	</TR>

	<TR>

		<TD colspan='2' valign='top' id='menu'>

		<?

		$gui->Menu();

		?>

		</TD>

	</TR>

	<TR>

		<TD valign='top' align='left' id='body'>

		<?

		$gui->GetPage();

		?>

		</TD>

		<TD valign='top' align='left' id='body-right'>

		<?

		$gui->GameInfo();

		?>

		<br />

		</td>

	</TR>

	<tr>

	<td colspan='2' align='right' id='foot'>

	<?

			echo "<table align='left' width='780'><tr><td align='left' style='padding-left: 10px;'>Logout? <a href='logout.php' title='Logout'>[X]</a>";

			echo " | User: " . $_SESSION["user"] . "</td>";

			

	?>

	<td align='right'>copyright by Nosf // 2008 | core engine by <a href='http://www.bbgdev.com/' target='_blank'>Dominant Creature</a>

	</td></tr></table>

	</td>

	</tr>

</TABLE>

<!-- End ImageReady Slices -->

</BODY>

</HTML>

<?

} 

else {

header("Location: login.php");

}

?>
Return current item: Dominant Creature RPG