@php use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; @endphp @extends('user.layout') @section('content')
{{ __('Edit Page') }}
{{ __('Back') }}
    @csrf

    {{ __('The higher the serial number is, the later the blog will be shown.') }}

    @foreach ($userLangs as $language)
    @php $page_content = DB::table('user_page_contents') ->where([['page_id', $page->id], ['language_id', $language->id]]) ->first(); @endphp
    @php $currLang = $language; @endphp @foreach ($userLangs as $lang) @continue($lang->id == $currLang->id)
    @endforeach
    @endforeach
    @endsection