@extends('front.layouts.layout') @section('meta_tags') @include('panel.layouts.meta_tags_social') @stop @section('content')

@lang('home.Digital_training_platform')

@lang('home.The_platform_is_under_the_supervision_of_the_educational_supervisor') @lang('home.mis_salha_hagad_elghamdy')

{{App\Course::count()}}

@lang('home.courses')

{{App\User::where('type_user','user')->count()}}

@lang('home.users')

{{App\CourseSectionsLecture::count()}}

@lang('home.lectures')

{{App\Course::sum('hours')}}

@lang('home.hourse')

@lang('home.Mechanism_to_use_the_site')

1
@lang('home.create_your_account')
2
@lang('home.select_course')
3
@lang('home.enroll_course')
4
@lang('home.print_certificates')
{{--

@lang('home.categories')

--}}

@lang('home.courses')

{{--

@lang('home.Digital_training_platform')

@lang('home.signup')
--}}

@lang('home.how_enroll')

{{@$info->translations->where('lang_id',$active_lang->id)->first()->how_enroll}}
{{--

@lang('home.Digital_training_platform')

@lang('home.signup_student')
--}} {{--

{{@$info->translations->where('lang_id',$active_lang->id)->first()->title}}

{{@$setting->translations->where('lang_id',$active_lang->id)->first()->content}}
@lang('home.about_us')
--}} {{--

@lang('home.latest_courses')

@foreach($latest_courses as $lat_key => $latest)
@if(LaravelLocalization::getCurrentLocale() == 'en')
{{@$latest->translations->where('lang_id',$active_lang->id)->first()->title}}

{{ @substr($latest->translations->where('lang_id',$active_lang->id)->first()->content,0,131) }}

@else
{{@substr($latest->translations->where('lang_id',$active_lang->id)->first()->title,0,55)}}

{{ @substr($latest->translations->where('lang_id',$active_lang->id)->first()->content,0,115) }}

@endif @lang('home.more')
@endforeach
--}}

@lang('home.subscribe_to_get_latest_updates')

@csrf

@lang('home.contactus')

@lang('home.email')
@foreach($setting->emails as $email)

{{ @$email->email }}

@endforeach
@lang('home.address')
@foreach($setting->address as $address)

{{ @$address->address_ar }}

@endforeach
@csrf @if ($errors->any()) @foreach ($errors->all() as $error)
{{ $error }} ×
@endforeach @endif @if(Session::has('success'))
×{{ Session::get('success') }}
@endif
@stop