[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: a9b75cb67e5ce35d445b369608f256f0.php
<?php $__env->startSection('content'); ?> <div class="row"> <div class="col-xl-8 col-lg-12 offset-xl-2"> <form method="post" id="permissions" class="validate" autocomplete="off" action="<?php echo e(route('permission.store')); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header d-flex align-items-center"> <span class="panel-title"><?php echo e(_lang('Access Control')); ?></span> </div> <div class="card-body"> <div class="col-lg-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Select Role')); ?></label> <select class="form-control" id="user_role" name="role_id" required> <?php echo e(create_option("roles", "id", "name", $role_id)); ?> </select> </div> </div> </div> </div> </div> </div> <?php if($role_id != ''): ?> <div class="card mt-2"> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <table class="table table-bordered"> <thead> <tr> <th><?php echo e(_lang('Module')); ?></th> <th><?php echo e(_lang('Permissions')); ?></th> </tr> </thead> <?php $__currentLoopData = $permission; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $string = isset(explode("\\",$key)[4]) ? str_replace("Controller", "", explode("\\",$key)[4]) : str_replace("Controller", "", explode("\\",$key)[3]); $array = preg_split('/(?=[A-Z])/', $string); $moduleName = implode(' ', $array); ?> <tr> <td><h5><?php echo e($moduleName); ?></h5></td> <td> <?php $__currentLoopData = $val; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $name => $url): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $display = str_replace("index", "list", $name); ?> <?php $display = array_reverse(explode('.', $display)); ?> <div class="custom-control custom-checkbox permission-checkbox"> <input type="checkbox" class="custom-control-input" name="permissions[]" value="<?php echo e($name); ?>" id="customCheck<?php echo e($loop->parent->index.$loop->index); ?>" <?php echo e(array_search($name, $permission_list) !== FALSE ? "checked" : ""); ?>> <label class="custom-control-label" for="customCheck<?php echo e($loop->parent->index.$loop->index); ?>"><?php echo e(strtoupper(str_replace('_', ' ', $display[0]))); ?></label> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </table> </div> <div class="col-lg-12 mt-2"> <div class="form-group"> <button type="submit" class="btn btn-primary"><i class="ti-check-box mr-2"></i><?php echo e(_lang('Save Permission')); ?></button> </div> </div> </div> </div> </div> <?php endif; ?> </form> </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/system_user/permission/create.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.97 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