@extends('home::layouts.UserLayout') @section('title') {{env('WEBSITE_TITLE')}} | Schedule edit @endsection @section('links') {{-- --}} @endsection @section('content') @php $content = ''; $content .= isset($mediaData) && isset($mediaData['title']) ? $mediaData['title'].' ' : ''; $content .= isset($mediaData) && isset($mediaData['description']) ? $mediaData['description'] : ''; $normalDate = isset($normalScheduleDate) ? $normalScheduleDate : null; $daywise = isset($daywisetime) ? $daywisetime : null; $timezone = session()->get('timezone'); $normalDates = $normalDate!== null ? $normalDate : null; $dayDate = $daywise !== null ? $daywise : null; @endphp

Edit Schedule post

@csrf
@include('contentstudio::components.draft_social_accounts')
@if(isset($mediaData['type']) && strtolower($mediaData['type']) == ('image' || "video") && isset($mediaUrl))
@else
@endif Note: Add only 4 items at a single time.
@if(isset($mediaData['type']) && strtolower($mediaData['type']) == ('image' || 'video') && isset($mediaUrl))
@else
@endif
    @if(isset($mediaData['type']) && strtolower($mediaData['type']) == 'image') @if(isset($mediaUrl)) @foreach($mediaUrl as $key => $value)
  • @endforeach @endif @endif @if(isset($mediaData['type']) && strtolower($mediaData['type']) == 'video') @if(isset($mediaUrl)) @foreach($mediaUrl as $key => $value)
  • {{-- --}}
  • @endforeach @endif @endif
  • @if($mediaData['type'] == 'image') @else @endif
@if($type != 'schedule') @endif

Schedule type

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


@if(isset($mediaUrl) && $mediaUrl) @foreach($mediaUrl as $key => $media) @if($mediaData['type'] == 'image') @elseif($mediaData['type'] == 'video') @endif @endforeach @endif
@include('contentstudio::scheduling.components._draft_preview')
@endsection @section('scripts') {{-- --}}