Просмотр файла 2/3020.ru/main/components/big/01_blogs.php
<?php $count = DB::GET_COLUMN("SELECT COUNT(`ID`) FROM `BLOGS` LIMIT 5000"); ECHO "<li class='main-wrapper'><a href='/modules/?path=blogs' class='main2'>"; ECHO "<span class='main-wrapper-icons'>"; S_ICONS('book', '#B68DBD', 70); ECHO "</span>"; IF ($count >= 5000){ $blogs_count = "5000+"; }ELSE{ $blogs_count = $count; } ECHO "<span class='menu-list-text-main'>".LG('Блоги')."</span>"; ECHO "<span class='menu-list-count-main'>".$blogs_count."</span>"; ECHO "</a></li>"; ?>