<div class="tab-pane p-4 fade <?php if($tab == 'live-class'): ?> show active <?php endif; ?>" id="pills-live-class" role="tabpanel" aria-labelledby="pills-live-class-tab" tabindex="0">
    <div class="row">
        <div class="col-md-12">
            <h6><?php echo e(get_phrase('Class Schedules')); ?>:</h6>
        </div>
        <div class="col-md-12">
            <div class="table-responsive">
                <table class="table table-hover">
                    <thead>
                        <th>#</th>
                        <th><?php echo e(get_phrase('Topic')); ?></th>
                        <th><?php echo e(get_phrase('Date & time')); ?></th>
                        <th><?php echo e(get_phrase('Action')); ?></th>
                    </thead>
                    <tbody>

                        <?php $__currentLoopData = App\Models\Live_class::where('course_id', $course_details->id)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $live_class): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td><?php echo e(++$key); ?></td>
                                <td>
                                    <?php echo e($live_class->class_topic); ?>

                                </td>
                                <td><?php echo e(date('d M Y - h:i A', strtotime($live_class->class_date_and_time))); ?></td>
                                <td>
                                    <a href="<?php echo e(route('live.class.join', ['id' => $live_class->id])); ?>"
                                        class="btn py-0 ps-1 pe-1 text-dark" data-bs-toggle="tooltip"
                                        data-bs-title="<?php echo e(get_phrase('Join Now')); ?>"><i
                                            class="fi-rr-video-camera"></i></a>
                                </td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<?php /**PATH /var/www/payraty/lms_main/resources/views/course_player/live_class/index.blade.php ENDPATH**/ ?>