shell bypass 403

UnknownSec Shell


name : 2e8f2826d0838d26bfac346e46efffd035d34f69.php
<div>
    <div class="quiz__details">
        <div class="container">
            <div class="row justify-content-center ">
                <div class="col-xl-10">
                    <div class="row">
                        <div class="col-12">
                            <div class="quiz_test_wrapper mb_60">
                                <div class="quiz_test_header">
                                    <h3> <?php echo e($course->quiz->title); ?></h3>
                                </div>
                                <div class="quiz_test_body">

                                    <ul class="quiz_test_info">

                                        <?php

                                            $duration =0;

                                                                                       $type =$course->quiz->question_time_type;
                                                                                       if ($type==0){
                                                                                           $duration = $course->quiz->question_time*count($course->quiz->assign);
                                                                                       }else{
                                                                                           $duration = $course->quiz->question_time;

                                                                                       }


                                        ?>
                                        <li>
                                            <span><?php echo e(__('frontend.Questions')); ?> <span>:</span></span><?php echo e(count($course->quiz->assign)); ?>

                                            <?php echo e(__('frontend.Question')); ?>.
                                        </li>
                                        <li class="nowrap">
                                            <span><?php echo e(__('frontend.Duration')); ?>   <span>:</span></span> <?php echo e(MinuteFormat($duration)); ?>

                                        </li>
                                    </ul>
                                    <?php if(Auth::check() && $isEnrolled): ?>

                                        <?php if($alreadyJoin == 0 || $course->quiz->multiple_attend == 1): ?>
                                            <a href="<?php echo e(route('quizStart',[$course->id,$course->quiz->id,$course->title])); ?>"
                                               class="theme_btn mr_15 m-auto mt-4 text-center"
                                            ><?php echo e(__('frontend.Start Quiz')); ?></a>
                                        <?php endif; ?>


                                        <?php if(count($preResult)!=0): ?>
                                            <button type="button"
                                                    class="theme_line_btn mr_15 m-auto mt-4  text-center  showHistory "><?php echo e(__('frontend.View History')); ?></button>
                                        <?php endif; ?>

                                        <?php if($alreadyJoin == 1 && $certificate): ?>
                                            <?php if($isPass==1): ?>
                                                <a href="<?php echo e($isPass==1?route('getCertificate',[$course->id,$course->title]):'#'); ?>"
                                                   class="theme_line_btn mr_15 m-auto mt-4  text-center">
                                                    <?php echo e(__('frontend.Get Certificate')); ?>

                                                </a>
                                            <?php endif; ?>
                                        <?php endif; ?>
                                    <?php else: ?>
                                        <?php if(!onlySubscription()): ?>
                                            <?php if($isFree): ?>
                                                <?php if($is_cart == 1): ?>
                                                    <a href="javascript:void(0)"
                                                       class="theme_btn text-center height_50 mb_10"><?php echo e(__('common.Added To Cart')); ?></a>
                                                <?php else: ?>
                                                    <a href="<?php echo e(route('addToCart',[@$course->id])); ?>"
                                                       class="theme_btn text-center height_50 mb_10"><?php echo e(__('common.Add To Cart')); ?></a>
                                                <?php endif; ?>
                                            <?php else: ?>
                                                <a href="<?php echo e(route('buyNow',[@$course->id])); ?>"
                                                   class="theme_btn mr_15 m-auto mt-4 text-center"
                                                ><?php echo e(__('frontend.Buy Now')); ?></a>
                                            <?php endif; ?>
                                        <?php endif; ?>
                                    <?php endif; ?>



                                    <?php if(count($preResult)!=0): ?>
                                        <div id="historyDiv" class="pt-5 " style="display:none;">
                                            <table class="table table-bordered">
                                                <tr>
                                                    <th>Date</th>
                                                    <th>Mark</th>
                                                    <th>Percentage</th>
                                                    <th>Rating</th>
                                                    <th>Details</th>
                                                </tr>
                                                <?php $__currentLoopData = $preResult; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pre): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <tr>
                                                        <td><?php echo e($pre['date']); ?></td>
                                                        <td><?php echo e($pre['publish']==1?$pre['score']:'--'); ?>

                                                            /<?php echo e($pre['totalScore']); ?></td>
                                                        <td>
                                                            <?php echo e($pre['publish']==1?$pre['mark']:'--'); ?> %
                                                        </td>
                                                        <?php if($pre['publish']==1): ?>
                                                            <td class="<?php echo e($pre['text_color']); ?>"><?php echo e($pre['status']); ?></td>
                                                        <?php else: ?>
                                                            <td class=""><?php echo e(__('quiz.Pending')); ?></td>
                                                        <?php endif; ?>

                                                        <td>
                                                            <a href="<?php echo e($course->quiz->show_ans_sheet==1?route('quizResultPreview',$pre['quiz_test_id']):'#'); ?>"
                                                               data-quiz_test_id="<?php echo e($pre['quiz_test_id']); ?>"
                                                               title="<?php echo e($course->quiz->show_ans_sheet!=1?__('quiz.Answer Sheet is currently locked by Teacher'):''); ?>"
                                                               class=" font_1 font_16 f_w_600 theme_text3 submit_q_btn"><?php echo e(__('student.See Answer Sheet')); ?></a>
                                                        </td>
                                                    </tr>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </table>

                                            <?php if($course->quiz->show_ans_with_explanation==1): ?>
                                                <?php if (isset($component)) { $__componentOriginalb96ddcb3ace74014887b2a0d14682609c87d7029 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\QuizDetailsQuestionList::class, ['quiz' => $course->quiz]); ?>
