Вход Регистрация
Файл: gonki/index.php
Строк: 211
<?
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']='Крутые - гонки 2012'// заголовок страницы
include_once '../sys/inc/thead.php';
title();
aut();
include_once 
'glava_gonki.php';
//ОнЛайн Игра Круто гонки от BleIK
//Игра самая лучшая

echo "<link rel="stylesheet" href="style.css" type="text/css" />";
$link_reg "<a href='/reg.php'>Зарегестрируйтесь</a>";
$link_aut "<a href='/aut.php'>Авторизуйтесь</a>";
    if (!isset(
$user))
    {
        
$err[] = 'Сюда могут попасть только авторизованные пользователи<br/>Чтобы сюда попасть пройдите '.$link_reg.' или же '.$link_aut.' на сайте';
        
err();
        include_once 
'../sys/inc/tfoot.php';
        exit;
}
         
           include_once
'navi.php';
echo 
"<div class='index2332'>
    <table class='wdt msg-table'>
  <tbody>
    <tr>
      <td align='left' style='vertical-align: top; width: 10%'>
        <img src='img/new.png'>
      </td>
      <td align='left' style='vertical-align: top'>
                   Привет тебе, 
$user[nick], я - BleIK. Я буду помогать тебе в мире Круто гонках.!

                 


            </td>
    </tr>
  </tbody>
  
</table></div>"
;
?>

<?
$bleik_online 
mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > ".(time()-600).""), 0)."";
print 
"<div class='shadowtext_2'><center><b>Онлайн</b> &nbsp;<img src='images/online.gif'> <span class='col1'>".$bleik_online."</span></center></div>" ;


if (
$user['avto']!=100){
echo 
"<div class='note'>";
?><table class="wdt garage-table">
  <tbody>
    <tr>
      <td align="right" style="padding-top: 10px; padding-right: 10px;">
        <table class="wdt">
          <tbody>
            <tr>
              <td style="vertical-align: top; padding-top: 4px; padding-left: 10px;" align="left" rowspan="4">
                                                                                            </td>
              <td align="left" class="white" style="vertical-align: top" width="40%">
                <b><?print $machine;?></b>
              </td>
            </tr>
            <tr>
              <td align="left" class="white" style="font-size: 14px">
                Мощность: 
       <?echo "<img src='images/power-ico.png'> ".$speed." км/ч";?>
              </td>
            </tr>
            <tr>
              <td align="left" class="white" style="font-size: 14px">
                Бензин: 
                <img src='images/ben.png'>
                <b class="yellow" style="color: #000">
                  <span id="FUELTIME">  <?echo "".$user['benzines']."";?>    </span>
                </b>
              </td>
            </tr>
          </tbody>
        </table>
      </td>
    </tr>
    <tr>
      <td align="center" style="padding-bottom: 0px; padding-left: 10px; padding-right: 10px;" valign="bottom">
      <?}if ($user['avto']==100){echo "<center><div class='index'>У вас пока нет машины</div>";}
if (
$user['avto']==0){echo "<img  src="images/mashine/vaz2107.png" width='328px'  /><img src='images/neon.png  '/>";}
if (
$user['avto']==1){echo "<img src="images/mashine/vaz2112.png" width='328px'  /><img src="images/neon.png "/>";}
if (
$user['avto']==2){echo "<img src="images/mashine/LanserEvolutionX.png" width='328px' /><img src="images/neon.png "/>";}
if (
$user['avto']==3){echo "<img src="images/mashine/Pontiac_Solstice.png" width='328px'  /><img src="images/neon.png "/>";}
if (
$user['avto']==4){echo "<img src="images/mashine/BMW_Z4.png" width='328px'  /><img src="images/neon.png "/>";}
if (
$user['avto']==5){echo "<img src="images/mashine/TVR_Sagaris.png" width='328px' /><img src="images/neon.png "/>";}
if (
$user['avto']==7){echo "<img src="images/mashine/Audi_TT.png" width='328px' /><img src="images/neon.png "/>";}
if (
$user['avto']==8){echo "<img src="images/mashine/Bizzarrini.png" width='328px' /><img src="images/neon.png "/>";}
if (
$user['avto']==9){echo "<img src="images/mashine/KTM_X-Bow.png" width='328px' /><img src="images/neon.png "/>";}
if (
$user['avto']==10){echo "<img src="images/mashine/Ferrari_612_Scaglietti_Hamann.png" width='328px' />";}?>
</td>
    </tr>
  </tbody>
</table>
<?
echo '<table class="wdt main-menu">
  <tbody>
    <tr>
      <td class="white" align="center" style="width:20%; border-right: solid 1px #bebebf; vertical-align: bottom;">
        <b>
          <a style="text-decoration: none; color: #000; font-size: small;" href="gorod.php">
            <img src="images/gorod/map-ico.png">
            <br>
            
                Город
          </a>
        </b>
      </td>
      <td class="white" align="center" style="width:20%; border-right: solid 1px #bebebf; vertical-align: bottom;">
        <b>
          <a style="text-decoration: none; color: #000; font-size: small;" href="faq.php">
            <img src="images/gorod/quest.png">
            <br>
            
                Правила
          </a>
        </b>
      </td>
      <td class="gray" align="center" style="width:20%; border-right: solid 1px #bebebf; vertical-align: bottom;">
        <b>
          <a style="text-decoration: none; color: #000; font-size: small;" href="racing_chat.php">
            <img src="images/gorod/bar-ico.png">
            <br>
            
                                Чат гонщиков
          </a>
        </b>
      </td>
      <td class="gray66" align="center" style="width:20%">
        <b>
          <a style="text-decoration: none; color: #000; font-size: small;" href="bar.php">
            <img src="images/gorod/bar-ico.png">
            <br>
            
                        Бар
          </a>
        </b>
      </td>
    </tr>
  </tbody>
</table>'
;
    
    
?>
    
    <table class="wdt black">
  <tbody>
    <tr>
      <td align="left" class="orange">
                    Регистрационные номера:
                </td>
      <td align="right">
<?if ($user['avto']==100){echo "<center><div class='index'>У вас пока нет машины</div>";}
if (
$user['avto']==0){echo "<div class='right'>$number0</div>";}
if (
$user['avto']==1){echo "<div class='right'>$number1</div>";}
if (
$user['avto']==2){echo "<div class='right'>$number2</div>";}
if (
$user['avto']==3){echo "<div class='right'>$number3</div>";}
if (
$user['avto']==4){echo "<div class='right'>$number4</div>";}
if (
$user['avto']==5){echo "<div class='right'>$number5</div>";}
if (
$user['avto']==7){echo "<div class='right'>$number7</div>";}
if (
$user['avto']==8){echo "<div class='right'>$number8</div>";}
if (
$user['avto']==9){echo "<div class='right'>$number9</div>";}
if (
$user['avto']==10){echo "<div class='right'>$number10</div>";}?>
      </td>
    </tr>
  </tbody>
</table>

<table class="wdt black">
  <tbody>
    <tr>
      <td align="right" class="orange" width="50%">
                    Игровой ID:
                </td>
      <td align="right">
        <input type="text" style="width: 100%" onclick="select( this );" value="<?echo "".$user['id']."";?>">
      </td>
    </tr>
  </tbody>
</table>

    <?
//include_once '../sys/inc/tfoot.php';
?>
Онлайн: 1
Реклама