Location: PHPKode > projects > Matt's March Madness > trunk/endgame.php
<?php
include("admin/functions.php");
include("header.php");

$id = (int) $_GET['id'];
$rank = (int) $_GET['rank'];
$viewAll = $_GET['view_all'];

$pageMode = "";

if( $id != NULL && $rank != NULL && $viewAll == NULL )
{
	$pageMode = "bracket";
}
else if( $id == NULL && $rank != NULL && $viewAll != NULL )
{
	$pageMode = "view_all";
}

include("endgame_view_module.php");

drawEndGames( $pageMode, $id, $rank , $endgameIds, $db);

?>
				
		<div id="footer"></div>
	</div>
</body>
</html>
Return current item: Matt's March Madness