@if(count($instructors) == 0 )
Currently No Tutors are Online.
@else @foreach($instructors as $instructor)
{!! \SiteHelpers::customavatar('',$instructor->id,'normal','thumbs lazy root') !!}
{{ substr(ucfirst($instructor->first_name.' '.$instructor->last_name),0,30) }}
@if(!empty($instructor->hourly_rate) && $instructor->hourly_rate != 0)
{!! $currency.' '.$instructor->hourly_rate !!}/Hour
@endif
@if($instructor->ratings > 0)
@endif @if($instructor->ratings > 1)
@endif @if($instructor->ratings > 2)
@endif @if($instructor->ratings > 3)
@endif @if($instructor->ratings > 4)
@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