Вход Регистрация
Файл: upload/module/event/include/plugin/friend.component_block_search_process.php
Строк: 19
<?php
if ($sFriendModuleId == 'event')
{
    
$aInviteCache Phpfox::getService('event')->isAlreadyInvited($this->getParam('friend_item_id''0'), $aFriends);
    if (
is_array($aInviteCache))
    {
        foreach (
$aFriends as $iKey => $aFriend)
        {
            if (isset(
$aInviteCache[$aFriend['user_id']]))
            {
                
$aFriends[$iKey]['is_active'] = $aInviteCache[$aFriend['user_id']];
            }
        }
    
        
$this->template()->assign(array(
                
'aFriends' => $aFriends
            
)
        );    
    }
}
?>
Онлайн: 1
Реклама