@extends('backend.admin-master') @section('site-title') {{__('Testimonial Item')}} @endsection @section('style') @endsection @section('content')
@include('backend/partials/message') @if($errors->any())
    @foreach($errors->all() as $error)
  • {{$error}}
  • @endforeach
@endif

{{__('Testimonial Items')}}

@php $b=0; @endphp @foreach($all_testimonial as $key => $testim)
@foreach($testim as $data) @php $img_url =''; @endphp @endforeach
{{__('ID')}} {{__('Image')}} {{__('Name')}} {{__('Description')}} {{__('Action')}}
{{$data->id}} @php $testimonial_img = get_attachment_image_by_id($data->image,null,true); @endphp @if (!empty($testimonial_img))
@php $img_url = $testimonial_img['img_url']; @endphp @endif
{{$data->name}} {{$data->description}}
@php $b++; @endphp @endforeach

{{__('New Testimonial')}}

@csrf
{{__('80x80 px image recommended')}}
@include('backend.partials.media-upload.media-upload-markup') @endsection @section('script') @include('backend.partials.media-upload.media-js') @endsection