Файл: 402m/index.php
Строк: 85
<?
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']='403 Метра';
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' />";
if(!isset($user)){
echo "<font color='red'>Игра доступна после авторизации</font>";
include_once '../sys/inc/tfoot.php';
break;
}
if(isset($user)){
$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 '<div id="cnt"><div id="hdr"><div class="hdr"><div></div></div><div id="hdr_i"><div id="i">';
echo"<img src='img/i_h_money.gif'/>: $dollars</span><span>";
$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/i_cars.gif'/>: $name</span><span><br/>
<img src='img/i_h_races.gif'/>: $type </span><span><img src='img/i_h_level.gif'/>: $arest ";
}
if(mysql_result(mysql_query("SELECT COUNT(*) FROM `xrexmy` WHERE `id`='".$user['id']."'"), 0)=='0' && isset($user)){
mysql_query("INSERT INTO `xrexmy`(`id`, `nick`) VALUES('".$user['id']."', '".$user['nick']."')");
header("Location:carrer.php");
exit();
}
echo'</span></div><div class="sp"></div></div></div><div id="c">';
echo"<div class='loc'><img alt='.' height='50' src='intro_162.png' width='162' /></div>";
echo"<dl class='mai2n'>
<dt></dt>
<a href='myrace.php'><dt><img src='img/i_h_races.gif'/><font color='SeaShell'>Гонки</font></dt></a>
<a href='garage.php'><dt><img src='img/i_h_fuel.gif'/><font color='SeaShell'>Мой гараж</font></dt></a>
<a href='auto.php'><dt><img src='img/i_shop.gif'/><font color='SeaShell'>Автосалон</font></dt></a>
<a href='bl.php'><dt><img src='img/i_cars.gif'/><font color='SeaShell'>Гонщики</font></dt></a>
<a href='racecp.php'><dt><img src='img/i_h_level.gif'/><font color='SeaShell'>Противники</font></dt></a>
<a href='carrer.php'><dt><img src='img/i_h_energy.gif'/><font color='SeaShell'>Карьера</font></dt></a>
<a href='bank.php'><dt><img src='img/i_h_money2.gif'/><font color='SeaShell'>Банк игры</font></dt></a></TABLE>";
include_once '../sys/inc/tfoot.php';
echo'</div>';
?>