@extends('edufair.layouts.master') @section('logo_slider_css') @endsection @section('content')
@php $storePath = config('filesystems.storagePath').'/'.'clients'.'/'.$college->user->name.'/'.'banner'; @endphp @if(isset($college->banner) && \Illuminate\Support\Facades\Storage::disk(config('filesystems.diskName'))->exists($storePath.'/'.$college->banner)) @php $url = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/banner'.'/'.$college->banner; $uploadedFile = pathinfo($url); $old_filename = $uploadedFile['filename']; $extension = $uploadedFile['extension']; $imageLink = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/banner'.'/'.$old_filename.'.webp'; @endphp {{$college->company_name}} @endif

{{$college->company_name}}

@if(isset($college->location)) {{$college->location}} @endif @if(isset($college->district->name) && isset($college->location)) , @endif @if(isset($college->district->name)) {{$college->district->name}} @endif

@if(isset($college->fb_link)) @endif @if(isset($college->twitter_link)) @endif @if(isset($college->google_link)) @endif @if(isset($college->linkedin_link)) @endif @if(isset($college->instagram_link)) @endif
@if(isset($college->clientType->tour_link))
  • Virtual Tour
  • @else
  • Virtual Tour
  • @endif @if(isset($chatCode))
  • Live Chat
  • @else
  • Live Chat
  • @endif
  • Scholarship
  • {{--@if(isset($college->clientType->apply_link))--}} {{--
  • Apply Now
  • --}} {{--@else--}} {{--
  • Apply Now
  • --}} {{--@endif--}} @if(\Illuminate\Support\Facades\Auth::check()) @php $authUser = \Illuminate\Support\Facades\Auth::user(); @endphp @if($authUser->type=='student') @if(\App\Student\StudentClient::where('student_id',$authUser->student->id)->where('client_id',$college->id)->first()) Applied @else Apply Now @endif @else Apply Now @endif @else Apply Now @endif
    {{--
    @if(count($courses))
    @foreach($courses as $course) @if(isset($course->course->name))
  • {{$course->course->name}}
  • @endif @endforeach
    @endif
    --}}

    {{$college->company_name}}

    @if(isset($college->location)) {{$college->location}} @endif @if(isset($college->district->name) && isset($college->location)) , @endif @if(isset($college->district->name)) {{$college->district->name}} @endif

    @if(isset($college->fb_link)) @endif @if(isset($college->twitter_link)) @endif @if(isset($college->google_link)) @endif @if(isset($college->linkedin_link)) @endif @if(isset($college->instagram_link)) @endif
    @if(isset($college->clientType->tour_link))
  • Virtual Tour
  • @else
  • Virtual Tour
  • @endif @if(isset($chatCode))
  • Live Chat
  • @else
  • Live Chat
  • @endif
  • Scholarship
  • {{--@if(isset($college->clientType->apply_link))--}} {{--
  • Apply Now
  • --}} {{--@else--}} {{--
  • Apply Now
  • --}} {{--@endif--}} @if(\Illuminate\Support\Facades\Auth::check()) @php $authUser = \Illuminate\Support\Facades\Auth::user(); @endphp @if($authUser->type=='student') @if(\App\Student\StudentClient::where('student_id',$authUser->student->id)->where('client_id',$college->id)->first()) Applied @else Apply Now @endif @else Apply Now @endif @else Apply Now @endif
    @php $storePath = config('filesystems.storagePath').'/'.'clients'.'/'.$college->user->name.'/'.'banner'; @endphp @if(isset($college->banner) && \Illuminate\Support\Facades\Storage::disk(config('filesystems.diskName'))->exists($storePath.'/'.$college->banner)) @php $url = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/banner'.'/'.$college->banner; $uploadedFile = pathinfo($url); $old_filename = $uploadedFile['filename']; $extension = $uploadedFile['extension']; $imageLink = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/banner'.'/'.$old_filename.'.webp'; @endphp {{$college->company_name}} @endif
    @foreach($college->messages as $key=>$messageValue)
    @if(isset($messageValue->photo))
    @endif @if(isset($messageValue->message))
    {!! \Illuminate\Support\Str::limit($messageValue->message,500) !!} See More
    {{$messageValue->message_by}}
    {{$messageValue->designation}} @endif
    @endforeach
    @if(isset($college->map_link))
    {{-- {!! $college->map_link !!} --}}
    @endif

    @if(isset($college->location)) {{$college->location}} @endif @if(isset($college->district->name) && isset($college->location)) , @endif @if(isset($college->district->name)) {{$college->district->name}} @endif

    @if(isset($college->office_contact))

    {{$college->office_contact}}

    @endif @if(isset($college->user->email))

    {{$college->user->email}}

    @endif @if(isset($college->website))

    {{$college->website}}

    @endif {{--

    --}} {{----}} {{--

    --}} {{----}}
    {{--Our--}}

    About Us

    @php $storePath = config('filesystems.storagePath').'/'.'clients'.'/'.$college->user->name.'/'.'banner'; @endphp @if(isset($college->about_banner) && \Illuminate\Support\Facades\Storage::disk(config('filesystems.diskName'))->exists($storePath.'/'.$college->about_banner)) @php $url = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/banner'.'/'.$college->about_banner; $uploadedFile = pathinfo($url); $old_filename = $uploadedFile['filename']; $extension = $uploadedFile['extension']; $imageLink = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/banner'.'/'.$old_filename.'.webp'; @endphp {{$college->company_name}} @endif
    {!! $college->company_profile !!}

    Meet Our Team

    @foreach($college->teams as $team)
    @if(isset($team->photo)) @else @endif

    {{$team->name}}

    ({{$team->designation}} @if(isset($team->sector)),{{$team->sector}} @endif)

    @endforeach

    Academics

    {{--
    --}} {{--@foreach($college->faculties as $faculty)--}} {{--@php--}} {{--$clientCourse = \App\Client\ClientCourse::where('client_id',$college->id)->where('faculty_id',$faculty->faculty_id)->get()--}} {{--@endphp--}} {{--@if(count($clientCourse)>0)--}} {{--
    --}} {{----}} {{--
    --}} {{--@endif--}} {{--@endforeach--}} {{--
    --}}
    @foreach($college->faculties as $dKey=>$faculty) @php $clientCourse = \App\Client\ClientCourse::where('client_id',$college->id)->where('faculty_id',$faculty->faculty_id)->get() @endphp @if(count($clientCourse)>0)
    @foreach(\App\Client\ClientCourse::where('client_id',$college->id)->where('faculty_id',$faculty->faculty_id)->get() as $course)
    {!! $course->description !!}
    @endforeach
    @endif @endforeach
    {{--@if(count($courses)>0)--}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--

    --}} {{--Levels--}} {{--

    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--@foreach($courses as $course)--}} {{--
    --}} {{----}} {{--
    --}} {{--
    --}} {{--{!! $course->description !!}--}} {{--
    --}} {{----}} {{--
    --}} {{--
    --}} {{--
    --}} {{----}} {{--@endforeach--}} {{--
    --}} {{--
    --}} {{--
    --}} {{--
    --}} {{--@endif--}}

    Scholarship

    @foreach($college->scholarship as $facilityService)
    {!! $facilityService->details !!}
    @if(\Illuminate\Support\Facades\Auth::check()) @php $authUser = \Illuminate\Support\Facades\Auth::user(); @endphp @if($authUser->type=='student') @if(\App\Student\StudentClient::where('student_id',$authUser->student->id)->where('client_id',$college->id)->first()) Applied @else Apply Now @endif @else Apply Now @endif @else Apply Now @endif
    @if(isset($facilityService->file)) @php $url = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/facility'.'/'.$facilityService->file; $uploadedFile = pathinfo($url); $old_filename = $uploadedFile['filename']; $extension = $uploadedFile['extension']; $imageLink = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/facility'.'/'.$old_filename.'.webp'; @endphp @endif
    @endforeach

    Admissions

    @foreach($college->admissions as $facilityService)
    {!! $facilityService->details !!}
    @if(\Illuminate\Support\Facades\Auth::check()) @php $authUser = \Illuminate\Support\Facades\Auth::user(); @endphp @if($authUser->type=='student') @if(\App\Student\StudentClient::where('student_id',$authUser->student->id)->where('client_id',$college->id)->first()) Applied @else Apply Now @endif @else Apply Now @endif @else Apply Now @endif
    @if(isset($facilityService->file)) @php $url = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/facility'.'/'.$facilityService->file; $uploadedFile = pathinfo($url); $old_filename = $uploadedFile['filename']; $extension = $uploadedFile['extension']; $imageLink = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/facility'.'/'.$old_filename.'.webp'; @endphp @endif
    @endforeach
    @if(count($college->admissionfaqs)>0)

    Admission FAQ

    @foreach($college->admissionfaqs as $faq)
    {!! $faq->answer !!}
    @endforeach
    @endif @if(count($college->facilityServices)>0)

    Facilities

    @foreach($college->facilityServices as $facilityService)
    {!! $facilityService->details !!}
    @if(isset($facilityService->file)) @php $url = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/facility'.'/'.$facilityService->file; $uploadedFile = pathinfo($url); $old_filename = $uploadedFile['filename']; $extension = $uploadedFile['extension']; $imageLink = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/facility'.'/'.$old_filename.'.webp'; @endphp @endif
    @endforeach
    @endif @if(count($downloads)>0 || isset($college->brochure))

    Download

    {{--

    --}} {{--Explore some of the best business from around the world from our partners and friends.--}} {{--

    --}}
    @php $storePath = config('filesystems.storagePath').'/'.'clients'.'/'.$college->user->name.'/brochure'; @endphp @if(isset($college->brochure) && \Illuminate\Support\Facades\Storage::disk('public')->exists($storePath.'/'.$college->brochure)) @endif @foreach($courses as $course) @if(isset($course->brochure) && \Illuminate\Support\Facades\Storage::disk('public')->exists($storePath.'/'.$course->brochure)) @endif @endforeach
    @endif @if(count($college->achievements)>0)

    Achievement

    @foreach($college->achievements as $achievement)
    @if(isset($achievement->file)) @php $url = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/facility'.'/'.$achievement->file; $uploadedFile = pathinfo($url); $old_filename = $uploadedFile['filename']; $extension = $uploadedFile['extension']; $imageLink = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/facility'.'/'.$old_filename.'.webp'; @endphp @endif
    {{$achievement->name}}

    {{$achievement->details}}

    @endforeach
    @endif @if(count($college->testimonials)>0)

    Testimonials

    @foreach($college->testimonials as $testimonial)
    @if(isset($testimonial->file)) @php $url = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/facility'.'/'.$testimonial->file; $uploadedFile = pathinfo($url); $old_filename = $uploadedFile['filename']; $extension = $uploadedFile['extension']; $imageLink = config('filesystems.asset').'/'.'clients'.'/'.$college->user->name.'/facility'.'/'.$old_filename.'.webp'; @endphp @endif
    {{$testimonial->name}}
    {{--
    Web Developer
    --}}

    {{$testimonial->details}}

    @endforeach
    @endif @if(count($college->faqs)>0)

    Our FAQ

    @foreach($college->faqs as $faq)
    {!! $faq->answer !!}
    @endforeach
    @endif {{-- live chat --}} @foreach($college->teams as $team) @endforeach @endsection @section('after_js') @foreach($college->messages as $message) @endforeach @endsection {{--@section('scriptMessage')--}} {{-- @foreach($college->messages as $message)--}} {{-- --}} {{-- @endforeach--}} {{--@endsection--}} {{--@section('script')--}} {{-- --}} {{--@endsection--}}