View file 2/3020.ru/users/profile/account/components/07_gifts.php

File size: 384B
<?php

ECHO "<a href='/users/profile/?path=gifts&id=".$account['ID']."'><div class='menu-list'>";

S_ICONS('gift', '#F0E268', 57);

$c_gf = DB::GET_COLUMN("SELECT COUNT(`ID`) FROM `GIFTS_USER` WHERE `MY_ID` = '".$account['ID']."'");

ECHO "<span class='menu-list-text'>".LG('Подарки')."</span>";

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

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