Файл: modules/video/top_users.php
Строк: 28
<?php
require_once '../incfiles/core.php';
require_once '../incfiles/func.php';
require_once '../incfiles/auth.php';
require_once '../incfiles/user.php';
$title = ''.lang('Топ меломанов','Топ меломанів');
require_once '../incfiles/head.php';
echo '<div class="title">
<a href="'.URL.'/?id='.$user['id'].'" onclick="Page.Go(this.href); return false">'.$user['name'].' '.$user['surname'].'</a>
</a><a class="title_a_hover" href="'.URL.'/audio/?id='.$user['id'].'" onclick="Page.Go(this.href); return false">'.lang('Моя музыка','Моя музика').'</a>
</div>';
$res = mysqli_query($dbi,"SELECT * FROM `users` WHERE `ban` = 0 ORDER by `count_audio` DESC LIMIT 10");
while ($array = mysqli_fetch_array($res)) echo '<div class="block" style="background:#FFFFFF;">
'.user_name($array['id'],1,1).''.$array['count_audio'].' '.lang('аудио','аудіо').'</div>';
require_once '../incfiles/foot.php';
?>