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

<!--Page Title-->
<section class="page-title" style="background: url(../frontend/images/resources/page-title.jpg);">
    <div class="container clearfix">
        <div class="title pull-left">
            <h2>Courses</h2>
        </div>
        <ul class="title-manu pull-right">
            <li><a href="index.html">home</a></li>
            <li><i class="fa fa-angle-double-right" aria-hidden="true"></i></li>
            <li>Courses</li>
        </ul>
    </div>
</section>
<!--End Page Title-->


<!-- ==================== Start Courses ==================== -->

<section class="section courses-list-section">
    <div class="container">
        <div class="left-side-area">
                <div class="row">
                   <?php if(count($related_courses) > 0): ?>
                        <?php $__currentLoopData = $related_courses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $related_course): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="col-xl-6 col-sm-12">
                                <div class="course-item-one">
                                    <div class="image-box">
                                        <figure>
                                            <img src="<?php echo e(asset('../backend/images/courses/'.$related_course->course_img)); ?>" alt="">
                                        </figure>
                                        <div class="overlay">
                                            <a class="link-btn" href="<?php echo e(route('viewcourses',$related_course->slug)); ?>">
                                                <i class="fa fa-link"></i>
                                            </a>
                                        </div>
                                    </div>
                                    <div class="image-text">
                                        <h6><a href="<?php echo e(route('viewcourses',$related_course->slug)); ?>"><?php echo e($related_course->course_name); ?></a></h6>
                                        <?php echo e($related_course->slug); ?>

                                        <ul class="ratting-star">
                                            <li><i class="fa fa-star" aria-hidden="true"></i></li>
                                            <li><i class="fa fa-star" aria-hidden="true"></i></li>
                                            <li><i class="fa fa-star" aria-hidden="true"></i></li>
                                            <li><i class="fa fa-star" aria-hidden="true"></i></li>
                                            <li><i class="fa fa-star-o" aria-hidden="true"></i></li>
                                        </ul>
                                        <div class="course-info clearfix">
                                            <ul class="float-left">
                                                
                                                <li><i class="fa fa-user" aria-hidden="true"></i>Duration / <?php echo e($related_course->course_duration); ?></li>
                                            </ul>
                                            <ul class="float-right">
                                                <li><i class="fa fa-money" aria-hidden="true"></i>Fees</li>
                                                <li><h5>Rs.<?php echo e($related_course->course_fees); ?> / <?php echo e($related_course->course_fees_type); ?></h5></li>
                                            </ul>
                                        </div>
                                        <div class="courses-bottom clearfix">
                                            <div class="link-btn float-left">
                                                <a href="<?php echo e(route('viewcourses',$related_course->slug)); ?>" class="thm-btn bg-clr1">View Details &nbsp;<i class="fa fa-arrow-right"></i></a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php else: ?>

                    <div class="col-md-12 no-record">
                        <h3 class="text-center">
                            <i class="fa fa-frown-o"></i><br>
                            No Record Found
                        </h3>
                    </div>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- ==================== End Courses ==================== -->


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

<?php echo $__env->make('frontend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\gyanoday_laravel\resources\views/frontend/related-courses.blade.php ENDPATH**/ ?>