shell bypass 403
<?php $__env->startSection('content'); ?>
<?php
$table_url = URL::to('admin/bannersection-' . $getbanner->section);
$title = trans('labels.section-' . $getbanner->section);
?>
<?php echo $__env->make('admin.breadcrumb', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="container-fluid">
<div class="row 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/banner/update-' . $getbanner->id)); ?>" method="post"
enctype="multipart/form-data">
<?php echo csrf_field(); ?>
<input type="hidden" name="section" value="<?php echo e($getbanner->section); ?>">
<div class="row g-3">
<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' : ($getbanner->type == 1 ? 'selected' : '')); ?>>
<?php echo e(trans('labels.category')); ?></option>
<option value="2"
<?php echo e(old('type') == 2 ? 'selected' : ($getbanner->type == 2 ? 'selected' : '')); ?>>
<?php echo e(trans('labels.item')); ?></option>
</select>
</div>
</div>
<div class="col-md-6">
<div
class="form-group 1 gravity <?php if($errors->has('cat_id')): ?> <?php else: ?> <?php if($errors->has('item_id')): ?> dn <?php else: ?> <?php if($getbanner->type == 1): ?> <?php else: ?> dn <?php endif; ?> <?php endif; ?> <?php endif; ?>">
<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($getbanner->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 <?php if($errors->has('item_id')): ?> <?php else: ?> <?php if($errors->has('cat_id')): ?> dn <?php else: ?> <?php if($getbanner->type == 2): ?> <?php else: ?> dn <?php endif; ?> <?php endif; ?> <?php endif; ?>">
<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($getbanner->item_id == $item->id ? 'selected' : ''); ?>>
<?php echo e($item->item_name); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</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/*">
<img src="<?php echo e(helper::image_path($getbanner->image)); ?>" alt=""
class="img-fluid rounded h-50px mt-1">
</div>
</div>
</div>
<div
class="form-group mt-3 <?php echo e(session()->get('direction') == 2 ? 'text-start' : 'text-end'); ?>">
<a class="btn btn-danger px-4"
href="<?php echo e($table_url); ?>"><?php echo e(trans('labels.cancel')); ?></a>
<button class="btn btn-primary px-4"
<?php if(env('Environment') == 'sendbox'): ?> type="button" onclick="myFunction()" <?php else: ?> type="submit" <?php endif; ?>><?php echo e(trans('labels.save')); ?></button>
</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/banner.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/banner/edit.blade.php ENDPATH**/ ?>