@if(count($instructors) == 0 )

Currently No Tutors are Online.

@else @foreach($instructors as $instructor)
@if(!empty($instructor->hourly_rate) && $instructor->hourly_rate != 0)

{!! $currency.' '.$instructor->hourly_rate !!}/Hour

@endif
@if($instructor->ratings > 0) 1 @endif @if($instructor->ratings > 1) 2 @endif @if($instructor->ratings > 2) 3 @endif @if($instructor->ratings > 3) 4 @endif @if($instructor->ratings > 4) 5 @endif @if($instructor->ratings > 0)({!! $instructor->totalratings !!})@endif

@if(\Cache::has('user-is-online-' . $instructor->id)) Online @elseif(\Cache::has('user-is-away-' . $instructor->id)) Away @else Offline @endif

@php $skills = json_decode($instructor->skills); @endphp @if(!empty($skills))

@foreach($skills as $key => $skill) @if($key < 15) {!! ucfirst($skill) !!}@if(count($skills) != ($key+1)), @endif @endif @endforeach

@endif
@endforeach @endif