@extends('theme.master') @section('title', 'Wishlist') @section('content') @include('admin.message') @php $gets = App\Breadcum::first(); @endphp @if(isset($gets)) @if($gets['img'] !== NULL && $gets['img'] !== '') @else @endif {{ __('Wishlist') }} @endif @php $item = App\Wishlist::where('user_id', Auth::User()->id)->get(); @endphp @if(count($item) > 0) @foreach($wishlist as $wish) @if($wish->courses->status == '1') @if($wish->user_id == Auth::User()->id) @if($wish->courses['preview_image'] !== NULL && $wish->courses['preview_image'] !== '') @else @endif @if($wish->user['user_img'] !== NULL && $wish->user['user_img'] !== '') @else @endif @if($wish->courses['tags'] == !NULL) {{ $wish->courses['tags'] }} @endif {{ str_limit($wish->courses->title, $limit = 35, $end = '...') }} By {{ optional($wish->courses->user)['fname'] }} {{-- star rating --}}