@extends('admin/layouts.master') @section('title', 'Edit Class - Admin') @section('body')

{{ __('adminstaticword.Edit') }} {{ __('adminstaticword.CourseClass') }}

{{ csrf_field() }} {{ method_field('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->aws_enable == 1)
video !=NULL || $cate->iframe_url !=NULL || $cate->url) class="display-none" @endif > @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 > @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 >
@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 >
@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="display-none" @endif>
@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 >
@if($cate->pdf !="") @endif


@endif @if($cate->type =="video")
  • preview_type =="url" ) class="display-none" @endif id="document11"> @if($cate->preview_video !="") @endif
    preview_type =="video") class="display-none" @endif id="document22">

    @endif
  • status == '1' ? 'checked' : '' }} >

  • featured == '1' ? 'checked' : '' }} >

  • @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