EVOLUTION-MANAGER
Edit File: 6572266f1fc4a4927bb048c929fa6c322012130e.php
<?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; } ?> <style type="text/css"> .date.meta-item span{ font-size: 11px; } .post-title a{ font-size: 17px; font-weight: unset; color: #272727 !important; } .big-post-top-box .posts-items .post-thumb .low-img { max-width: 150px; max-height: 85px; } .content-promo { /*background: none repeat scroll 0 0 #696973;*/ background: none repeat scroll 0 0 #00923d; bottom: 0; display: table; position: absolute; width: 100%; z-index: 100; color: #fff; filter: alpha(opacity=95); opacity: 0.95; padding: 0 0.6em 0; /*height: 33px;*/ text-align: center; height: 50px; } .content-promo h2{ color: #fff; padding-top: 10px; } .promo { display: inline-block; overflow: hidden; position: relative; width: auto; } .promo:hover .content-promo h2{ display: none; } .promo:hover .content-promo p{ display: block; font-size: 1.1rem; padding-top: 20px; } .promo .content-promo p{ display: none; } .promo:hover .content-promo{ height: 70px; } .video-playlist-item h2 { font-size: 12px; font-weight: normal; line-height: 17px; height: 20px; } .posts-list-container li {list-style:none !important;} </style> <section class="section-wrapper container normal-width without-background noti" id="tiepost-1020-section-749" style="transform: none;"> <div class="section-item sidebar-right has-sidebar" style="transform: none;"> <div class="container-normal" style="transform: none;"> <div class="tie-row main-content-row" style="transform: none;"> <div class="main-content tie-col-md-8 tie-col-xs-12" role="main"> <div class="mag-box big-post-top-box has-first-big-post box-dark-skin dark-skin has-custom-color" data-current="1" id="tie-block_1160"> <div class="mag-box-title the-global-title" style="background: #35ccc7 !important;margin-bottom: 0px;"> <a href="<?php echo e(asset('/noticias')); ?>"> <div class="playlist-title-icon" style="height: 41px;line-height: 53px;color: #ffff;margin-left: 15px;margin-right: 0px;"> <span aria-hidden="true" class="fa fa-play"> </span> </div> <h3 style="padding: 13px;margin-bottom: 0px;"> Noticias </h3> </a> <div class="tie-alignright"> </div> <!-- .tie-alignright /--> </div> <div class="container-wrapper"> <!-- .mag-box-title /--> <div class="mag-box-container clearfix"> <?php $noticias=App\articuloModel::where('tipo_articulo_id',3) ->orderBy('destacado','desc')->get() ->take(5); ?> <?php if($noticias->first()): ?> <ul class="posts-items posts-list-container"> <?php $noti = $noticias->first(); $primero = $noti->id; $lengt = strlen($primero);?> <li class="post-item tie-standard"> <?php if($noti->tipo == 'bol'): ?> <a class="post-thumb" style="cursor: pointer;" title="<?php echo e($noti->titulo); ?>" onclick="boletin('<?php echo e(asset('public/fotos-articulos/'.$noti->foto)); ?>');"> <?php else: ?> <a class="post-thumb" href='<?php echo e(url("noticias/".str_random(20).$noti->id.str_random(20)).$lengt); ?>' title="<?php echo e($noti->titulo); ?>"> <?php endif; ?> <h5 class="post-cat-wrap"> <span class="post-cat tie-cat-28"> Noticias </span> </h5> <div class="post-thumb-overlay-wrap"> <div class="post-thumb-overlay"> <span class="icon"> </span> </div> </div> <img alt="" class="attachment-jannah-image-large size-jannah-image-large wp-post-image" height="220" src="<?php echo e(asset('public/fotos-articulos/'.$noti->foto)); ?>" width="390"/> </a> <div class="post-details"> <div class="post-meta"> <span class="meta-author meta-item"> <a class="author-name" href="#" title="GAD Sucre" style="color: #424344;"> <span aria-hidden="true" class="fa fa-user"> </span> GAD Sucre </a> </span> <div class="tie-alignright"> </div> <div class="clearfix"> </div> </div> <!-- .post-meta --> <h3 class="post-title"> <a href='<?php echo e(url("noticias/".str_random(20).$noti->id.str_random(20)).$lengt); ?>' title="<?php echo e($noti->titulo); ?>"> <!-- PORTOVIEJO. Con talleres formativos y artistas internacionales --> <?php echo e($noti->titulo); ?> </a> </h3> <p class="post-excerpt"> </p> <span class="date meta-item"> <!-- <span aria-hidden="true" class="fa fa-clock-o"> </span> --> <span> <!-- Hace 5 días --> <?php echo e(Carbon\Carbon::parse($noti->created_at)->diffForHumans()); ?> </span> </span> <br> <a class="more-link button" href='<?php echo e(url("noticias/".str_random(20).$noti->id.str_random(20)).$lengt); ?>' style="color: #ffff !important;"> Leer más » </a> </div> <!-- .post-details /--> </li> <?php $__currentLoopData = $noticias; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $noticia): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $length = strlen($noticia->id); ?> <!-- .first-post --> <?php if($noticia->id != $primero): ?> <li class="post-item tie-standard"> <?php if(!is_null($noticia->foto)): ?> <?php if($noticia->tipo == 'bol'): ?> <a class="post-thumb" title="<?php echo e($noticia->titulo); ?>" style="cursor: pointer;" onclick="boletin('<?php echo e(asset('public/fotos-articulos/'.$noticia->foto)); ?>');" > <?php else: ?> <a class="post-thumb" href='<?php echo e(url("noticias/".str_random(20).$noticia->id.str_random(20)).$length); ?>' title="<?php echo e($noticia->titulo); ?>"> <?php endif; ?> <div class="post-thumb-overlay-wrap"> <div class="post-thumb-overlay"> <span class="icon"> </span> </div> </div> <img alt="" class="attachment-jannah-image-small size-jannah-image-small tie-small-image wp-post-image low-img" height="150" src="<?php echo e(asset('public/fotos-articulos/'.$noticia->foto)); ?>" width="220"/> </a> <?php endif; ?> <div class="post-details"> <!-- .post-meta --> <h3 class="post-title"> <a href='<?php echo e(url("noticias/".str_random(20).$noticia->id.str_random(20)).$length); ?>' title="<?php echo e($noticia->titulo); ?>"> <!-- El municipio aplicará un “plan B” para agilizar la reconstrucción del cementerio --> <?php echo e($noticia->titulo); ?> </a> </h3> <div class="post-meta"> <span class="date meta-item"> <!-- <span aria-hidden="true" class="fa fa-clock-o"> </span> --> <span> <?php echo e(Carbon\Carbon::parse($noticia->created_at)->diffForHumans()); ?> </span> </span> <div class="clearfix"> </div> </div> </div> <!-- .post-details /--> </li> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> <?php endif; ?> <div class="clearfix"> </div> </div> <!-- .mag-box-container /--> </div> <!-- .container-wrapper /--> </div> <!-- .mag-box /--> <section class="slider-area mag-box tie-video-main-slider" id="tie-block_1434"> <?php $videos=App\articuloModel::where('tipo_articulo_id',14)->where('url_direccion','like','%youtube%') ->orderBy('destacado','desc')->get() ->take(5); ?> <?php if($videos->first()): ?> <div class="videos-block" id="videos-block-id-0"> <div class="video-playlist-wrapper"> <div class="video-player-wrapper"> <?php $video1=$videos->first(); $codigo1=$video1->video; $totoal_video = $videos->count();?> <iframe allowfullscreen="" async="" class="video-frame" data-video-ready="" frameborder="0" height="434" id="video-block_1434-1" mozallowfullscreen="" src="https://www.youtube.com/embed/<?php echo e($codigo1); ?>" style="visibility: visible;" webkitallowfullscreen="" width="771"> </iframe> </div> <!-- .video-player-wrapper --> </div> <!-- .video-playlist-wrapper /--> <div class="video-playlist-nav-wrapper"> <div class="playlist-title"> <div class="playlist-title-icon"> <span aria-hidden="true" class="fa fa-play"> </span> </div> <a href="<?php echo e(url('videos')); ?>" > <h2> Multimedia </h2> </a> <span class="videos-number"> <span class="video-playing-number"> 1 </span> / <span class="video-totlal-number"> <?php echo e($totoal_video); ?> </span> Videos </span> </div> <!-- .playlist-title /--> <div class="video-playlist-nav has-custom-scroll playlist-has-title mCustomScrollbar _mCS_1 mCS-autoHide" data-height="window" style=""> <div class="mCustomScrollBox mCS-light mCSB_vertical mCSB_inside" id="mCSB_1" style="max-height: none;" tabindex="0"> <div class="mCSB_container" dir="ltr" id="mCSB_1_container" style="position:relative; top:0; left:0;"> <?php $video_number=0; ?> <?php $__currentLoopData = $videos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $video): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $video_number++ ?> <div class="video-playlist-item" data-name="video-block_1434-<?php echo e($video_number); ?>" data-src="https://www.youtube.com/embed/<?php echo e($video->video); ?>" style="height: 67px;"> <div class="video-number"> <?php echo e($video_number); ?> </div> <div class="video-play-icon"> <span aria-hidden="true" class="fa fa-play"> </span> </div> <div class="video-paused-icon"> <span aria-hidden="true" class="fa fa-pause"> </span> </div> <div class="video-thumbnail" style="background-image: url(http://i3.ytimg.com/vi/<?php echo e($video->video); ?>/hqdefault.jpg)"><!-- maxresdefault --> </div> <div class="video-info"> <h2> <?php echo e($video->titulo); ?> </h2> <!-- <span class="video-duration"> 1:42 </span> --> </div> <!-- .video-info --> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="mCSB_scrollTools mCSB_1_scrollbar mCS-light mCSB_scrollTools_vertical" id="mCSB_1_scrollbar_vertical" style="display: block;"> <div class="mCSB_draggerContainer"> <div class="mCSB_dragger" id="mCSB_1_dragger_vertical" style="position: absolute; min-height: 30px; display: block; height: 128px; max-height: 253px; top: 0px;"> <div class="mCSB_dragger_bar" style="line-height: 30px;"> </div> </div> <div class="mCSB_draggerRail"> </div> </div> </div> </div> </div> <!-- .video-playlist-nav /--> </div> <!-- .video-playlist-nav-wrapper /--> </div> <?php endif; ?> <!-- .videos-block /--> </section> <!-- .slider-area --> <script> var js_tie_block_1160 = {"order":"latest","id":["28","30"],"number":"5","pagi":"next-prev","dark":"true","excerpt":"true","excerpt_length":"22","post_meta":"true","read_more":"true","filters":"true","breaking_effect":"reveal","sub_style":"1c","style":"large-first","title_length":""}; </script> </div> <!-- .main-content /--> <aside aria-label="Barra lateral principal" class="sidebar tie-col-md-4 tie-col-xs-12 normal-side is-sticky is-fixed" style="position: relative; overflow: visible; box-sizing: border-box; min-height: auto;"> <div class="theiaStickySidebar" style="padding-top: 0px; padding-bottom: 1px; position: inherit; top: 0px; width: 370px;"> <?php $imagenes=App\articuloModel::where('tipo_articulo_id',4)->orderBy('orden','asc')->get()->take(3); ?> <?php if($imagenes->first()): ?> <?php $__currentLoopData = $imagenes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $imagen): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <!-- .widget /--> <div class="container-wrapper widget widget_media_image promo" id="media_image-9" style="padding: 0px;"> <?php $url='#'; if ($imagen->url_direccion) { $url=$imagen->url_direccion; } ?> <a href="<?php echo e($url); ?>" target="_blank"> <img alt="" class="image wp-image-1233 attachment-full size-full" height="92" src="<?php echo e(asset('public/fotos-articulos/'.$imagen->foto)); ?>" style="max-width: 100%; height: auto;" width="600"/> </a> <!-- <div class="clearfix"> </div> --> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <!-- .widget /--> <div class="container-wrapper widget widget_media_image" id="media_image-5" style="padding: 0px;"> <div class="fb-page" data-href="https://www.facebook.com/SucreEsUnidad/" data-tabs="timeline" data-width="600" data-height="500" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/SucreEsUnidad/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/SucreEsUnidad/">Municipio del Cantón Sucre</a></blockquote></div> </div> <!-- .widget /--> <!-- --> </div> <!-- .theiaStickySidebar /--> </aside> <!-- .sidebar /--> </div> <!-- .main-content-row --> </div> <!-- .container /--> </div> <!-- .section-item /--> </section>