@section('site_title', formatTitle([__('Indexed pages checker'), __('Tool'), config('settings.title')])) @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('dashboard'), 'title' => __('Home')], ['url' => route('tools'), 'title' => __('Tools')], ['title' => __('Tool')], ]])

{{ __('Indexed pages checker') }}

{{ __('Indexed pages checker') }}
@include('shared.message')
@csrf
@if ($errors->has('domain')) {{ $errors->first('domain') }} @endif
@if ($errors->has('country')) {{ $errors->first('country') }} @endif
@if(config('settings.captcha_indexed_pages_checker')) {!! NoCaptcha::displaySubmit('indexed-pages-checker-form', __('Send'), ['data-theme' => (Cookie::get('dark_mode') == 1 ? 'dark' : 'light'), 'data-size' => 'invisible', 'class' => 'btn ' . ($errors->has('g-recaptcha-response') ? 'btn-danger' : 'btn-primary')]) !!} {!! NoCaptcha::renderJs(__('lang_code')) !!} @else @endif
@if ($errors->has('g-recaptcha-response')) {{ $errors->first('g-recaptcha-response') }} @endif
@if(isset($result))
{{ __('Result') }}
@if(empty($result)) {{ __('No results found.') }} @elseif(isset($result['error'])) {{ $result['error']['code'] ?? null }} {{ $result['error']['message'] ?? null }} @else
{{ __('Domain') }}
{{ $domain }}
{{ __('Status') }}
@if($result['searchInformation']['totalResults'] > 0)
{{ __('Indexed') }}
@else
{{ __('Not indexed') }}
@endif
{{ __('Pages') }}
≈{{ number_format($result['searchInformation']['totalResults'], 0, __('.'), __(',')) }}
@endif
@endif