| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979 |
- <!doctype html>
- <html lang="it" class="no-js">
- <head>
- <!-- Global site tag (gtag.js) - Google Analytics -->
- <script async src="https://www.googletagmanager.com/gtag/js?id=UA-12619965-34"></script>
- <script src="//d3u598arehftfk.cloudfront.net/prebid_hb_14302_22192.js" async></script>
- <script>
- window.dataLayer = window.dataLayer || [];
- function gtag() {
- dataLayer.push(arguments);
- }
- gtag('js', new Date());
- gtag('config', 'UA-12619965-34');
- </script>
- <title>Calcio a 5 Anteprima</title>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <link href='https://fonts.googleapis.com/css?family=Lato:300,400,700,900,400italic' rel='stylesheet' type='text/css'>
- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
- <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css" media="screen">
- <link rel="stylesheet" type="text/css" href="/css/jquery.bxslider.css" media="screen">
- <link rel="stylesheet" type="text/css" href="/css/font-awesome.css" media="screen">
- <link rel="stylesheet" type="text/css" href="/css/magnific-popup.css" media="screen">
- <link rel="stylesheet" type="text/css" href="/css/owl.carousel.css" media="screen">
- <link rel="stylesheet" type="text/css" href="/css/owl.theme.css" media="screen">
- <link rel="stylesheet" type="text/css" href="/css/ticker-style.css" />
- <link rel="stylesheet" type="text/css" href="/css/style.css" media="screen">
- <link rel="stylesheet" type="text/css" href="/css/print.css" media="print">
- <link rel="stylesheet" type="text/css" href="/css/custom.css" media="screen">
- <link rel="stylesheet" type="text/css" href="/css/lightslider.min.css" media="screen">
- <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon.png">
- <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
- <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
- <link rel="manifest" href="/site.webmanifest">
- <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
- <meta name="msapplication-TileColor" content="#da532c">
- <meta name="theme-color" content="#ffffff">
- <style>
- nav#menu-container {
- position: relative;
- width: 100%;
- height: 56px;
- }
- #btn-nav-previous {
- text-align: center;
- color: black;
- cursor: pointer;
- font-size: 18px;
- position: absolute;
- left: 0px;
- fill: #FFF;
- }
- #btn-nav-next {
- text-align: center;
- color: black;
- cursor: pointer;
- font-size: 18px;
- position: absolute;
- right: 0px;
- fill: #FFF;
- }
- .menu-inner-box {
- width: 90%;
- white-space: nowrap;
- margin: 0 auto;
- overflow: hidden;
- padding: 0px 5px;
- box-sizing: border-box;
- }
- .menu {
- padding: 0;
- margin: 0;
- list-style-type: none;
- display: block;
- text-align: center;
- }
- a.menu-item {
- color: #fff;
- text-decoration: none;
- text-align: center;
- white-space: no-wrap;
- }
- .menu-item:hover {
- text-decoration: underline;
- }
- @media only screen and (max-width: 480px) {
- #btn-nav-previous {
- /* display:none; */
- }
- #btn-nav-next {
- /* display:none; */
- }
- .menu-inner-box {
- width: 80%;
- overflow-x: auto;
- }
- }
- @if ($home->image != '')
- @media (min-width: 400px) {
- .bg-adv {
- background-color: white;
- }
- .adv {
- background-color: white;
- }
- }
- @media (min-width: 1170px) {
- .navbar-nav>li>a {
- padding: 20px 10px 20px 10px;
- z-index: 2;
- }
- #container {
- margin-top: 120px;
- }
- .container {
- width: 1040px !important;
- }
- .bg-adv {
- /*https://source.unsplash.com/twukN12EN7c/1920x1080*/
- background: url('/files/{{ $home->image }}');
- background-size: 1920px !important;
- background-repeat: no-repeat;
- background-attachment: fixed;
- background-position: top;
- }
- .adv {
- max-width: 1040px;
- padding-right: 5px;
- padding-left: 5px;
- margin-right: auto;
- margin-left: auto;
- /* margin-top: 120px!important; */
- background-color: white;
- }
- }
- @endif
- .slide-video {
- width: 320px;
- }
- .slide-video>ul {
- list-style: none outside none;
- padding-left: 0;
- margin-bottom: 0;
- }
- .slide-video>ul>li {
- display: block;
- float: left;
- margin-right: 6px;
- cursor: pointer;
- }
- .slide-video>ul>li>img {
- display: block;
- height: auto;
- max-width: 90%;
- }
- .caption {
- background-color: rgba(0, 0, 0, 0.55);
- position: relative;
- top: 0;
- left: 0;
- padding: 5px;
- color: white;
- width: 320px;
- }
- .caption p {
- margin: 0;
- color: white;
- }
- // overlay
- .overlay {
- position: fixed;
- background: $black;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- text-align: center;
- z-index: 999999 !important;
- display: none;
- iframe {
- margin-top: 10%;
- }
- }
- .togglesearch {
- background: #FFFFFF;
- position: absolute;
- top: 0px;
- z-index: 99999;
- right: 8%;
- width: 350px;
- height: 60px;
- box-shadow: 0 0 10px rgba(0, 0, 0, .5);
- display: none;
- }
- </style>
- </head>
- <body class="bg-adv home">
- @foreach ($aHome as $id => $img)
- <input type="hidden" id="img{{ $id }}" value="{{ $img['image'] }}">
- <input type="hidden" id="url{{ $id }}" value="{{ $img['url'] }}">
- @endforeach
- <div id="container" class="adv">
- @include('layouts.header')
- <section class="block-wrapper">
- <div class="container">
- <!-- Advertisement carousel with proper closing tags -->
- <div class="advertisement carousel slide" style="margin-top:0px;">
- <div class="desktop-advert carousel-inner">
- @if ($home->banner_underb_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_underb_google }}" data-ad-format="auto"
- data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_underb) && $home->banner_underb != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url }}"
- onclick="scroll_to('torneo-nazionale-citta-di-padova-')"><img
- src="/files/{{ $home->banner_underb }}" width="1000" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_underb_2) && $home->banner_underb_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url_2 }}"><img
- src="/files/{{ $home->banner_underb_2 }}" width="1000" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_underb_3) && $home->banner_underb_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url_3 }}"><img
- src="/files/{{ $home->banner_underb_3 }}" width="1000" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_underb_4) && $home->banner_underb_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url_4 }}"><img
- src="/files/{{ $home->banner_underb_4 }}" width="1000" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_underb_5) && $home->banner_underb_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url_5 }}"><img
- src="/files/{{ $home->banner_underb_5 }}" width="1000" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget" style="width:997px;height:90px;border:1px solid gray;margin:0px;"></div>
- @endif
- @endif
- </div>
- <div class="tablet-advert carousel-inner">
- @if ($home->banner_underb_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_underb_google }}" data-ad-format="auto"
- data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_underb) && $home->banner_underb != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url }}"
- onclick="scroll_to('torneo-nazionale-citta-di-padova-')"><img
- src="/files/{{ $home->banner_underb }}" width="1000" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_underb_2) && $home->banner_underb_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url_2 }}"><img
- src="/files/{{ $home->banner_underb_2 }}" width="1000" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_underb_3) && $home->banner_underb_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url_3 }}"><img
- src="/files/{{ $home->banner_underb_3 }}" width="1000" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_underb_4) && $home->banner_underb_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url_4 }}"><img
- src="/files/{{ $home->banner_underb_4 }}" width="1000" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_underb_5) && $home->banner_underb_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url_5 }}"><img
- src="/files/{{ $home->banner_underb_5 }}" width="1000" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget" style="width:997px;height:90px;border:1px solid gray;margin:0px;">
- </div>
- @endif
- @endif
- </div>
- <div class="mobile-advert carousel-inner">
- @if ($home->banner_underb_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_underb_google }}" data-ad-format="auto"
- data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_underb) && $home->banner_underb != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url }}"
- onclick="scroll_to('torneo-nazionale-citta-di-padova-')"><img
- src="/files/{{ $home->banner_underb }}" width="1000300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_underb_2) && $home->banner_underb_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url_2 }}"><img
- src="/files/{{ $home->banner_underb_2 }}" width="1000300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_underb_3) && $home->banner_underb_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url_3 }}"><img
- src="/files/{{ $home->banner_underb_3 }}" width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_underb_4) && $home->banner_underb_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url_4 }}"><img
- src="/files/{{ $home->banner_underb_4 }}" width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_underb_5) && $home->banner_underb_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_underb_url_5 }}"><img
- src="/files/{{ $home->banner_underb_5 }}" width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget" style="width:300;height:50px;border:1px solid gray;margin:0px;">
- </div>
- @endif
- @endif
- </div>
- </div>
- <section class="ticker-news" style="margin-top: 30px;">
- <div class="container">
- <div class="ticker-news-box" style="margin-left:-15px;">
- <span class="breaking-news">breaking news</span>
- <span class="new-news">New</span>
- <ul id="js-news">
- @foreach ($breaking_news as $news)
- <li class="news-item"><span
- class="time-news">{{ date('d/m/Y H:i', strtotime($news->date)) }}</span>
- {{ $news->title }}</li>
- @endforeach
- </ul>
- </div>
- </div>
- </section>
- <div class="row" style="margin-top:30px;min-height:620px !important;margin-right:0!important">
- <div class="col-sm-8">
- <!-- block content -->
- <div class="block-content">
- <div class="title-section">
- <h1><span style="font-size:21px;">Primo piano</span></h1>
- </div>
- <div class="carousel-box owl-wrapper">
- @if (isset($home->slide1) && $home->slide1 != '')
- <div class="image-slider snd-size">
- <div class="news-post image-post">
- @if ($home->slide1->live)
- <span class="top-live">LIVE</span>
- @endif
- <a href="{{ $home->slide1->slug }}"><img
- src="/files/news/{{ $home->slide1->image }}" alt=""></a>
- <div class="box-title">
- <div class="inner-hover">
- <h2><a
- href="/{{ $home->slide1->slug }}">{{ $home->slide1->title }}</a>
- </h2>
- <ul class="post-tags">
- <li><i
- class="fa fa-clock-o"></i><span>{{ date('d/m/Y', strtotime($home->slide1->date)) }}</span>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- @endif
- </div>
- <div class="row primo-piano">
- <div class="col-md-6">
- <div class="carousel-box owl-wrapper">
- <div class="image-slider snd-size">
- <ul class="{{ $home->hasSlider('left') ? 'bxslider bxsliderLeft' : '' }}">
- @if (isset($home->left1) && $home->left1 != '')
- <li>
- <div class="item news-post standard-post">
- <div class="post-gallery">
- <img src="/files/news/{{ $home->left1->image }}"
- alt="">
- </div>
- <div class="post-content">
- <h2><a
- href="{{ $home->left1->slug }}">{{ $home->left1->title }}</a>
- </h2>
- <ul class="post-tags">
- <li><i
- class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->left1->date)) }}
- </li>
- </ul>
- </div>
- </div>
- </li>
- @endif
- @if (isset($home->left2) && $home->left2 != '')
- <li>
- <div class="item news-post standard-post">
- <div class="post-gallery">
- <img src="/files/news/{{ $home->left2->image }}"
- alt="">
- </div>
- <div class="post-content">
- <h2><a
- href="{{ $home->left2->slug }}">{{ $home->left2->title }}</a>
- </h2>
- <ul class="post-tags">
- <li><i
- class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->left2->date)) }}
- </li>
- </ul>
- </div>
- </div>
- </li>
- @endif
- @if (isset($home->left3) && $home->left3 != '')
- <li>
- <div class="item news-post standard-post">
- <div class="post-gallery">
- <img src="/files/news/{{ $home->left3->image }}"
- alt="">
- </div>
- <div class="post-content">
- <h2><a
- href="{{ $home->left3->slug }}">{{ $home->left3->title }}</a>
- </h2>
- <ul class="post-tags">
- <li><i
- class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->left3->date)) }}
- </li>
- </ul>
- </div>
- </div>
- </li>
- @endif
- @if (isset($home->left4) && $home->left4 != '')
- <li>
- <div class="item news-post standard-post">
- <div class="post-gallery">
- <img src="/files/news/{{ $home->left4->image }}"
- alt="">
- </div>
- <div class="post-content">
- <h2><a
- href="{{ $home->left4->slug }}">{{ $home->left4->title }}</a>
- </h2>
- <ul class="post-tags">
- <li><i
- class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->left4->date)) }}
- </li>
- </ul>
- </div>
- </div>
- </li>
- @endif
- @if (isset($home->left5) && $home->left5 != '')
- <li>
- <div class="item news-post standard-post">
- <div class="post-gallery">
- <img src="/files/news/{{ $home->left5->image }}"
- alt="">
- </div>
- <div class="post-content">
- <h2><a
- href="{{ $home->left5->slug }}">{{ $home->left5->title }}</a>
- </h2>
- <ul class="post-tags">
- <li><i
- class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->left5->date)) }}
- </li>
- </ul>
- </div>
- </div>
- </li>
- @endif
- </ul>
- </div>
- </div>
- </div>
- <div class="col-md-6">
- <div class="carousel-box owl-wrapper">
- <div class="image-slider snd-size">
- <ul
- class="{{ $home->hasSlider('right') ? 'bxslider bxsliderRight' : '' }}">
- @if (isset($home->right1) && $home->right1 != '')
- <li>
- <div class="item news-post standard-post">
- <div class="post-gallery">
- <img src="/files/news/{{ $home->right1->image }}"
- alt="">
- </div>
- <div class="post-content">
- <h2><a
- href="{{ $home->right1->slug }}">{{ $home->right1->title }}</a>
- </h2>
- <ul class="post-tags">
- <li><i
- class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->right1->date)) }}
- </li>
- </ul>
- </div>
- </div>
- </li>
- @endif
- @if (isset($home->right2) && $home->right2 != '')
- <li>
- <div class="item news-post standard-post">
- <div class="post-gallery">
- <img src="/files/news/{{ $home->right2->image }}"
- alt="">
- </div>
- <div class="post-content">
- <h2><a
- href="{{ $home->right2->slug }}">{{ $home->right2->title }}</a>
- </h2>
- <ul class="post-tags">
- <li><i
- class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->right2->date)) }}
- </li>
- </ul>
- </div>
- </div>
- </li>
- @endif
- @if (isset($home->right3) && $home->right3 != '')
- <li>
- <div class="item news-post standard-post">
- <div class="post-gallery">
- <img src="/files/news/{{ $home->right3->image }}"
- alt="">
- </div>
- <div class="post-content">
- <h2><a
- href="{{ $home->right3->slug }}">{{ $home->right3->title }}</a>
- </h2>
- <ul class="post-tags">
- <li><i
- class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->right3->date)) }}
- </li>
- </ul>
- </div>
- </div>
- </li>
- @endif
- @if (isset($home->right4) && $home->right4 != '')
- <li>
- <div class="item news-post standard-post">
- <div class="post-gallery">
- <img src="/files/news/{{ $home->right4->image }}"
- alt="">
- </div>
- <div class="post-content">
- <h2><a
- href="{{ $home->right4->slug }}">{{ $home->right4->title }}</a>
- </h2>
- <ul class="post-tags">
- <li><i
- class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->right4->date)) }}
- </li>
- </ul>
- </div>
- </div>
- </li>
- @endif
- @if (isset($home->right5) && $home->right5 != '')
- <li>
- <div class="item news-post standard-post">
- <div class="post-gallery">
- <img src="/files/news/{{ $home->right5->image }}"
- alt="">
- </div>
- <div class="post-content">
- <h2><a
- href="{{ $home->right5->slug }}">{{ $home->right5->title }}</a>
- </h2>
- <ul class="post-tags">
- <li><i
- class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->right5->date)) }}
- </li>
- </ul>
- </div>
- </div>
- </li>
- @endif
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- End block content -->
- </div>
- <!-- sidebar -->
- <div class="col-sm-4 sidebar">
- <div class="top-search-custom">
- <div class="search-trigger-custom">
- <a href="#"><i class="fa fa-search" aria-hidden="true"></i></a>
- </div>
- <div class="search-dropdown-custom">
- <form class="navbar-form form-inline my-2 my-lg-0" role="search" autocomplete="off"
- action="/ricerca" method="POST">
- {{ csrf_field() }}
- <div class="search-input-wrapper">
- <input type="text" id="search-field-custom" name="search"
- placeholder="Cerca qui">
- <button type="submit" style="top:11px" class="search-submit-custom">
- <i class="fa fa-search"></i>
- </button>
- </div>
- </form>
- </div>
- </div>
-
- @if ($show_top)
- <div class="advertisement carousel slide" data-ride="carousel"
- style="margin-right:0px;padding-top:14px; margin-top:0px;;margin-bottom:20px;">
- <div class="desktop-advert carousel-inner">
- @if ($home->banner_right_top_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block"
- data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_right_top_google }}"
- data-ad-format="auto" data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_right_top) && $home->banner_right_top != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_url }}"><img
- src="/files/{{ $home->banner_right_top }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_top_2) && $home->banner_right_top_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_2_url }}"><img
- src="/files/{{ $home->banner_right_top_2 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_top_3) && $home->banner_right_top_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_3_url }}"><img
- src="/files/{{ $home->banner_right_top_3 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_top_4) && $home->banner_right_top_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_4_url }}"><img
- src="/files/{{ $home->banner_right_top_4 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_top_5) && $home->banner_right_top_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_5_url }}"><img
- src="/files/{{ $home->banner_right_top_5 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget"
- style="width:300px;height:250px;border:1px solid gray;"></div>
- @endif
- @endif
- </div>
- <div class="tablet-advert carousel-inner">
- @if ($home->banner_right_top_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block"
- data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_right_top_google }}"
- data-ad-format="auto" data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_right_top) && $home->banner_right_top != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_url }}"><img
- src="/files/{{ $home->banner_right_top }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_top_2) && $home->banner_right_top_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_2_url }}"><img
- src="/files/{{ $home->banner_right_top_2 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_top_3) && $home->banner_right_top_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_3_url }}"><img
- src="/files/{{ $home->banner_right_top_3 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_top_4) && $home->banner_right_top_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_4_url }}"><img
- src="/files/{{ $home->banner_right_top_4 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_top_5) && $home->banner_right_top_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_5_url }}"><img
- src="/files/{{ $home->banner_right_top_5 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget"
- style="width:300px;height:250px;border:1px solid gray;"></div>
- @endif
- @endif
- </div>
- <div class="mobile-advert carousel-inner">
- @if ($home->banner_right_top_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block"
- data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_right_top_google }}"
- data-ad-format="auto" data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_right_top) && $home->banner_right_top != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_url }}"><img
- src="/files/{{ $home->banner_right_top }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_top_2) && $home->banner_right_top_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_2_url }}"><img
- src="/files/{{ $home->banner_right_top_2 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_top_3) && $home->banner_right_top_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_3_url }}"><img
- src="/files/{{ $home->banner_right_top_3 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_top_4) && $home->banner_right_top_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_4_url }}"><img
- src="/files/{{ $home->banner_right_top_4 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_top_5) && $home->banner_right_top_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_top_5_url }}"><img
- src="/files/{{ $home->banner_right_top_5 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget"
- style="width:300px;height:250px;border:1px solid gray;"></div>
- @endif
- @endif
- </div>
- </div>
- <div class="advertisement carousel slide" data-ride="carousel"
- style="margin-right:0px;margin-top:0px;">
- <div class="desktop-advert carousel-inner">
- @if ($home->banner_right_bottom_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block"
- data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_right_bottom_google }}"
- data-ad-format="auto" data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_right_bottom) && $home->banner_right_bottom != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_url }}"><img
- src="/files/{{ $home->banner_right_bottom }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_bottom_2) && $home->banner_right_bottom_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_2_url }}"><img
- src="/files/{{ $home->banner_right_bottom_2 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_bottom_3) && $home->banner_right_bottom_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_3_url }}"><img
- src="/files/{{ $home->banner_right_bottom_3 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_bottom_4) && $home->banner_right_bottom_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_4_url }}"><img
- src="/files/{{ $home->banner_right_bottom_4 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_bottom_5) && $home->banner_right_bottom_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_5_url }}"><img
- src="/files/{{ $home->banner_right_bottom_5 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget"
- style="width:300px;height:250px;border:1px solid gray;"></div>
- @endif
- @endif
- </div>
- <div class="tablet-advert carousel-inner">
- @if ($home->banner_right_bottom_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block"
- data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_right_bottom_google }}"
- data-ad-format="auto" data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_right_bottom) && $home->banner_right_bottom != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_url }}"><img
- src="/files/{{ $home->banner_right_bottom }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_bottom_2) && $home->banner_right_bottom_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_2_url }}"><img
- src="/files/{{ $home->banner_right_bottom_2 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_bottom_3) && $home->banner_right_bottom_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_3_url }}"><img
- src="/files/{{ $home->banner_right_bottom_3 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_bottom_4) && $home->banner_right_bottom_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_4_url }}"><img
- src="/files/{{ $home->banner_right_bottom_4 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_bottom_5) && $home->banner_right_bottom_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_5_url }}"><img
- src="/files/{{ $home->banner_right_bottom_5 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget"
- style="width:300px;height:250px;border:1px solid gray;"></div>
- @endif
- @endif
- </div>
- <div class="mobile-advert carousel-inner">
- @if ($home->banner_right_bottom_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block"
- data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_right_bottom_google }}"
- data-ad-format="auto" data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_right_bottom) && $home->banner_right_bottom != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_url }}"><img
- src="/files/{{ $home->banner_right_bottom }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_bottom_2) && $home->banner_right_bottom_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_2_url }}"><img
- src="/files/{{ $home->banner_right_bottom_2 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_bottom_3) && $home->banner_right_bottom_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_3_url }}"><img
- src="/files/{{ $home->banner_right_bottom_3 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_bottom_4) && $home->banner_right_bottom_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_4_url }}"><img
- src="/files/{{ $home->banner_right_bottom_4 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_bottom_5) && $home->banner_right_bottom_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_bottom_5_url }}"><img
- src="/files/{{ $home->banner_right_bottom_5 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget"
- style="width:300px;height:250px;border:1px solid gray;"></div>
- @endif
- @endif
- </div>
- </div>
- @else
- <div class="advertisement carousel slide" data-ride="carousel"
- style="margin-right:0px;padding-top:14px; margin-top:0px;;margin-bottom:20px;">
- <div class="desktop-advert carousel-inner">
- @if ($home->banner_right_big_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block"
- data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_right_big_google }}"
- data-ad-format="auto" data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_right_big) && $home->banner_right_big != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_url }}"><img
- src="/files/{{ $home->banner_right_big }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_big_2) && $home->banner_right_big_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_2_url }}"><img
- src="/files/{{ $home->banner_right_big_2 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_big_3) && $home->banner_right_big_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_3_url }}"><img
- src="/files/{{ $home->banner_right_big_3 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_big_4) && $home->banner_right_big_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_4_url }}"><img
- src="/files/{{ $home->banner_right_big_4 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_big_5) && $home->banner_right_big_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_5_url }}"><img
- src="/files/{{ $home->banner_right_big_5 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget"
- style="width:300px;height:600px;border:1px solid gray;"></div>
- @endif
- @endif
- </div>
- <div class="tablet-advert carousel-inner">
- @if ($home->banner_right_big_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block"
- data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_right_big_google }}"
- data-ad-format="auto" data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_right_big) && $home->banner_right_big != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_url }}"><img
- src="/files/{{ $home->banner_right_big }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_big_2) && $home->banner_right_big_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_2_url }}"><img
- src="/files/{{ $home->banner_right_big_2 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_big_3) && $home->banner_right_big_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_3_url }}"><img
- src="/files/{{ $home->banner_right_big_3 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_big_4) && $home->banner_right_big_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_4_url }}"><img
- src="/files/{{ $home->banner_right_big_4 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_big_5) && $home->banner_right_big_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_5_url }}"><img
- src="/files/{{ $home->banner_right_big_5 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget"
- style="width:300px;height:250px;border:1px solid gray;"></div>
- @endif
- @endif
- </div>
- <div class="mobile-advert carousel-inner">
- @if ($home->banner_right_big_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block"
- data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_right_big_google }}"
- data-ad-format="auto" data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_right_big) && $home->banner_right_big != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_url }}"><img
- src="/files/{{ $home->banner_right_big }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_big_2) && $home->banner_right_big_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_2_url }}"><img
- src="/files/{{ $home->banner_right_big_2 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_big_3) && $home->banner_right_big_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_3_url }}"><img
- src="/files/{{ $home->banner_right_big_3 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_big_4) && $home->banner_right_big_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_4_url }}"><img
- src="/files/{{ $home->banner_right_big_4 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_big_5) && $home->banner_right_big_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_big_5_url }}"><img
- src="/files/{{ $home->banner_right_big_5 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget"
- style="width:300px;height:600px;border:1px solid gray;"></div>
- @endif
- @endif
- </div>
- </div>
- @endif
- <div class="advertisement carousel slide" data-ride="carousel"
- style="margin-right:0px;padding-top:14px; margin-top:0px;;margin-bottom:20px;">
- <div class="desktop-advert carousel-inner">
- <!--<img src="/images/banner-home.gif" width="300" alt="" style="border:1px solid gray;">-->
- @for ($xxx = 1; $xxx <= 5; $xxx++)
- <div class="item {{ $xxx == 1 ? 'active' : '' }}">
- <img src="/images/rotator_{{ $xxx }}.png" width="300"
- alt="" style="border:1px solid gray;">
- </div>
- @endfor
- </div>
- <div class="tablet-advert carousel-inner">
- <!--<img src="/images/banner-home.gif" width="300" alt="" style="border:1px solid gray;">-->
- @for ($xxx = 1; $xxx <= 5; $xxx++)
- <div class="item {{ $xxx == 1 ? 'active' : '' }}">
- <img src="/images/rotator_{{ $xxx }}.png" width="300"
- alt="" style="border:1px solid gray;">
- </div>
- @endfor
- </div>
- <div class="mobile-advert carousel-inner">
- <!--<img src="/images/banner-home.gif" width="300" alt="" style="border:1px solid gray;">-->
- @for ($xxx = 1; $xxx <= 5; $xxx++)
- <div class="item {{ $xxx == 1 ? 'active' : '' }}">
- <img src="/images/rotator_{{ $xxx }}.png" width="300"
- alt="" style="border:1px solid gray;">
- </div>
- @endfor
- </div>
- </div>
- @if (
- $home->radio1_file != '' ||
- $home->radio1_url != '' ||
- $home->radio2_file != '' ||
- $home->radio2_url != '' ||
- $home->radio3_file != '' ||
- $home->radio3_url != '')
- <div class="block-content" style="margin-top: 2em;">
- <div class="title-section">
- <h1><span style="font-size: 21px;">Web Radio</span></h1>
- </div>
- <select class="form-control" id="cbRadio">
- @if ($home->radio1_file != '' || $home->radio1_url != '')
- <option
- value="{{ $home->radio1_file != '' ? '/files/' . $home->radio1_file : $home->radio1_url }}">
- {{ $home->radio1_title }}</option>
- @endif
- @if ($home->radio2_file != '' || $home->radio2_url != '')
- <option
- value="{{ $home->radio2_file != '' ? '/files/' . $home->radio2_file : $home->radio2_url }}">
- {{ $home->radio2_title }}</option>
- @endif
- @if ($home->radio3_file != '' || $home->radio3_url != '')
- <option
- value="{{ $home->radio3_file != '' ? '/files/' . $home->radio3_file : $home->radio3_url }}">
- {{ $home->radio3_title }}</option>
- @endif
- </select><br>
- @if ($home->radio1_file != '' || $home->radio1_url != '')
- <audio id="player"
- src="{{ $home->radio1_file != '' ? '/files/' . $home->radio1_file : $home->radio1_url }}"></audio>
- @else
- @if ($home->radio2_file != '' || $home->radio2_url != '')
- <audio id="player"
- src="{{ $home->radio2_file != '' ? '/files/' . $home->radio2_file : $home->radio2_url }}"></audio>
- @else
- @if ($home->radio3_file != '' || $home->radio3_url != '')
- <audio id="player"
- src="{{ $home->radio3_file != '' ? '/files/' . $home->radio3_file : $home->radio3_url }}"></audio>
- @endif
- @endif
- @endif
- <div>
- <button class="btn btn-success btn-lg"
- onclick="document.getElementById('player').play()" style="font-size:15px;"><i
- class="fa fa-play"></i> Play</button>
- <button class="btn btn-danger btn-lg"
- onclick="document.getElementById('player').pause()" style="font-size:15px;"><i
- class="fa fa-pause"></i> Pause</button>
- <button class="btn btn-lg"
- onclick="document.getElementById('player').volume += 0.1"
- style="font-size:15px;"><i class="fa fa-volume-up"></i> +</button>
- <button class="btn btn-lg"
- onclick="document.getElementById('player').volume -= 0.1"
- style="font-size:15px;"><i class="fa fa-volume-down"></i> -</button>
- </div>
- </div>
- @endif
- <!-- END Web Radio -->
- </div>
- <!-- End sidebar -->
- </div>
- </div>
- </section>
- <div class="container">
- <div class="advertisement carousel slide" data-ride="carousel">
- <div class="desktop-advert carousel-inner">
- @if ($home->banner_middle_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_middle_google }}" data-ad-format="auto"
- data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_middle) && $home->banner_middle != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url }}"><img
- src="/files/{{ $home->banner_middle }}" width="997" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_middle_2) && $home->banner_middle_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url_2 }}"><img
- src="/files/{{ $home->banner_middle_2 }}" width="997" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_middle_3) && $home->banner_middle_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url_3 }}"><img
- src="/files/{{ $home->banner_middle_3 }}" width="997" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_middle_4) && $home->banner_middle_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url_4 }}"><img
- src="/files/{{ $home->banner_middle_4 }}" width="997" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_middle_5) && $home->banner_middle_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url_5 }}"><img
- src="/files/{{ $home->banner_middle_5 }}" width="997" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget" style="width:997;height:300;border:1px solid gray;"></div>
- @endif
- @endif
- </div>
- <div class="tablet-advert carousel-inner">
- @if ($home->banner_middle_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_middle_google }}" data-ad-format="auto"
- data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_middle) && $home->banner_middle != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url }}"><img
- src="/files/{{ $home->banner_middle }}" width="997" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_middle_2) && $home->banner_middle_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url_2 }}"><img
- src="/files/{{ $home->banner_middle_2 }}" width="997" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_middle_3) && $home->banner_middle_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url_3 }}"><img
- src="/files/{{ $home->banner_middle_3 }}" width="997" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_middle_4) && $home->banner_middle_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url_4 }}"><img
- src="/files/{{ $home->banner_middle_4 }}" width="997" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_middle_5) && $home->banner_middle_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url_5 }}"><img
- src="/files/{{ $home->banner_middle_5 }}" width="997" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget" style="width:997;height:300;border:1px solid gray;">
- </div>
- @endif
- @endif
- </div>
- <div class="mobile-advert carousel-inner">
- @if ($home->banner_middle_google != '')
- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
- data-ad-slot="{{ $home->banner_middle_google }}" data-ad-format="auto"
- data-full-width-responsive="true"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- @else
- @php
- $found = false;
- $count = 0;
- @endphp
- @if (isset($home->banner_middle) && $home->banner_middle != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url }}"><img
- src="/files/{{ $home->banner_middle }}" width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_middle_2) && $home->banner_middle_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url_2 }}"><img
- src="/files/{{ $home->banner_middle_2 }}" width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_middle_3) && $home->banner_middle_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url_3 }}"><img
- src="/files/{{ $home->banner_middle_3 }}" width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_middle_4) && $home->banner_middle_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url_4 }}"><img
- src="/files/{{ $home->banner_middle_4 }}" width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_middle_5) && $home->banner_middle_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_middle_url_5 }}"><img
- src="/files/{{ $home->banner_middle_5 }}" width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (!$found)
- <div class="widget" style="width:300;height:90;border:1px solid gray;">
- </div>
- @endif
- @endif
- </div>
- </div>
- </div>
- @yield('content')
- @include('layouts.footer')
- </div>
- <button onclick="topFunction()" id="btTop" title="Go to top">Top</button>
- <!-- End Container -->
- <script type="text/javascript" src="js/jquery.min.js"></script>
- <script type="text/javascript" src="js/jquery.migrate.js"></script>
- <script type="text/javascript" src="js/jquery.bxslider.min.js"></script>
- <script type="text/javascript" src="js/jquery.magnific-popup.min.js"></script>
- <script type="text/javascript" src="js/bootstrap.min.js"></script>
- <script type="text/javascript" src="js/jquery.ticker.js"></script>
- <script type="text/javascript" src="js/jquery.imagesloaded.min.js"></script>
- <script type="text/javascript" src="js/jquery.isotope.min.js"></script>
- <script type="text/javascript" src="js/owl.carousel.min.js"></script>
- <script type="text/javascript" src="js/plugins-scroll.js"></script>
- <script type="text/javascript" src="js/script.js"></script>
- <script type="text/javascript" src="js/jquery.lazy.min.js"></script>
- <script type="text/javascript" src="js/lightslider.js"></script>
- <script type="text/javascript">
- var count = 0;
- var max_count = {{ sizeof($aHome) }};
- $(document).ready(function() {
- $(".fa-search").click(function() {
- $(".togglesearch").toggle();
- $("input[type='text']").focus();
- });
- // $('body').css('cursor', 'pointer');
- $('body').click(function(event) {
- if (event.target == event.currentTarget) {
- var url = $("#url" + count).val();
- document.location.href = url;
- }
- //inserire url dinamica qui
- // window.open('http://www.google.it');
- });
- $("#cbRadio").change(function() {
- var audio_url = this.value;
- document.getElementById("player").setAttribute('src', audio_url);
- });
- });
- function scroll_to(id) {
- $('html,body').animate({
- scrollTop: $('#' + id).offset().top - 150
- }, 'slow');
- }
- $('#btn-nav-previous').click(function() {
- $(".menu-inner-box").animate({
- scrollLeft: "-=150px"
- });
- });
- $('#btn-nav-next').click(function() {
- $(".menu-inner-box").animate({
- scrollLeft: "+=150px"
- });
- });
- /*
- setTimeout(function(){
- window.location.reload(1);
- }, 180000);*/
- if ($( window ).width() > 800)
- {
- if (max_count > 0) {
- /*$('body.bg-adv').click(function() {
- var url = $("#url" + count).val();
- document.location.href = url;
- })
- $('body>*').click(function(e) {
- e.stopPropagation()
- });*/
- setInterval(function() {
- count = count + 1;
- if (count == max_count)
- count = 0;
- var img = $("#img" + count).val();
- $(".bg-adv").css("background-image", "url('/files/" + img + "')");
- }, 5000);
- }
- }
- $(function() {
- $('.lazy').Lazy();
- });
- mybutton = document.getElementById("btTop");
- // When the user scrolls down 20px from the top of the document, show the button
- window.onscroll = function() {
- scrollFunction()
- };
- function scrollFunction() {
- if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
- mybutton.style.display = "block";
- } else {
- mybutton.style.display = "none";
- }
- }
- // When the user clicks on the button, scroll to the top of the document
- function topFunction() {
- document.body.scrollTop = 0; // For Safari
- document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
- }
- $('#lightSlider').lightSlider({
- gallery: true,
- item: 1,
- loop: true,
- slideMargin: 0,
- thumbItem: 5
- });
- $(document).ready(function() {
- var $overlay = $(
- '<div id="overlay" class="overlay" style="position: fixed;background: $black;width: 100%;height: 100%;top: 0;left: 0;text-align: center;z-index: 999999 !important;display: none;"></div>'
- );
- var $iframe = $(
- '<iframe width="595" height="485" frameborder="0" marginwidth="0" margin="0" height="0" scrolling="no" style="margin-top:10%" allowfullscreen></iframe>'
- );
- $overlay.append($iframe);
- // append overlay to body
- $('body').append($overlay);
- $('a.view-video').click(function(event) {
- event.preventDefault();
- var id = $(this).attr('href');
- var src = '/video/' + id;
- console.log(src);
- // update overlay with iframe
- $iframe.attr('src', src);
- // show overlay
- $overlay.show();
- });
- // when overlay is clicked
- $overlay.click(function() {
- // hide overlay
- $overlay.hide();
- $iframe.attr('src', '');
- });
- });
- $(function() {
- $(document).ready(function() {
- if (window.matchMedia("(max-width: 767px)").matches) {
- $(".desktop-advert").remove();
- $(".tablet-advert").remove();
- } else {
- }
- });
- $('.carousel').carousel();
- })
- </script>
- <script type="text/javascript">
- $('.navbar-nav a.home-scroll-section').click(function() {
- $('.navbar-collapse').removeClass('in')
- });
- </script>
- <script>
- document.querySelector('.search-trigger-custom').addEventListener('click', function(e) {
- e.preventDefault();
- document.querySelector('.search-dropdown-custom').classList.toggle('active');
- if (document.querySelector('.search-dropdown-custom').classList.contains('active')) {
- document.querySelector('#search-field-custom').focus();
- }
- });
- // Close search when clicking outside
- document.addEventListener('click', function(e) {
- const searchArea = document.querySelector('.top-search-custom');
- const dropdown = document.querySelector('.search-dropdown-custom');
- if (!searchArea.contains(e.target) && dropdown.classList.contains('active')) {
- dropdown.classList.remove('active');
- }
- });
- </script>
- </body>
- </html>
|