Размер файла: 522B
<?php
$count = DB::GET_COLUMN("SELECT COUNT(`ID`) FROM `GAMES` LIMIT 5000");
ECHO "<li class='main-wrapper'><a href='/modules/?path=games' class='main2'>";
ECHO "<span class='main-wrapper-icons'>";
S_ICONS('gamepad', '#6CCDD6', 70);
ECHO "</span>";
IF ($count >= 5000){
$games_count = "5000+";
}ELSE{
$games_count = $count;
}
ECHO "<span class='menu-list-text-main'>".LG('Онлайн игры')."</span>";
ECHO "<span class='menu-list-count-main'>".$games_count."</span>";
ECHO "</a></li>";
?>