
<?php $__env->startSection('title'); ?> পোস্ট কাউন্ট <?php $__env->stopSection(); ?>
<?php $__env->startSection('user-click-count'); ?>
active
<?php $__env->stopSection(); ?>
<?php $__env->startSection('user-click-count'); ?>
active
<?php $__env->stopSection(); ?>
<?php $__env->startSection('styles'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('admin_content'); ?>

<!-- BEGIN: Content-->
<div class="app-content content ">
    <div class="card">
        <div class="card-header">
            <div class="head-label">
                <h4>পোস্ট কাউন্ট তালিকা</h4>
            </div>
        </div>
        <div class="card-body">
            <div class="table-responsive custom-table-modify">
            <table id="myTable" class="table table-bordered">
                <thead>
                    <tr>
                        <th scope="col">সিরিয়াল</th>
                        <th scope="col">নাম</th>
                        <th scope="col">ভিজিট</th>
                    </tr>
                </thead>
                <tbody>

                    <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if(isset($result) && $result != null): ?>
                            <tr>
                                <td><?php echo e($loop->index+1); ?></td>
                                <td class=" text-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 $result->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($result->classData->class_name); ?>,
                                    <span class=" text-violet" style="font-weight:600;">বিষয়: </span> <?php echo e($result->subjectData->subject_name); ?>, 
                                    <span class=" text-violet" style="font-weight:600;">অধ্যায়: </span> <?php echo e($result->chapterData->chapter_name); ?> 
                                </td>
                                <?php
                                $visitNumber = App\Models\UserPostClick::totalVisitCount($result->post_id);   
                                ?>
                                <td><?php echo e($visitNumber); ?> </td>

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

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

</div>
<!-- END: Content-->

<?php $__env->stopSection(); ?>

<?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-finals\resources\views/admin/userPostCount/index.blade.php ENDPATH**/ ?>