| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212 |
- <!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_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_right_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_right_middle) && $home->banner_right_middle != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_url }}"><img
- src="/files/{{ $home->banner_right_middle }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_middle_2) && $home->banner_right_middle_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_2_url }}"><img
- src="/files/{{ $home->banner_right_middle_2 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_middle_3) && $home->banner_right_middle_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_3_url }}"><img
- src="/files/{{ $home->banner_right_middle_3 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_middle_4) && $home->banner_right_middle_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_4_url }}"><img
- src="/files/{{ $home->banner_right_middle_4 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_middle_5) && $home->banner_right_middle_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_5_url }}"><img
- src="/files/{{ $home->banner_right_middle_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_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_right_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_right_middle) && $home->banner_right_middle != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_url }}"><img
- src="/files/{{ $home->banner_right_middle }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_middle_2) && $home->banner_right_middle_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_2_url }}"><img
- src="/files/{{ $home->banner_right_middle_2 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_middle_3) && $home->banner_right_middle_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_3_url }}"><img
- src="/files/{{ $home->banner_right_middle_3 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_middle_4) && $home->banner_right_middle_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_4_url }}"><img
- src="/files/{{ $home->banner_right_middle_4 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_middle_5) && $home->banner_right_middle_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_5_url }}"><img
- src="/files/{{ $home->banner_right_middle_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_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_right_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_right_middle) && $home->banner_right_middle != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_url }}"><img
- src="/files/{{ $home->banner_right_middle }}" width="300"
- alt="" style="border:1px solid gray;"></a>
- </div>
- @php
- $count += 1;
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_middle_2) && $home->banner_right_middle_2 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_2_url }}"><img
- src="/files/{{ $home->banner_right_middle_2 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_middle_3) && $home->banner_right_middle_3 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_3_url }}"><img
- src="/files/{{ $home->banner_right_middle_3 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_middle_4) && $home->banner_right_middle_4 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_4_url }}"><img
- src="/files/{{ $home->banner_right_middle_4 }}"
- width="300" alt=""
- style="border:1px solid gray;"></a>
- </div>
- @php
- $found = true;
- @endphp
- @endif
- @if (isset($home->banner_right_middle_5) && $home->banner_right_middle_5 != '')
- <div class="item {{ $count == 0 ? 'active' : '' }}">
- <a href="{{ $home->banner_right_middle_5_url }}"><img
- src="/files/{{ $home->banner_right_middle_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>
|