@extends('layouts.frontend') @section('title_page', 'Search results for: ' . $query) @section('content') LATEST UPDATES Search Results for "{{ $query }}" Home News {{-- News Loop --}} @forelse ($newsItems as $item) {{ $item->NewsTitle }} By {{ $item->user->name ?? 'Admin' }} On {{ $item->Date ? \Carbon\Carbon::parse($item->Date)->format('F d, Y') : 'No Date' }} In {{ $item->CategoryType ?? 'General' }} {{ Str::limit(strip_tags($item->NewsDetails), 250) }} Read More @empty No news articles available at the moment. @endforelse {{-- Pagination --}} {{ $newsItems->links() }} {{-- Search Form --}} {{-- Categories --}} Categories Insemination Vaccination Animal Treatment Animal Insurance Iniative Youth Animal Product Inspection One Health {{-- Recent Posts --}} Recent Posts @forelse ($recentNews as $recent) {{ \Carbon\Carbon::parse($recent->Date)->format('F d, Y') }} {{ Str::limit($recent->NewsTitle, 40) }} @empty No recent posts. @endforelse {{-- Gallery --}} Our Gallery @forelse ($recentImages as $image) @empty No images available. @endforelse View More on Gallery @endsection
{{ Str::limit(strip_tags($item->NewsDetails), 250) }}
No news articles available at the moment.
No recent posts.
No images available.