@extends('admin.layouts.master') @section('title','Edit Courseclass') @section('maincontent') @component('components.breadcumb',['thirdactive' => 'active']) @slot('heading') {{ __('Home') }} @endslot @slot('menu1') {{ __('Admin') }} @endslot @slot('menu2') {{ __('Edit Course Class') }} @endslot @slot('button')
{{ __('Back') }} {{ __('Encrypt Link') }}
@endslot @endcomponent
@if ($errors->any()) @endif
{{ __('adminstaticword.Edit') }} {{ __('Course Class') }}
{{ csrf_field() }} @method('PUT')




@if($cate->type =="video")
url !="" ? 'checked' : "" }}> {{ __('adminstaticword.URL') }}  video !="" ? 'checked' : "" }}> {{ __('adminstaticword.UploadVideo') }}  iframe_url !="" ? 'checked' : "" }}> {{ __('adminstaticword.IframeURL') }}  date_time !="" ? 'checked' : "" }}> {{ __('adminstaticword.LiveClass') }}  @if($gsetting->aws_enable == 1) aws_upload !="" ? 'checked' : "" }}> {{ __('adminstaticword.AWSUpload') }} @endif @if($gsetting->youtube_enable == 1)  {{ __('Youtube API') }}   @endif @if($gsetting->vimeo_enable == 1)  {{ __('Vimeo API') }}   @endif
@if($gsetting->aws_enable == 1)
video !=NULL || $cate->iframe_url !=NULL || $cate->url) class="display-none" @endif >
{{ __('Upload') }}
@if($cate->aws_upload !="") @endif
@endif
video !=NULL || $cate->iframe_url !=NULL || $cate->aws_upload !=NULL) class="display-none" @endif >
url !=NULL || $cate->iframe_url !=NULL || $cate->aws_upload !=NULL) class="display-none" @endif >
{{ __('Upload') }}
@if($cate->video !="") @endif
url !=NULL || $cate->video !=NULL || $cate->aws_upload !=NULL) class="display-none" @endif >
iframe_url !=NULL || $cate->video !=NULL || $cate->aws_upload !=NULL || $cate->url !=NULL) class="display-none" @endif >

@endif @if($cate->type =="audio")
url !="" ? 'checked' : "" }}> {{ __('adminstaticword.URL') }} audio !="" ? 'checked' : "" }} value="uploadaudio"> {{ __('adminstaticword.UploadAudio') }}
audio != "") class="display-none" @endif >
url !="") class="display-none" @endif >
{{ __('Upload') }}

@if($cate->audio !="") @endif
@endif @if($cate->type =="image")
url !="" ? 'checked' : "" }}> {{ __('adminstaticword.URL') }} image !="" ? 'checked' : "" }} value="uploadimage"> {{ __('adminstaticword.UploadImage') }}
image !="") class="display-none" @endif >
url !="") class="display-none" @endif >
{{ __('Upload') }}

@if($cate->image !="") @endif

@endif @if($cate->type =="zip")
url !="" ? 'checked' : "" }}> {{ __('adminstaticword.URL') }} zip !="" ? 'checked' : "" }} value="uploadzip"> {{ __('adminstaticword.UploadZip') }}
zip !="") class="display-none" @endif >
url !="") class="d-none" @endif>
{{ __('Upload') }}

@if($cate->zip !="") @endif

@endif @if($cate->type =="pdf")
url !="" ? 'checked' : "" }}> {{ __('adminstaticword.URL') }} pdf !="" ? 'checked' : "" }} value="uploadpdf"> {{ __('adminstaticword.UploadPdf') }}
pdf !="") class="display-none" @endif >
pdf !="") class="display-none" @endif >
url !="") class="display-none" @endif >
{{ __('Upload') }}

@if($cate->pdf !="") @endif


@endif @if($cate->type =="video")

preview_type =="url" ) class="display-none" @endif id="document11">
{{ __('Upload') }}
@if($cate->preview_video !="") @endif
preview_type =="video") class="display-none" @endif id="document22">

@endif
-

eg: zip or pdf files

{{ __('Upload') }}
@if($cate->file != NULL) @endif






@if($cate->courses->drip_enable == 1)

drip_type == 'days' || $cate->drip_type == NULL) style="display: none;" @endif id="dripdate">
{{ __('When section should be unlock') }}.
drip_type == 'date' || $cate->drip_type == NULL) style="display: none;" @endif id="dripdays"> {{ __('Enter days') }}.

@endif
@if($cate->type =="video")
{{ __('adminstaticword.Subtitle') }}
+ {{ __('adminstaticword.Add') }} {{ __('adminstaticword.Subtitle') }}


@foreach($subtitles as $subtitle) @endforeach
# {{ __('adminstaticword.SubtitleLanguage') }} {{ __('adminstaticword.Delete') }}
1 {{$subtitle->sub_lang}}
{{ csrf_field() }}
@endif
@endsection @section('script') @if($cate->type =="video") @endif @if($cate->type =="audio") @endif @if($cate->type =="image") @endif @if($cate->type =="zip") @endif @endsection @section('stylesheets') @endsection