<?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><?php echo e($view_courses->course_name); ?></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><?php echo e($view_courses->course_name); ?></li>
        </ul>
    </div>
</section>
<!--End Page Title-->


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

<section class="section courses-list-section">
    <div class="container">
        <div class="row">
            <div class="col-xl-8 col-sm-12">
                <div class="left-side-area">
                    <div class="image-box">
                        <figure>
                            <img src="<?php echo e(asset('../backend/images/courses/'.$view_courses->course_img)); ?>" alt="">
                        </figure>
                        <div class="price">
                            <p>Rs. <?php echo e($view_courses->course_fees); ?> / <?php echo e($view_courses->course_fees_type); ?></p>
                        </div>
                    </div>
                    <div class="image-content">
                        <div class="courses-bottom clearfix">
                            <div class="text-left float-left">
                                <h6><?php echo e($view_courses->course_name); ?></h6>
                                <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>
                            <div class="courses-info float-right clearfix">
                                <div class="course-left float-left">
                                    <p>Duration: <?php echo e($view_courses->course_duration); ?></p>
                                </div>
                            </div>
                        </div>
                        <div class="content-text">
                            <div class="text-area-one">
                                <?php echo $view_courses->course_description; ?>

                            </div>
                            <div class="row">
                                <div class="col-xl-12 col-sm-12">
                                    <div class="course-features">

                                        <h3>Eligibility</h3>

                                    </div>
                                    <br>

                                    <?php echo $view_courses->course_eligibility; ?>


                                </div>
                            </div>

                            <div class="course-instructor">
                                <div class="sub-title">
                                    <h6>Course Instructor:</h6>
                                </div>
                                <div class="row">
                                    <div class="col-xl-3 col-md-3 col-sm-12">
                                        <div class="image-box">
                                            <figure>
                                                <img src="<?php echo e(asset('frontend/images/resources/3.png')); ?>" alt="">
                                            </figure>
                                            <div class="text-info text-center">
                                                <h6>XYZ</h6>
                                                <p>Instructor Programmer</p>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-xl-9 col-md-9 col-sm-12">
                                        <div class="text">
                                            <p>...</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-xl-4 col-sm-12">
                <div class="right-side-bar">
                    <div class="side-menu">
                        <div class="contact-area">
                            <div class="row">
                                <div class="col-md-12 col-sm-12">
                                    <div class="sec-title-one pb-one">
                                        <h6>Enquiry Now</h6>
                                    </div>
                                    <?php if(Session::has('success')): ?>
                                        <div class="alert alert-success">
                                            <?php echo e(Session::get('success')); ?>

                                        </div>
                                    <?php endif; ?>

                                    <form id="contact_form" action="<?php echo e(route('course_enquiry.store')); ?>" method="POST" enctype="multipart/form-data" class="needs-validation" novalidate>
                                        <?php echo csrf_field(); ?>
                                        <div class="row clearfix">
                                            <div class="col-md-12 col-sm-12">
                                                <div class="form-group">
                                                    <input type="text" name="name" class="form-control" value="<?php echo e(old('name')); ?>" placeholder="Your Name *">
                                                    <?php if($errors->has('name')): ?>
                                                      <div class="text-danger"><?php echo e($errors->first('name')); ?></div>
                                                    <?php endif; ?>
                                                </div>
                                            </div>
                                            <div class="col-md-12 col-sm-12">
                                                <div class="form-group">
                                                    <input type="email" name="email" class="form-control" value="<?php echo e(old('email')); ?>" placeholder="Your Email *">
                                                    <?php if($errors->has('email')): ?>
                                                        <div class="text-danger"><?php echo e($errors->first('email')); ?></div>
                                                    <?php endif; ?>
                                                </div>
                                            </div>
                                            <div class="col-md-12 col-sm-12">
                                                <div class="form-group">
                                                    <input type="number" name="phone" class="form-control" value="<?php echo e(old('phone')); ?>" placeholder="Your  Number *">
                                                    <?php if($errors->has('phone')): ?>
                                                        <div class="text-danger"><?php echo e($errors->first('phone')); ?></div>
                                                    <?php endif; ?>
                                                </div>
                                            </div>
                                            <div class="col-md-12 col-sm-12">
                                                <div class="form-group">
                                                    <input type="text" name="subject" class="form-control" value="<?php echo e(old('subject')); ?>" placeholder="Your  Subject">
                                                </div>
                                            </div>
                                            <input type="hidden" name="course_name" class="form-control" value="<?php echo e($view_courses->course_name); ?>" >
                                            <div class="col-xl-12 col-sm-12">
                                                <div class="form-group form-bottom">
                                                    <input id="form_botcheck" name="form_botcheck" class="form-control" type="hidden" value="">
                                                    <button class="thm-btn bg-clr1" type="submit" data-loading-text="Please wait...">send message</button>
                                                </div>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                        <hr>
                        <div class="item-one">
                            <div class="sec-title-one pb-one">
                                <h6>All Course</h6>
                            </div>
                            <ul class="side-bar-menu">
                                <?php $__currentLoopData = $categorys; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                  <li><a href="<?php echo e(route('course',$category->slug )); ?>"><span></span><?php echo e($category->course_name); ?></a></li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        </div>
                        <div class="item-six">
                            <div class="free-consultation">
                                <div class="sec-title-one pb-one">
                                    <h6>Free Consultation</h6>
                                </div>
                                <div class="color-text">
                                    <p><a href="tel:<?php echo e($setup->contact_phone_1); ?>"><i class="fa fa-phone" aria-hidden="true"></i>+91-<?php echo e($setup->contact_phone_1); ?></a></p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

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


<?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/view-courses.blade.php ENDPATH**/ ?>