Live Monitor

{{-- only route users selection starts here --}}
{{-- selection ends here --}}
{{-- overview html starts here --}}

West-Bound

0

East-Bound

0

Total

0

{{-- overview html ends here --}}
@php $num = 0; @endphp @forelse($users as $user)
User UID Status -- First Name Last Name Country Trip ID Last Ping Last Waypoint Date/Time Trip Start Date Direction GPS
{{ $user->id }} @php$now = \Carbon\Carbon::now(); if (!empty($user->date_time)) { $to = \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $user->cst_date); $from = \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $now); $hours = $from->diff($to)->format('%H') . 'h:'; $min = $from->diff($to)->format('%I') . 'm:'; $sec = $from->diff($to)->format('%S') . 's'; $totalDuration = $hours . '' . $min . '' . $sec; } else { $totalDuration = '-'; } @endphp Inactive
Fatal error: Uncaught Error: Call to undefined function str_contains() in /home/rt66ugcom/public_html/admin/resources/views/live.blade.php:477 Stack trace: #0 {main} thrown in /home/rt66ugcom/public_html/admin/resources/views/live.blade.php on line 477