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/84d0696b52e97e6a7c5e083122cf0d6761a0bb52.php |
<div class="row"> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.content-header','data' => ['title' => 'page']]); ?> <?php $component->withName('content-header'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['title' => 'page']); ?> <?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-9"> <div class="d-md-flex"> <div class="search-box mr-2 mb-2 d-inline-block"> <div class="position-relative"> <input type="search" wire:model.debonce.500ms="s" class="form-control" placeholder="Search..."> <i class="bx bx-search-alt search-icon"></i> </div> </div> <div class="d-flex align-self-center"> <span class="align-self-center mr-2">Show</span> <select wire:model="limited" aria-controls="post_table" class="custom-select custom-select-sm form-control td-pointer" <?php echo e($total_ads <= $show_limit[0] ?'disabled':''); ?>> <?php $__currentLoopData = $show_limit; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($item); ?>"><?php echo e($item); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> <span class="align-self-center ml-2">entries</span> </div> <?php if(auth()->user()->admin): ?> <div class="d-flex align-self-center ml-2"> <div class="custom-control custom-checkbox"> <input type="checkbox" wire:model="trashes" class="custom-control-input" id="trashh" <?php echo e($total_trash == 0 ? 'disabled' : ''); ?>> <label class="custom-control-label" for="trashh">Trash<span class="badge badge-danger badge-pill px-2 py-1"><?php echo e($total_trash); ?></span></label> </div> </div> <div class="ml-2 align-self-center <?php echo e($trashes?'':'d-none'); ?>"> <button type="button" class="btn btn-danger btn-sm rounded-pill" wire:click="emptyTrash" <?php echo e(empty($total_trash) ? 'disabled' : ''); ?>> <i class="mdi mdi-trash-can-outline" wire:loading.class="d-none" wire:target="emptyTrash"></i> <i class="bx bx-loader bx-spin" wire:loading wire:target="emptyTrash"></i> Empty Trashes </button> <button type="button" class="btn btn-info btn-sm rounded-pill" wire:click="restoreAll" <?php echo e(empty($total_trash) ? 'disabled' : ''); ?>> <i class="mdi mdi-restore" wire:loading.class="d-none" wire:target="restoreAll"></i> <i class="bx bx-loader bx-spin" wire:loading wire:target="restoreAll"></i> Restore All </button> </div> <?php endif; ?> </div> </div> <div class="col-sm-3"> <div class="float-right"> <?php if (! isset($_instance)) { $html = \Livewire\Livewire::mount('admin.partcials.advertise-form', ['modalId' => 'advertise_create'])->html(); } elseif ($_instance->childHasBeenRendered('z97XySx')) { $componentId = $_instance->getRenderedChildComponentId('z97XySx'); $componentTag = $_instance->getRenderedChildComponentTagName('z97XySx'); $html = \Livewire\Livewire::dummyMount($componentId, $componentTag); $_instance->preserveRenderedChild('z97XySx'); } else { $response = \Livewire\Livewire::mount('admin.partcials.advertise-form', ['modalId' => 'advertise_create']); $html = $response->html(); $_instance->logRenderedChild('z97XySx', $response->id(), \Livewire\Livewire::getRootElementTagName($html)); } echo $html; ?> </div> </div> </div> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.table.index','data' => ['class' => 'position-relative','wire:init' => 'loadingItem']]); ?> <?php $component->withName('table'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['class' => 'position-relative','wire:init' => 'loadingItem']); ?> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.table.loading','data' => ['wire:target' => 'nextPage']]); ?> <?php $component->withName('table.loading'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['wire:target' => 'nextPage']); ?> <?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.table.loading','data' => ['wire:target' => 'previousPage']]); ?> <?php $component->withName('table.loading'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['wire:target' => 'previousPage']); ?> <?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.table.loading','data' => ['wire:target' => 'gotoPage']]); ?> <?php $component->withName('table.loading'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['wire:target' => 'gotoPage']); ?> <?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.table.loading','data' => ['wire:target' => 's']]); ?> <?php $component->withName('table.loading'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['wire:target' => 's']); ?> <?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.table.loading','data' => ['wire:target' => 'limited']]); ?> <?php $component->withName('table.loading'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['wire:target' => 'limited']); ?> <?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.table.loading','data' => ['wire:target' => 'trashes']]); ?> <?php $component->withName('table.loading'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['wire:target' => 'trashes']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> <thead class="thead-light"> <tr> <th>ID</th> <th>Name</th> <th>Link</th> <th>Type</th> <th>Order</th> <th>Created At</th> <th>Action</th> </tr> </thead> <tbody> <?php $__empty_1 = true; $__currentLoopData = $advertises; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $advertise): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <td class="text-center"><?php echo e(++$key); ?></td> <td><?php echo e($advertise->name); ?></td> <td class="text-center"><?php echo e(Str::limit($advertise->url, 50, '...')); ?></td> <td class="text-center"> <?php $__currentLoopData = config('ads.location'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $ads): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <span class="badge badge-soft-primary badge-pill px-2 py-1 text-capitalize"><?php echo e($advertise->type == $key ?str_replace('-',' ',$ads):''); ?></span> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </td> <td class="text-center"><?php echo e($advertise->order); ?></td> <td> <?php if(isset($advertise->created_at)): ?> <?php echo e(date_format($advertise->created_at,'d-M-Y H:i a')); ?> <?php endif; ?> </td> <td class="text-center"> <?php if($trashes): ?> <a href="#" wire:click="pkmRestore(<?php echo e($advertise->id); ?>)" class="mr-3 text-primary" data-toggle="tooltip" data-placement="top" title="" data-original-title="Edit"> <i class="mdi mdi-restore font-size-18"></i> </a> <a href="#" wire:click="deleted(<?php echo e($advertise->id); ?>)" class="text-danger"> <i class="mdi mdi mdi-close font-size-18"></i> </a> <?php else: ?> <?php if (! isset($_instance)) { $html = \Livewire\Livewire::mount('admin.partcials.show-advertise', ['advertise' => $advertise])->html(); } elseif ($_instance->childHasBeenRendered(''.e($advertise->id).'')) { $componentId = $_instance->getRenderedChildComponentId(''.e($advertise->id).''); $componentTag = $_instance->getRenderedChildComponentTagName(''.e($advertise->id).''); $html = \Livewire\Livewire::dummyMount($componentId, $componentTag); $_instance->preserveRenderedChild(''.e($advertise->id).''); } else { $response = \Livewire\Livewire::mount('admin.partcials.show-advertise', ['advertise' => $advertise]); $html = $response->html(); $_instance->logRenderedChild(''.e($advertise->id).'', $response->id(), \Livewire\Livewire::getRootElementTagName($html)); } echo $html; ?> <?php if (! isset($_instance)) { $html = \Livewire\Livewire::mount('admin.partcials.advertise-form', ['modalId' => 'item_'.$advertise->id,'advertise' => $advertise])->html(); } elseif ($_instance->childHasBeenRendered(''.e($advertise->id).'')) { $componentId = $_instance->getRenderedChildComponentId(''.e($advertise->id).''); $componentTag = $_instance->getRenderedChildComponentTagName(''.e($advertise->id).''); $html = \Livewire\Livewire::dummyMount($componentId, $componentTag); $_instance->preserveRenderedChild(''.e($advertise->id).''); } else { $response = \Livewire\Livewire::mount('admin.partcials.advertise-form', ['modalId' => 'item_'.$advertise->id,'advertise' => $advertise]); $html = $response->html(); $_instance->logRenderedChild(''.e($advertise->id).'', $response->id(), \Livewire\Livewire::getRootElementTagName($html)); } echo $html; ?> <a wire:click="destroy(<?php echo e($advertise); ?>)" href="#" class="text-danger"> <i class="mdi mdi-trash-can-outline font-size-18"></i> </a> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.table.none-loading','data' => ['ready' => $readyLoadingItem,'limited' => $limited,'item' => $advertises,'colspan' => '7','rows' => '7']]); ?> <?php $component->withName('table.none-loading'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['ready' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($readyLoadingItem),'limited' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($limited),'item' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($advertises),'colspan' => '7','rows' => '7']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> <?php endif; ?> </tbody> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> <?php if(empty(!$advertises)): ?> <?php echo e($advertises->links()); ?> <?php endif; ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> </div> </div> <?php $__env->startPush('scripts'); ?> <script> window.addEventListener('closeModal', event => { $('#' + event.detail.modalId).modal('hide'); }) </script> <?php $__env->stopPush(); ?><?php /**PATH /var/www/html/phkaynews-v2/resources/views/livewire/admin/advertise-manage.blade.php ENDPATH**/ ?>