@extends('layouts.admin.master') @section('title','User Manager') @section('content') @include('layouts.admin.flash.alert')

Manage Users Here you can manage users

{{ Breadcrumbs::render('common',['append' => [['label'=> $getController,'route'=> \Request::route()->getName()]]]) }}

{{ __('List Users') }}

{{ Form::open(['url' => route('admin.users'),'method' => 'get']) }}
{{ Form::select('status', ['' => 'All',1 => 'Active', 0 => 'Inactive'], app('request')->query('status'), ['class' => 'form-control']) }}
{{ Form::text('keyword', app('request')->query('keyword'), ['class' => 'form-control','placeholder' => 'Keyword e.g: name, email']) }}
Reset
{{ Form::close() }} @if($users->count() > 0) @php $i = (($users->currentPage() - 1) * ($users->perPage()) + 1) @endphp @foreach($users as $user)
# @php $sorting['sort'] = "name"; $sorting['direction'] = request()->direction == 'asc' ? 'desc' : 'asc'; @endphp First Name Photo @php $sorting['sort'] = "email"; $sorting['direction'] = request()->direction == 'asc' ? 'desc' : 'asc'; @endphp Email @php $sorting['sort'] = "status"; $sorting['direction'] = request()->direction == 'asc' ? 'desc' : 'asc'; @endphp Status @php $sorting['sort'] = "is_verified"; $sorting['direction'] = request()->direction == 'asc' ? 'desc' : 'asc'; @endphp Verified @php $sorting['sort'] = "created_at"; $sorting['direction'] = request()->direction == 'asc' ? 'desc' : 'asc'; @endphp Created Action
{{$i}}. {{$user->name}} @php $filepath = '/uploads/users/'; @endphp @if(!empty($user->photo) && file_exists(public_path() . $filepath . $user->photo))