Файл: my.net.ru/users/account/journal/components/communities_forum_them_like.php
Строк: 26
<?php
$account = db::get_string("SELECT `ID`,`LOGIN` FROM `USERS` WHERE `ID` = ? LIMIT 1", [$list['OBJECT_ID']]);
?>
<div class='notif-avatar'>
<a href='/id<?=$account['ID']?>'>
<?=user::avatar($account['ID'], 50)?>
</a>
<span class='notif-icon' style='background-color: #FF4B5E;'><?=icons('thumbs-up', 11, 'fa-fw')?></span>
<?php
if ($list['TIME'] + 3600 > TM){
?><br /><span class='notif-count'><?=lg('новое')?></span><?
}
?>
</div>
<div class='notif-info'>
<a href='/id<?=$account['ID']?>'><b><?=$account['LOGIN']?></b></a> <?=lg('оценил(-а) вашу тему')?> -
<?php
$them = db::get_string("SELECT `ID`,`COMMUNITY_ID`,`NAME` FROM `COMMUNITIES_FORUM_THEM` WHERE `ID` = ? LIMIT 1", [$list['OBJECT_ID_LIST']]);
if (!isset($them['ID'])){
?><font color='red'><?=lg('объект был удален')?></font><?
}else{
?>
<a href="/m/communities/forum/?id=<?=$them['COMMUNITY_ID']?>&id_them=<?=$them['ID']?>">
<?=tabs(crop_text($them['NAME'], 0, 40))?>
</a>
<?
}
?>
<br /><br />
<span class='time'><?=ftime($list['TIME'])?></span>
</div>