Размер файла: 525B
<?php
$count = DB::GET_COLUMN("SELECT COUNT(`ID`) FROM `PHOTOS` LIMIT 5000");
ECHO "<li class='main-wrapper'><a href='/modules/?path=photos' class='main2'>";
ECHO "<span class='main-wrapper-icons'>";
S_ICONS('camera', '#46C04A', 70);
ECHO "</span>";
IF ($count >= 5000){
$photo_count = "5000+";
}ELSE{
$photo_count = $count;
}
ECHO "<span class='menu-list-text-main'>".LG('Фотоальбомы')."</span>";
ECHO "<span class='menu-list-count-main'>".$photo_count."</span>";
ECHO "</a></li>";
?>