KUJUNTI.ID MINISH3LL
Path : /var/www/html/phkaynews-v2/storage/framework/views/
(S)h3ll Cr3at0r :
F!le Upl0ad :

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/cd361873a9063a0c1974cb89e37d9a697de18764.php


<?php $__env->startPush('styles'); ?>
    <link href="<?php echo e(asset('backend/libs/bootstrap-datepicker/css/bootstrap-datepicker.min.css')); ?>" rel="stylesheet" type="text/css">
<?php $__env->stopPush(); ?>

<div class="row">
    <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.content-header','data' => ['title' => 'Post']]); ?>
<?php $component->withName('content-header'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['title' => 'Post']); ?>
<?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' => ['class' => ''.e(!$frm ? 'd-none' : '').'']]); ?>
<?php $component->withName('card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['class' => ''.e(!$frm ? 'd-none' : '').'']); ?>
            <?php echo $__env->make('livewire.admin.include.post-form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            
         <?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.card','data' => ['class' => ''.e($frm ? 'd-none' : '').'']]); ?>
<?php $component->withName('card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['class' => ''.e($frm ? 'd-none' : '').'']); ?>
            <div class="row mb-2">
                <div class="col-sm-9">
                    <div class="d-flex">
                        <div class="align-self-center">
                            <button wire:click="_filter" type="button" class="btn btn-default dropdown-toggle"
                                data-toggle="dropdown" aria-expanded="true" x-data :disabled="$wire.trashes">Filter <i
                                    class="bx bx-filter"></i></button>
                        </div>
                        <div class="search-box mr-2 mb-2">
                            <form class="d-flex">
                                <div class="position-relative">
                                    <input type="search" wire:model="s" class="form-control"
                                        placeholder="Search title..." x-data :disabled="$wire.filter">
                                    <i class="bx bx-search-alt search-icon" wire:loading.class="d-none"
                                        wire:target="s"></i>
                                    <i class="bx bx-search-alt bx-spin search-icon" wire:loading wire:target="s"></i>
                                </div>
                            </form>
                        </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 <?php echo e(count($posts) >= $limited ? 'td-pointer' : ''); ?> "
                                <?php echo e(count($posts) >= $limited ? '' : '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="text-sm-right">
                        <button type="button" wire:click="formOpen" wire:loading.attr="disabled" wire:target="formOpen"
                            class="btn btn-success btn-rounded waves-effect waves-light mb-2 mr-2">
                            <i class="mdi mdi-plus mr-1" wire:loading.class="d-none" wire:target="formOpen"></i>
                            <i class="bx bx-loader bx-spin" wire:loading wire:target="formOpen"></i>
                            Add New
                        </button>
                    </div>
                </div>
                <?php echo $__env->make('livewire.admin.include.filter-post', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </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' => 'loadingPost']]); ?>
<?php $component->withName('table'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['class' => 'position-relative','wire:init' => 'loadingPost']); ?>
                <?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' => '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; ?>
                <?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' => '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' => 'pkmDate']]); ?>
<?php $component->withName('table.loading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['wire:target' => 'pkmDate']); ?>
<?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' => 'emptyTrash']]); ?>
<?php $component->withName('table.loading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['wire:target' => 'emptyTrash']); ?>
<?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' => 'restoreAll']]); ?>
<?php $component->withName('table.loading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['wire:target' => 'restoreAll']); ?>
<?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_date']]); ?>
<?php $component->withName('table.loading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['wire:target' => 's_date']); ?>
<?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' => 'e_date']]); ?>
<?php $component->withName('table.loading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['wire:target' => 'e_date']); ?>
<?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' => '_title']]); ?>
<?php $component->withName('table.loading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['wire:target' => '_title']); ?>
<?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' => 'user_name']]); ?>
<?php $component->withName('table.loading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['wire:target' => 'user_name']); ?>
<?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' => 'editItem']]); ?>
<?php $component->withName('table.loading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['wire:target' => 'editItem']); ?>
<?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' => 'destroy']]); ?>
<?php $component->withName('table.loading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['wire:target' => 'destroy']); ?>
<?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' => 'pkmRestore']]); ?>
<?php $component->withName('table.loading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['wire:target' => 'pkmRestore']); ?>
<?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' => 'deleted']]); ?>
<?php $component->withName('table.loading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['wire:target' => 'deleted']); ?>
<?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' => 'sortBy']]); ?>
<?php $component->withName('table.loading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['wire:target' => 'sortBy']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>

                <thead class="thead-light">
                    <tr>
                        <th>Thumbnail</th>
                        <th class="td-pointer" wire:click="sortBy('title')">
                            Title <i class="fas <?php echo e($sortDirection === 'ASC' ? 'fa-sort-alpha-down' : 'fas fa-sort-alpha-up-alt'); ?>  my-opacity float-right font-20 <?php echo e($sortField === 'title' ? 'd-block' : 'd-none'); ?>"></i>
                        </th>
                        <th>Post By</th>
                        <th class="td-pointer" wire:click="sortBy('view')">
                            Views
                            <i class="fas <?php echo e($sortDirection === 'ASC' ? 'fa-sort-alpha-down' : 'fas fa-sort-alpha-up-alt'); ?>  my-opacity float-right font-20 <?php echo e($sortField === 'view' ? 'd-block' : 'd-none'); ?>">
                        </th>
                        <th class="<?php echo e($trashes?'d-none':''); ?>">Publish</th>
                        <th class="td-pointer" wire:click="sortBy('created_at')">
                            Created At
                            <i
                                class="fas <?php echo e($sortDirection === 'ASC' ? 'fa-sort-alpha-down' : 'fas fa-sort-alpha-up-alt'); ?>  my-opacity float-right font-20 <?php echo e($sortField === 'created_at' ? 'd-block' : 'd-none'); ?>"></i>
                        </th>
                        <th>Action</th>
                    </tr>
                </thead>
                <tbody>
                    <?php $__empty_1 = true; $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                        <tr>
                            <td class="td-pointer">
                                <img src="<?php echo e(!empty($post->feature_image) ? asset($post->feature_image) : asset('images/no-image.jpg')); ?>"
                                    lt="thumbnail" class="rounded avatar-sm my-object-fit">
                            </td>
                            <td class="text-left td-pointer">
                                <?php echo e(Str::limit($post->title, 50, '...')); ?>

                            </td>
                            <td class="text-center td-pointer">
                                <?php echo e($post->user->name??''); ?>

                            </td>
                            <td class="text-center td-pointer">
                                <span class="badge badge-pill badge-soft-info font-size-12"><?php echo e($post->view); ?></span>
                            </td>
                            <?php if(!$trashes): ?>
                            <td class="text-center">
                                <input type="checkbox" id="status<?php echo e($key); ?>" switch="bool"
                                    <?php echo e($post->public ? 'checked' : ''); ?>>
                                <label for="status<?php echo e($key); ?>" class="mb-0" data-on-label="On"
                                    data-off-label="Off" wire:click="changePublish(<?php echo e($post->id); ?>)"></label>
                            </td>
                            <?php endif; ?>
                            <td class="td-pointer">
                                <?php echo e($post->created_at ? date_format($post->created_at, 'd-M-Y H:i a') : 'Null'); ?>

                            </td>
                            <!-- if trashed is true -->
                            <?php if($trashes): ?>
                            <td class="text-center">
                                <a href="#" wire:click="pkmRestore(<?php echo e($post->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" wire:loading.class="d-none"
                                        wire:target="pkmRestore(<?php echo e($post->id); ?>)"></i>
                                    <i class="bx bx-loader bx-spin bx-sm" wire:loading
                                        wire:target="pkmRestore(<?php echo e($post->id); ?>)"></i>
                                </a>
                                <a wire:click="deleted(<?php echo e($post->id); ?>)" href="#" class="text-danger">
                                    <i class="mdi mdi-close font-size-18" wire:loading.class="d-none"
                                        wire:target="deleted(<?php echo e($post->id); ?>)"></i>
                                    <i class="bx bx-loader bx-spin bx-sm" wire:loading
                                        wire:target="deleted(<?php echo e($post->id); ?>)"></i>
                                </a>
                            </td>
                            <?php else: ?>
                            <!-- else  -->
                            <td class="text-center">
                                <a href="#" wire:click="editItem(<?php echo e($post->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" wire:loading.class="d-none"
                                        wire:target="editItem(<?php echo e($post->id); ?>)"></i>
                                    <i class="bx bx-loader bx-spin bx-sm" wire:loading
                                        wire:target="editItem(<?php echo e($post->id); ?>)"></i>
                                </a>
                                <a wire:click="destroy(<?php echo e($post->id); ?>)" href="#" class="text-danger">
                                    <i class="mdi mdi-trash-can-outline font-size-18"
                                        wire:loading.class="d-none"
                                        wire:target="destroy(<?php echo e($post->id); ?>)"></i>
                                    <i class="bx bx-loader bx-spin bx-sm" wire:loading
                                        wire:target="destroy(<?php echo e($post->id); ?>)"></i>
                                </a>
                                </form>
                            </td>
                            <?php endif; ?>
                            <!-- end if trashed -->
                        </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' => $readyToLoadPost,'limited' => $limited,'item' => $posts,'colspan' => '15','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($readyToLoadPost),'limited' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($limited),'item' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($posts),'colspan' => '15','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(!$posts)): ?>
                <?php echo e($posts->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 src="<?php echo e(asset('backend/libs/bootstrap-datepicker/js/bootstrap-datepicker.min.js')); ?>"></script>
<?php $__env->stopPush(); ?>
<?php /**PATH /var/www/html/phkaynews-v2/resources/views/livewire/admin/post-manage.blade.php ENDPATH**/ ?>

© KUJUNTI.ID