@php
$buttons = [['id'=>'btnNoImg', 'title' => '画像無し'],
    ['id'=>'btnImg', 'title' => '画像有り'],
    ['id'=>'btnAllImg', 'title' => '画像有無']
    ];

$buttons2 = [['id'=>'btnBack', 'title' => '戻る']];
@endphp
<section class="p-search-results-header">
    <div class="p-search-results-header__wrapper">
        <div class="p-search-results-header__results">
            <h2 class="p-search-results-header__results-title">{{$title ?? ''}}</h2>
            <div class="d-flex p-search-results-header__results-count">
                <p class="">該当件数：<span class="p-search-results-header__results-total">{{$article_list->total()}}</span>件中　{{$first}}〜{{$last}}件表示</p>
                <div class="ml10 business_search">{{ $article_list->links() }}</div>
            </div>
        </div>
        @if(isset($img_flag)&&$img_flag)
        @include('admin.objects.projects.results-switching', ['buttons' => $buttons])
        @endif
        @include('admin.objects.projects.results-switching', ['buttons' => $buttons2])
    </div>
</section>