

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

<?php $__env->startSection('content'); ?>
<?php echo $__env->make('includes.smallHeader', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- 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/main/images/bg/bg6.jpg')); ?>" style="background-image: url(&quot;<?php echo e(asset('assets/main/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">News</h2>

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

  <!-- Section: About -->
 <section style="margin-top:50px;">
    <div class="container">
      <div class="row pt-10">
        <div class="col-md-12" style="
    padding: 50px;margin-bottom: 50px;color:black">

    <?php $__currentLoopData = $news; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $new): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <div class="row">

            <div class="col-xs-4 col-sm-4 col-md-4">
              <div class="icon-box left media bg-black-333 p-30 mb-20"> <a class="media-left pull-left" href="#"> <i class="pe-7s-map-2 text-theme-color-2"></i></a>
                <img alt="no" style="width:250px" src="<?php echo e(asset('storage/mainheader/'.$new->image)); ?>"></img>

                </div>
              </div>

            <div class="col-xs-8 col-sm-8 col-md-8">
              <div class="icon-box left media bg-black-333 p-30 mb-20"> <a class="media-left pull-left" href="#"> <i class="pe-7s-map-2 text-theme-color-2"></i></a>

                  <p class="text-white" style="color:black !important" onclick="settet('<?php echo e($new->name); ?>')"><?php echo e($new->name); ?>.</p>
                </div>
              </div>


            </div>
            <hr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

          </div>
        </div>

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

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


    <!-- Modal -->
    <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
      <div class="modal-dialog" role="document" >
        <div class="modal-content" style="padding:50px">
          <div class="modal-header" style="    text-align: center;
    align-items: center;">
            <h5 class="modal-title" id="exampleModalLabel" style="width: 100%;">News</h5>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body" >

            <div class="row">

              <div class="col-md-12">
                <p id="myid"></p>

            </div>

          </div>

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

<?php $__env->startSection('scripts'); ?>
<!-- Contact Form Validation-->
<script type="text/javascript">
  $("#contact_form").validate({
    submitHandler: function(form) {
      var form_btn = $(form).find('button[type="submit"]');
      var form_result_div = '#form-result';
      $(form_result_div).remove();
      form_btn.before('<div id="form-result" class="alert alert-success" role="alert" style="display: none;"></div>');
      var form_btn_old_msg = form_btn.html();
      form_btn.html(form_btn.prop('disabled', true).data("loading-text"));
      $(form).ajaxSubmit({
        dataType:  'json',
        success: function(data) {
          if( data.status == 'true' ) {
            $(form).find('.form-control').val('');
          }
          form_btn.prop('disabled', false).html(form_btn_old_msg);
          $(form_result_div).html(data.message).fadeIn('slow');
          setTimeout(function(){ $(form_result_div).fadeOut('slow') }, 6000);
        }
      });
    }
  });
</script>
<script>
function settet(te)
{
  $("#myid").html(te);
  $("#exampleModal").modal('show');
}
</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/techciuz/public_html/demo/hemp/resources/views/web/news.blade.php ENDPATH**/ ?>