@php $courses = [ [ 'id' => 1, 'title' => 'IELTS Preparation Course', 'description' => 'Comprehensive preparation for the IELTS exam', 'icon' => 'fas fa-graduation-cap', 'type' => 'IELTS', 'attempts_count' => 8, 'highest_score' => 7.5, 'quizzes' => [ [ 'id' => 101, 'title' => 'IELTS Practice Test 1', 'description' => 'Full practice test with all sections', 'icon' => 'fas fa-clipboard-list', 'type' => 'Practice Test', 'attempts_count' => 3, 'highest_score' => 7.5, 'attempts' => [ [ 'id' => 1001, 'date' => '2023-04-10', 'overall_score' => 7.0, 'skills' => [ 'listening' => ['score' => 7.5, 'details' => 'Good comprehension of main ideas'], 'reading' => ['score' => 6.5, 'details' => 'Some difficulty with detailed questions'], 'writing' => ['score' => 6.5, 'details' => 'Well-structured essays with minor grammar issues'], 'speaking' => ['score' => 7.5, 'details' => 'Fluent with good vocabulary range'] ] ], [ 'id' => 1002, 'date' => '2023-05-15', 'overall_score' => 7.5, 'skills' => [ 'listening' => ['score' => 8.0, 'details' => 'Excellent comprehension of details'], 'reading' => ['score' => 7.0, 'details' => 'Improved understanding of complex texts'], 'writing' => ['score' => 7.0, 'details' => 'Better coherence and cohesion'], 'speaking' => ['score' => 8.0, 'details' => 'Very good fluency and pronunciation'] ] ], [ 'id' => 1003, 'date' => '2023-06-20', 'overall_score' => 7.0, 'skills' => [ 'listening' => ['score' => 7.5, 'details' => 'Maintained good listening skills'], 'reading' => ['score' => 6.5, 'details' => 'Still some issues with inference questions'], 'writing' => ['score' => 6.5, 'details' => 'Task achievement needs improvement'], 'speaking' => ['score' => 7.5, 'details' => 'Good fluency but limited vocabulary'] ] ] ] ], [ 'id' => 102, 'title' => 'IELTS Practice Test 2', 'description' => 'Advanced practice test focusing on academic modules', 'icon' => 'fas fa-clipboard-list', 'type' => 'Practice Test', 'attempts_count' => 2, 'highest_score' => 7.0, 'attempts' => [ [ 'id' => 2001, 'date' => '2023-07-05', 'overall_score' => 6.5, 'skills' => [ 'listening' => ['score' => 7.0, 'details' => 'Missed some key details'], 'reading' => ['score' => 6.0, 'details' => 'Struggled with time management'], 'writing' => ['score' => 6.0, 'details' => 'Task achievement needs improvement'], 'speaking' => ['score' => 7.0, 'details' => 'Good fluency but limited vocabulary'] ] ], [ 'id' => 2002, 'date' => '2023-08-10', 'overall_score' => 7.0, 'skills' => [ 'listening' => ['score' => 7.5, 'details' => 'Better note-taking skills'], 'reading' => ['score' => 6.5, 'details' => 'Improved time management'], 'writing' => ['score' => 6.5, 'details' => 'Better task achievement'], 'speaking' => ['score' => 7.5, 'details' => 'Improved vocabulary range'] ] ] ] ] ] ], [ 'id' => 2, 'title' => 'TOEFL Preparation Course', 'description' => 'Complete preparation for the TOEFL iBT exam', 'icon' => 'fas fa-award', 'type' => 'TOEFL', 'attempts_count' => 3, 'highest_score' => 95, 'quizzes' => [ [ 'id' => 201, 'title' => 'TOEFL Practice Test 1', 'description' => 'Full practice test with all sections', 'icon' => 'fas fa-clipboard-list', 'type' => 'Practice Test', 'attempts_count' => 3, 'highest_score' => 95, 'attempts' => [ [ 'id' => 3001, 'date' => '2023-09-05', 'overall_score' => 90, 'skills' => [ 'listening' => ['score' => 23, 'details' => 'Good comprehension of lectures'], 'reading' => ['score' => 22, 'details' => 'Good understanding of academic texts'], 'writing' => ['score' => 22, 'details' => 'Well-structured essays with good arguments'], 'speaking' => ['score' => 23, 'details' => 'Clear pronunciation and good organization'] ] ], [ 'id' => 3002, 'date' => '2023-10-10', 'overall_score' => 95, 'skills' => [ 'listening' => ['score' => 25, 'details' => 'Excellent comprehension of lectures'], 'reading' => ['score' => 23, 'details' => 'Better understanding of academic texts'], 'writing' => ['score' => 24, 'details' => 'Improved essay structure and arguments'], 'speaking' => ['score' => 23, 'details' => 'Maintained good speaking skills'] ] ], [ 'id' => 3003, 'date' => '2023-11-15', 'overall_score' => 92, 'skills' => [ 'listening' => ['score' => 24, 'details' => 'Maintained good listening skills'], 'reading' => ['score' => 22, 'details' => 'Slight decrease in reading performance'], 'writing' => ['score' => 23, 'details' => 'Maintained good writing skills'], 'speaking' => ['score' => 23, 'details' => 'Consistent speaking performance'] ] ] ] ] ] ] ]; @endphp @foreach($courses as $course) @foreach($course['quizzes'] as $quiz) @endforeach @endforeach
Tên Loại Số lần làm Điểm cao nhất Thao tác
{{ $course['title'] }}
{{ $course['type'] }} {{ $course['attempts_count'] }} @php $scoreClass = ''; if ($course['type'] == 'IELTS') { $scoreClass = $course['highest_score'] >= 7.0 ? 'score-high' : ($course['highest_score'] >= 6.0 ? 'score-medium' : 'score-low'); } else { $scoreClass = $course['highest_score'] >= 90 ? 'score-high' : ($course['highest_score'] >= 75 ? 'score-medium' : 'score-low'); } @endphp {{ $course['highest_score'] }}
{{ $quiz['title'] }}
{{ $quiz['type'] }} {{ $quiz['attempts_count'] }} @php $scoreClass = ''; if ($course['type'] == 'IELTS') { $scoreClass = $quiz['highest_score'] >= 7.0 ? 'score-high' : ($quiz['highest_score'] >= 6.0 ? 'score-medium' : 'score-low'); } else { $scoreClass = $quiz['highest_score'] >= 90 ? 'score-high' : ($quiz['highest_score'] >= 75 ? 'score-medium' : 'score-low'); } @endphp {{ $quiz['highest_score'] }}
@if(count($quiz['attempts']) > 0) @foreach($quiz['attempts'] as $index => $attempt) @endforeach @else @endif
# Ngày làm Điểm tổng Điểm kỹ năng Thao tác
{{ $index + 1 }} {{ $attempt['date'] }} @php $scoreClass = ''; if ($course['type'] == 'IELTS') { $scoreClass = $attempt['overall_score'] >= 7.0 ? 'score-high' : ($attempt['overall_score'] >= 6.0 ? 'score-medium' : 'score-low'); } else { $scoreClass = $attempt['overall_score'] >= 90 ? 'score-high' : ($attempt['overall_score'] >= 75 ? 'score-medium' : 'score-low'); } @endphp {{ $attempt['overall_score'] }}
@foreach($attempt['skills'] as $skill => $data) @php $skillClass = ''; if ($course['type'] == 'IELTS') { $skillClass = $data['score'] >= 7.0 ? 'score-high' : ($data['score'] >= 6.0 ? 'score-medium' : 'score-low'); } else { $skillClass = $data['score'] >= 24 ? 'score-high' : ($data['score'] >= 20 ? 'score-medium' : 'score-low'); } $skillIcon = ''; switch($skill) { case 'listening': $skillIcon = 'fas fa-headphones'; break; case 'reading': $skillIcon = 'fas fa-book-open'; break; case 'writing': $skillIcon = 'fas fa-pen'; break; case 'speaking': $skillIcon = 'fas fa-microphone'; break; } @endphp
{{ ucfirst($skill) }}: {{ $data['score'] }}
@endforeach
Không có dữ liệu
Hiển thị 1 đến 10 của 25 mục