<?php
ob_start();
include("config.php");

?>

<html>
<head>
<title>Ultimatecrime - Gratis Online Multiplayer Game!</title>
</head>
<body bgcolor="#000000">

<?php

	if($data){

?>

<table width="95" height="580" align="left" cellpadding="0" cellspacing="0">
	<tr>
		<td width="95" height="30" background="layout/images/layout_15.gif">
		</td>
	</tr>
	<tr>
		<td width="95" height="33" background="layout/images/layout_18.gif">
		</td>
	</tr>
	<tr>
		<td width="95" height="118" background="layout/images/layout_24.gif">
		</td>
	</tr>
	<tr>
		<td width="95" height="33" background="layout/images/layout_33.gif">
		</td>
	</tr>
	<tr>
		<td width="95" height="127" background="layout/images/layout_39.gif">
		</td>
	</tr>

<?php

		if(($data) && $data->level == 3){
		$dbres	=	mysql_query("SELECT * FROM `admin` WHERE `login`='{$data->login}'");
		$admin	=	mysql_fetch_object($dbres);

?>

	<tr>
		<td width="95" height="33" background="layout/images/layout_45.gif">
		</td>
	</tr>
	<tr>
		<td width="95" height="206" background="layout/images/layout_51.gif">
		</td>
	</tr>

<?php

		} else {

?>

	<tr>
		<td width="95" height="33" background="layout/images/layout_71.gif">
		</td>
	</tr>
	<tr>
		<td width="95" height="206" background="layout/images/layout_51.gif">
		</td>
	</tr>

<?php

		}

?>

</table>

<?php

	} else {

?>

<table width="95" height="580" align="left" cellpadding="0" cellspacing="0">
	<tr>
		<td width="95" height="30" background="layout/images/layout_15.gif">
		</td>
	</tr>
	<tr>
		<td width="95" height="33" background="layout/images/layout_69.gif">
		</td>
	</tr>
	<tr>
		<td width="95" height="118" background="layout/images/layout_24.gif">
		</td>
	</tr>
	<tr>
		<td width="95" height="33" background="layout/images/layout_70.gif">
		</td>
	</tr>
	<tr>
		<td width="95" height="127" background="layout/images/layout_39.gif">
		</td>
	</tr>
	<tr>
		<td width="95" height="33" background="layout/images/layout_71.gif">
		</td>
	</tr>
	<tr>
		<td width="95" height="206" background="layout/images/layout_51.gif">
		</td>
	</tr>

</table>

<?php

	}

?>

</body>
</html>