@props([ 'currentPage' => 1, 'slug_id' => '', 'totalPages' => 1, 'pages' => [], 'opt' => '', 'total_items' => 0, 'type_text' => '', ]) @php $per_page = (int) $opt; $total_items = (int) $total_items; $start_item = $total_items > 0 ? ($currentPage - 1) * $per_page + 1 : 0; $end_item = min($currentPage * $per_page, $total_items); if ($start_item > $total_items) { $start_item = $total_items; } @endphp @if ($totalPages > 1)

@lang('frontend::text.label.show_items') {{ $start_item }}-{{ $end_item }} @lang('frontend::text.label.from') {{ $total_items }} @lang('frontend::text.label.items')

@endif