@if(Auth::check()) @foreach (DB::table('countries')->get() as $data) @endforeach @else @foreach (DB::table('countries')->get() as $data) @endforeach @endif