@if ( !empty($data) ) @endif @php $preview = new \GeoIp2\Database\Reader( app_path('Classes/GeoLite2-City.mmdb') ); try { $record_preview = $preview->city( request()->ip() ); echo ''; } catch (\GeoIp2\Exception\AddressNotFoundException $e) { echo ''; } @endphp @if ( !empty($data) ) @endif
{{ __('Your IP Address') }} {{ request()->ip() }}
{{ __('Location') }}'.$record_preview->country->name.' (' . $record_preview->country->isoCode . '), '.$record_preview->city->name.''. __('N/a') .'
{{ __('Region') }} {{ $data['regionName'] }}
{{ __('Country') }} {{ $data['country'] }}
{{ __('Country code') }} {{ $data['countryCode'] }}
{{ __('City') }} {{ $data['city'] }}
{{ __('Latitude') }} {{ $data['lat'] }}
{{ __('Longitude') }} {{ $data['lon'] }}
{{ __('Time zone') }} {{ $data['timezone'] }}
{{ __('Currency code') }} {{ $data['currency'] }}
{{ __('Zip') }} {{ ($data['zip']) ? $data['zip'] : __('N/a') }}
{{ __('ISP') }} {{ $data['isp'] . ' (' . $data['as'] . ')' }}
@if ( \App\Models\Admin\General::first()->captcha_status ) @endif