@extends($layout) @section('content')

{{ App\QuizCategory::where('branch_id', getUserRecord()->branch_id)->get()->count()}}

{{ getPhrase('quiz_categories')}}

{{ getPhrase('view_all')}}

{{ App\Quiz::where('branch_id', getUserRecord()->branch_id)->where('type','online')->get()->count()}}

{{ getPhrase('quizzes')}}

{{ getPhrase('view_all')}}

{{ App\User::where('parent_id', '=', $user->id)->get()->count()}}

{{ getPhrase('children')}}

{{ getPhrase('view_all')}}
{{getPhrase('latest_quizzes')}}
@if(!count($latest_quizzes))

   {{getPhrase('no_quizzes_available')}}

    {{getPhrase('click_here')}} {{getPhrase('to_change_your_settings')}}

@else @foreach($latest_quizzes as $quiz) @endforeach
{{getPhrase('title')}} {{getPhrase('type')}} {{getPhrase('Action')}}
{{$quiz->title}} @if($quiz->is_paid) {{getPhrase('paid')}} @else {{getPhrase('free')}} @endif @if($quiz->is_paid) {{getPhrase('buy_now')}} @else - @endif
@endif
{{getPhrase('latest')}} LMS {{getPhrase('series')}}
@if(!count($latest_series))

   {{getPhrase('no_series_available')}}

    {{getPhrase('click_here')}} {{getPhrase('to_change_your_settings')}}

@else @foreach($latest_series as $series) @endforeach
{{getPhrase('title')}} {{getPhrase('type')}} {{getPhrase('Action')}}
{{$series->title}} @if($series->is_paid) {{getPhrase('paid')}} @else {{getPhrase('free')}} @endif @if($series->is_paid) {{getPhrase('buy_now')}} @else - @endif
@endif
@stop @section('footer_scripts') @stop