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/a8e297539c42b95fd06eb991deac7fbcfccfbb35.php |
<?php $__env->startSection('title','Admin Dashboard'); ?> <?php $__env->startSection('content'); ?> <div class="row"> <div class="col-12"> <div class="page-title-box d-flex align-items-center justify-content-between"> <h4 class="mb-0 font-size-18">Dashboard</h4> <div class="page-title-right"> <ol class="breadcrumb m-0"> <li class="breadcrumb-item"><a href="#">Dashboard</a></li> <li class="breadcrumb-item active">Movie</li> </ol> </div> </div> <div class="card overflow-hidden"> <div class="bg-soft-primary"> <div class="row"> <div class="col-7"> <div class="text-primary p-3"> <h5 class="text-primary">Welcome To !</h5> <p>Phkay News Dashboard</p> </div> </div> <div class="col-5 align-self-end"> <img src="<?php echo e(asset('admin/images/profile-img.png')); ?>" alt="" class="img-fluid"> </div> </div> </div> <div class="card-body pt-0"> <div class="row"> <div class="col-sm-4"> <div class="avatar-md profile-user-wid mb-4"> <img src="<?php echo e(asset(empty(auth()->user()->feature_image)?'backend/images/avatar.jpg':auth()->user()->feature_image)); ?>" alt="" class="img-thumbnail rounded-circle"> </div> <h5 class="font-size-15 text-truncate"><?php echo e(auth()->user()->name); ?></h5> <p class="text-muted mb-0 text-truncate"><?php echo e(auth()->user()->phone); ?></p> </div> <div class="col-sm-8"> <div class="pt-4"> <div class="row"> <div class="col-6"> <h5 class="font-size-15"><?php echo e($total_category); ?></h5> <p class="text-muted mb-0">Total Category</p> </div> <div class="col-6"> <h5 class="font-size-15 font-weight-bolder"><?php echo e($total_post); ?></h5> <p class="text-muted mb-0">Total Post</p> </div> </div> <div class="mt-4"> <a href="<?php echo e(route('admin.profile',auth()->user()->name)); ?>" class="btn btn-primary waves-effect waves-light btn-sm">View Profile <i class="mdi mdi-arrow-right ml-1"></i></a> </div> </div> </div> </div> </div> </div> </div> <div class="col-lg-12"> <div class="card"> <div class="card-body pb-0"> <h4 class="card-title mb-4">Post Views TOP 10</h4> <div class="table-responsive"> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.table.index','data' => []]); ?> <?php $component->withName('table'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes([]); ?> <thead class="thead-light"> <tr> <th>ID</th> <th>Title</th> <th>Views</th> </tr> </thead> <tbody> <?php $__currentLoopData = $top_post; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="td-pointer" x-data @click=" window.open('<?php echo e(route("single",$post->id)); ?>','_blank') " > <td class="py-2"><?php echo e($post->id); ?></td> <td class="py-2"> <?php echo e(Str::limit($post->title, 100, '...')); ?> </td> <td class="py-2 text-center"> <?php echo e($post->view); ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/phkaynews-v2/resources/views/admin/dashboard.blade.php ENDPATH**/ ?>