Файл: 402m/tuning.php
Строк: 73
<?
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';
err();
aut();
//header("Content-type: application/vnd.wap.xhtml+xml");
header("Content-type: text/html");
echo "<link rel='stylesheet' href='style.css' type='text/css' />";
echo '<div id="cnt"><div id="hdr"><div class="hdr"><div></div></div>';
echo"<div class='loc'><img alt='.' height='50' src='intro_162.png' width='162' /></div><hr/><dl class='mai2n'>";
if(!isset($user)){
echo "Секретная зона! Доступна после авторизации";
include_once '../sys/inc/tfoot.php';
break;
}
$all345=mysql_query("SELECT * FROM `xrexmy` WHERE `id`='".$user['id']."'");
while($arr345=mysql_fetch_array($all345)){
$id_w=$arr345['id_w'];
$dollars=$arr345['dollars'];
$type=$arr345['type'];
}
echo "<center><img src='img/d.gif'/> $dollars |
<img src='img/t.png'/> $type | ";
$all1345=mysql_query("SELECT * FROM `xrexcars` WHERE `id`='".$id_w."'");
while($arr1345=mysql_fetch_array($all1345)){
$proizv=$arr1345['proizv'];
$name=$arr1345['name'];
$arest=$arr1345['arest'];
}
echo "<img src='img/car.png'/> $name |
<img src='img/arest.png'/> $arest </center><br/>";
$q=mysql_result(mysql_query("SELECT COUNT(*) FROM `xrexmy` WHERE `id`='".$user['id']."'"), 0);
if($q=='0'){
mysql_query("INSERT INTO `xrexmy`(`id`, `nick`) VALUES('".$user['id']."', '".$user['nick']."')");
header("Location:carrer.php?$passgen");
exit();
}
$all=mysql_query("SELECT * FROM `xrexmy` WHERE `id`='".$user['id']."'");
while($arr=mysql_fetch_array($all)){
$id_w=$arr['id_w'];
$speed=$arr['speed'];
$win=$arr['win'];
$lose=$arr['lose'];
$level=$arr['level'];
$type=$arr['type'];
}
$tun=mysql_query("SELECT * FROM `xrextuning` WHERE `id`='".$user['id']."'");
echo "<center><table border="1">";
echo "<tr>";
echo "<th height='30' width='20'><a href='?mod=sp'></a></th>
<th height='30' width='70'><a href='dsfds'></a></th>
<th height='30' width='20'><a href='dsfds'></a></th>";
echo "</tr>";
echo "<tr>";
echo "<th height='10' width='30'><a href='?mod=sp'></a></th>
<th height='10' width='10'><a href='dsfds'></a></th>
<th height='10' width='30'><a href='dsfds'></a></th>";
echo "</tr>";
echo "</table></center>n";
echo "<img src='img/i_back.gif'/><a href='index.php'>На главную</a><br/>";
include_once '../sys/inc/tfoot.php';
?>