@extends('backend.master') @section('table') {{__('testimonials')}} @endsection @push('styles') @endpush @section('mainContent') @include("backend.partials.alertMessage") @php $currentTheme=currentTheme(); if($currentTheme=='wetech'){ $currentTheme='infixlmstheme'; } $LanguageList = getLanguageList(); @endphp
@csrf
@php if ($currentTheme=='tvt'){ $ids =[1,3,18,19,20,21]; $blocks =$blocks->whereIn('id', $ids); } @endphp @foreach($blocks as $block) @if($block->id==1)

@if (@getRawHomeContents($home_content,'show_banner_section','en') == 1) {{__('frontendmanage.Banner Section Show In Homepage')}} @else {{__('frontendmanage.Slider Show In Homepage')}} @endif
@if (@getRawHomeContents($home_content,'show_banner_section','en') == 1)
has('slider_banner') ? ' autofocus' : '' }}>
{{__('frontendmanage.Show Menu Search Box')}}
@if($currentTheme=="teachery")
{{__('frontendmanage.show Category Slider')}}
@endif @if($currentTheme=="infixlmstheme")
{{__('frontendmanage.Show Banner Search Box')}}
@endif @if($currentTheme == "edume" || $currentTheme =="teachery")
{{__('frontendmanage.Show Banner Subscription Box')}}
@endif @if($currentTheme=="Edume")
has('banner_logo') ? ' autofocus' : '' }}>
@endif
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('slider_title') ? ' autofocus' : '' }} placeholder="{{__('frontendmanage.Homepage Banner Title')}}" type="text" name="slider_title[{{$language->code}}]" value="{{isset($home_content)? getRawHomeContents($home_content,'slider_title',$language->code) : ''}}">
has('slider_text') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'slider_text',$language->code) : ''}}">
@endforeach
@endif
@elseif($block->id==2) @if($currentTheme != "teachery")

{{__('frontendmanage.Key Features Show In Homepage')}}
{{isset($home_content)? getRawHomeContents($home_content,'key_feature_title1',app()->getLocale()) : ''}}
@if($currentTheme!="Edume")
{{isset($home_content)? getRawHomeContents($home_content,'key_feature_subtitle1',app()->getLocale()) : ''}}
@endif
{{isset($home_content)? getRawHomeContents($home_content,'course_page_sub_title',app()->getLocale()) : ''}}
@if($currentTheme!="Edume")
{{isset($home_content)? getRawHomeContents($home_content,'key_feature_subtitle2',app()->getLocale()) : ''}}
@endif
{{isset($home_content)? getRawHomeContents($home_content,'key_feature_title3',app()->getLocale()) : ''}}
@if($currentTheme!="Edume")
{{isset($home_content)? getRawHomeContents($home_content,'key_feature_subtitle3',app()->getLocale()) : ''}}
@endif
@endif @elseif($block->id==3) @if($currentTheme=="infixlmstheme" || $currentTheme=='tvt' || $currentTheme=="teachery")

