<?php $__env->startSection('content'); ?>



<div class="container">
  <div class="col-sm-12 col-12" id="mainpage">


   <div class="col-sm-12 col-12 p-0"  data-aos="fade-in" data-aos-duration="2000" >
    <ul class="list-group p-0">
      <li class="list-group-item font-weight-bold bg-success text-light" id="about"><?php echo app('translator')->get('frontend.online_lecture_upload'); ?></li>
      <li class="list-group-item">

        <div class="table table-responsive">
          <table id="example" class="display table-bordered" style="width:100%">
            <thead>
              <tr style="font-size: 15px;">
                <th>#</th>
                <th><?php echo app('translator')->get('common.date'); ?></th>
                <th><?php echo app('translator')->get('online_lecture_upload.class_name'); ?></th>
                <th><?php echo app('translator')->get('online_lecture_upload.group_name'); ?></th>
                <th><?php echo app('translator')->get('online_lecture_upload.title'); ?></th>
                <th><?php echo app('translator')->get('online_lecture_upload.teacher_name'); ?></th>
                <th><?php echo app('translator')->get('online_lecture_upload.video_url'); ?></th>
                <th><?php echo app('translator')->get('online_lecture_upload.image'); ?></th>
              </tr>
            </thead>
            <tbody>


              <?php
              $i = 1;
              ?>
              <?php if(isset($data)): ?>
              <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $d): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

              <tr style="font-size: 12px;">
                <td><?php echo e($i++); ?></td>
                <td><a style="text-decoration: none;color: black"><?php echo e(date('d M Y', strtotime($d->date))); ?></a></td>
                <td><?php if($lang == 'en'): ?><?php echo e($d->class_name ?: $d->class_name_bn); ?><?php else: ?> <?php echo e($d->class_name_bn ?: $d->class_name); ?><?php endif; ?></a></td>
                <td><?php if($lang == 'en'): ?><?php echo e($d->group_name ?: $d->group_name_bn); ?><?php else: ?> <?php echo e($d->group_name_bn ?: $d->group_name); ?><?php endif; ?></td>
                <td><?php if($lang == 'en'): ?><?php echo e(Str::limit($d->title_en, 50) ?: Str::limit($d->title_bn, 50)); ?><?php else: ?> <?php echo e(Str::limit($d->title_bn, 40) ?: Str::limit($d->title_en, 50)); ?><?php endif; ?></td>
                <td><?php if($lang == 'en'): ?><?php echo e($d->teacher_name_en ?: $d->teacher_name_bn); ?><?php else: ?> <?php echo e($d->teacher_name_bn ?: $d->teacher_name_en); ?><?php endif; ?></td>
                <td><a target="_blank" href="<?php echo e($d->video_url); ?>"><?php echo e($d->video_url); ?></a></td>
                <td><a href="<?php echo e(asset('/assets/images/online_lecture_upload/')); ?>/<?php echo e($d->image); ?>" class="btn btn-sm btn-danger" download="" ><span uk-icon="icon: download; ratio: 1"></span></a></td>
              </tr>


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



            </table>

          </div>

        </li>

      </ul>
    </div>
  </div>





</div>
</div>







<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/gzmcfenigov/public_html/resources/views/frontend/online_lecture.blade.php ENDPATH**/ ?>