<?php $__env->startSection('content'); ?>
<input type="hidden" id="headerdata" value="<?php echo e(__('Featured Posts')); ?>">
<div class="page-header"><div class="page-block"><div class="row align-items-center">
    <div class="col-md-12"><ul class="breadcrumb"><li class="breadcrumb-item"><a href="<?php echo e(route('admin.dashboard')); ?>">হোম</a></li><li class="breadcrumb-item"><a href="javascript: void(0)">কন্টেন্ট</a></li><li class="breadcrumb-item" aria-current="page">Featured</li></ul></div>
    <div class="col-md-12"><div class="page-header-title"><h2 class="mb-0"><?php echo e(__('Featured Posts')); ?></h2></div></div>
</div></div></div>

<div class="card tbl-card">
    <div class="card-header"><h5><?php echo e(__('Featured Posts')); ?></h5></div>

    <!-- Bulk Actions Row -->
    <div class="selectPost px-3 py-2 bg-light border-bottom" style="display:none;">
        <div class="d-flex flex-wrap gap-2">
            <button class="btn btn-sm btn-danger delete" data-bs-toggle="modal" data-bs-target="#confirm-delete-option"><i class="ti ti-trash"></i> <?php echo e(__('Delete Selected')); ?></button>
        </div>
    </div>

    <div class="card-body">
        <?php echo $__env->make('includes.admin.form-success', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <div class="table-responsive">
            <table id="geniustable" class="table table-hover table-borderless mb-0" cellspacing="0" width="100%">
                <thead><tr><th><input type="checkbox" class="form-check-input m-0 p-0" id="headercheck"></th><th><?php echo e(__('Title')); ?></th><th><?php echo e(__('Category')); ?></th><th><?php echo e(__('Status')); ?></th><th><?php echo e(__('Options')); ?></th></tr></thead>
            </table>
        </div>
    </div>
</div>
<div class="modal fade" id="confirm-delete" tabindex="-1" role="dialog" aria-hidden="true"><div class="modal-dialog"><div class="modal-content"><div class="modal-header d-block text-center"><h4 class="modal-title d-inline-block"><?php echo e(__('Confirm Delete')); ?></h4><button type="button" class="btn-close float-end" data-bs-dismiss="modal"></button></div><div class="modal-body"><p class="text-center"><?php echo e(__('You are about to delete this Featured Post.')); ?></p></div><div class="modal-footer justify-content-center"><button type="button" class="btn btn-secondary" data-bs-dismiss="modal"><?php echo e(__('Cancel')); ?></button><a class="btn btn-danger btn-ok"><?php echo e(__('Delete')); ?></a></div></div></div></div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
<script type="text/javascript">
    var table = $('#geniustable').DataTable({
        ordering: false, serverSide: true,
        ajax: '<?php echo e(route('feature.datatables')); ?>',
        columns: [{data:'checkbox',searchable:false,orderable:false},{data:'title',name:'title'},{data:'category_id',name:'category_id'},{data:'status',name:'status'},{data:'action',searchable:false,orderable:false}],
        drawCallback: function(settings){ $('.select').niceSelect(); }
    });
</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/istiakahmedsourav/Desktop/JAMUNABKP/project/resources/views/admin/feature/index.blade.php ENDPATH**/ ?>