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/19d4af5716f862d541a90a13e1771ca309294b46.php |
<?php $__env->startSection('meta'); ?> <title>ទំព័រដើម Phkay News </title> <meta property="og:image" content="<?php echo e(asset('thumbnail.jpg')); ?>" /> <meta property="og:url" content="<?php echo e(url()->current()); ?>" /> <meta property="og:title" content="Phkay news | គេហទំព័រដើម" /> <meta property="og:description" content="គេហទំព័រព័ត៌មានដែលឈានមុខគេនៅកម្ពុជា" /> <meta name="twitter:title" content="Phkay news | គេហទំព័រដើម" /> <meta name="twitter:description" content="គេហទំព័រព័ត៌មានដែលឈានមុខគេនៅកម្ពុជា" /> <meta property="og:type" content="agent" /> <meta name="theme-color" content="#ffffff"> <?php $__env->stopSection(); ?> <?php $__env->startPush('styles'); ?> <?php $__env->stopPush(); ?> <div class="mt-2 home-page position-relative"> <section class="post-top"> <div class="container"> <div class="row m-0"> <div class="col-lg-12"> <div class="row row-cols-1 row-cols-md-2 row-cols-lg-3 g-3"> <?php $__currentLoopData = $lastSlide; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col px-0 px-md-1 px-lg-2"> <a href="<?php echo e(route('single',$post->id)); ?>" class="card d-block h-100 top-post text-decoration-none position-relative bg-transparent tippy-tooltip" data-title="<?php echo e($post->title); ?>"> <span class="badge bg-primary text-white rounded-pill position-absolute top-cat"><?php echo e($post->post_categories->first()->category->name); ?></span> <div class="ratio ratio-16x9 border-bottom-0"> <img src="<?php echo e(asset($post->feature_image)); ?>" alt="" class="card-img-top object-fit-cover"> </div> <div class="card-body w-100 p-1 p-md-3 pb-0 pb-md-0 border-bottom border-primary border-2"> <h5 class="card-title post-title"><?php echo Str::limit($post->title, 80, '...'); ?></h5> <div class="desc"> <p><?php echo Str::limit(strip_tags($post->description), 80, '...'); ?></p> </div> <span class="d-flex flex-wrap flex-sm-row card-footer p-1 border-0 opacity-75"> <span class="badge badge-primary"> <i class='bx bx-calendar'></i> <?php echo e($post->date); ?> </span> </span> </div> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </section> <div class="container"> <div class="row"> <div class="col-lg-9"> <section class="my-4 home-sport"> <div class="card bg-transparent border-0"> <div class="cat-title d-flex justify-content-between"> <h6 class="font-title mb-0"><i class='bx bx-grid-vertical'></i>តារា</h6> <small class="align-self-center"> <a href="<?php echo e(route('category', 'sport')); ?>" class="text-decoration-none">អត្ថបទច្រើនទៀត<i class='bx bx-chevron-right'></i></a> </small> </div> <br> <div class="owl-carousel owl-category"> <?php $__currentLoopData = $dara; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a href="<?php echo e(route('single',$post->id)); ?>" class="card d-block h-100 top-post text-decoration-none bg-transparent position-relative tippy-tooltip" data-title="<?php echo e($post->title); ?>"> <div class="ratio ratio-16x9"> <img src="<?php echo e(asset($post->feature_image)); ?>" alt="" class="card-img-top object-fit-cover"> </div> <div class="card-body w-100 p-1 p-md-3 pb-0 pb-md-0 border-bottom border-primary border-2"> <h5 class="card-title"><?php echo Str::limit($post->title, 75, '...'); ?></h5> <div class="desc"> <p><?php echo Str::limit(strip_tags($post->description), 80, '...'); ?></p> </div> <span class="d-flex flex-wrap flex-sm-row card-footer p-1 border-0 opacity-75"> <span class="badge badge-primary"> <i class='bx bx-calendar'></i> <?php echo e($post->date); ?> </span> </span> </div> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </section> <section class="my-4 home-sport"> <div class="card bg-transparent border-0"> <div class="cat-title d-flex justify-content-between"> <h6 class="font-title mb-0"><i class='bx bx-grid-vertical'></i>កីឡា</h6> <small class="align-self-center"> <a href="<?php echo e(route('category', 'sport')); ?>" class="text-decoration-none">អត្ថបទច្រើនទៀត<i class='bx bx-chevron-right'></i></a> </small> </div> <br> <div class="owl-carousel owl-category"> <?php $__currentLoopData = $sports; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a href="<?php echo e(route('single',$post->id)); ?>" class="card d-block h-100 top-post text-decoration-none bg-transparent position-relative tippy-tooltip" data-title="<?php echo e($post->title); ?>"> <div class="ratio ratio-16x9"> <img src="<?php echo e(asset($post->feature_image)); ?>" alt="" class="card-img-top object-fit-cover"> </div> <div class="card-body w-100 p-1 p-md-3 pb-0 pb-md-0 border-bottom border-primary border-2"> <h5 class="card-title"><?php echo Str::limit($post->title, 75, '...'); ?></h5> <div class="desc"> <p><?php echo Str::limit(strip_tags($post->description), 80, '...'); ?></p> </div> <span class="d-flex flex-wrap flex-sm-row card-footer p-1 border-0 opacity-75"> <span class="badge badge-primary"> <i class='bx bx-calendar'></i> <?php echo e($post->date); ?> </span> </span> </div> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </section> <section class="my-4 home-sport"> <div class="card bg-transparent border-0"> <div class="cat-title d-flex justify-content-between"> <h6 class="font-title mb-0"><i class='bx bx-grid-vertical'></i>ព័ត៌មានជាតិ</h6> <small class="align-self-center"> <a href="<?php echo e(route('category', 'sport')); ?>" class="text-decoration-none">អត្ថបទច្រើនទៀត<i class='bx bx-chevron-right'></i></a> </small> </div> <br> <div class="owl-carousel owl-category"> <?php $__currentLoopData = $nationalNews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a href="<?php echo e(route('single',$post->id)); ?>" class="card d-block h-100 top-post text-decoration-none bg-transparent position-relative tippy-tooltip" data-title="<?php echo e($post->title); ?>"> <div class="ratio ratio-16x9"> <img src="<?php echo e(asset($post->feature_image)); ?>" alt="" class="card-img-top object-fit-cover"> </div> <div class="card-body w-100 p-1 p-md-3 pb-0 pb-md-0 border-bottom border-primary border-2"> <h5 class="card-title"><?php echo Str::limit($post->title, 75, '...'); ?></h5> <div class="desc"> <p><?php echo Str::limit(strip_tags($post->description), 80, '...'); ?></p> </div> <span class="d-flex flex-wrap flex-sm-row card-footer p-1 border-0 opacity-75"> <span class="badge badge-primary"> <i class='bx bx-calendar'></i> <?php echo e($post->date); ?> </span> </span> </div> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </section> <section class="my-4 home-sport"> <div class="card bg-transparent border-0"> <div class="cat-title d-flex justify-content-between"> <h6 class="font-title mb-0"><i class='bx bx-grid-vertical'></i>បច្ចេកវិទ្យា</h6> <small class="align-self-center"> <a href="<?php echo e(route('category', 'sport')); ?>" class="text-decoration-none">អត្ថបទច្រើនទៀត<i class='bx bx-chevron-right'></i></a> </small> </div> <br> <div class="owl-carousel owl-category"> <?php $__currentLoopData = $technologys; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a href="<?php echo e(route('single',$post->id)); ?>" class="card d-block h-100 top-post text-decoration-none bg-transparent position-relative tippy-tooltip" data-title="<?php echo e($post->title); ?>"> <div class="ratio ratio-16x9"> <img src="<?php echo e(asset($post->feature_image)); ?>" alt="" class="card-img-top object-fit-cover"> </div> <div class="card-body w-100 p-1 p-md-3 pb-0 pb-md-0 border-bottom border-primary border-2"> <h5 class="card-title"><?php echo Str::limit($post->title, 75, '...'); ?></h5> <div class="desc"> <p><?php echo Str::limit(strip_tags($post->description), 50, '...'); ?></p> </div> <span class="d-flex flex-wrap flex-sm-row card-footer p-1 border-0 opacity-75"> <span class="badge badge-primary"> <i class='bx bx-calendar'></i> <?php echo e($post->date); ?> </span> </span> </div> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </section> </div> <div class="col-lg-3"> <div class="img-thumbnail popular-post bg-transparent"> <h5 class="font-title text-center popular-title">☆ អត្ថបទពេញនិយម ☆</h5> <div class="row m-0"> <?php $__currentLoopData = $popular_post; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-md-6 col-lg-12 px-1 my-md-1"> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.home.popular','data' => ['class' => 'ratio-16x9 tippy-tooltip','dataTitle' => ''.e($post->title).'','card' => 'border-0','link' => route('single',$post->id),'thumbnail' => $post->feature_image,'title' => ''.Str::limit($post->title, 70, '...').'','date' => $post->date,'description' => ''.Str::limit(strip_tags($post->description), 80, '...').'']]); ?> <?php $component->withName('home.popular'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['class' => 'ratio-16x9 tippy-tooltip','data-title' => ''.e($post->title).'','card' => 'border-0','link' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('single',$post->id)),'thumbnail' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($post->feature_image),'title' => ''.Str::limit($post->title, 70, '...').'','date' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($post->date),'description' => ''.Str::limit(strip_tags($post->description), 80, '...').'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </div> <section> <div class="container"> <div class="card bg-transparent border-0"> <div class="card-body px-0"> <h4 class="cat-title font-title">ព័ត៌មានកំពូលទាំង ១០ ប្រចាំសប្តាហ៍</h4> <div class="owl-carousel owl-week"> <?php $__currentLoopData = $technologys; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.home.popular','data' => ['class' => 'ratio-16x9 tippy-tooltip','dataTitle' => ''.e($post->title).'','card' => 'border-0','link' => route('single',$post->id),'thumbnail' => $post->feature_image,'title' => ''.Str::limit($post->title, 80, '...').'','date' => $post->date,'description' => ''.Str::limit(strip_tags($post->description), 100, '...').'']]); ?> <?php $component->withName('home.popular'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php $component->withAttributes(['class' => 'ratio-16x9 tippy-tooltip','data-title' => ''.e($post->title).'','card' => 'border-0','link' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('single',$post->id)),'thumbnail' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($post->feature_image),'title' => ''.Str::limit($post->title, 80, '...').'','date' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($post->date),'description' => ''.Str::limit(strip_tags($post->description), 100, '...').'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </section> <?php if(!empty($advertise)): ?> <div class="modal fade" id="myModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable"> <div class="modal-content"> <div class="modal-body p-0"> <button class="position-absolute top-0 end-0 btn-close text-reset bg-danger" data-bs-dismiss="modal" aria-label="Close"></button> <a href="<?php echo e($advertise->url??'#'); ?>"> <img src="<?php echo e(asset($advertise->feature_image??'img/ads6.jpg')); ?>" alt="ads" class="img-thumbnail bg-transparent w-100 p-0"> </a> </div> </div> </div> </div> <?php endif; ?> </div><?php /**PATH /var/www/html/phkaynews-v2/resources/views/livewire/frontend/home-page.blade.php ENDPATH**/ ?>