EVOLUTION-MANAGER
Edit File: e205fa6ea5bc0d2724217cbd5d5d977a433e93a6.php
<!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>"> <link rel="stylesheet" href="<?php echo e(asset('css/sidebar-administrador.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('css/crud-boletin.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('css/fontello.css')); ?>"> <script src="<?php echo e(asset('vendor/sweetalert2/dist/sweetalert2.min.js')); ?>"></script> <link rel="stylesheet" href="<?php echo e(asset('vendor/sweetalert2/dist/sweetalert2.min.css')); ?>"> <script src="<?php echo e(asset('js/jquery-3.7.1.min.js')); ?>"></script> <title>Patronato Municipal del Cantón Sucre</title> </head> <body> <?php echo $__env->make('partials.sidebar-administrador', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?> <section class="home-section"> <div class="home-content"> <i class="icon-menu"></i> <span class="text">Minimizar menu</span> </div> <div class="cantidad-publicacion"> <div class="valornumerico"> <h5 id="cantidad-actualizada"><?php echo e($cantidad->cantidad); ?></h5> <h6>Noticias</h6> </div> <div class="icono-noticias-cant"> <i class="icon-doc"></i> </div> </div> <details open> <summary>Noticias</summary> <div class="contenedor-usuarios-online"> <table class="tabla-actividad tabla-total-noticas" id="tabla_noticias"> <thead style="text-align: justify;"> <tr> <th>ID</th> <th>Título de la Notica</th> <th>Fecha de la noticia</th> <th>Eliminar</th> <th>Editar</th> </tr> </thead> <tbody> <?php $__currentLoopData = $datosnoticias; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr id="<?php echo e($data->id_informativo); ?>" class="row"> <td><?php echo e($data->id_informativo); ?></td> <?php $textoLimpio = strip_tags($data->titulo); ?> <td><?php echo e($textoLimpio); ?></td> <td><?php echo e($data->fecha); ?></td> <td> <form onsubmit="return delete_button(event, '<?php echo e($data->id_informativo); ?>')"> <input type="submit" class="btn btn-danger" value="Borrar"> </form> </td> <td> <a href="<?php echo e(url('/administrador/crud-boletin/editar-noticia')); ?>/<?php echo e($data->id_informativo); ?>" style="padding: 4px 13px; text-decoration: none;" class="btn btn-success">Editar</a> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </details> </section> <div id="loadingModal" class="modal"> <div class="modal-content"> <div class="spinner"></div> <p>Por favor, espere...</p> </div> </div> <script type="text/javascript"> window.appData = { datosnoticias: <?php echo json_encode($datosnoticias); ?> }; </script> <script src="<?php echo e(asset('js/navbar-administrador.js')); ?>"></script> <script src="<?php echo e(asset('js/crud-informativo.js')); ?>"></script> </body> </html>