Файл: 402m/bl.php
Строк: 65
<?
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;
}
$q=mysql_result(mysql_query("SELECT COUNT(*) FROM `xrexmy` WHERE `id`!=''"), 0);
$k_page=k_page($q,$set['p_str']);
$page=page($k_page);
$start=$set['p_str']*$page-$set['p_str'];
$arr=mysql_query("SELECT * FROM `xrexmy` WHERE `id`!='' ORDER BY `win` DESC LIMIT $start,$set[p_str]");
while($ar=mysql_fetch_array($arr)){
echo "<img src='img/i_h_level.gif'/><a href='v.php?id=$ar[id]'><font color='SeaShell'>$ar[nick]</font></a> (<font color='green'>+$ar[win]</font>/<font color='red'>-$ar[lose]</font>)<br/>";
}
if($k_page>'1')str('?',$k_page,$page);
echo "<img src='img/i_back.gif'/><a href='index.php'><font color='SeaShell'>На главную</font></a><br/>";
include_once '../sys/inc/tfoot.php';
?>