| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226 |
- <!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>
- 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 (false)
- <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_first_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_first_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_first) && $home->banner_first != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url }}"><img
- src="/files/{{ $home->banner_first }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_first_2) && $home->banner_first_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url_2 }}"><img
- src="/files/{{ $home->banner_first_2 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_first_3) && $home->banner_first_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url_3 }}"><img
- src="/files/{{ $home->banner_first_3 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_first_4) && $home->banner_first_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url_4 }}"><img
- src="/files/{{ $home->banner_first_4 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_first_5) && $home->banner_first_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url_5 }}"><img
- src="/files/{{ $home->banner_first_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_first_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_first_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_first) && $home->banner_first != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url }}"><img
- src="/files/{{ $home->banner_first }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_first_2) && $home->banner_first_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url_2 }}"><img
- src="/files/{{ $home->banner_first_2 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_first_3) && $home->banner_first_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url_3 }}"><img
- src="/files/{{ $home->banner_first_3 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_first_4) && $home->banner_first_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url_4 }}"><img
- src="/files/{{ $home->banner_first_4 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_first_5) && $home->banner_first_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url_5 }}"><img
- src="/files/{{ $home->banner_first_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_first_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_first_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_first) && $home->banner_first != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url }}"><img
- src="/files/{{ $home->banner_first }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_first_2) && $home->banner_first_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url_2 }}"><img
- src="/files/{{ $home->banner_first_2 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_first_3) && $home->banner_first_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url_3 }}"><img
- src="/files/{{ $home->banner_first_3 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_first_4) && $home->banner_first_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url_4 }}"><img
- src="/files/{{ $home->banner_first_4 }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_first_5) && $home->banner_first_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_first_url_5 }}"><img
- src="/files/{{ $home->banner_first_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>
- <!-- slider-caption-box -->
- <div class="slider-caption-box">
- <div class="title-section">
- <h1><span style="font-size:21px;">Video</span></h1>
- </div>
- <div class="slide-video">
- <ul id="lightSlider">
- @foreach ($videos as $idx => $video)
- <li data-thumb="/files/videos/{{ $video->image }}">
- <a href="{{ $video->id }}" class="view-video">
- <img src="/files/videos/{{ $video->image }}"
- style="width:320px;height:200px;" />
- <div class="caption">
- <p>{{ $video->title }}</p>
- <p><small>{{ date('d/m/Y', strtotime($video->date)) }}</small>
- </p>
- </div>
- </a>
- </li>
- @endforeach
- </ul>
- </div>
- </div>
- <div class="center-button" style="margin-top:20px;">
- <a href="/videos">ARCHIVIO VIDEO</a>
- </div>
- <!-- End slider-caption-box -->
- @endif
- @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 (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>
|