

<?php $__env->startSection('content'); ?>
   <div class="content-wrapper">
          <div class="card">
            <div class="card-body">
              <h4 class="card-title">Banner-4</h4>
              <a class="btn btn-success" href="<?php echo e(route('addBanner4')); ?>">Add</a>
              <div class="row">
                <div class="col-12">
                  <div class="table-responsive">
                    <table id="order-listing" class="table">
                      <thead>
                        <tr>
                            <th>S.No</th>
                            <th>slide Name</th>
                            <th>slide Image</th>
                            <th>Action</th>
                            
                        </tr>
                      </thead>
                      <tbody>
                          <?php if(count($banner4)>0): ?>
                          <?php $i=1; ?>
                          <?php $__currentLoopData = $banner4; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banners): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($i); ?></td>
                            <td><?php echo e($banners->banner4_name); ?></td>
                            
                            <td><img src="<?php echo e(url($banners->banner4_image)); ?>"></td>
                            <td>
                               <a href="<?php echo e(route('edit-banner4',$banners->banner4_id)); ?>" class="btn btn-info" style="color: #fff;">Edit</a>
							<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#exampleModal<?php echo e($banners->banner4_id); ?>">Delete</button>
							</td>
                        </tr>
                        <?php $i++; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                      <?php else: ?>
                        <tr>
                          <td>No data found</td>
                        </tr>
                      <?php endif; ?>
                       
                      </tbody>
                    </table>                    
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        
 <?php $__currentLoopData = $banner4; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banners): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<!-- Modal -->
<div class="modal fade" id="exampleModal<?php echo e($banners->banner4_id); ?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<h5 class="modal-title" id="exampleModalLabel">Delete banner</h5>
					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
			</div>
			<div class="modal-body">
				Are you want to delete slide.
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
				<a href="<?php echo e(route('delete-banner4', $banners->banner4_id)); ?>" class="btn btn-primary">Delete</a>
			</div>
		</div>
	</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layout.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>