shell bypass 403
<?php $__env->startSection('content'); ?>
<?php echo $__env->make('admin.breadcrumb', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="container-fluid">
<div class="row mb-3 justify-content-center">
<div class="col-lg-12">
<div class=" card border-0 box-shadow">
<div class="card-body">
<div class="form-validation">
<form action="<?php echo e(URL::to('admin/slider/store')); ?>" method="post" enctype="multipart/form-data">
<?php echo csrf_field(); ?>
<div class="row g-3">
<div class="col-md-6">
<div class="form-group">
<label class="form-label" for=""><?php echo e(trans('labels.title')); ?>
</label>
<input type="text" class="form-control" name="title"
placeholder="<?php echo e(trans('labels.title')); ?>" value="<?php echo e(old('title')); ?>">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label class="form-label" for=""><?php echo e(trans('labels.image')); ?>
<span class="text-danger">*</span> </label>
<input type="file" class="form-control" name="image" accept="image/*"
required>
<?php $__errorArgs = ['image'];
$__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); ?>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label class="form-label" for="type"><?php echo e(trans('labels.type')); ?></label>
<select name="type" class="form-select type" data-live-search="true"
id="type">
<option value="" selected><?php echo e(trans('labels.select')); ?></option>
<option value="1" <?php echo e(old('type') == 1 ? 'selected' : ''); ?>>
<?php echo e(trans('labels.category')); ?></option>
<option value="2" <?php echo e(old('type') == 2 ? 'selected' : ''); ?>>
<?php echo e(trans('labels.item')); ?></option>
<option value="3" <?php echo e(old('type') == 3 ? 'selected' : ''); ?>>
<?php echo e(trans('labels.custom_link')); ?></option>
</select>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label class="form-label" for=""><?php echo e(trans('labels.link_text')); ?>
</label>
<input type="text" class="form-control" name="link_text"
placeholder="<?php echo e(trans('labels.link_text')); ?>"
value="<?php echo e(old('link_text')); ?>">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label class="form-label" for=""><?php echo e(trans('labels.description')); ?>
</label>
<textarea name="description" class="form-control" rows="5" placeholder="<?php echo e(trans('labels.description')); ?>"><?php echo e(old('description')); ?></textarea>
</div>
</div>
<div class="col-md-6">
<div class="form-group 1 gravity">
<label class="form-label" for=""><?php echo e(trans('labels.category')); ?>
<span class="text-danger">*</span> </label>
<select name="cat_id" class="form-select" data-live-search="true"
id="cat_id">
<option value="" selected><?php echo e(trans('labels.select')); ?></option>
<?php $__currentLoopData = $getcategory; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($category->id); ?>"
<?php echo e(old('cat_id') == $category->id ? 'selected' : ''); ?>>
<?php echo e($category->category_name); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
<div class="form-group 2 gravity">
<label class="form-label" for=""><?php echo e(trans('labels.item')); ?> <span
class="text-danger">*</span> </label>
<select name="item_id" class="form-select" data-live-search="true"
id="item_id">
<option value="" selected><?php echo e(trans('labels.select')); ?></option>
<?php $__currentLoopData = $getitem; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($item->id); ?>"
<?php echo e(old('item_id') == $item->id ? 'selected' : ''); ?>>
<?php echo e($item->item_name); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
<div class="form-group 3 gravity">
<label class="form-label" for=""><?php echo e(trans('labels.custom_link')); ?>
<span class="text-danger">*</span> </label>
<input type="text" name="custom_link" class="form-control"
placeholder="<?php echo e(trans('labels.custom_link')); ?>">
</div>
</div>
<div
class="form-group mt-3 <?php echo e(session()->get('direction') == 2 ? 'text-start' : 'text-end'); ?> ">
<a href="<?php echo e(URL::to('admin/slider')); ?>"
class="btn btn-danger px-4"><?php echo e(trans('labels.cancel')); ?></a>
<button
class="btn btn-primary px-4 <?php echo e(Auth::user()->type == 4 ? (helper::check_access('role_sliders', Auth::user()->role_id, 'add') == 1 ? '' : 'd-none') : ''); ?>"
<?php if(env('Environment') == 'sendbox'): ?> type="button" onclick="myFunction()" <?php else: ?> type="submit" <?php endif; ?>><?php echo e(trans('labels.save')); ?></button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script src="<?php echo e(url(env('ASSETSPATHURL') . 'admin-assets/assets/js/custom/slider.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.theme.default', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/koreanshop.lk/resources/views/admin/slider/add.blade.php ENDPATH**/ ?>