File: /home/imensosw/.trash/storage.2/framework/views/384a7a842089c57acef714b92a472abd9281ee88.php
<?php $__env->startSection("style"); ?>
<link href="<?php echo e(asset('assets/plugins/datatable/css/dataTables.bootstrap5.min.css')); ?>" rel="stylesheet" />
<?php $__env->stopSection(); ?>
<?php $__env->startSection('pageTitle'); ?>
<title><?php echo e(trans('panel.site_title')); ?> <?php echo e(trans('event.events')); ?></title>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!--start page wrapper -->
<div class="page-wrapper">
<div class="page-content">
<!--breadcrumb-->
<div class="page-breadcrumb d-none d-sm-flex align-items-center mb-3">
<div class="breadcrumb-title pe-3"><?php echo e(trans('event.events')); ?></div>
<div class="ps-3">
<nav aria-label="breadcrumb">
<ol class="breadcrumb mb-0 p-0">
<li class="breadcrumb-item"><a href="javascript:;"><i class="bx bx-home-alt"></i></a>
</li>
<li class="breadcrumb-item active" aria-current="page"><?php echo e(trans('event.event')); ?> <?php echo e(trans('global.list')); ?></li>
</ol>
</nav>
</div>
<div class="ms-auto">
<div class="btn-group">
<a href="<?php echo e(route("admin.events.create")); ?>" class="btn btn-outline-primary"><?php echo e(trans('global.add')); ?> <?php echo e(trans('event.event')); ?></a>
</div>
</div>
</div>
<!--end breadcrumb-->
<hr/>
<div class="card">
<div class="card-body">
<?php echo $__env->make('layouts/notification', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="table-responsive">
<table class="datatable table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th><?php echo e(trans('event.event')); ?></th>
<th><?php echo e(trans('new.image')); ?></th>
<th><?php echo e(trans('new.f_image')); ?></th>
<th>Status</th>
<th class="text-center sorting-none" width="50"> </th>
</tr>
</thead>
<tbody>
<?php $count = 0; ?>
<?php if($events->count()): ?>
<?php $__currentLoopData = $events; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $event): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php $event_img = URL::asset('images/no_img.png'); ?>
<?php
if(!empty($event->feature_image)){
$event_img = URL::asset('Event/'.$event->id.'/'.$event->feature_image);
}
?>
<?php $count++; ?>
<tr data-entry-id="<?php echo e($event->id); ?>">
<td><?php echo e($event->event_title); ?></td>
<td><img src="<?php echo e($event_img); ?>" class="event_file" height="40" /></td>
<td><?php echo e($event->start_date); ?></td>
<td><?php if($event->event_status == 1): ?>
Live
<?php else: ?>
Off
<?php endif; ?>
</td>
<td >
<div class="btn-group">
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('opportunity_show')): ?>
<a class="btn btn-xs btn-outline-primary" href="<?php echo e(route('admin.events.show', $event->id)); ?>">
<i class="lni lni-eye"></i>
</a>
<?php endif; ?>
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('opportunity_edit')): ?>
<a class="btn btn-xs btn-outline-success" href="<?php echo e(route('admin.events.edit', $event->id)); ?>">
<i class="fadeIn animated bx bx-edit-alt"></i>
</a>
<?php endif; ?>
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('opportunity_delete')): ?>
<form action="<?php echo e(route('admin.events.destroy', $event->id)); ?>" method="POST" style="display: inline-block;">
<input type="hidden" name="_method" value="DELETE">
<input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">
<button type="button" class="btn btn-xs btn-outline-danger" onclick="confirmdelet('<?php echo e($event->id); ?>');"><i class="fadeIn animated bx bx-trash-alt"></i></button>
<button type="submit" class="btn btn-xs btn-outline-danger hide d-none delete_button_<?php echo e($event->id); ?>" ><i class="fadeIn animated bx bx-trash-alt"></i></button>
</form>
<?php endif; ?>
</div>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script src="<?php echo e(asset('assets/plugins/datatable/js/jquery.dataTables.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/plugins/datatable/js/dataTables.bootstrap5.min.js')); ?>"></script>
<script>
$(document).ready(function(){
$('.datatable').DataTable();
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/imensosw/liftcincy.imenso.co/resources/views/admin/events/index.blade.php ENDPATH**/ ?>