@extends('admin.layouts.index') @section('css') @endsection @section('title') Admin Contact | CS-Design @endsection @section('content')

@lang('contact')

@if($count_contacts > 0) @endif

@lang('inbox') ({{$count_contacts > 0 ? $count_contacts : "You have no messages !!"}})

@if($count_contacts > 0)
@foreach ($contacts as $contact) @endforeach @if($contacts) @endif
{{$contact->name}} {{$contact->email}} @if(isset($contact->created_at)) {{$contact->created_at->format('m/d/Y')}} @endif
@if($totalPage!=1)
      @if ($currPage > 1)
    • «
    • @endif @foreach ($listPages as $page) @if($page== '...')
    • {{$page}}
    • @endif @if($page!= '...')
    • {{$page}}
    • @endif @endforeach @if ($currPage < $totalPage)
    • »
    • @endif
@endif
@endif
@endsection @section('js') @endsection