Files
rohini-web/storage2/framework/views/4846472001ffb606efd287c7f78269c6.php
2025-12-28 12:16:05 +05:45

106 lines
7.1 KiB
PHP

<?php $__env->startSection('content'); ?>
<div class="container-fluid">
<?php if (isset($component)) { $__componentOriginalccdba6e547dcecd7e60b4b3babc412f8 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalccdba6e547dcecd7e60b4b3babc412f8 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.breadcumb','data' => ['title' => $title]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.breadcumb'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($title)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalccdba6e547dcecd7e60b4b3babc412f8)): ?>
<?php $attributes = $__attributesOriginalccdba6e547dcecd7e60b4b3babc412f8; ?>
<?php unset($__attributesOriginalccdba6e547dcecd7e60b4b3babc412f8); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalccdba6e547dcecd7e60b4b3babc412f8)): ?>
<?php $component = $__componentOriginalccdba6e547dcecd7e60b4b3babc412f8; ?>
<?php unset($__componentOriginalccdba6e547dcecd7e60b4b3babc412f8); ?>
<?php endif; ?>
<?php if($errors->any()): ?>
<?php if (isset($component)) { $__componentOriginal42e38bf3ebb8c69d910174788b0810d7 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal42e38bf3ebb8c69d910174788b0810d7 = $attributes; } ?>
<?php $component = App\View\Components\FlashMessage::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('flash-message'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\FlashMessage::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['type' => 'danger','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->all())]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal42e38bf3ebb8c69d910174788b0810d7)): ?>
<?php $attributes = $__attributesOriginal42e38bf3ebb8c69d910174788b0810d7; ?>
<?php unset($__attributesOriginal42e38bf3ebb8c69d910174788b0810d7); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal42e38bf3ebb8c69d910174788b0810d7)): ?>
<?php $component = $__componentOriginal42e38bf3ebb8c69d910174788b0810d7; ?>
<?php unset($__componentOriginal42e38bf3ebb8c69d910174788b0810d7); ?>
<?php endif; ?>
<?php endif; ?>
<div class="row">
<div class="col-xl-12">
<div class="card">
<div class="card-header d-flex align-items-center justify-content-between">
<h5 class="card-title mb-0"><?php echo e($title); ?></h5>
<a href="<?php echo e(route('blog.create')); ?>" class="btn text-white"
style="background-color: var(--vz-primary)"><i class="ri-add-line align-middle"></i> Create</a>
</div>
<div class="card-body">
<?php
$columns = [
[
'title' => 'S.N',
'data' => 'DT_RowIndex',
'name' => 'DT_RowIndex',
'orderable' => false,
'searchable' => false,
'sortable' => false,
],
['title' => 'Image', 'data' => 'image', 'name' => 'image'],
['title' => 'Title', 'data' => 'title', 'name' => 'title'],
['title' => 'Slug', 'data' => 'slug', 'name' => 'slug'],
['title' => 'Views', 'data' => 'views', 'name' => 'views'],
['title' => 'Published Date', 'data' => 'date', 'name' => 'date'],
['title' => 'Status', 'data' => 'status', 'name' => 'status'],
[
'title' => 'Action',
'data' => 'action',
'orderable' => false,
'searchable' => false,
],
];
?>
<?php if (isset($component)) { $__componentOriginal2cf37a8168daf1eabb8080ae0c42ae23 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal2cf37a8168daf1eabb8080ae0c42ae23 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.data-table-script','data' => ['route' => route('blog.index'),'reorder' => route('blog.reorder'),'columns' => $columns]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('data-table-script'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['route' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('blog.index')),'reorder' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('blog.reorder')),'columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal2cf37a8168daf1eabb8080ae0c42ae23)): ?>
<?php $attributes = $__attributesOriginal2cf37a8168daf1eabb8080ae0c42ae23; ?>
<?php unset($__attributesOriginal2cf37a8168daf1eabb8080ae0c42ae23); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal2cf37a8168daf1eabb8080ae0c42ae23)): ?>
<?php $component = $__componentOriginal2cf37a8168daf1eabb8080ae0c42ae23; ?>
<?php unset($__componentOriginal2cf37a8168daf1eabb8080ae0c42ae23); ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/rohiniedu/public_html/Modules/CCMS/resources/views/blog/index.blade.php ENDPATH**/ ?>