

<?php $__env->startSection('content'); ?>
<h3 class="mb-4">Join Class</h3>

    <div class="card">
        <div class="card-body">

            <div class="table-responsive">
                <table class="table table-stripped">
                    <thead class="table-light">
                        <tr>
                            <th>Added By</th>
                            <th>Course</th>
                            <th>Time</th>
                            <th>Action</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $__currentLoopData = $links; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td>
                                    ID: <?php echo e($i->user?->id); ?> <br>
                                    Name: <?php echo e($i->user?->name); ?> <br>
                                    Role: <?php echo e($i->user?->role); ?>

                                </td>
                                <td>
                                    <?php echo e($i->course?->name); ?>

                                </td>
                                <td>
                                    <?php echo e($i->time->format('d M Y, h:i a')); ?>

                                </td>
                                <td>
                                    <a target="_blank" href="<?php echo e($i->link); ?>" class="btn btn-sm btn-primary">Join</a>
                                    <a href="<?php echo e(route('studentWorks')); ?>" class="btn btn-sm btn-dark">Work Submit</a>
                                </td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </table>
                <?php echo e($links->links('pagination::bootstrap-5')); ?>

            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/oursopno/smm.oursopnozonebd.top/resources/views/student/join_class.blade.php ENDPATH**/ ?>