Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/storage/framework/views/87eca9e56c16d30f98c8e8efa0708789.php
Назад
<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?> <?php foreach($attributes->onlyProps([ 'div_id' => 'image-preview', 'label_id' => 'image-label', 'input_id' => 'image-upload', 'name' => 'image', 'label' => __('Thumbnail Image'), 'button_label' => __('Upload Image'), 'required' => false, 'image' => null, ]) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> <?php $attributes = $attributes->exceptProps([ 'div_id' => 'image-preview', 'label_id' => 'image-label', 'input_id' => 'image-upload', 'name' => 'image', 'label' => __('Thumbnail Image'), 'button_label' => __('Upload Image'), 'required' => false, 'image' => null, ]); ?> <?php foreach (array_filter(([ 'div_id' => 'image-preview', 'label_id' => 'image-label', 'input_id' => 'image-upload', 'name' => 'image', 'label' => __('Thumbnail Image'), 'button_label' => __('Upload Image'), 'required' => false, 'image' => null, ]), '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); ?> <label><?php echo e($label); ?> <?php if($required): ?><span class="text-danger">*</span><?php endif; ?></label> <div id="<?php echo e($div_id); ?>" <?php echo e($attributes->merge(['class' => 'image-preview'])); ?> <?php if($image): ?> style="background-image: url(<?php echo e(asset($image)); ?>);" <?php endif; ?>> <label for="<?php echo e($input_id); ?>" id="<?php echo e($label_id); ?>"><?php echo e($button_label); ?></label> <input type="file" name="<?php echo e($name); ?>" id="<?php echo e($input_id); ?>"> </div> <?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"><?php echo e($message); ?></span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?><?php /**PATH /home/lekhnath/silverray.com.au/resources/views/components/admin/form-image-preview.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка