<?php
session_start();
include_once "inc/db_connect.php";
include_once "inc/fnc.php";
header('Content-Type: text/html;charset=utf8');
$err = "";
if(isset($_POST['regok'])){unset($_SESSION['reg_ok']);}
if(!isset($_SESSION['user'])){
	header("Location: index.php?");
	exit();
}else{
	$data_user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `nick`='".$_SESSION['user']."'")) or die(mysql_error());
include 'head.php';
?>
<div class="title">Город</div>
<table class="wdt map_new"> 
<tr>
<td colspan = "2" class="green" align="center" style="vertical-align: top; padding-top: 2px; padding-bottom: 2px; height: 20px">
<table class = "inmap-new">
<tr> 
<td class="url" style="width:50%;"><center><a href="/auto.php"><img src="city/autocity.png" width="64" height="64" alt=""/></br><font color=#222222><b>Автосалон</b></font></a></center></td> 
<td class="url" style="wigth:50%;"><center><a href="/kvartira.php"><img src="city/home.png" width="64" height="64" alt=""/></br><font color=#222222><b>Квартира</b></font></a></center></td>
</tr>
</table>				
</tr>
<tr> 
<td colspan = "2" class="green" align="center" style="vertical-align: top; padding-top: 2px; padding-bottom: 2px; height: 20px">
<table class = "inmap-new">
<tr>

<td class="url" style="width:50%;"><center><a href="/vis.php"><img src="city/cityvis.png" width="64" height="64" alt=""/></br><font color=#222222><b>Выставка</b></font></a></center></td> 
<td class="url" style="wigth:50%;"><center><a href="/taxi.php"><img src="city/taxi.png" width="64" height="64" alt=""/></br><font color=#222222><b>Такси</b></font></a></center></td>
</tr>
</table>				
</tr>
<tr> 
<td colspan = "2" class="green" align="center" style="vertical-align: top; padding-top: 2px; padding-bottom: 2px; height: 20px">
<table class = "inmap-new">
<tr>
 
<td class="url" style="width:50%;"><center><a href="/street.php"><img src="city/street.png" width="64" height="64" alt=""/></br><font color=#222222><b>Переулок</b></font></a></center></td> 
<td class="url" style="wigth:50%;"><center><a href="/top.php"><img src="city/medal.png" width="64" height="64" alt=""/></br><font color=#222222><b>Топ</b></font></a></center></td>
</tr>
</table>				
</tr>
</table>
</div>
<?
}
include 'foot.php';
?>