@extends('layouts.admin', ['page_title' => 'الترافيك']) @section('content')
{{ $traffics->total() }}
@foreach($traffics as $traffic) @endforeach
id traffic_landing domain ip device code country_code country_name logs created_at
@if($traffic->user_id!=null) @php $get_user=\App\Models\User::where('id',$traffic->user_id)->first(); @endphp {{$traffic->id}} @else {{$traffic->id}} @endif {{ substr(str_replace(env('APP_URL'),'W',$traffic->traffic_landing), 0, 20) }} {{$traffic->prev_link}} {{$traffic->ip}} {{$traffic->device}} {{$traffic->code}} {{$traffic->country_code}} {{$traffic->country_name}} {{$traffic->details_count}} {{\Carbon::parse($traffic->created_at)->diffForHumans()}}
{{$traffics->appends(request()->query())->links()}}
@endsection @section('scripts') @endsection