EVOLUTION-MANAGER
Edit File: 81c64328bc0f0fe1a43e88348284014b7a148834.php
<?php $__env->startSection('style'); ?> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/frontend/css/sweetalert2.min.css')); ?>"> <link href="<?php echo e(asset('admin/frontend/css/pagelayouts15.css')); ?>" rel="stylesheet"/> <script src="<?php echo e(asset('admin/frontend/js/jquery.min.js')); ?>" type="text/javascript"> </script> <script src="<?php echo e(asset('admin/frontend/js/idangerous.swiper.min.js')); ?>" type="text/javascript"> </script> <script src="<?php echo e(asset('admin/frontend/js/modernizr.custom.js')); ?>" type="text/javascript"> </script> <script src="<?php echo e(asset('admin/frontend/js/classie.js')); ?>" type="text/javascript"> </script> <script src="<?php echo e(asset('admin/frontend/js/jquery.event.move.js')); ?>" type="text/javascript"> </script> <script src="<?php echo e(asset('admin/frontend/js/responsive-slider.min.js')); ?>" type="text/javascript"> </script> <script src="<?php echo e(asset('admin/frontend/js/initstrings.js')); ?>" type="text/javascript"> </script> <!-- <script src="<?php echo e(asset('admin/frontend/js/clienttemplates.js')); ?>" type="text/javascript"></script> --> <link href="<?php echo e(asset('admin/frontend/css/grid.css')); ?>" rel="stylesheet"/> <link href="<?php echo e(asset('admin/frontend/css/styles.a659c3e614249649d456.bundle.css')); ?>" rel="stylesheet"/> <style type="text/css"> @media screen and (min-width: 64rem){ .post-card.featured .content .info-container:before { bottom: 6.1875rem; } app-card .post-card .content:hover .info-container:before { bottom: 10.875rem !important; } .post-card.featured .content .info-container .info .flex-content .text h1 { height: 2.875rem !important; } .post-card.featured:hover .content .info-container .info .flex-content .text h1 { height: 3.875rem !important; } /*.cards .card { margin: .9375rem 0; margin-right: 20px; } .cards { justify-content: end; }*/ } app-card .post-card .content .info-container:before { bottom: 7.0625rem; } app-card .post-card .content .info-container .info .flex-content .text .excerpt p, app-card .post-card .content .info-container .info .flex-content .text h1 { color: #131212; height: 2.8125rem; } app-card .post-card .content .info-container .info .flex-content .text h1 { color: #141212 !important; height: 3.825rem !important; } h1 { text-transform: none !important; } app-card .post-card.noticias { border-top-color: #00d4ce; } .full-width-title.noticias { background-color: #00d4ce; } app-card .post-card .content .info-container .date, app-card .post-card .content .info-container .info { background-color: #d8dbdc !important; } app-card .post-card .content .info-container .date:before { background-image: linear-gradient(180deg,rgba(247, 245, 244, 0.06),#d8dbdc 50%); content: ""; display: none; height: 1.875rem; position: absolute; top: -1.875rem; width: 100%; } app-card .post-card.noticias .content .info-container .info:after, app-card .post-card.noticias .content .info-container .info:before { background-color: #25a92a; } .menu_img{ display: inline-flex !important; border: none !important; } .page-item.active .page-link { z-index: 1; color: #fff; background-color: #47d04c; border-color: #47d04c; } </style> <?php $__env->stopSection(); ?> <?php $__env->startSection('contenido'); ?> <div id="contenedor"> <div data-name="ContentPlaceHolderHeader"> <div class=""> <span id="DeltaPlaceHolderHeader"> </span> </div> </div> <div data-name="ContentPlaceHolderMain"> <span id="DeltaPlaceHolderMain"> <div class="welcome blank-wp container page-inner-lv2"> <div class="breadcrumb"> <span id="ctl00_PlaceHolderMain_SiteMapPath1"> <span> <a href="<?php echo e(asset('/')); ?>" title="Página Oficial del Gobierno Autónomo Descentralizado Municipal de Sucre."> Inicio </a> </span> <span> > </span> <span> Noticias </span> <a id="ctl00_PlaceHolderMain_SiteMapPath1_SkipLink"> </a> </span> </div> </div> </span> </div> <div class="category-home max-content-width"> <div class="full-width-title noticias"> <a href=""> <h1 class="section-title main-title" style="color: #ffff !important;"> Noticias </h1> </a> </div> <?php //$noticias=App\articuloModel::where('tipo_articulo_id',3)->get(); // foreach ($noticias as $key => $noticia) { // $noticia->created_at = $noticia->updated_at; // $noticia->save(); // } ?> <?php if($noticias->first()): ?> <!-- noticia principal --> <!-- <?php $noti = $noticias->where('destacado',5)->first(); if (!$noti) { $noti = $noticias->first(); } $primero = $noti->id; $lengt = strlen($primero);?> --> <?php $noticias = App\articulo::where('tipo_articulo_id',3) ->orderBy('created_at','DESC')->paginate(10); $noti=''; if ($noticias->first()) { $noti = $noticias->first(); } $primero = $noti->id; $lengt = strlen($primero); //$noticias->sortByDesc('created_at'); //$noticias->forget($primero); ?> <div class="featured-post"> <!-- --> <app-card> <!-- --> <!-- --> <a class="post-card featured noticias" href='<?php echo e(url("noticias/".str_random(20).$noti->id.str_random(20)).$lengt); ?>'> <!-- --> <div class="content" id="principal"> <div class="image"> <!-- --> <img alt="<?php echo e($noti->titulo); ?>" class="ng-lazyloaded" defaultimage="<?php echo e(asset('public/fotos-articulos/'.$noti->foto)); ?>" offset="50" src="<?php echo e(asset('public/fotos-articulos/'.$noti->foto)); ?>"> <!-- --> </img> </div> <div class="info-container"> <div class="info"> <h1 class="section-title main-title"> Noticias </h1> <div class="audio-player"> <span class="play"> </span> <span class="line"> </span> </div> <span class="video-player"> </span> <div class="flex-content"> <div class="type-icon"> <app-svg-icon> <svg class="icon icon-standard"> <use xlink:href="symbol-defs.svg#icon-standard"> </use> </svg> </app-svg-icon> </div> <div class="text"> <h1> <?php echo e($noti->titulo); ?> </h1> <div class="excerpt"> <div id="detalle" style="height: 60px;padding-top: 6px;"> </div> <p id="pre_detalle" style="display: none;"> <?php echo e($noti->detalle); ?> </p> <!-- <p> </p> --> </div> <script type="text/javascript"> var detalle = $("#detalle"); var pre_about = $("#pre_detalle").text(); $(document).ready(function(){ detalle.html(pre_about); }); </script> </div> </div> </div> <p class="date"> <?php echo e(Carbon\Carbon::parse($noti->created_at)->diffForHumans()); ?> </p> </div> </div> </a> <!-- --> </app-card> </div> <!-- --> <!-- espacio en blanco --> <div app-ad-container="" class="ad-top-2"> <div class="ad-container ad-970x90"> <!-- --> <app-ad> <div id="top2-ad-93lk97"> <div id="google_ads_iframe_/10487729/Kienyke/Kienyke_Top2_0__container__" style="border: 0pt none; width: 728px; height: 90px;"> </div> </div> </app-ad> </div> </div> <!-- --> <!-- targeta noticias --> <div class="cards"> <!-- --> <?php $__currentLoopData = $noticias; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $noticia): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $length = strlen($noticia->id); ?> <?php if($noticia->id!=$primero): ?> <div class="card"> <!-- --> <app-card> <!-- --> <!-- --> <?php if($noticia->tipo == 'bol'): ?> <a class="post-card noticias" onclick="boletin('<?php echo e(asset('public/fotos-articulos/'.$noticia->foto)); ?>');" style="cursor: pointer;"> <?php else: ?> <a class="post-card noticias" href='<?php echo e(url("noticias/".str_random(20).$noticia->id.str_random(20)).$length); ?>'> <?php endif; ?> <!-- --> <div class="content"> <div class="image"> <!-- --> <?php if(!is_null($noticia->foto)): ?> <img alt="<?php echo e($noticia->titulo); ?>" class="ng-lazyloaded" defaultimage="<?php echo e(asset('admin/frontend/images/SucreEsUnidad.jpg')); ?>" offset="50" src="<?php echo e(asset('public/fotos-articulos/'.$noticia->foto)); ?>"> <!-- --> </img> <?php endif; ?> </div> <div class="info-container"> <div class="info"> <h1 class="section-title main-title"> Noticias </h1> <div class="audio-player"> <span class="play"> </span> <span class="line"> </span> </div> <span class="video-player"> </span> <div class="flex-content"> <div class="type-icon"> <app-svg-icon> <svg class="icon icon-standard"> <use xlink:href="symbol-defs.svg#icon-standard"> </use> </svg> </app-svg-icon> </div> <div class="text"> <h1> <?php echo e($noticia->titulo); ?> </h1> <div class="excerpt"> <div id="detalle<?php echo e($noticia->id); ?>" style="height: 77px;padding-top: 6px;"> </div> <p id="pre_detalle<?php echo e($noticia->id); ?>" style="display: none;"> <?php echo e($noticia->detalle); ?> </p> <!-- <p> </p> --> </div> <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> </div> </div> </div> <p class="date"> <?php echo e(Carbon\Carbon::parse($noticia->created_at)->diffForHumans()); ?> </p> </div> </div> </a> <!-- --> </app-card> <!-- --> </div> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <!-- --> </div> <div style="text-align: center;display: flex;justify-content: center;"> <?php echo e($noticias->links()); ?> </div> <br> <!-- --> <?php endif; ?> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('script'); ?> <script src="<?php echo e(asset('admin/frontend/js/sweetalert2.min.js')); ?>"></script> <script src="<?php echo e(asset('admin/frontend/js/jquery-3.2.1.min.js')); ?>"> </script> <script src="<?php echo e(asset('admin/frontend/js/jquery-3.3.1.slim.min.js')); ?>"> </script> <script src="<?php echo e(asset('admin/frontend/js/popper.min.js')); ?>"> </script> <script src="<?php echo e(asset('admin/frontend/js/jquery.bxslider.min.js')); ?>"> </script> <script type="text/javascript"> function boletin(url){ swal({ imageUrl: url, // imageHeight: 1500, // imageAlt: 'A tall image' }) } </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>