Categories
@php $cat = DB::table('course_categories')->where('id', '!=', 11)->where('active', 1)->orderBy('seq', 'asc')->get(); $count = 1; @endphp @foreach($cat as $r) @if(DB::table('courses')->where('category', $r->id)->where('active', 1)->count() > 0) @endif @endforeach
@foreach($cat as $r)
{{ $r->name }}
Get started
@php $count = 1; @endphp @foreach($types as $r2) @if(DB::table('courses')->where('category', $r->id)->where('type', $r2->id)->where('type', '!=', 5)->where('active', 1)->count() > 0)
{{ $r2->name }}{{ $r2->name }}
@php $courses = DB::table('courses')->where('active', 1)->where('category', $r->id)->where('type', $r2->id)->get(); @endphp @foreach($courses as $r3) @php $unipa = DB::table('partners')->where('id', $r3->partner)->first(); @endphp @endforeach
@endif @endforeach
@endforeach
@if($cuinfo->countryCode == "IN") @php $banners = DB::table('menu_banners')->where('active', 1)->orderBy('id', 'desc')->take(3)->get(); $count = 1; @endphp @foreach($banners as $r)
@endforeach @else
@endif
@if($cuinfo->countryCode == "IN") @else @endif
    @php $cat = DB::table('course_categories')->where('id', '!=', 11)->where('active', 1)->orderBy('seq', 'asc')->get(); $count = 1; $type = DB::table('course_types')->where('active', 1)->orderBy('seq', 'asc')->get(); @endphp @foreach($cat as $r) @if(DB::table('courses')->where('category', $r->id)->where('active', 1)->count() > 0)
  • {{ $r->name }}
      @foreach($type as $r2) @if(DB::table('courses')->where('category', $r->id)->where('type', $r2->id)->where('type', '!=', 5)->where('active', 1)->count() > 0)
    • {{ $r2->name }}
        @php $courses = DB::table('courses')->where('active', 1)->where('category', $r->id)->where('type', $r2->id)->get(); @endphp @foreach($courses as $r3)
      • {{ $r3->title }}
      • @endforeach
    • @endif @endforeach
  • @endif @endforeach
@php $menu = DB::table('header_menu')->where('active', 1)->get(); @endphp @foreach($menu as $r) {{ $r->title }} @endforeach Register Today