@push('style') @vite(['resources/css/layout/banner_main.css', 'resources/css/examination_class12.css']) @endpush @php function showExamNumber($exam_id) { // Use a regular expression to extract the number at the end of the string if (preg_match('/(\d+)$/', $exam_id, $matches)) { return 'Đề số ' . $matches[1]; } // Return a default message if no number is found return 'Không tìm thấy số đề.'; } // Faker data for $new_exams // $new_exams = []; // for ($i = 1; $i <= 20; $i++) { // $new_exams[] = [ // 'id' => 'exam_' . $i, // ]; // } @endphp
@if (count($new_exams) == 0 || $new_exams == null)

Không tìm thấy kết quả nào

@else @foreach ($new_exams as $key => $item)
@endforeach @endif
{{-- Pagination --}} @if (count($new_exams) > 20) {{ $new_exams->links('tutors.pagination') }} @endif @push('script') @endpush