File manager - Edit - /home/asiatechinc/public_html/asiatech-websites/dynastyresort.com/storage/framework/views/11ec51100e7f251ba4a9c15ae71bf889.php
Back
<?php $__env->startSection('title', 'Manage Page Meta Data'); ?> <?php $__env->startSection('content'); ?> <div class="container-fluid"> <?php if(session('success')): ?> <div class="alert alert-success alert-dismissible fade show" role="alert"> <?php echo e(session('success')); ?> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> </div> <?php endif; ?> <?php if(session('error')): ?> <div class="alert alert-danger alert-dismissible fade show" role="alert"> <?php echo e(session('error')); ?> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> </div> <?php endif; ?> <div class="card shadow mb-4"> <div class="card-header py-3 d-flex justify-content-between align-items-center"> <h6 class="m-0 font-weight-bold text-primary">All Page Meta Records</h6> <a href="<?php echo e(route('meta.create')); ?>" class="btn btn-primary btn-sm"> <i class="fas fa-plus"></i> Add New Meta </a> </div> <div class="card-body"> <div class="table-responsive"> <?php if($metas->isEmpty()): ?> <p>No page meta records found. Click "Add New Meta" to get started.</p> <?php else: ?> <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0"> <thead> <tr> <th>ID</th> <th>Page Path</th> <th>Title</th> <th>Description Snippet</th> <th>Robots</th> <th>Last Updated</th> <th width="15%">Actions</th> </tr> </thead> <tbody> <?php $__currentLoopData = $metas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $meta): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($meta->id); ?></td> <td> <strong> <?php if($meta->page_path === '/'): ?> <?php echo e($meta->page_path); ?> (Homepage) <?php else: ?> <?php echo e($meta->page_path); ?> <?php endif; ?> </strong> </td> <td><?php echo e(Str::limit($meta->title, 50)); ?></td> <td><?php echo e(Str::limit($meta->description, 70)); ?></td> <td><span class="badge <?php echo e($meta->robots === 'noindex, nofollow' ? 'bg-danger' : 'bg-success'); ?> text-white"><?php echo e($meta->robots); ?></span></td> <td><?php echo e($meta->updated_at->format('M d, Y H:i')); ?></td> <td> <a href="<?php echo e(route('meta.edit', $meta->id)); ?>" class="btn btn-info btn-sm"> <i class="fas fa-edit"></i> Edit </a> <form action="<?php echo e(route('meta.destroy', $meta->id)); ?>" method="POST" class="d-inline" onsubmit="return confirm('Are you sure you want to delete the meta data for <?php echo e($meta->page_path); ?>?');"> <?php echo csrf_field(); ?> <?php echo method_field('DELETE'); ?> <button type="submit" class="btn btn-danger btn-sm"> <i class="fas fa-trash-alt"></i> Delete </button> </form> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <?php endif; ?> </div> <div class="d-flex justify-content-center"> <?php echo e($metas->links()); ?> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.dashboardLayout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/asiatechinc/public_html/asiatech-websites/dynastyresort.com/resources/views/Dashboard/Pages/meta/index.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings