Размер файла: 956B
<?
$title='Мафия - Авторитеты';
require"../system/config.php";
require"../system/func.php";
require"../system/head.php";
require"../system/error.php";
echo"<div class=\"i\">$title
</div>";
$ref=rand(10000,1000000);
$result = mysql_query ("Select * from mafusers where id_user='$user[id_user]'");
$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";
require"../system/foot.php";
?>