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

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

<!-- Start main-content -->
<div class="main-content">
  <!-- Section: inner-header -->
  <section class="inner-header divider parallax layer-overlay overlay-dark-5" data-bg-img="<?php echo e(asset('assets/images/bg/bg6.jpg')); ?>" style="background-image: url(&quot;images/bg/bg6.jpg&quot;); background-position: 50% 58px;">
    <div class="container pt-30 pb-40">
      <!-- Section Content -->
      <div class="section-content">
        <div class="row">
          <div class="col-md-12">
            <h2 class="title text-white text-center">Course: <?php echo e($grade->name); ?></h2>

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

  <section>
    <div class="container">
      <div class="row">
        <div class="col-md-9 blog-pull-right">
          <?php $__currentLoopData = $grade->courses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <div class="row mb-15">

            <div class="col-sm-12 col-md-12 course-section">
              <h4 class="line-bottom line-bottom2 mt-0 mt-sm-20"><?php echo e($c->name); ?></h4>

               <h4 class="mt-0"><span class="text-theme-color-2">Price :</span> $<?php echo e($c->price); ?> <span class="pull-right" ><h4 class="mt-0"><span class="text-theme-color-2">Prerequisite :</span> <?php echo e($c->prerequisite); ?></h4></span></h4>


              <p><?php echo e($c->description); ?></p>
              <a class="btn btn-dark btn-theme-colored btn-md text-uppercase mt-10" href="<?php echo e(route('course_detail', Crypt::encrypt($c->id))); ?>">Course Outline</a>
              <a class="btn btn-danger  btn-md text-uppercase mt-10" href="<?php echo e(route('registration', Crypt::encrypt($c->id))); ?>">Register now</a>
            </div>
          </div>
          <hr>
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


        </div>
        <div class="col-md-3">
          <div class="sidebar sidebar-left mt-sm-30">

            <div class="widget">
              <h5 class="widget-title line-bottom">Course <span class="text-theme-color-2">Categories</span></h5>
              <div class="categories">
                <ul class="list list-border angle-double-right">
                  <?php
                  $gradesall = App\Modals\Grade::all();
                   ?>
                  <?php $__currentLoopData = $gradesall; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $g2): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  <li><a href="<?php echo e(route('grade_detail', Crypt::encrypt($g2->id))); ?>"><?php echo e($g2->name); ?> <span></span></a></li>
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  <li><a href="fast-track-credit.php">Fast Track Credit</a></li>
                  <li><a href="summer-school.php">Summer School</a></li>
                  <li><a href="tuition.php">Tution</a></li>
                </ul>
              </div>
            </div>
            <div class="widget">
              <h5 class="widget-title line-bottom">Opening <span class="text-theme-color-2">Hours</span></h5>
              <div class="opening-hours">
                <ul class="list-border">
                  <li class="clearfix"> <span> <strong>Mon - Fri:</strong>  </span>
                    <div class="value pull-right"> 09:00 am - 08:00 pm</div>
                  </li>

                  <li class="clearfix"> <span> <strong>Sat:</strong> </span>
                    <div class="value pull-right"> 10:00 am - 01:00 pm</div>
                  </li>
                  <li class="clearfix"> <span> <strong>Sun:</strong> </span>
                    <div class="value pull-right"> Closed </div>
                  </li>
                </ul>
              </div>
            </div>

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

    </div>
  </section>

</div>
<!-- end main-content -->

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

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

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

<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\freelance\school\school\resources\views/web/grade.blade.php ENDPATH**/ ?>