@extends('admin.layout.app') @section('content')

Landing Page Management

-@php $sr = 1; $page=1; if(Request::input('page')) $page=Request::input('page'); $sort = $page_list->perPage(); @endphp @foreach($page_list as $key=>$page) @php $restaurants = DB::table('restaurants')->where('id',$page->rest_id)->first(); @endphp @endforeach
S No. Restaurant Logo Banner Banner Title Section Title Background Color Action
{{$key+1}} {{$restaurants->name ?? ''}} @if($page->logo) @else @endif @if($page->banner) @else @endif {{$page->banner_title ?? ''}} {{$page->section_title ?? ''}} {{$page->background_color ?? ''}}
Showing {{$page_list->firstItem()}} to {{$page_list->lastItem()}} of {{$page_list->total()}} entries
{!! $page_list->appends(request()->input())->links() !!}
@endsection