<?php $component->withName('quiz-details-question-list'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php if (isset($__componentOriginalb96ddcb3ace74014887b2a0d14682609c87d7029)): ?>
<?php $component = $__componentOriginalb96ddcb3ace74014887b2a0d14682609c87d7029; ?>
<?php unset($__componentOriginalb96ddcb3ace74014887b2a0d14682609c87d7029); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
                                            <?php endif; ?>
                                        </div>

                                    <?php endif; ?>


                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xl-8 col-lg-8">
                            <div class="course_tabs">
                                <ul class="w-100 nav lms_tabmenu mb_55" id="myTab" role="tablist">
                                    <li class="nav-item">
                                        <a class="nav-link active" id="Overview-tab" data-toggle="tab" href="#Overview"
                                           role="tab" aria-controls="Overview"
                                           aria-selected="true"><?php echo e(__('frontend.Overview')); ?></a>
                                    </li>
                                    <?php if(Settings('hide_review_section')!='1'): ?>
                                        <li class="nav-item">
                                            <a class="nav-link" id="Reviews-tab" data-toggle="tab" href="#Reviews"
                                               role="tab" aria-controls="Instructor"
                                               aria-selected="false"><?php echo e(__('frontend.Reviews')); ?></a>
                                        </li>
                                    <?php endif; ?>
                                    <?php if(Settings('hide_qa_section')!='1'): ?>
                                        <li class="nav-item">
                                            <a class="nav-link" id="QA-tab" data-toggle="tab" href="#QASection"
                                               role="tab" aria-controls="Instructor"
                                               aria-selected="false"><?php echo e(__('frontend.QA')); ?></a>
                                        </li>
                                    <?php endif; ?>
                                </ul>
                            </div>
                            <div class="tab-content lms_tab_content" id="myTabContent">
                                <div class="tab-pane fade show active " id="Overview" role="tabpanel"
                                     aria-labelledby="Overview-tab">
                                    <!-- content  -->
                                    <div class="course_overview_description">
                                        <div class="single_overview">
                                            <h4 class="font_22 f_w_700 mb_20"><?php echo e(__('frontend.Instructions')); ?></h4>
                                            <div class="theme_border"></div>
                                            <p class="mb_25">  <?php echo e($course->quiz->instruction); ?> </p>

                                            <?php if(!empty($course->requirements)): ?>
                                                <h4 class="font_22 f_w_700 mb_20"><?php echo e(__('frontend.Course Requirements')); ?></h4>
                                                <div class="theme_border"></div>
                                                <div class="row">
                                                    <div class="col-12">
                                                        <div class="table-responsive">
                                                            <?php echo $course->requirements; ?>

                                                        </div>
                                                    </div>

                                                </div>
                                                <p class="mb_20">
                                                </p>
                                            <?php endif; ?>
                                            <?php if(!empty($course->about)): ?>
                                                <h4 class="font_22 f_w_700 mb_20"><?php echo e(__('frontend.Course Description')); ?></h4>
                                                <div class="theme_border"></div>
                                                <div class="row">
                                                    <div class="col-12">
                                                        <div class="table-responsive">
                                                            <?php echo $course->about; ?>

                                                        </div>
                                                    </div>
                                                </div>
                                                <p class="mb_20">
                                                </p>
                                            <?php endif; ?>

                                            <?php if(!empty($course->outcomes)): ?>
                                                <h4 class="font_22 f_w_700 mb_20"><?php echo e(__('frontend.Course Outcomes')); ?></h4>
                                                <div class="theme_border"></div>
                                                <div class="row">
                                                    <div class="col-12">
                                                        <div class="table-responsive">
                                                            <?php echo $course->outcomes; ?>

                                                        </div>
                                                    </div>
                                                </div>
                                                <p class="mb_20">
                                                </p>
                                            <?php endif; ?>

                                        </div>


                                    </div>
                                    <!--/ content  -->
                                </div>
                                <div class="tab-pane fade " id="Reviews" role="tabpanel" aria-labelledby="Reviews-tab">
                                    <!-- content  -->
                                    <div class="course_review_wrapper">
                                        <div class="details_title">
                                            <h4 class="font_22 f_w_700"><?php echo e(__('frontend.Student Feedback')); ?></h4>
                                            <p class="font_16 f_w_400"><?php echo e($course->title); ?></p>
                                        </div>
                                        <div class="course_feedback">
                                            <div class="course_feedback_left">
                                                <h2><?php echo e($course->totalReview); ?></h2>
                                                <div class="feedmak_stars">
                                                    <?php

                                                        $main_stars=$course->totalReview;

                                                        $stars=intval($course->totalReview);

                                                    ?>
                                                    <?php for($i = 0; $i <  $stars; $i++): ?>
                                                        <i class="fas fa-star"></i>
                                                    <?php endfor; ?>
                                                    <?php if($main_stars>$stars): ?>
                                                        <i class="fas fa-star-half"></i>
                                                    <?php endif; ?>
                                                    <?php if($main_stars==0): ?>
                                                        <?php for($i = 0; $i <  5; $i++): ?>
                                                            <i class="far fa-star"></i>
                                                        <?php endfor; ?>
                                                    <?php endif; ?>
                                                </div>
                                                <span><?php echo e(__('frontend.Course Rating')); ?></span>
                                            </div>
                                            <div class="feedbark_progressbar">
                                                <div class="single_progrssbar">
                                                    <div class="progress">
                                                        <div class="progress-bar" role="progressbar"
                                                             style="width: <?php echo e(getPercentageRating($course->starWiseReview,5)); ?>%"
                                                             aria-valuenow="<?php echo e(getPercentageRating($course->starWiseReview,5)); ?>"
                                                             aria-valuemin="0" aria-valuemax="100">
                                                        </div>
                                                    </div>
                                                    <div class="rating_percent d-flex align-items-center">
                                                        <div class="feedmak_stars d-flex align-items-center">
                                                            <i class="fas fa-star"></i>
                                                            <i class="fas fa-star"></i>
                                                            <i class="fas fa-star"></i>
                                                            <i class="fas fa-star"></i>
                                                            <i class="fas fa-star"></i>
                                                        </div>
                                                        <span><?php echo e(getPercentageRating($course->starWiseReview,5)); ?>%</span>
                                                    </div>
                                                </div>
                                                <div class="single_progrssbar">
                                                    <div class="progress">
                                                        <div class="progress-bar" role="progressbar"
                                                             style="width: <?php echo e(getPercentageRating($course->starWiseReview,4)); ?>%"
                                                             aria-valuenow="<?php echo e(getPercentageRating($course->starWiseReview,4)); ?>"
                                                             aria-valuemin="0" aria-valuemax="100">
                                                        </div>
                                                    </div>
                                                    <div class="rating_percent d-flex align-items-center">
                                                        <div class="feedmak_stars d-flex align-items-center">
                                                            <i class="fas fa-star"></i>
                                                            <i class="fas fa-star"></i>
                                                            <i class="fas fa-star"></i>
                                                            <i class="fas fa-star"></i>
                                                            <i class="far fa-star"></i>
                                                        </div>
                                                        <span><?php echo e(getPercentageRating($course->starWiseReview,4)); ?>%</span>
                                                    </div>
                                                </div>
                                                <div class="single_progrssbar">
                                                    <div class="progress">
                                                        <div class="progress-bar" role="progressbar"
                                                             style="width: <?php echo e(getPercentageRating($course->starWiseReview,3)); ?>%"
                                                             aria-valuenow="<?php echo e(getPercentageRating($course->starWiseReview,3)); ?>"
                                                             aria-valuemin="0" aria-valuemax="100">
                                                        </div>
                                                    </div>
                                                    <div class="rating_percent d-flex align-items-center">
                                                        <div class="feedmak_stars d-flex align-items-center">
                                                            <i class="fas fa-star"></i>
                                                            <i class="fas fa-star"></i>
                                                            <i class="fas fa-star"></i>
                                                            <i class="far fa-star"></i>
                                                            <i class="far fa-star"></i>

                                                        </div>
                                                        <span><?php echo e(getPercentageRating($course->starWiseReview,3)); ?>%</span>
                                                    </div>
                                                </div>
                                                <div class="single_progrssbar">
                                                    <div class="progress">
                                                        <div class="progress-bar" role="progressbar"
                                                             style="width: <?php echo e(getPercentageRating($course->starWiseReview,2)); ?>%"
                                                             aria-valuenow="<?php echo e(getPercentageRating($course->starWiseReview,2)); ?>"
                                                             aria-valuemin="0" aria-valuemax="100">
                                                        </div>
                                                    </div>
                                                    <div class="rating_percent d-flex align-items-center">
                                                        <div class="feedmak_stars d-flex align-items-center">
                                                            <i class="fas fa-star"></i>
                                                            <i class="fas fa-star"></i>
                                                            <i class="far fa-star"></i>
                                                            <i class="far fa-star"></i>
                                                            <i class="far fa-star"></i>
                                                        </div>
                                                        <span><?php echo e(getPercentageRating($course->starWiseReview,2)); ?>%</span>
                                                    </div>
                                                </div>
                                                <div class="single_progrssbar">
                                                    <div class="progress">
                                                        <div class="progress-bar" role="progressbar"
                                                             style="width: <?php echo e(getPercentageRating($course->starWiseReview,1)); ?>%"
                                                             aria-valuenow="<?php echo e(getPercentageRating($course->starWiseReview,1)); ?>"
                                                             aria-valuemin="0" aria-valuemax="100">
                                                        </div>
                                                    </div>
                                                    <div class="rating_percent d-flex align-items-center">
                                                        <div class="feedmak_stars d-flex align-items-center">
                                                            <i class="fas fa-star"></i>
                                                            <i class="far fa-star"></i>
                                                            <i class="far fa-star"></i>
                                                            <i class="far fa-star"></i>
                                                            <i class="far fa-star"></i>
                                                        </div>
                                                        <span><?php echo e(getPercentageRating($course->starWiseReview,1)); ?>%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="course_review_header mb_20">
                                            <div class="row align-items-center">
                                                <div class="col-md-6">
                                                    <div class="review_poients">
                                                        <?php if($course->reviews->count()<1): ?>
                                                            <?php if(Auth::check() && $isEnrolled): ?>
                                                                <p class="theme_color font_16 mb-0"><?php echo e(__('frontend.Be the first reviewer')); ?></p>
                                                            <?php else: ?>

                                                                <p class="theme_color font_16 mb-0"><?php echo e(__('frontend.No Review found')); ?></p>
                                                            <?php endif; ?>

                                                        <?php else: ?>


                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                                <div class="col-md-6">
                                                    <div class="rating_star text-right">

                                                        <?php
                                                            $PickId=$course->id;
                                                        ?>
                                                        <?php if(Auth::check() && Auth::user()->role_id==3): ?>
                                                            <?php if(!in_array(Auth::user()->id,$reviewer_user_ids) && $isEnrolled): ?>

                                                                <div
                                                                    class="star_icon d-flex align-items-center justify-content-end">
                                                                    <a class="rating">
                                                                        <input type="radio" id="star5" name="rating"
                                                                               value="5"
                                                                               class="rating"/><label
                                                                            class="full" for="star5" id="star5"
                                                                            title="Awesome - 5 stars"
                                                                            onclick="Rates(5, <?php echo e(@$PickId); ?>)"></label>

                                                                        <input type="radio" id="star4" name="rating"
                                                                               value="4"
                                                                               class="rating"/><label
                                                                            class="full" for="star4"
                                                                            title="Pretty good - 4 stars"
                                                                            onclick="Rates(4, <?php echo e(@$PickId); ?>)"></label>

                                                                        <input type="radio" id="star3" name="rating"
                                                                               value="3"
                                                                               class="rating"/><label
                                                                            class="full" for="star3"
                                                                            title="Meh - 3 stars"
                                                                            onclick="Rates(3, <?php echo e(@$PickId); ?>)"></label>

                                                                        <input type="radio" id="star2" name="rating"
                                                                               value="2"
                                                                               class="rating"/><label
                                                                            class="full" for="star2"
                                                                            title="Kinda bad - 2 stars"
                                                                            onclick="Rates(2, <?php echo e(@$PickId); ?>)"></label>

                                                                        <input type="radio" id="star1" name="rating"
                                                                               value="1"
                                                                               class="rating"/><label
                                                                            class="full" for="star1"
                                                                            title="Bad  - 1 star"
                                                                            onclick="Rates(1,<?php echo e(@$PickId); ?>)"></label>

                                                                    </a>
                                                                </div>
                                                            <?php endif; ?>
                                                        <?php else: ?>

                                                            <p class="font_14 f_w_400 mt-0"><a href="<?php echo e(url('login')); ?>"
                                                                                               class="theme_color2"><?php echo e(__('frontend.Sign In')); ?></a>
                                                                <?php echo e(__('frontend.or')); ?> <a
                                                                    class="theme_color2"
                                                                    href="<?php echo e(url('register')); ?>"><?php echo e(__('frontend.Sign Up')); ?></a>
                                                                <?php echo e(__('frontend.as student to post a review')); ?></p>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="course_cutomer_reviews">
                                            <div class="details_title">
                                                <h4 class="font_22 f_w_700"><?php echo e(__('frontend.Reviews')); ?></h4>

                                            </div>
                                            <div class="customers_reviews" id="customers_reviews">


                                            </div>
                                        </div>

                                        <div class="author_courses">
                                            <div class="section__title mb_80">
                                                <h3><?php echo e(__('frontend.Course you might like')); ?></h3>
                                            </div>
                                            <div class="row">
                                                <?php $__currentLoopData = @$related; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $r): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <div class="col-xl-6">
                                                        <div class="couse_wizged mb_30">
                                                            <div class="thumb">
                                                                <a href="<?php echo e(courseDetailsUrl(@$r->id,@$r->type,@$r->slug)); ?>">
                                                                    <img class="w-100"
                                                                         src="<?php echo e(file_exists($r->thumbnail) ? asset($r->thumbnail) : asset('public/\uploads/course_sample.png')); ?>"
                                                                         alt="">


                                                                    <?php if (isset($component)) { $__componentOriginal584ade79a82150a936ef53728517a659b0812861 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\PriceTag::class, ['price' => $r->price,'discount' => $r->discount_price]); ?>
