<?php $__env->startSection('middle'); ?>
<section class="content">
<a href="<?php echo e(url('add_slider')); ?>"><button class="btn btn-primary" style="float: right"><i class="glyphicon glyphicon-plus"></i>Add New Slider</button></a>
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Slider List</h3>
</div>
<!-- /.box-header -->
<div class="box-body">
<table id="example1" class="table table-bordered table-striped">
<thead>
<tr>
<th>Image</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td style="width: 30%"><img style="width: 200px; height: 150px" src="<?php echo e(url('public/uploads/sliders/')); ?>/<?php echo e($slider->image); ?>"></td>
<td style="width: 20%">
<a href="<?php echo e(url('edit_slider')); ?>/<?php echo e($slider->id); ?>" class="btn btn-primary"><i class="glyphicon glyphicon-pencil"></i></a>
<a data-toggle="modal" data-target="#confirm-delete" data-href="<?php echo e(url('delete_slider')); ?>/<?php echo e($slider->id); ?>" class="btn btn-danger"><i class="glyphicon glyphicon-trash"></i></a>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.head', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]