Edit File: 36196c0a39c6a0ced52c69e769756938.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(__('Anime List')); ?> </h2> <?php if (isset($component)) { $__componentOriginal913c7f7c5fd79862e07349a1ca6079a3 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal913c7f7c5fd79862e07349a1ca6079a3 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.new','data' => ['routeName' => 'admin.anime']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('admin.new'); ?> <?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(['routeName' => 'admin.anime']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal913c7f7c5fd79862e07349a1ca6079a3)): ?> <?php $attributes = $__attributesOriginal913c7f7c5fd79862e07349a1ca6079a3; ?> <?php unset($__attributesOriginal913c7f7c5fd79862e07349a1ca6079a3); ?> <?php endif; ?> <?php if (isset($__componentOriginal913c7f7c5fd79862e07349a1ca6079a3)): ?> <?php $component = $__componentOriginal913c7f7c5fd79862e07349a1ca6079a3; ?> <?php unset($__componentOriginal913c7f7c5fd79862e07349a1ca6079a3); ?> <?php endif; ?> </div> <?php $__env->endSlot(); ?> <div class="w-full max-w-4xl mx-auto my-4"> <a href="<?php echo e(route("admin.anime.search")); ?>" class=""> <button class="border-red-600 rounded-lg border p-2 bg-red-600 text-black shadow-md shadow-red-400 w-full" type="submit">Search</button> </a> </div> <div class="pb-12"> <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($animes == null): ?> <h1 class="text-3xl font-bold text-center uppercase p-8">Tidak ada anime ditemukan</h1> <?php else: ?> <?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', 'Views', 'Today', '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', 'Views', 'Today', '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="hidden sm:table-cell 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="hidden sm:table-cell 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="hidden sm:table-cell w-1/12 text-center border border-black dark:border-white"><?php echo e($anime->view_count); ?></td> <td class="hidden sm:table-cell w-1/12 text-center border border-black dark:border-white"><?php echo e($anime->view_daily); ?></td> <td class="hidden sm:table-cell 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 echo e($animes->links()); ?> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> </div> </div> </div> </div><?php /**PATH /home/okaminime0881/anime/resources/views/livewire/admin/anime/anime-index.blade.php ENDPATH**/ ?>
Back