EVOLUTION-MANAGER
Edit File: 737dc8358adfb3095dedee0f04295228ab8dd560.php
<?php $noticias=App\articuloModel::where('tipo_articulo_id',3) ->whereNull("articulo.deleted_at") ->orderBy('created_at','desc') ->get() ->take(6); ?> <div class="container-fluid seccion_notificas" style="background-color: #F3F3F3;"> <div class="container pb-3 py-5"> <div class="in_title text-center mb-3 pb-5 py-5"> <div class="in_subtitle"> <hr><h6>Información</h6><hr> </div> <h1>Noticias</h1> </div> <div class="row py-5"> <?php $__currentLoopData = $noticias; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $noti): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-lg-4 col-md-6 mb-4"> <div class="package-item bg-white mb-2 noti_content"> <div class="cont_img"> <img class="img-fluid" src="<?php echo e(url("public/fotos-articulos/".$noti->foto)); ?>" alt="" onerror="this.style.display = 'none'"> <img class="img-fluid" src="<?php echo e(url("fotos-articulos/".$noti->foto)); ?>" alt="" onerror="this.style.display = 'none'"> </div> <span class="noti_fecha"><?php echo e(date("d M Y", strtotime($noti->created_at))); ?></span> <div class="p-4"> <a class="noti_titu text-decoration-none" href=""><?php echo e($noti->titulo); ?></a> <div class="border-top mt-3 pt-3"> <div class="d-flex justify-content-between"> <?php echo strip_tags($noti->detalle); ?> </div> <a href="<?php echo e(url("noticias/".str_random(20).$noti->id.str_random(20).strlen($noti->id))); ?>" class="boton btn_primary btn-primary mt-1">Ver más »</a> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <div class="col-lg-12 col-md-12 mb-12"> <center> <a class="noti_vermas" href="<?php echo e(asset('/noticias')); ?>">Ver más noticias »</a> </center> </div> </div> </div> </div>