Server IP : 162.213.251.212 / Your IP : 18.116.71.40 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/allssztx/www/easybuyer/storage/framework/views/ |
Upload File : |
<?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.admin.header','data' => []]); ?> <?php $component->withName('admin.header'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.admin.sidebar','data' => []]); ?> <?php $component->withName('admin.sidebar'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> <div class="main-content"> <div class="graph-card card-table" id="CMSList"> <div class="card-head"> <div class="text-content"> <h5>Home Page CMS</h5> </div> <div class="card-drp"> <div class="btn-content btn-group" role="group" aria-label="Basic example"> <a href="cms_form" target="blank"><button type="button" class="btn active">Add New</button></a> </div> </div> </div> <div class="card-body"> <div class="table-responsive table-scroll"> <table class="table-management"> <thead> <tr> <th>#</th> <th>CMS Title</th> <th>CMS Heading</th> <th>Status</th> <th>Actions</th> </tr> </thead> <tbody> <?php $__currentLoopData = $cmsdata; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($data->cms_id); ?></td> <td><?php echo e($data->cms_title); ?></td> <td><?php echo e($data->cms_heading); ?></td> <?php if($data->cms_status == 1): ?> <td>Active</td> <?php else: ?> <td>Un-Active</td> <?php endif; ?> <td> <a href="edit_cms/<?php echo e($data->cms_id); ?>" ><button class="refresh-btn edit-btnn" data-tooltip="Edit"> <i class="fa-regular fa-pencil"></i> </button></a> <!-- <button class="delete-btn btn_del" value="<?php echo e($data->cms_id); ?>" data-tooltip="Delete"> <i class="fa-regular fa-xmark"></i> </button> --> <button></button> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <div class="pagination"> </div> </div> </div> </div> <!-- Delete Work Start Here --> <script> $(document).ready(function(){ $('body').on('click', '.btn_del', function(e){ e.preventDefault(); var id = $(this).val(); $.ajax({ url: "delete_cms", method: "GET", data: {'id':id}, cache: false, success:function() { toastr.success("CMS Deleted Successfully","Deleted",{timeOut:1500}); $("#CMSList").load(location.href+" #CMSList>*",""); }, error:function() { toastr.error("SomeThing Went Wrong","Error",{timeOut:1500}); false; }, }); }); }); </script> <!-- Delete Work End Here --> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.admin.footer','data' => []]); ?> <?php $component->withName('admin.footer'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?><?php /**PATH /home/wpdeatle/public_html/easy-buyer/resources/views/admin/cms_home.blade.php ENDPATH**/ ?>