{{__('frontendmanage.Category Section Show In Homepage')}}
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('category_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'category_title',$language->code) : ''}}">
has('category_sub_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'category_sub_title',$language->code) : ''}}">
@endforeach
@endif @elseif($block->id==4) @if($currentTheme=="infixlmstheme" || $currentTheme=="teachery")

{{__('frontendmanage.Instructor Section Show In Homepage')}}
@if($currentTheme != "teachery")
has('instructor_banner') ? ' autofocus' : '' }}>
@endif
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('instructor_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'instructor_title',$language->code) : ''}}">
has('instructor_sub_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'instructor_sub_title',$language->code) : ''}}">
@endforeach
@endif @elseif($block->id==6)

{{__('frontendmanage.Best Category Section Show In Homepage')}}
@if($currentTheme=="infixlmstheme")
@endif
has('best_category_banner') ? ' autofocus' : '' }}>
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('course_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'best_category_title',$language->code) : ''}}">
has('best_category_sub_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'best_category_sub_title',$language->code) : ''}}">
@endforeach
@elseif($block->id==13) @if($currentTheme!='infixlmstheme')

{{__('frontendmanage.Live Class Section Show In Homepage')}}
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('live_class_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'live_class_title',$language->code) : ''}}">
has('live_class_sub_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'live_class_sub_title',$language->code) : ''}}">
@endforeach
@endif @elseif($block->id==14 && $currentTheme=='compact')

{{__('frontendmanage.About LMS Section Show In Homepage')}}
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('about_lms_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'about_lms_title',$language->code) : ''}}">
@endforeach
{{-- @elseif($block->id==15 && isModuleActive('Subscription') && $currentTheme=='compact')--}} @elseif($block->id==15) @if($currentTheme != "teachery" && $currentTheme != "wetech" && $currentTheme != "edume")

{{__('frontendmanage.Subscription Section Show In Homepage')}}
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('subscription_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'subscription_title',$language->code) : ''}}">
has('subscription_sub_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'subscription_sub_title',$language->code) : ''}}">
@endforeach
@endif {{-- End Compact Theme --}} @elseif($block->id==5)

{{__('frontendmanage.Course Section Show In Homepage')}}
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('course_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'course_title',$language->code) : ''}}">
has('instructor_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'course_sub_title',$language->code) : ''}}">
@endforeach
@elseif($block->id==7)

{{__('frontendmanage.Quiz Section Show In Homepage')}}
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('quiz_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'quiz_title',$language->code) : ''}}">
has('quiz_sub_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'quiz_sub_title',$language->code) : ''}}">
@endforeach
@elseif($block->id==8) @if($currentTheme=="infixlmstheme")

{{__('frontendmanage.Testimonial Section Show In Homepage')}}
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('testimonial_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'testimonial_title',$language->code) : ''}}">
has('testimonial_sub_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'testimonial_sub_title',$language->code) : ''}}">
@endforeach
@endif @elseif($block->id==10)

{{__('frontendmanage.Article Section Show In Homepage')}}
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('article_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'article_title',$language->code) : ''}}">
has('article_sub_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'article_sub_title',$language->code) : ''}}">
@endforeach
@elseif($block->id==12) @if($currentTheme=="infixlmstheme" || $currentTheme=="teachery")

{{__('frontendmanage.Subscribe Section Show In Homepage')}}
@if($currentTheme != "teachery")
{{__('courses.Recommended Size')}} 80x60 px
has('subscribe_logo') ? ' autofocus' : '' }}>
@endif
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('subscribe_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'subscribe_title',$language->code) : ''}}">
@if($currentTheme != "teachery")
has('subscribe_sub_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'subscribe_sub_title',$language->code) : ''}}">
@endif
@endforeach
@endif @elseif($block->id==11) @if($currentTheme != "teachery")

{{__('frontendmanage.Become Instructor Section Show In Homepage')}}
has('become_instructor_logo') ? ' autofocus' : '' }}>
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('become_instructor_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'become_instructor_title',$language->code) : ''}}">
has('become_instructor_sub_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'become_instructor_sub_title',$language->code) : ''}}">
@endforeach
@endif @elseif($block->id==9) @if($currentTheme != "teachery")

{{__('frontendmanage.Sponsor Section Show In Homepage')}}
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('sponsor_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'sponsor_title',$language->code) : ''}}">
has('sponsor_sub_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'sponsor_sub_title',$language->code) : ''}}">
@endforeach
@endif @elseif($block->id==16) @if($currentTheme=="infixlmstheme")

{{__('frontendmanage.How To Buy In Homepage')}}
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('how_to_buy_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'how_to_buy_title',$language->code) : ''}}">
has('how_to_buy_sub_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'how_to_buy_sub_title',$language->code) : ''}}">
has('how_to_buy_title1') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'how_to_buy_title1',$language->code) : ''}}">
has('how_to_buy_details1') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'how_to_buy_details1',$language->code) : ''}}">
has('how_to_buy_title2') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'how_to_buy_title2',$language->code) : ''}}">
has('how_to_buy_details2') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'how_to_buy_details2',$language->code) : ''}}">
has('how_to_buy_title3') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'how_to_buy_title3',$language->code) : ''}}">
has('how_to_buy_details3') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'how_to_buy_details3',$language->code) : ''}}">
has('how_to_buy_title4') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'how_to_buy_title4',$language->code) : ''}}">
has('how_to_buy_details4') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'how_to_buy_details4',$language->code) : ''}}">
@endforeach
has('slider_banner') ? ' autofocus' : '' }}>
has('slider_banner') ? ' autofocus' : '' }}>
has('slider_banner') ? ' autofocus' : '' }}>
has('slider_banner') ? ' autofocus' : '' }}>
@endif @elseif($block->id==17) @if($currentTheme=="infixlmstheme")

{{__('frontendmanage.FAQ In Homepage')}}
@if(isModuleActive('FrontendMultiLang')) @endif
@foreach ($LanguageList as $key => $language)
has('home_page_faq_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'home_page_faq_title',$language->code) : ''}}">
has('home_page_faq_sub_title') ? ' autofocus' : '' }} value="{{isset($home_content)? getRawHomeContents($home_content,'home_page_faq_sub_title',$language->code) : ''}}">
@endforeach
@endif @endif @endforeach
@endsection @push('scripts') @endpush