Файл: test.masteram.us/games/mafia/top10.php
Строк: 54
<?
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';
only_reg();
$set['title']='Мафия - Авторитеты';
include_once '../../sys/inc/thead.php';
title();
err();
$ref=rand(10000,1000000);
$result = mysql_query ("Select * from mafusers where id_user='$user[id]'");
$row = mysql_fetch_array ($result);
$id=(int)$row["id"];
$us=mysql_real_escape_string($row["user"]);
$ign=mysql_real_escape_string($row["ignor"]);
echo "<div class='menu'>";
echo "<b>Элита преступного мира:</b><br/>n";
$r = mysql_query("select user,credits from mafusers order by credits desc LIMIT 10");
while (($a=mysql_fetch_array($r))!==false){
$gus = mysql_real_escape_string($a["user"]);
$gcr = (int)$a["credits"];
echo "$gus - $gcr кредитов<br/>n";
}
echo "*******<br/>n";
echo "<a href="index.php">На улицу</a>n";
echo "</div>n";
include_once '../../sys/inc/tfoot.php';
?>