Edit File: da5e35f601c42f6c64f3718a7e9dad83.php
<div> <!--[if BLOCK]><![endif]--><?php if(session('status')): ?> <?php if (isset($component)) { $__componentOriginalb5e767ad160784309dfcad41e788743b = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalb5e767ad160784309dfcad41e788743b = $attributes; } ?> <?php $component = App\View\Components\Alert::resolve(['status' => session('status'),'message' => session('message')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('alert'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\App\View\Components\Alert::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalb5e767ad160784309dfcad41e788743b)): ?> <?php $attributes = $__attributesOriginalb5e767ad160784309dfcad41e788743b; ?> <?php unset($__attributesOriginalb5e767ad160784309dfcad41e788743b); ?> <?php endif; ?> <?php if (isset($__componentOriginalb5e767ad160784309dfcad41e788743b)): ?> <?php $component = $__componentOriginalb5e767ad160784309dfcad41e788743b; ?> <?php unset($__componentOriginalb5e767ad160784309dfcad41e788743b); ?> <?php endif; ?> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> <?php $__env->slot('header', null, []); ?> <div class="relative"> <h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight text-center"> <?php echo e(__('Search Anime')); ?> </h2> </div> <?php $__env->endSlot(); ?> <div class="max-w-7xl mx-auto pt-4 px-4 sm:px-6 lg:px-8 flex justify-between items-center"> <form wire:submit.prevent="refreshAnime" class="flex justify-center mb-8"> <input class="bg-white text-black rounded-lg" placeholder="Cari Title" wire:model="search" /> </form> <a href="<?php echo e(route("admin.anime.index")); ?>" class=""> <button class="border-red-600 rounded-lg border px-2 bg-red-600 text-black shadow-lg shadow-red-600" type="submit">Anime List</button> </a> </div> <div class=""> <div class=" mx-auto sm:px-6 lg:px-8"> <div class="bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg text-sm lg:text-base"> <!--[if BLOCK]><![endif]--><?php if($search && $animes->count() > 0): ?> <?php if (isset($component)) { $__componentOriginal8eefed20d4066276195854f585692746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8eefed20d4066276195854f585692746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.display-table','data' => ['columns' => ['thumbnail', 'home slider', 'title', 'nation', 'total view', 'view hari ini', 'Status', 'episode' ,'actions'],'routeName' => 'admin.user']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('display-table'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(['thumbnail', 'home slider', 'title', 'nation', 'total view', 'view hari ini', 'Status', 'episode' ,'actions']),'routeName' => 'admin.user']); ?> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $animes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $anime): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tbody> <tr class="hover:bg-red-600/25"> <td class="w-1/12 text-center border border-black dark:border-white py-2"><a href="<?php echo e($anime->thumbnail); ?>" target="_blank"><img src="<?php echo e($anime->thumbnail); ?>" alt="Thumbnail" class="w-12 h-12 mx-auto"></a></td> <td class="w-1/12 text-center border border-black dark:border-white py-2"><a href="<?php echo e($anime->home_image); ?>" target="_blank"><img src="<?php echo e($anime->home_image); ?>" alt="Home Slider" class="w-12 h-12 mx-auto"></a></td> <td class="w-4/12 text-center border border-black dark:border-white px-4"><a href="<?php echo e(route('admin.anime.edit', $anime->id)); ?>"><?php echo e($anime->title); ?></a></td> <td class="w-1/12 text-center border border-black dark:border-white"><?php echo e($anime->view_count); ?></td> <td class="w-1/12 text-center border border-black dark:border-white"><?php echo e($anime->view_daily); ?></td> <td class="w-1/12 text-center border border-black dark:border-white"><?php echo e($anime->is_completed ? "Completed" : "Ongoing"); ?></td> <td class="w-1/12 text-center border border-black dark:border-white"><a href="<?php echo e(route('admin.video.index', $anime->id)); ?>"><?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('primary-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?>EPISODES <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> <?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?></a></td> <td class="w-1/12 text-center border border-black dark:border-white"><a href="<?php echo e(route('admin.anime.edit', $anime->id)); ?>"><?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('primary-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?>EDIT <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> <?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?></a></td> <td class="w-1/12 text-center border border-black dark:border-white"><?php if (isset($component)) { $__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.danger-button','data' => ['type' => 'button','wire:click' => 'delete('.e($anime->id).')','wire:confirm' => 'Are you sure?']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('danger-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['type' => 'button','wire:click' => 'delete('.e($anime->id).')','wire:confirm' => 'Are you sure?']); ?> Delete <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11)): ?> <?php $attributes = $__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11; ?> <?php unset($__attributesOriginal656e8c5ea4d9a4fa173298297bfe3f11); ?> <?php endif; ?> <?php if (isset($__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11)): ?> <?php $component = $__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11; ?> <?php unset($__componentOriginal656e8c5ea4d9a4fa173298297bfe3f11); ?> <?php endif; ?></td> </tr> </tbody> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8eefed20d4066276195854f585692746)): ?> <?php $attributes = $__attributesOriginal8eefed20d4066276195854f585692746; ?> <?php unset($__attributesOriginal8eefed20d4066276195854f585692746); ?> <?php endif; ?> <?php if (isset($__componentOriginal8eefed20d4066276195854f585692746)): ?> <?php $component = $__componentOriginal8eefed20d4066276195854f585692746; ?> <?php unset($__componentOriginal8eefed20d4066276195854f585692746); ?> <?php endif; ?> <?php else: ?> <h1 class="text-3xl font-bold text-center uppercase p-8">Silahkan Masukkan Judul Yang Ingin Dicari</h1> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> </div> </div> </div> </div><?php /**PATH /home/okaminime0881/anime/resources/views/livewire/admin/anime/anime-search.blade.php ENDPATH**/ ?>
Back