<?php $component->withName('price-tag'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php if (isset($__componentOriginal584ade79a82150a936ef53728517a659b0812861)): ?>
<?php $component = $__componentOriginal584ade79a82150a936ef53728517a659b0812861; ?>
<?php unset($__componentOriginal584ade79a82150a936ef53728517a659b0812861); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
                                                                </a>
                                                            </div>
                                                            <div class="course_content">
                                                                <a href="<?php echo e(courseDetailsUrl(@$r->id,@$r->type,@$r->slug)); ?>">
                                                                    <h4><?php echo e(@$r->title); ?></h4>
                                                                </a>
                                                                <div class="rating_cart">
                                                                    <div class="rateing">
                                                                        <span><?php echo e($r->totalReview); ?>/5</span>
                                                                        <i class="fas fa-star"></i>
                                                                    </div>
                                                                    <?php if(auth()->guard()->check()): ?>
                                                                        <?php if(!$r->isLoginUserEnrolled && !$r->isLoginUserCart): ?>
                                                                            <a href="#" class="cart_store"
                                                                               data-id="<?php echo e($r->id); ?>">
                                                                                <i class="fas fa-shopping-cart"></i>
                                                                            </a>
                                                                        <?php endif; ?>
                                                                    <?php endif; ?>
                                                                    <?php if(auth()->guard()->guest()): ?>
                                                                        <?php if(!$r->isGuestUserCart): ?>
                                                                            <a href="#" class="cart_store"
                                                                               data-id="<?php echo e($r->id); ?>">
                                                                                <i class="fas fa-shopping-cart"></i>
                                                                            </a>
                                                                        <?php endif; ?>
                                                                    <?php endif; ?>
                                                                </div>
                                                                <div class="course_less_students">
                                                                    <a href="#"> <i
                                                                            class="ti-agenda"></i> <?php echo e(count($r->lessons)); ?>

                                                                        <?php echo e(__('frontend.Lessons')); ?></a>
                                                                    <a href="#"> <i
                                                                            class="ti-user"></i> <?php echo e($r->total_enrolled); ?>

                                                                        <?php echo e(__('frontend.Students')); ?> </a>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </div>
                                        </div>
                                    </div>
                                    <!-- content  -->
                                </div>


                                <div class="tab-pane fade " id="QASection" role="tabpanel" aria-labelledby="QA-tab">
                                    <!-- content  -->

                                    <div class="conversition_box">
                                        <div id="conversition_box"></div>

                                        <div class="row">
                                            <?php if($isEnrolled): ?>
                                                <div class="col-lg-12 " id="mainComment">
                                                    <form action="<?php echo e(route('saveComment')); ?>" method="post" class="">
                                                        <?php echo csrf_field(); ?>
                                                        <input type="hidden" name="course_id" value="<?php echo e(@$course->id); ?>">
                                                        <div class="row">
                                                            <div class="col-12">
                                                                <div class="section_title3 mb_20">
                                                                    <h3><?php echo e(__('frontend.Leave a question/comment')); ?></h3>
                                                                </div>
                                                            </div>
                                                            <div class="col-lg-12">
                                                                <div class="single_input mb_25">
                                                                                        <textarea
                                                                                            placeholder="<?php echo e(__('frontend.Leave a question/comment')); ?>"
                                                                                            name="comment"
                                                                                            class="primary_textarea gray_input"></textarea>
                                                                </div>
                                                            </div>
                                                            <div class="col-lg-12 mb_30">

                                                                <button type="submit"
                                                                        class="theme_btn height_50">
                                                                    <i class="fas fa-comments"></i>
                                                                    <?php echo e(__('frontend.Question')); ?>/
                                                                    <?php echo e(__('frontend.comment')); ?>

                                                                </button>
                                                            </div>
                                                        </div>
                                                    </form>
                                                </div>
                                            <?php endif; ?>
                                        </div>
                                    </div>

                                </div>

                            </div>
                        </div>

                        <div class="col-xl-4 col-lg-4">
                            <div class="sidebar__widget mb_30">
                                <div class="sidebar__title">
                                    <h3>
                                        <?php if(@$course->discount_price!=null): ?>

                                            <?php echo e(getPriceFormat($course->discount_price)); ?>

                                        <?php else: ?>
                                            <?php echo e(getPriceFormat($course->price)); ?>

                                        <?php endif; ?>
                                    </h3>
                                    <p>
                                        <?php if(Auth::check() && $isBookmarked ): ?>
                                            <i class="fas fa-heart"></i>
                                            <a href="<?php echo e(route('bookmarkSave',[$course->id])); ?>"
                                               class=" mr_10 sm_mb_10"><?php echo e(__('frontend.Already Bookmarked')); ?>

                                            </a>
                                        <?php elseif(Auth::check() && !$isBookmarked ): ?>
                                            <a href="<?php echo e(route('bookmarkSave',[$course->id])); ?>"
                                               class="">
                                                <i
                                                    class="far fa-heart"></i>
                                                <?php echo e(__('frontend.Add To Bookmark')); ?>  </a>
                                    <?php endif; ?>
                                </div>
                                <?php if(!onlySubscription()): ?>
                                    <?php if(Auth::check()): ?>
                                        <?php if($isEnrolled): ?>
                                            <a href="#"
                                               class="theme_btn d-block text-center height_50 mb_10"><?php echo e(__('common.Already Enrolled')); ?></a>
                                        <?php else: ?>
                                            <?php if($isFree): ?>
                                                <?php if($is_cart == 1): ?>
                                                    <a href="javascript:void(0)"
                                                       class="theme_btn d-block text-center height_50 mb_10"><?php echo e(__('common.Added To Cart')); ?></a>
                                                <?php else: ?>
                                                    <a href="<?php echo e(route('addToCart',[@$course->id])); ?>"
                                                       class="theme_btn d-block text-center height_50 mb_10"><?php echo e(__('common.Add To Cart')); ?></a>
                                                <?php endif; ?>
                                            <?php else: ?>
                                                <?php if($is_cart == 1): ?>
                                                    <a href="javascript:void(0)"
                                                       class="theme_btn d-block text-center height_50 mb_10"><?php echo e(__('common.Added To Cart')); ?></a>
                                                <?php else: ?>
                                                    <a href=" <?php echo e(route('addToCart',[@$course->id])); ?> "
                                                       class="theme_btn d-block text-center height_50 mb_10"><?php echo e(__('common.Add To Cart')); ?></a>
                                                    <a href="<?php echo e(route('buyNow',[@$course->id])); ?>"
                                                       class="theme_line_btn d-block text-center height_50 mb_20"><?php echo e(__('common.Buy Now')); ?></a>
                                                <?php endif; ?>
                                            <?php endif; ?>
                                        <?php endif; ?>

                                    <?php else: ?>
                                        <?php if($isFree): ?>
                                            <?php if($is_cart == 1): ?>
                                                <a href="javascript:void(0)"
                                                   class="theme_btn d-block text-center height_50 mb_10"><?php echo e(__('common.Added To Cart')); ?></a>
                                            <?php else: ?>
                                                <a href=" <?php echo e(route('addToCart',[@$course->id])); ?> "
                                                   class="theme_btn d-block text-center height_50 mb_10"><?php echo e(__('common.Add To Cart')); ?></a>
                                            <?php endif; ?>
                                        <?php else: ?>
                                            <?php if($is_cart == 1): ?>
                                                <a href="javascript:void(0)"
                                                   class="theme_btn d-block text-center height_50 mb_10"><?php echo e(__('common.Added To Cart')); ?></a>
                                            <?php else: ?>
                                                <a href=" <?php echo e(route('addToCart',[@$course->id])); ?> "
                                                   class="theme_btn d-block text-center height_50 mb_10"><?php echo e(__('common.Add To Cart')); ?></a>
                                                <a href="<?php echo e(route('buyNow',[@$course->id])); ?>"
                                                   class="theme_line_btn d-block text-center height_50 mb_20"><?php echo e(__('common.Buy Now')); ?></a>
                                            <?php endif; ?>
                                        <?php endif; ?>
                                    <?php endif; ?>
                                <?php endif; ?>
                                <h4 class="f_w_700 mb_10"><?php echo e(__('frontend.This course includes')); ?>:</h4>
                                <ul class="course_includes">
                                    <li><i class="ti-thumb-up"></i>
                                        <p><?php echo e(__('frontend.Skill Level')); ?>

                                            <?php $__currentLoopData = $levels; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $level): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <?php if(@$course->level==$level->id): ?>
                                                    <?php echo e($level->title); ?>

                                                <?php endif; ?>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </p>
                                    </li>
                                    <li><i class="ti-agenda"></i>
                                        <p><?php echo e(__('frontend.Questions')); ?> <?php echo e(count($course->quiz->assign)); ?> </p></li>
                                    <li><i class="ti-user"></i>
                                        <p><?php echo e(__('frontend.Enrolled')); ?> <?php echo e($course->total_enrolled); ?> <?php echo e(__('frontend.students')); ?></p>
                                    </li>
                                    <li><i class="ti-user"></i>
                                        <p><?php echo e(__('frontend.Certificate of Completion')); ?></p></li>
                                    <li><i class="ti-blackboard"></i>
                                        <p><?php echo e(__('frontend.Full lifetime access')); ?></p></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal cs_modal fade admin-query" id="myModal" role="dialog">
        <div class="modal-dialog modal-lg modal-dialog-centered">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title"><?php echo e(__('frontend.Review')); ?></h5>
                    <button type="button" class="close" data-dismiss="modal"><i
                            class="ti-close "></i></button>
                </div>

                <form action="<?php echo e(route('submitReview')); ?>" method="Post">
                    <div class="modal-body">
                        <?php echo csrf_field(); ?>
                        <input type="hidden" name="course_id" id="rating_course_id"
                               value="">
                        <input type="hidden" name="rating" id="rating_value" value="">

                        <div class="text-center">
                                                                <textarea class="lms_summernote" name="review" id=""
                                                                          placeholder="<?php echo e(__('frontend.Write your review')); ?>"
                                                                          cols="30"
                                                                          rows="10"><?php echo e(old('review')); ?></textarea>
                            <span class="text-danger" role="alert"><?php echo e($errors->first('review')); ?></span>
                        </div>
                    </div>
                    <div class="modal-footer justify-content-center">
                        <div class="mt-40 d-flex justify-content-between">
                            <button type="button" class="theme_line_btn mr-2"
                                    data-dismiss="modal"><?php echo e(__('common.Cancel')); ?>

                            </button>
                            <button class="theme_btn "
                                    type="submit"><?php echo e(__('common.Submit')); ?></button>
                        </div>
                    </div>
                </form>

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

    <?php echo $__env->make(theme('partials._delete_model'), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<?php /**PATH /home/bouloter/infix/resources/views/frontend/infixlmstheme/components/quiz-details-page-section.blade.php ENDPATH**/ ?>

© 2025 UnknownSec
afwwrfwafr45458465
Password