<?
include_once '../../sys/inc/start.php';
include_once '../../sys/inc/compress.php';
include_once '../../sys/inc/sess.php';
include_once '../../sys/inc/home.php';
include_once '../../sys/inc/settings.php';
include_once '../../sys/inc/db_connect.php';
include_once '../../sys/inc/ipua.php';
include_once '../../sys/inc/fnc.php';
include_once '../../sys/inc/user.php';

$set['title'] = 'Мои гонки';
include_once '../../sys/inc/thead.php';
title();
err();
aut();
/*
=========================
Автор: BleIK
=========================
Игра: Мои гонки
=========================
*/

?>
<link rel="stylesheet" type="text/css" href="style.css"/>
<link href="images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<?

if(!$user)
{
echo 'Зарегестрируйтесь ';
exit();
}

echo '
  <table class="tb00">
    <tbody>
      <tr>';
include'bleik.php';
echo '
	  <td class="raml"></td>
        <td class="dbody1">
          <table class="tb00">
            <tbody>
              <tr>
                <td class="logo_l"></td>
                <td class="logo_f">
                  <img src="images/logo_.gif" alt="Мои гонки">
                </td>
                <td class="logo_r"></td>
              </tr>
            </tbody>
          </table>
          <div class="dbody">


            <fieldset>
			

  <legend class="h1">Гараж</legend>
  <div class="d100">
    <a href="tuning.php">
      <div class="fll">
';
echo"<img class='wdt' src='images/cars/".(isset($color) ? "".$color."".$car['screen']."" : "".$car['screen']."")."' alt=''/>";
echo '
      </div>
      <div class="fll">
    '.$car['name'].'
        <br>
        <span class="color9 mini">масса:</span>
         '.$car['massa'].'
        <br>
        <span class="color9 mini">мощность:</span>
         '.$car['m_speed'].'
        <br>
        <span class="color9 mini">скорость:</span>
         '.$car['speeds'].'
        <br>
      </div>
    </a>
    <div class="clear"></div>
	
	<a class="a100" href="tuning.php">Улучшить машину</a>
  </div>
</fieldset>
            <br class="br1">
          </div>
        </td>
        <td class="ramr"></td>
      </tr>
    </tbody>
  </table>
  <div class="ramd"></div>
  <br>
  <span class="mini2">
    <br>
    
  </span>
  
  ';


include_once '../../sys/inc/tfoot.php';
?>