@extends('user.user_master') @section('user.user_content') @if($result_name == "") @section('user_title') Download - Empty Files @endsection @else @section('user_title') Results - {{$result_name->course->course_name}} @endsection @endif @php $images = \App\Models\Theme::find(1); @endphp

@if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans($result_name->course->course_name, 'ne') }} @else {{$result_name->course->course_name}} Results @endif

@if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans('The roots of education are bitter, but the fruit is sweet.', 'ne') }} @else The roots of education are bitter, but the fruit is sweet. @endif
@foreach($result as $key=>$results) @php $result_file = \App\Models\DepartmentDownloadFile::where('download_id',$results->id)->get(); @endphp @endforeach

@if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans('Recent Notices', 'ne') }} @else Recent Notices @endif

@if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans('Published Date ', 'ne') }} @else Published Date @endif @if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans('Notice Title ', 'ne') }} @else Notice Title @endif @if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans('Files', 'ne') }} @else Files @endif @if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans('Published By ', 'ne') }} @else Published By @endif
@php $year = $results->created_at->format('Y'); $month = $results->created_at->format('m'); $day = $results->created_at->format('d'); $date = Bsdate::eng_to_nep($year, $month, $day); echo $date['nmonth'] . ' ' . $date['date'] .','. ' ' . $date['year']; @endphp @if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans($results->title, 'ne') }} @else {{$results->title}} @endif @foreach($result_file as $file) @endforeach @if(session()->get('language') == 'nepali') {{ \Stichoza\GoogleTranslate\GoogleTranslate::trans($results->user->name, 'ne') }} @else {{$results->user->name}} @endif
@endsection