@extends('front.layouts.front') @section('maincss') @endsection @section('content') Friends / Audience Friends Fans Request @foreach ($Friends as $key => $Friend) {{-- @if($Friend->user_id == $user->id) --}} friend->profile_photo_path == null) src="{{ url('assets/img/user.svg') }}" @else src="{{ $Friend->friend->profile_photo_path }}" @endif alt="{{ $Friend->friend->first_name }}" > {{ $Friend->friend->first_name .' '. $Friend->friend->last_name }} Unfriend {{-- @else user->profile_photo_path == null) src="{{ url('assets/img/user.svg') }}" @else src="{{ $Friend->user->profile_photo_path }}" @endif alt="{{ $Friend->user->first_name }}" > {{ $Friend->user->first_name .' '. $Friend->user->last_name }} Unfriend @endif --}} @endforeach @foreach ($Fens as $key => $Fen) friend->profile_photo_path == null) src="{{ url('assets/img/user.svg') }}" @else src="{{ $Fen->friend->profile_photo_path }}" @endif alt="{{ $Fen->friend->first_name }}" > {{ $Fen->friend->first_name .' '. $Fen->friend->last_name }} Unfollow @endforeach Find People: Search @foreach ($RequestGet as $key => $Requestg) user->profile_photo_path == null) src="{{ url('assets/img/user.svg') }}" @else src="{{ $Requestg->user->profile_photo_path }}" @endif alt="{{ $Requestg->user->first_name }}" > {{ $Requestg->user->first_name .' '. $Requestg->user->last_name }} Reject Accept @endforeach @endsection @section('script') @endsection