Path : /var/www/html/phkaynews-v2/storage/framework/views/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /var/www/html/phkaynews-v2/storage/framework/views/c2ff217933184e3cf85c5114d9af7534b5fdead4.php |
<?php $__env->startSection('title','Admin Settings Management'); ?> <?php $__env->startSection('content'); ?> <div class="row"> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.content-header','data' => ['title' => 'Setting']]); ?> <?php $component->withName('content-header'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['title' => 'Setting']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> <div class="col-12"> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.card','data' => []]); ?> <?php $component->withName('card'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes([]); ?> <div class="row mb-2"> <div class="col-sm-4"> <div class="search-box mr-2 mb-2 d-inline-block"> <div class="position-relative"> <input type="text" class="form-control" placeholder="Search..."> <i class="bx bx-search-alt search-icon"></i> </div> </div> </div> <div class="col-sm-8"> <div class="text-sm-right"> <a href="<?php echo e(route('admin.settings.create')); ?>" class="btn btn-success btn-rounded waves-effect waves-light mb-2 mr-2"> <i class="mdi mdi-plus mr-1"></i> Add New </a> </div> </div> </div> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.table.index','data' => []]); ?> <?php $component->withName('table'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes([]); ?> <thead class="thead-light"> <tr> <th>ID</th> <th>Name</th> <th>Slug</th> <th>Created At</th> <th>Action</th> </tr> </thead> <tbody> <?php $__empty_1 = true; $__currentLoopData = $settings; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $setting): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <td><?php echo e(++$key); ?></td> <td><?php echo e($setting->key); ?></td> <td><?php echo e($setting->value); ?></td> <td> <?php if(isset($setting->created_at)): ?> <?php echo e(date_format($setting->created_at,'d-M-Y H:i a')); ?> <?php endif; ?> </td> <td> <a href="<?php echo e(route('admin.settings.edit',$setting->id)); ?>" class="mr-3 text-primary" data-toggle="tooltip" data-placement="top" title="" data-original-title="Edit"> <i class="mdi mdi-pencil font-size-18"></i> </a> <a href="#" class="text-danger" x-data @click=" Swal.fire({ title: 'Are you sure?', text: 'You won\'t be able to revert this!', icon: 'warning', confirmButtonText: 'Yes, delete it!', showCancelButton: !0, cancelButtonText: 'No, cancel!', confirmButtonClass: 'btn btn-success mt-2', cancelButtonClass: 'btn btn-danger ml-2 mt-2', buttonsStyling: !1, }).then((result) => { if (result.value) { document.getElementById('frmDelete-<?php echo e($setting->id); ?>').submit(); } }) " data-toggle="tooltip" data-placement="top" title="" data-original-title="Delete" > <i class="mdi mdi-close font-size-18"></i> </a> <form id="frmDelete-<?php echo e($setting->id); ?>" action="<?php echo e(route('admin.settings.destroy',$setting->id)); ?>" method="POST" class="d-none"> <?php echo csrf_field(); ?> <?php echo method_field('DELETE'); ?> </form> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <tr> <td colspan="6" class="py-2"><span class="badge badge-pill badge-soft-danger font-size-12">No Data</span></td> </tr> <?php endif; ?> </tbody> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/phkaynews-v2/resources/views/admin/setting/settingList.blade.php ENDPATH**/ ?>