shell bypass 403
<?php $__env->startSection('content'); ?>
<?php echo $__env->make('admin.breadcrumb', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php
$module = 'role_choose_us';
?>
<div class="row mt-3">
<div class="col-12">
<form action="<?php echo e(URL::to('admin/choose_us/savecontent')); ?>" method="POST" enctype="multipart/form-data">
<?php echo csrf_field(); ?>
<div class="card border-0 mb-3 p-3 box-shadow">
<div class="row g-3">
<div class="col-md-6">
<div class="form-group">
<label class="form-label"><?php echo e(trans('labels.title')); ?><span class="text-danger"> *
</span></label>
<input type="text"
class="form-control <?php echo e(session()->get('direction') == 2 ? 'input-group-rtl' : ''); ?>"
name="title" placeholder="<?php echo e(trans('labels.title')); ?>"
value="<?php echo e($content->why_choose_title); ?>" required>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label class="form-label"><?php echo e(trans('labels.subtitle')); ?><span class="text-danger"> *
</span></label>
<input type="text"
class="form-control <?php echo e(session()->get('direction') == 2 ? 'input-group-rtl' : ''); ?>"
name="subtitle" placeholder="<?php echo e(trans('labels.subtitle')); ?>"
value="<?php echo e($content->why_choose_subtitle); ?>" required>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label class="form-label"><?php echo e(trans('labels.image')); ?><span class="text-danger"> *
</span></label>
<input type="file" class="form-control" name="image">
<?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>
<img src="<?php echo e(helper::image_path($content->why_choose_image)); ?>" class="img-fluid rounded hw-70"
alt="">
</div>
<div class="col-md-6">
<div class="form-group">
<label class="form-label"><?php echo e(trans('labels.description')); ?><span class="text-danger"> *
</span></label>
<textarea name="description" class="form-control fs-7" rows="5" placeholder="<?php echo e(trans('labels.description')); ?>"
required><?php echo e($content->why_choose_description); ?></textarea>
<?php $__errorArgs = ['description'];
$__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="mt-3 <?php echo e(session()->get('direction') == 2 ? 'text-start' : 'text-end'); ?>">
<button type="submit"
class="btn btn-primary px-4 <?php echo e(Auth::user()->type == 4 ? (helper::check_access('role_choose_us', Auth::user()->role_id, 'add') == 1 ? '' : 'd-none') : ''); ?>"><?php echo e(trans('labels.save')); ?></button>
</div>
</div>
</div>
</form>
<div class="card border-0 mb-3 box-shadow">
<div class="<?php echo e(session()->get('direction') == 2 ? 'text-start' : 'text-end'); ?>">
<a href="<?php echo e(URL::to(request()->url() . '/add')); ?>"
class="btn btn-primary px-4 mx-3 mt-3 <?php echo e(Auth::user()->type == 4 ? (helper::check_access('role_choose_us', Auth::user()->role_id, 'add') == 1 ? '' : 'd-none') : ''); ?>">
<i class="fa-regular fa-plus mx-1"></i><?php echo e(trans('labels.add_new')); ?></a>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-striped table-bordered py-3 zero-configuration w-100 dataTable no-footer">
<thead>
<tr class="fw-500">
<td></td>
<td>#</td>
<td><?php echo e(trans('labels.image')); ?></td>
<td><?php echo e(trans('labels.title')); ?></td>
<td><?php echo e(trans('labels.subtitle')); ?></td>
<td><?php echo e(trans('labels.created_date')); ?></td>
<td><?php echo e(trans('labels.updated_date')); ?></td>
<td><?php echo e(trans('labels.action')); ?></td>
</tr>
</thead>
<tbody id="tabledetails" data-url="<?php echo e(url('admin/choose_us/reorder_choose_us')); ?>">
<?php
$i = 1;
?>
<?php $__currentLoopData = $allworkcontent; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $content): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr class="fs-7 row1" id="dataid<?php echo e($content->id); ?>" data-id="<?php echo e($content->id); ?>">
<td><a tooltip="<?php echo e(trans('labels.move')); ?>"><i
class="fa-light fa-up-down-left-right mx-2"></i></a></td>
<td><?php
echo $i++;
?></td>
<td><img src="<?php echo e(helper::image_path($content->image)); ?>"
class="img-fluid rounded h-50px object-fit-cover" alt=""></td>
<td><?php echo e($content->title); ?></td>
<td><?php echo e($content->subtitle); ?></td>
<td><?php echo e(helper::date_format($content->created_at)); ?><br>
<?php echo e(helper::date_time_format($content->created_at)); ?>
</td>
<td><?php echo e(helper::date_format($content->updated_at)); ?><br>
<?php echo e(helper::date_time_format($content->updated_at)); ?>
</td>
<td>
<div class="d-flex flex-wrap gap-1">
<a href="<?php echo e(URL::to('/admin/choose_us/edit-' . $content->id)); ?>"
tooltip="<?php echo e(trans('labels.edit')); ?>"
class="btn btn-sm btn-info square <?php echo e(Auth::user()->type == 4 ? (helper::check_access('role_choose_us', Auth::user()->role_id, 'edit') == 1 ? '' : 'd-none') : ''); ?>">
<i class="fa-regular fa-pen-to-square"></i></a>
<a href="javascript:void(0)" tooltip="<?php echo e(trans('labels.delete')); ?>"
<?php if(env('Environment') == 'sendbox'): ?> onclick="myFunction()" <?php else: ?> onclick="Delete('<?php echo e($content->id); ?>','<?php echo e(URL::to('admin/choose_us/delete')); ?>')" <?php endif; ?>
class="btn btn-sm btn-danger square <?php echo e(Auth::user()->type == 4 ? (helper::check_access('role_choose_us', Auth::user()->role_id, 'delete') == 1 ? '' : 'd-none') : ''); ?>">
<i class="fa-regular fa-trash"></i></a>
</div>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</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/category.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/why_choose_us/index.blade.php ENDPATH**/ ?>