<? $USER_ID = $GLOBALS["USER"]->GetID(); CModule::IncludeModule('socialnetwork'); $res = CSocNetUserRelations::GetList( array(), array( 'SECOND_USER_ID' => $USER_ID, 'RELATION' => SONET_RELATIONS_REQUEST, ), array('SECOND_USER_ID') ); if ($el = $res->Fetch()) $arResult["SONET_RELATIONS_REQUEST"] += intval($el["CNT"]); ?> <p><?=$arResult["SONET_RELATIONS_REQUEST"]?></p>
Вывод количества приглашений пользователя в друзья (Битрикс социальная сеть)
Excellent content! The way you explained the topic is impressive. For a deeper dive, check out this resource: EXPLORE FURTHER. What do you all think?
Rattling excellent information can be found on blog.Raise range