/home/techb158/ileadtechnology.com/resources/views
NameSizeModeActions
admin/-0755rm
advertise/-0755rm
auth/-0755rm
bbl/-0755rm
email/-0755rm
front/-0755rm
install/-0755rm
instructor/-0755rm
layouts/-0755rm
ota/-0755rm
theme/-0755rm
vendor/-0755rm
zoom/-0755rm
accessdenied.blade.php5620644editdlrm
audioclass.blade.php133040644editdlrm
classwatch.blade.php144080644editdlrm
file_upload.blade.php28290644editdlrm
forgotemail.blade.php17540644editdlrm
home.blade.php1014130644editdlrm
iframe.blade.php16700644editdlrm
instructormodel.blade.php54670644editdlrm
ipblock.blade.php14530644editdlrm
lightbox.blade.php132580644editdlrm
offline.blade.php39110644editdlrm
page.blade.php7880644editdlrm
pdf.blade.php6140644editdlrm
privacy_policy.blade.php9490644editdlrm
tabs.blade.php217950644editdlrm
terms_condition.blade.php9550644editdlrm
test.blade.php105130644editdlrm
watch.blade.php184330644editdlrm
welcome.blade.php27360644editdlrm
Edit: /home/techb158/ileadtechnology.com/resources/views/tabs.blade.php (21795B)
@php $cats= App\Categories::find($cate); @endphp
@foreach($cats->courses->where('status', '1')->sortByDesc('id')->take(4) as $c) @if($c->status == 1)
@if($c['preview_image'] !== NULL && $c['preview_image'] !== '') course @else course @endif
@if($c['tags'] == !NULL)
{{ $c['tags'] }}
@endif

{{ __('frontstaticword.by') }} {{ $c->user['fname'] }} {{ $c->user['lname'] }}

  • id)->get(); ?> @if(!empty($reviews[0])) id)->count(); foreach($reviews as $review){ $learn = $review->price*5; $price = $review->price*5; $value = $review->value*5; $sub_total = $sub_total + $learn + $price + $value; } $count = ($count*3) * 5; $rat = $sub_total/$count; $ratings_var = ($rat*100)/5; ?>
    @else
    {{ __('frontstaticword.NoRating') }}
    @endif
  • {{-- overall rating --}} id)->WhereNotNull('review')->get(); foreach($reviews as $review){ $learn = $review->learn*5; $price = $review->price*5; $value = $review->value*5; $sub_total = $sub_total + $learn + $price + $value; } $count = ($count*3) * 5; if($count != "") { $rat = $sub_total/$count; $ratings_var = ($rat*100)/5; $overallrating = ($ratings_var/2)/10; } ?> @php $reviewsrating = App\ReviewRating::where('course_id', $c->id)->first(); @endphp @if(!empty($reviewsrating))
  • {{ round($overallrating, 1) }}
  • @endif
  • (@php $data = App\ReviewRating::where('course_id', $c->id)->get(); if(count($data)>0){ echo count($data); } else{ echo "0"; } @endphp)
@if( $c->type == 1)
@else @endif
{{ $c['title'] }}
@if($c['preview_image'] !== NULL && $c['preview_image'] !== '') student @else student @endif

{{ $c->short_detail }}

@if($c->type == 1) @if(Auth::check()) @if(Auth::User()->role == "admin") @else @php $order = App\Order::where('user_id', Auth::User()->id)->where('course_id', $c->id)->first(); @endphp @if(!empty($order) && $order->status == 1) @else @php $cart = App\Cart::where('user_id', Auth::User()->id)->where('course_id', $c->id)->first(); @endphp @if(!empty($cart))
{{ csrf_field() }}
@else
{{ csrf_field() }}
@endif @endif @endif @else @endif @else @if(Auth::check()) @if(Auth::User()->role == "admin") @else @php $enroll = App\Order::where('user_id', Auth::User()->id)->where('course_id', $c->id)->first(); @endphp @if($enroll == NULL) @else @endif @endif @else @endif @endif
    @if(Auth::check()) @php $wish = App\Wishlist::where('user_id', Auth::User()->id)->where('course_id', $c->id)->first(); @endphp @if ($wish == NULL)
  • {{ csrf_field() }}
  • @else
  • {{ csrf_field() }}
  • @endif @else
  • @endif
@endif @endforeach
@php $count = $cats->courses->where('status','=','1')->count(); @endphp @if($count >= 4)
{{ __('frontstaticword.ViewMore') }}
@endif