KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/easysfm.edukrypt.in/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/easysfm.edukrypt.in/storage/framework/views/e1100c71e5518ced68429db1fc36266f4904c69b.php
<?php $__env->startSection('content'); ?>

    <?php
    $i = 0;
    ?>

    <!-- begin::main content -->

    <main class="main-content">
        <div class="container">
            <!-- begin::page header -->
            <div class="page-header">
                <h3>Video Tags</h3>
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="<?php echo e(asset('admin/dashboard')); ?>">Dashboard</a></li>
                        <li class="breadcrumb-item"><a href="<?php echo e(asset('admin/tags/')); ?>">Tag List</a></li>
                    </ol>
                </nav>
            </div>
            <!-- end::page header -->

            <?php if (isset($component)) { $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\FlashMessage::class, []); ?>
<?php $component->withName('flashMessage'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74)): ?>
<?php $component = $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74; ?>
<?php unset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74); ?>
<?php endif; ?>
            <div class="card">

                <div class="card-header">
                    <form action="<?php echo e(URL::to('admin/tags/' . Request::segment(3) . '/' . Request::segment(4))); ?>"
                        method="get">
                        <div class="row">
                            <div class="col-md-8">
                                <div class="form-group">
                                    <input type="text" class="form-control" name="search" placeholder="Search here....."
                                        value="<?php echo e(request()->input('search')); ?>">
                                    <span class="text-danger">
                                        <?php $__errorArgs = ['search'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                            <?php echo e($message); ?>

                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </span>
                                </div>
                            </div>
                            <div class="col-md-4">
                                <button type="submit" class="btn btn-primary pull-right text-white"><i
                                        class="fa fa-search"></i>&nbsp;
                                    Search</button>
                                <a href="<?php echo e(asset('admin/tags/' . Request::segment(3))); ?>"
                                    class="btn btn-primary pull-right text-white m-r-10"><i
                                        class="fa fa-refresh"></i>&nbsp; Reset</a>
                            </div>
                        </div>
                    </form>

                </div>
                <div class="card-body">

                    <?php
                    $permission = App\Helpers\PermissionActivity::getPermissionByAdminId(session('loggedIn')['id'], 6);
                    
                    ?>

                    <?php if($permission == 'delete'): ?>
                        <a href="<?php echo e(asset('admin/add-tag/' . Request::segment(3) . '/' . Request::segment(4))); ?>"
                            class="form-group btn btn-primary pull-right text-white">
                            <i class="fa fa-plus"></i>&nbsp;Add Tags</a>
                    <?php endif; ?>

                    <?php if(isset($tags)): ?>
                        <table class="table table-striped table-bordered">
                            <thead>
                                <tr>
                                    <th>Id</th>
                                    <th>Name</th>
                                    <th>Sort Order</th>
                                    <th>Created</th>
                                    <th>Action</th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php if(!empty($tags)): ?>
                                    <?php $__currentLoopData = $tags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td><?php echo e($tag->id); ?></td>
                                            <td>
                                                <?php echo e($tag->name); ?>

                                            </td>
                                            <td><?php echo e($tag->sort); ?></td>
                                            <td><?php echo e($tag->created_at); ?></td>

                                            <td>
                                                <?php if($permission == 'read'): ?>
                                                    <a href="<?php echo e(asset('admin/view-tag/' . $tag->id)); ?>"><i
                                                            class="fa fa-eye text-primary"></i></a>
                                                <?php endif; ?>

                                                <?php if($permission == 'write'): ?>
                                                    <a href="<?php echo e(asset('admin/view-tag/' . $tag->id)); ?>"><i
                                                            class="fa fa-eye text-primary"></i></a>
                                                    <a href="<?php echo e(asset('admin/edit-tag/' . $tag->id)); ?>"><i
                                                            class="fa fa-edit text-success"></i></a>
                                                <?php endif; ?>

                                                <?php if($permission == 'delete'): ?>
                                                    <a href="<?php echo e(asset('admin/view-tag/' . $tag->id)); ?>"><i
                                                            class="fa fa-eye text-primary"></i></a>
                                                    <a href="<?php echo e(asset('admin/edit-tag/' . $tag->id)); ?>"><i
                                                            class="fa fa-edit text-success"></i></a>
                                                    <a href="<?php echo e(asset('admin/delete-tag/' . $tag->id)); ?>"
                                                        class="delete-confirm"><i class="fa fa-trash text-danger"></i></a>
                                                <?php endif; ?>


                                            </td>

                                        </tr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php else: ?>
                                    <h1>No Record Found!!</h1>
                                <?php endif; ?>

                            </tbody>

                        </table>
                        <div class="pagination-block">

                            <?php if(request()->input('search')): ?>
                                <?php echo e($tags->appends(['search' => request()->input('search')])->links('admin.includes.paginationlinks')); ?>

                            <?php else: ?>
                                <?php echo e($tags->links('admin.includes.paginationlinks')); ?>

                            <?php endif; ?>

                            <label>Total Record Found- <?php echo count($tags); ?></label>
                        </div>

                    <?php endif; ?>

                </div>
            </div>



        </div>

    </main>
    <!-- end::main content -->

<?php $__env->stopSection(); ?>
<?php $__env->startPush('footer-script'); ?>
    <!-- begin::dataTable -->
    <script src="<?php echo e(asset('public/admin/vendors/dataTable/jquery.dataTables.min.js')); ?>"></script>
    <script src="<?php echo e(asset('public/admin/vendors/dataTable/dataTables.bootstrap4.min.js')); ?>"></script>
    <script src="<?php echo e(asset('public/admin/vendors/dataTable/dataTables.responsive.min.js')); ?>"></script>
    <script src="<?php echo e(asset('public/admin/js/examples/datatable.js')); ?>"></script>
    <!-- end::dataTable -->
<?php $__env->stopPush(); ?>

<?php echo $__env->make('admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/easysfm.edukrypt.in/resources/views/admin/videotags/list-videotag.blade.php ENDPATH**/ ?>

Anon7 - 2021