Edit File: 1b59c9ee4d48134cb54254bdd3c75aa4.php
<?php if (isset($component)) { $__componentOriginal91fdd17964e43374ae18c674f95cdaa3 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal91fdd17964e43374ae18c674f95cdaa3 = $attributes; } ?> <?php $component = App\View\Components\AdminLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('admin-layout'); ?> <?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\AdminLayout::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php $__env->slot('header', null, []); ?> <h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight"> <?php echo e(__('Dashboard')); ?> </h2> <?php $__env->endSlot(); ?> <div class="sm:py-12"> <div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> <div class="bg-white dark:bg-gray-800 overflow-hidden shadow-sm sm:rounded-lg"> <div class="p-6 text-gray-900 dark:text-gray-100"> <div class="w-full h-96 overflow-auto border-2 border-red-600 p-2 rounded-md"> <div class="text-lg sm:text-3xl text-center py-2 my-2 bg-gradient-to-b from-red-600 to-red-800 rounded-md border-2 border-black"> 20 ANIME DENGAN PENONTON TERBANYAK </div> <?php if (isset($component)) { $__componentOriginal8eefed20d4066276195854f585692746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8eefed20d4066276195854f585692746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.display-table','data' => ['columns' => ['No', 'thumbnail', 'title', 'views'],'routeName' => 'admin.anime']] + (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(['No', 'thumbnail', 'title', 'views']),'routeName' => 'admin.anime']); ?> <?php $__currentLoopData = $most_viewed_animes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $anime): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tbody> <tr class="hover:bg-red-600/25"> <td class="text-center border border-black dark:border-white"><?php echo e($loop->iteration); ?></td> <td class="text-center border border-black dark:border-white"><a href="<?php echo e($anime->thumbnail); ?>" target="_blank"><img src="<?php echo e($anime->thumbnail); ?>" class="w-10 aspect-[9/16] mx-auto"></a></td> <td class="text-center border border-black dark:border-white"><?php echo e($anime->title); ?></td> <td class="text-center border border-black dark:border-white"><?php echo e(number_format($anime->view_count)); ?></td> </tr> </tbody> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?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; ?> </div> <div class="w-full h-96 overflow-auto mt-10 border-2 border-red-600 p-2 rounded-md"> <div class="text-lg sm:text-3xl text-center py-2 my-2 bg-gradient-to-b from-red-600 to-red-800 rounded-md border-2 border-black"> 20 Terlaris Hari Ini </div> <?php if (isset($component)) { $__componentOriginal8eefed20d4066276195854f585692746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8eefed20d4066276195854f585692746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.display-table','data' => ['columns' => ['No', 'thumbnail', 'title', 'views'],'routeName' => 'admin.anime']] + (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(['No', 'thumbnail', 'title', 'views']),'routeName' => 'admin.anime']); ?> <?php $__currentLoopData = $most_viewed_animes_today; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $anime): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tbody> <tr class="hover:bg-red-600/25"> <td class="text-center border border-black dark:border-white"><?php echo e($loop->iteration); ?></td> <td class="text-center border border-black dark:border-white"><a href="<?php echo e($anime->thumbnail); ?>" target="_blank"><img src="<?php echo e($anime->thumbnail); ?>" class="w-10 aspect-[9/16] mx-auto"></a></td> <td class="text-center border border-black dark:border-white"><?php echo e($anime->title); ?></td> <td class="text-center border border-black dark:border-white"><?php echo e(number_format($anime->view_daily)); ?></td> </tr> </tbody> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?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; ?> </div> </div> </div> </div> </div> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal91fdd17964e43374ae18c674f95cdaa3)): ?> <?php $attributes = $__attributesOriginal91fdd17964e43374ae18c674f95cdaa3; ?> <?php unset($__attributesOriginal91fdd17964e43374ae18c674f95cdaa3); ?> <?php endif; ?> <?php if (isset($__componentOriginal91fdd17964e43374ae18c674f95cdaa3)): ?> <?php $component = $__componentOriginal91fdd17964e43374ae18c674f95cdaa3; ?> <?php unset($__componentOriginal91fdd17964e43374ae18c674f95cdaa3); ?> <?php endif; ?> <?php /**PATH /home/okaminime0881/anime/resources/views/admin/dashboard.blade.php ENDPATH**/ ?>
Back