View file DCMS_majning_wmzo_ru/coin/rating.php

File size: 2.8Kb
<?
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';
include_once '../sys/inc/icons.php'; // Иконки главного меню

include_once '../sys/inc/thead.php';
title();
err();
echo '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>';


?>

<style>

.main-div {
	background: #fff;
	padding: 20px;
	font-family: arial;
	border-bottom: 1px solid #ebebeb;
}

.text-balance {
	color: #8f9394;
	font-weight: bold;
	text-align: center;
	
}

.balance {
	font-size: 35px;
    font-family: sans-serif;
	color: #000000;
	font-weight: 800;
	text-align: center;	
	margin-bottom: 40px;
}

.coin {
	    margin: 3px 0px 7px 7px;
}

.go {
	text-align: center;
	margin-bottom: -23px;
}

.ico-menu {
		text-align: center;
		margin-bottom: 30px;
}

.rating {
	background: linear-gradient(180deg, rgba(2, 0, 36, 0) 0%, #fd9a70 0%, #ec7869 100%);
    padding: 35px;
    border-radius: 10px;
	    box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.26);
}

.transfer {
    background: linear-gradient(180deg, rgba(2, 0, 36, 0) 0%, #a66fef 0%, #733bda 100%);
    padding: 35px;
    border-radius: 10px;
	    margin-left: 25px;
		    box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.26);
}

.shops {
    background: linear-gradient(180deg, rgba(2, 0, 36, 0) 0%, #fc69ad 0%, #e64499 100%);
    padding: 35px;
    border-radius: 10px;
    margin-left: 25px;
	    box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.26);
}

.idg {
	    margin-bottom: 20px;
    font-size: 13px;
    color: #8f93a1;
}

.m {
	    background: #ffffff;
    color: #3b5998;
    border-radius: 50px;
    border: 1px solid #3b5998;
    padding: 5px 10px;
}

</style>

<?



echo '<link rel="stylesheet" href="style.css" type="text/css" /><div class="title">Игра COINS</div>

<div class="main-div"><div class="text-balance">Рейтинг пользователей</div></div>';



$start = 1;

$users = mysql_query("SELECT * FROM `user` ORDER BY `coins` DESC LIMIT 100");
while($a = mysql_fetch_assoc($users))
{
echo '<div class="nav2" style="    padding: 20px;"><table>
    <tr><td width="10%"><span class="m">'.$start++.'</span></td><td width="10%">'. avatar($a['id']).'</td> <td> '. group($a['id']).'<a href="/info.php?id='.$a['id'].'">'.($a['nick']).'</a> '.online($a['id']).' [ID: '.$a['id'].']<br />
Coins: <b>'.($a['coins']).'</b> <img src="img/coin.png" width="15px"></td>
</tr></table>
    </div>';
}



echo '<div class="main-div">
<center><a href="index.php">Вернуться назад в игру</a></center></div>';




include_once '../sys/inc/tfoot.php';
?>