/home/techb158/ileadtechnology.com/resources/views/front
NameSizeModeActions
blog/-0755rm
certificate/-0755rm
coming_soon/-0755rm
error_page/-0755rm
help/-0755rm
purchase_history/-0755rm
quiz/-0755rm
user_profile/-0755rm
about.blade.php210240644editdlrm
batch_detail.blade.php104510644editdlrm
bbl_detail.blade.php59160644editdlrm
bundle_detail.blade.php205310644editdlrm
careers.blade.php150570644editdlrm
cart.blade.php160490644editdlrm
category.blade.php501240644editdlrm
checkout.blade.php498350644editdlrm
contact.blade.php58070644editdlrm
course_content.blade.php1045100644editdlrm
course_detail.blade.php1136730644editdlrm
instructor.blade.php117790644editdlrm
my_course.blade.php394250644editdlrm
search.blade.php95120644editdlrm
watchlist.blade.php77850644editdlrm
wishlist.blade.php113120644editdlrm
zoom_detail.blade.php31230644editdlrm
Edit: /home/techb158/ileadtechnology.com/resources/views/front/search.blade.php (9512B)
@extends('theme.master') @section('title', 'Online Courses') @section('content') @include('admin.message')

 / {{ __('frontstaticword.Courses') }}

@if(count($search_data) > 0)
@foreach($search_data as $course) @if($course->status == 1)
@if($course['preview_image'] !== NULL && $course['preview_image'] !== '') @else course @endif
@if($course['tags'] == !NULL)
{{ $course['tags'] }}
@endif
  • @php $data = App\CourseClass::where('course_id', $course->id)->get(); if(count($data)>0){ echo count($data); } else{ echo "0"; } @endphp {{ __('frontstaticword.Classes') }}

{{ str_limit($course->short_detail, $limit = 60, $end = '..') }}

    @php $currency = App\Currency::first(); @endphp @if($course->type == 1) @if($course->discount_price == !NULL)
  • {{ $course->price }} {{ $course->discount_price }}
  • @else
  • {{ $course->price }}
  • @endif @else
  • {{ __('frontstaticword.Free') }}
  • @endif
  • id)->where('status','1')->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
  • (@php $data = App\ReviewRating::where('course_id', $course->id)->get(); if(count($data)>0){ echo count($data); } else{ echo "0"; } @endphp ratings)
@if($course['whatlearns']->isNotEmpty())
What you will learn
@foreach($course['whatlearns'] as $wl) @if($wl->status ==1)
  • {{ str_limit($wl['detail'], $limit = 120, $end = '...') }}
@endif @endforeach
@endif
@endif @endforeach
@else

{{ __('frontstaticword.Nosearch') }} "{{$searchTerm}}"

@endif @endsection @section('custom-script') @endsection