@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'] !== '') {{$gets->text}} @else course @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'] !== '') course @else course @endif
@if($wish->user['user_img'] !== NULL && $wish->user['user_img'] !== '') {{$wish->courses->title}} @else {{$wish->courses->title}} @endif
@if($wish->courses['tags'] == !NULL)
{{ $wish->courses['tags'] }}
@endif