EVOLUTION-MANAGER
Edit File: e8152d387aa911f7397492f6a9c5c444ab4755fe.php
<?php $__env->startSection('style'); ?> <style type="text/css"> @media (min-height: : 620px){ #table_b{ height: 100%; } } .page-item.active .page-link { z-index: 1; color: #fff; background-color: #47d04c; border-color: #47d04c; } </style> <?php $__env->stopSection(); ?> <?php $__env->startSection('contenido'); ?> <?php function cortar_string ($string, $largo) { $marca = "<!--corte-->"; if (strlen($string) > $largo) { $string = wordwrap($string, $largo, $marca); $string = explode($marca, $string); $string = $string[0]; } return $string; } ?> <article class="art-post"> <div class="art-postmetadataheader"> </div> <h2 class="art-postheader" style="margin-left: 100px;margin-top: 30px;"> Resultados </h2> <div class="art-postcontent clearfix"> <div class="art-article"> <p> </p> <?php if($noticias->first()): ?> <div class="content table-responsive table-full-width"> <table id="table_b" align="center" border="0" style="height: 400px; width: 947px;"> <tbody> <?php $__currentLoopData = $noticias; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $noticia): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $length = strlen($noticia->id); ?> <tr style="height: 160px;"> <td style="width: 200px; text-align: center;"> <?php if(!is_null($noticia->foto)): ?> <img alt="<?php echo e($noticia->titulo); ?>" height="92" src="<?php echo e(asset('public/fotos-articulos/'.$noticia->foto)); ?>" width="162"/> <?php endif; ?> </td> <td style="width: 800px; text-align: justify;"> <div style="height: 95px; overflow: hidden;"> <p style="margin-top: 0px;"> <a href='<?php echo e(url("noticias/".str_random(20).$noticia->id.str_random(20)).$length); ?>'> <span style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;"> <strong style="font-size: 14px;"><?php echo e($noticia->titulo); ?></strong> <span id="detalle<?php echo e($noticia->id); ?>" style="font-size: 10pt; line-height: 107%; font-family: Arial, sans-serif;"> </span> <p id="pre_detalle<?php echo e($noticia->id); ?>" style="display: none;"> <?php echo e($noticia->detalle); ?> </p> <script type="text/javascript"> var detalle<?php echo e($noticia->id); ?> = $("#detalle<?php echo e($noticia->id); ?>"); var pre_about<?php echo e($noticia->id); ?> = $("#pre_detalle<?php echo e($noticia->id); ?>").text(); $(document).ready(function(){ detalle<?php echo e($noticia->id); ?>.html(pre_about<?php echo e($noticia->id); ?>); }); </script> </span> <span style="font-size: 10pt; font-family: Arial, sans-serif; color: #000000; background-image: initial; background-position: initial; background-repeat: initial; background-attachment: initial;"> <span style="font-size: 10pt; line-height: 107%; font-family: Arial, sans-serif;"> </span> </span> </a> </p> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <div style="text-align: center;display: flex;justify-content: center;"> <?php echo e($noticias->links()); ?> </div> <?php else: ?> <br><br> <div style="text-align: center;"> <h2>Sin resultados</h2> </div> <br><br><br><br><br><br> <?php endif; ?> <br> </div> </div> </article> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>