
<?php $__env->startSection('title'); ?> পোষ্ট কাউন্ট | TESTPAPER <?php $__env->stopSection(); ?>
<?php $__env->startSection('class'); ?> active <?php $__env->stopSection(); ?>
<?php $__env->startSection('class.index'); ?> active <?php $__env->stopSection(); ?>
<?php $__env->startSection('styles'); ?>
<?php $__env->stopSection(); ?>

<!-- BEGIN: Content-->
<?php $__env->startSection('main_content_section'); ?>
<div class="row py-3 ps-2">
  <div class="heading d-flex justify-content-start heading-margin-bottom-minus">
    <h3 class="mb-0"><span>পোষ্ট কাউন্ট তালিকা</span></h3>
  </div>
</div>


<div class="table_wrapper py-1 card min-vh-100">
  <div class="row px-3">
    <div class="table-container table-responsive">
      <table id="" class="table table-bordered">
        <thead class="text-uppercase">
          <tr class="me-3">
            <th class="text-center" scope="col"><span>পোষ্টের নাম</span></th>
            <th class="text-center" scope="col"><span>ভিজিট</span></th>
          </tr>
        </thead>
        <tbody class="text-center">

          <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <?php if(isset($item) && $item != null): ?>
          <tr class="">
            <td class=" text-left" style="text-align:left;">
                <b class=" d-flex text-primary">শিরোনাম: <span class=" text-dark" style="font-weight: 600 !important;padding-left: 10px;" class=" pl-1 ml-2"> <?php echo $item->postData->post_title; ?></span></b>
                <b class=" text-primary" style=" margin-top: 15px !important;">রেফারেন্স: </b> 
                <span class=" text-violet" style="font-weight:600;">শ্রেণি:</span> <?php echo e($item->classData->class_name); ?>,
                <span class=" text-violet" style="font-weight:600;">বিষয়: </span> <?php echo e($item->subjectData->subject_name); ?>, 
                <span class=" text-violet" style="font-weight:600;">অধ্যায়: </span> <?php echo e($item->chapterData->chapter_name); ?> 
            </td>
            <?php
            $visitNumber = App\Models\UserPostClick::totalVisitCount($item->post_id);   
            ?>

            <td><?php echo e($visitNumber); ?> </td>
          </tr>
          <?php endif; ?>
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


        </tbody>
      </table>
    </div>
  </div>


</div>
<?php $__env->stopSection(); ?>
<!-- END: Content-->

<?php echo $__env->make('admin.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\Project\Personal-Project\Office-Project\update\test-paper-final\resources\views/admin/userPostCount/index.blade.php ENDPATH**/ ?>