Menu
- Home {{--
- Courses --}}
-
Account
-
@if(Auth::user()&&Auth::user()->role=='student')
- Account Details
- My Courses {{--
- Payment Details --}}
- Logout @elseif(Auth::user()&&Auth::user()->role=='teacher')
- Dashboard @php $courses = auth()->user()->teacher->courses; // الحصول على الكورسات الخاصة بالمدرس @endphp @if($courses && $courses->count() > 0) @foreach($courses as $course)
- {{ $course->name }} @endforeach @else
- Logout @elseif((Auth::user())&&(Auth::user()->role=='admin'))
- Dashboard
- Teachers Management
- Students Management
- Courses Management
- Website Settings
- Logout @else
- Sign In
- Sign Up @endif
No courses available.
@endif - About Us
- Contact Us