View file 2/3020.ru/main/components/big/03_music.php

File size: 509B
<?php
  
$music = DB::GET_COLUMN("SELECT COUNT(`ID`) FROM `MUSIC` LIMIT 5000");

IF ($music >= 5000){
  
  $music_count = "5000+";
  
}ELSE{
  
  $music_count = $music;

}

ECHO "<li class='main-wrapper'><a href='/modules/?path=music' class='main2'>";

ECHO "<span class='main-wrapper-icons'>";
S_ICONS('music', '#FF665B', 70);
ECHO "</span>";

ECHO "<span class='menu-list-text-main'>".LG('Музыка')."</span>";

ECHO "<span class='menu-list-count-main'>".$music_count."</span>";

ECHO "</a></li>";
  
?>