User

@if(count($errors)>0) @foreach($errors->all() as $error)
{{$error}}
@endforeach @endif @if(session('failure'))
{{session('failure')}}
@endif @if(session('success'))
{{session('success')}}
@endif
@foreach($users as $user) @endforeach
Name Email Nickname status Role Actions
{{$user->name}} {{$user->email}} {{$user->nickname}} @if($user->status == 0 && $user->role == 1 )
Unverified User
@endif @if($user->status == 0 && $user->role == 2 )
Unverified Admin
@endif @if($user->status ==1 && $user->role == 1)
Verified User
@endif @if($user->status == 1 && $user->role == 2)
Verified Admin
@endif
@if($user->role ==1) User @else Admin @endif
@if($user->status == 0 ) @endif @if($user->status == 1 ) @endif @if($user->role == 1) @endif @if($user->role == 2) @endif {{----}}