home.blade.php 135 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216
  1. <!doctype html>
  2. <html lang="it" class="no-js">
  3. <head>
  4. <!-- Global site tag (gtag.js) - Google Analytics -->
  5. <script async src="https://www.googletagmanager.com/gtag/js?id=UA-12619965-34"></script>
  6. <script src="//d3u598arehftfk.cloudfront.net/prebid_hb_14302_22192.js" async></script>
  7. <script>
  8. window.dataLayer = window.dataLayer || [];
  9. function gtag() {
  10. dataLayer.push(arguments);
  11. }
  12. gtag('js', new Date());
  13. gtag('config', 'UA-12619965-34');
  14. </script>
  15. <title>Calcio a 5 Anteprima</title>
  16. <meta charset="utf-8">
  17. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  18. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  19. <link href='https://fonts.googleapis.com/css?family=Lato:300,400,700,900,400italic' rel='stylesheet' type='text/css'>
  20. <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
  21. <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css" media="screen">
  22. <link rel="stylesheet" type="text/css" href="/css/jquery.bxslider.css" media="screen">
  23. <link rel="stylesheet" type="text/css" href="/css/font-awesome.css" media="screen">
  24. <link rel="stylesheet" type="text/css" href="/css/magnific-popup.css" media="screen">
  25. <link rel="stylesheet" type="text/css" href="/css/owl.carousel.css" media="screen">
  26. <link rel="stylesheet" type="text/css" href="/css/owl.theme.css" media="screen">
  27. <link rel="stylesheet" type="text/css" href="/css/ticker-style.css" />
  28. <link rel="stylesheet" type="text/css" href="/css/style.css" media="screen">
  29. <link rel="stylesheet" type="text/css" href="/css/print.css" media="print">
  30. <link rel="stylesheet" type="text/css" href="/css/custom.css" media="screen">
  31. <link rel="stylesheet" type="text/css" href="/css/lightslider.min.css" media="screen">
  32. <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon.png">
  33. <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
  34. <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
  35. <link rel="manifest" href="/site.webmanifest">
  36. <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
  37. <meta name="msapplication-TileColor" content="#da532c">
  38. <meta name="theme-color" content="#ffffff">
  39. <style>
  40. nav#menu-container {
  41. position: relative;
  42. width: 100%;
  43. height: 56px;
  44. }
  45. #btn-nav-previous {
  46. text-align: center;
  47. color: black;
  48. cursor: pointer;
  49. font-size: 18px;
  50. position: absolute;
  51. left: 0px;
  52. fill: #FFF;
  53. }
  54. #btn-nav-next {
  55. text-align: center;
  56. color: black;
  57. cursor: pointer;
  58. font-size: 18px;
  59. position: absolute;
  60. right: 0px;
  61. fill: #FFF;
  62. }
  63. .menu-inner-box {
  64. width: 90%;
  65. white-space: nowrap;
  66. margin: 0 auto;
  67. overflow: hidden;
  68. padding: 0px 5px;
  69. box-sizing: border-box;
  70. }
  71. .menu {
  72. padding: 0;
  73. margin: 0;
  74. list-style-type: none;
  75. display: block;
  76. text-align: center;
  77. }
  78. a.menu-item {
  79. color: #fff;
  80. text-decoration: none;
  81. text-align: center;
  82. white-space: no-wrap;
  83. }
  84. .menu-item:hover {
  85. text-decoration: underline;
  86. }
  87. @media only screen and (max-width: 480px) {
  88. #btn-nav-previous {
  89. /* display:none; */
  90. }
  91. #btn-nav-next {
  92. /* display:none; */
  93. }
  94. .menu-inner-box {
  95. width: 80%;
  96. overflow-x: auto;
  97. }
  98. }
  99. @if ($home->image != '')
  100. @media (min-width: 400px) {
  101. .bg-adv {
  102. background-color: white;
  103. }
  104. .adv {
  105. background-color: white;
  106. }
  107. }
  108. @media (min-width: 1170px) {
  109. .navbar-nav>li>a {
  110. padding: 20px 10px 20px 10px;
  111. z-index: 2;
  112. }
  113. #container {
  114. margin-top: 120px;
  115. }
  116. .container {
  117. width: 1040px !important;
  118. }
  119. .bg-adv {
  120. /*https://source.unsplash.com/twukN12EN7c/1920x1080*/
  121. background: url('/files/{{ $home->image }}');
  122. background-size: 1920px !important;
  123. background-repeat: no-repeat;
  124. background-attachment: fixed;
  125. background-position: top;
  126. }
  127. .adv {
  128. max-width: 1040px;
  129. padding-right: 5px;
  130. padding-left: 5px;
  131. margin-right: auto;
  132. margin-left: auto;
  133. /* margin-top: 120px!important; */
  134. background-color: white;
  135. }
  136. }
  137. @endif
  138. .slide-video {
  139. width: 320px;
  140. }
  141. .slide-video>ul {
  142. list-style: none outside none;
  143. padding-left: 0;
  144. margin-bottom: 0;
  145. }
  146. .slide-video>ul>li {
  147. display: block;
  148. float: left;
  149. margin-right: 6px;
  150. cursor: pointer;
  151. }
  152. .slide-video>ul>li>img {
  153. display: block;
  154. height: auto;
  155. max-width: 90%;
  156. }
  157. .caption {
  158. background-color: rgba(0, 0, 0, 0.55);
  159. position: relative;
  160. top: 0;
  161. left: 0;
  162. padding: 5px;
  163. color: white;
  164. width: 320px;
  165. }
  166. .caption p {
  167. margin: 0;
  168. color: white;
  169. }
  170. // overlay
  171. .overlay {
  172. position: fixed;
  173. background: $black;
  174. width: 100%;
  175. height: 100%;
  176. top: 0;
  177. left: 0;
  178. text-align: center;
  179. z-index: 999999 !important;
  180. display: none;
  181. iframe {
  182. margin-top: 10%;
  183. }
  184. }
  185. .togglesearch {
  186. background: #FFFFFF;
  187. position: absolute;
  188. top: 0px;
  189. z-index: 99999;
  190. right: 8%;
  191. width: 350px;
  192. height: 60px;
  193. box-shadow: 0 0 10px rgba(0, 0, 0, .5);
  194. display: none;
  195. }
  196. </style>
  197. </head>
  198. <body class="bg-adv home">
  199. @foreach ($aHome as $id => $img)
  200. <input type="hidden" id="img{{ $id }}" value="{{ $img['image'] }}">
  201. <input type="hidden" id="url{{ $id }}" value="{{ $img['url'] }}">
  202. @endforeach
  203. <div id="container" class="adv">
  204. @include('layouts.header')
  205. <section class="block-wrapper">
  206. <div class="container">
  207. <!-- Advertisement carousel with proper closing tags -->
  208. <div class="advertisement carousel slide" style="margin-top:0px;">
  209. <div class="desktop-advert carousel-inner">
  210. @if ($home->banner_underb_google != '')
  211. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  212. <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
  213. data-ad-slot="{{ $home->banner_underb_google }}" data-ad-format="auto"
  214. data-full-width-responsive="true"></ins>
  215. <script>
  216. (adsbygoogle = window.adsbygoogle || []).push({});
  217. </script>
  218. @else
  219. @php
  220. $found = false;
  221. $count = 0;
  222. @endphp
  223. @if (isset($home->banner_underb) && $home->banner_underb != '')
  224. <div class="item {{ $count == 0 ? 'active' : '' }}">
  225. <a href="{{ $home->banner_underb_url }}"
  226. onclick="scroll_to('torneo-nazionale-citta-di-padova-')"><img
  227. src="/files/{{ $home->banner_underb }}" width="1000" alt=""
  228. style="border:1px solid gray;"></a>
  229. </div>
  230. @php
  231. $count += 1;
  232. $found = true;
  233. @endphp
  234. @endif
  235. @if (isset($home->banner_underb_2) && $home->banner_underb_2 != '')
  236. <div class="item {{ $count == 0 ? 'active' : '' }}">
  237. <a href="{{ $home->banner_underb_url_2 }}"><img
  238. src="/files/{{ $home->banner_underb_2 }}" width="1000" alt=""
  239. style="border:1px solid gray;"></a>
  240. </div>
  241. @php
  242. $found = true;
  243. @endphp
  244. @endif
  245. @if (isset($home->banner_underb_3) && $home->banner_underb_3 != '')
  246. <div class="item {{ $count == 0 ? 'active' : '' }}">
  247. <a href="{{ $home->banner_underb_url_3 }}"><img
  248. src="/files/{{ $home->banner_underb_3 }}" width="1000" alt=""
  249. style="border:1px solid gray;"></a>
  250. </div>
  251. @php
  252. $found = true;
  253. @endphp
  254. @endif
  255. @if (isset($home->banner_underb_4) && $home->banner_underb_4 != '')
  256. <div class="item {{ $count == 0 ? 'active' : '' }}">
  257. <a href="{{ $home->banner_underb_url_4 }}"><img
  258. src="/files/{{ $home->banner_underb_4 }}" width="1000" alt=""
  259. style="border:1px solid gray;"></a>
  260. </div>
  261. @php
  262. $found = true;
  263. @endphp
  264. @endif
  265. @if (isset($home->banner_underb_5) && $home->banner_underb_5 != '')
  266. <div class="item {{ $count == 0 ? 'active' : '' }}">
  267. <a href="{{ $home->banner_underb_url_5 }}"><img
  268. src="/files/{{ $home->banner_underb_5 }}" width="1000" alt=""
  269. style="border:1px solid gray;"></a>
  270. </div>
  271. @php
  272. $found = true;
  273. @endphp
  274. @endif
  275. @if (!$found)
  276. <div class="widget" style="width:997px;height:90px;border:1px solid gray;margin:0px;"></div>
  277. @endif
  278. @endif
  279. </div>
  280. <div class="tablet-advert carousel-inner">
  281. @if ($home->banner_underb_google != '')
  282. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  283. <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
  284. data-ad-slot="{{ $home->banner_underb_google }}" data-ad-format="auto"
  285. data-full-width-responsive="true"></ins>
  286. <script>
  287. (adsbygoogle = window.adsbygoogle || []).push({});
  288. </script>
  289. @else
  290. @php
  291. $found = false;
  292. $count = 0;
  293. @endphp
  294. @if (isset($home->banner_underb) && $home->banner_underb != '')
  295. <div class="item {{ $count == 0 ? 'active' : '' }}">
  296. <a href="{{ $home->banner_underb_url }}"
  297. onclick="scroll_to('torneo-nazionale-citta-di-padova-')"><img
  298. src="/files/{{ $home->banner_underb }}" width="1000" alt=""
  299. style="border:1px solid gray;"></a>
  300. </div>
  301. @php
  302. $count += 1;
  303. $found = true;
  304. @endphp
  305. @endif
  306. @if (isset($home->banner_underb_2) && $home->banner_underb_2 != '')
  307. <div class="item {{ $count == 0 ? 'active' : '' }}">
  308. <a href="{{ $home->banner_underb_url_2 }}"><img
  309. src="/files/{{ $home->banner_underb_2 }}" width="1000" alt=""
  310. style="border:1px solid gray;"></a>
  311. </div>
  312. @php
  313. $found = true;
  314. @endphp
  315. @endif
  316. @if (isset($home->banner_underb_3) && $home->banner_underb_3 != '')
  317. <div class="item {{ $count == 0 ? 'active' : '' }}">
  318. <a href="{{ $home->banner_underb_url_3 }}"><img
  319. src="/files/{{ $home->banner_underb_3 }}" width="1000" alt=""
  320. style="border:1px solid gray;"></a>
  321. </div>
  322. @php
  323. $found = true;
  324. @endphp
  325. @endif
  326. @if (isset($home->banner_underb_4) && $home->banner_underb_4 != '')
  327. <div class="item {{ $count == 0 ? 'active' : '' }}">
  328. <a href="{{ $home->banner_underb_url_4 }}"><img
  329. src="/files/{{ $home->banner_underb_4 }}" width="1000" alt=""
  330. style="border:1px solid gray;"></a>
  331. </div>
  332. @php
  333. $found = true;
  334. @endphp
  335. @endif
  336. @if (isset($home->banner_underb_5) && $home->banner_underb_5 != '')
  337. <div class="item {{ $count == 0 ? 'active' : '' }}">
  338. <a href="{{ $home->banner_underb_url_5 }}"><img
  339. src="/files/{{ $home->banner_underb_5 }}" width="1000" alt=""
  340. style="border:1px solid gray;"></a>
  341. </div>
  342. @php
  343. $found = true;
  344. @endphp
  345. @endif
  346. @if (!$found)
  347. <div class="widget" style="width:997px;height:90px;border:1px solid gray;margin:0px;">
  348. </div>
  349. @endif
  350. @endif
  351. </div>
  352. <div class="mobile-advert carousel-inner">
  353. @if ($home->banner_underb_google != '')
  354. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  355. <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
  356. data-ad-slot="{{ $home->banner_underb_google }}" data-ad-format="auto"
  357. data-full-width-responsive="true"></ins>
  358. <script>
  359. (adsbygoogle = window.adsbygoogle || []).push({});
  360. </script>
  361. @else
  362. @php
  363. $found = false;
  364. $count = 0;
  365. @endphp
  366. @if (isset($home->banner_underb) && $home->banner_underb != '')
  367. <div class="item {{ $count == 0 ? 'active' : '' }}">
  368. <a href="{{ $home->banner_underb_url }}"
  369. onclick="scroll_to('torneo-nazionale-citta-di-padova-')"><img
  370. src="/files/{{ $home->banner_underb }}" width="1000300" alt=""
  371. style="border:1px solid gray;"></a>
  372. </div>
  373. @php
  374. $count += 1;
  375. $found = true;
  376. @endphp
  377. @endif
  378. @if (isset($home->banner_underb_2) && $home->banner_underb_2 != '')
  379. <div class="item {{ $count == 0 ? 'active' : '' }}">
  380. <a href="{{ $home->banner_underb_url_2 }}"><img
  381. src="/files/{{ $home->banner_underb_2 }}" width="1000300" alt=""
  382. style="border:1px solid gray;"></a>
  383. </div>
  384. @php
  385. $found = true;
  386. @endphp
  387. @endif
  388. @if (isset($home->banner_underb_3) && $home->banner_underb_3 != '')
  389. <div class="item {{ $count == 0 ? 'active' : '' }}">
  390. <a href="{{ $home->banner_underb_url_3 }}"><img
  391. src="/files/{{ $home->banner_underb_3 }}" width="300" alt=""
  392. style="border:1px solid gray;"></a>
  393. </div>
  394. @php
  395. $found = true;
  396. @endphp
  397. @endif
  398. @if (isset($home->banner_underb_4) && $home->banner_underb_4 != '')
  399. <div class="item {{ $count == 0 ? 'active' : '' }}">
  400. <a href="{{ $home->banner_underb_url_4 }}"><img
  401. src="/files/{{ $home->banner_underb_4 }}" width="300" alt=""
  402. style="border:1px solid gray;"></a>
  403. </div>
  404. @php
  405. $found = true;
  406. @endphp
  407. @endif
  408. @if (isset($home->banner_underb_5) && $home->banner_underb_5 != '')
  409. <div class="item {{ $count == 0 ? 'active' : '' }}">
  410. <a href="{{ $home->banner_underb_url_5 }}"><img
  411. src="/files/{{ $home->banner_underb_5 }}" width="300" alt=""
  412. style="border:1px solid gray;"></a>
  413. </div>
  414. @php
  415. $found = true;
  416. @endphp
  417. @endif
  418. @if (!$found)
  419. <div class="widget" style="width:300;height:50px;border:1px solid gray;margin:0px;">
  420. </div>
  421. @endif
  422. @endif
  423. </div>
  424. </div>
  425. <section class="ticker-news" style="margin-top: 30px;">
  426. <div class="container">
  427. <div class="ticker-news-box" style="margin-left:-15px;">
  428. <span class="breaking-news">breaking news</span>
  429. <span class="new-news">New</span>
  430. <ul id="js-news">
  431. @foreach ($breaking_news as $news)
  432. <li class="news-item"><span
  433. class="time-news">{{ date('d/m/Y H:i', strtotime($news->date)) }}</span>
  434. {{ $news->title }}</li>
  435. @endforeach
  436. </ul>
  437. </div>
  438. </div>
  439. </section>
  440. <div class="row" style="margin-top:30px;min-height:620px !important;margin-right:0!important">
  441. <div class="col-sm-8">
  442. <!-- block content -->
  443. <div class="block-content">
  444. <div class="title-section">
  445. <h1><span style="font-size:21px;">Primo piano</span></h1>
  446. </div>
  447. <div class="carousel-box owl-wrapper">
  448. @if (isset($home->slide1) && $home->slide1 != '')
  449. <div class="image-slider snd-size">
  450. <div class="news-post image-post">
  451. @if ($home->slide1->live)
  452. <span class="top-live">LIVE</span>
  453. @endif
  454. <a href="{{ $home->slide1->slug }}"><img
  455. src="/files/news/{{ $home->slide1->image }}" alt=""></a>
  456. <div class="box-title">
  457. <div class="inner-hover">
  458. <h2><a
  459. href="/{{ $home->slide1->slug }}">{{ $home->slide1->title }}</a>
  460. </h2>
  461. <ul class="post-tags">
  462. <li><i
  463. class="fa fa-clock-o"></i><span>{{ date('d/m/Y', strtotime($home->slide1->date)) }}</span>
  464. </li>
  465. </ul>
  466. </div>
  467. </div>
  468. </div>
  469. </div>
  470. @endif
  471. </div>
  472. <div class="row primo-piano">
  473. <div class="col-md-6">
  474. <div class="carousel-box owl-wrapper">
  475. <div class="image-slider snd-size">
  476. <ul class="{{ $home->hasSlider('left') ? 'bxslider bxsliderLeft' : '' }}">
  477. @if (isset($home->left1) && $home->left1 != '')
  478. <li>
  479. <div class="item news-post standard-post">
  480. <div class="post-gallery">
  481. <img src="/files/news/{{ $home->left1->image }}"
  482. alt="">
  483. </div>
  484. <div class="post-content">
  485. <h2><a
  486. href="{{ $home->left1->slug }}">{{ $home->left1->title }}</a>
  487. </h2>
  488. <ul class="post-tags">
  489. <li><i
  490. class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->left1->date)) }}
  491. </li>
  492. </ul>
  493. </div>
  494. </div>
  495. </li>
  496. @endif
  497. @if (isset($home->left2) && $home->left2 != '')
  498. <li>
  499. <div class="item news-post standard-post">
  500. <div class="post-gallery">
  501. <img src="/files/news/{{ $home->left2->image }}"
  502. alt="">
  503. </div>
  504. <div class="post-content">
  505. <h2><a
  506. href="{{ $home->left2->slug }}">{{ $home->left2->title }}</a>
  507. </h2>
  508. <ul class="post-tags">
  509. <li><i
  510. class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->left2->date)) }}
  511. </li>
  512. </ul>
  513. </div>
  514. </div>
  515. </li>
  516. @endif
  517. @if (isset($home->left3) && $home->left3 != '')
  518. <li>
  519. <div class="item news-post standard-post">
  520. <div class="post-gallery">
  521. <img src="/files/news/{{ $home->left3->image }}"
  522. alt="">
  523. </div>
  524. <div class="post-content">
  525. <h2><a
  526. href="{{ $home->left3->slug }}">{{ $home->left3->title }}</a>
  527. </h2>
  528. <ul class="post-tags">
  529. <li><i
  530. class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->left3->date)) }}
  531. </li>
  532. </ul>
  533. </div>
  534. </div>
  535. </li>
  536. @endif
  537. @if (isset($home->left4) && $home->left4 != '')
  538. <li>
  539. <div class="item news-post standard-post">
  540. <div class="post-gallery">
  541. <img src="/files/news/{{ $home->left4->image }}"
  542. alt="">
  543. </div>
  544. <div class="post-content">
  545. <h2><a
  546. href="{{ $home->left4->slug }}">{{ $home->left4->title }}</a>
  547. </h2>
  548. <ul class="post-tags">
  549. <li><i
  550. class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->left4->date)) }}
  551. </li>
  552. </ul>
  553. </div>
  554. </div>
  555. </li>
  556. @endif
  557. @if (isset($home->left5) && $home->left5 != '')
  558. <li>
  559. <div class="item news-post standard-post">
  560. <div class="post-gallery">
  561. <img src="/files/news/{{ $home->left5->image }}"
  562. alt="">
  563. </div>
  564. <div class="post-content">
  565. <h2><a
  566. href="{{ $home->left5->slug }}">{{ $home->left5->title }}</a>
  567. </h2>
  568. <ul class="post-tags">
  569. <li><i
  570. class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->left5->date)) }}
  571. </li>
  572. </ul>
  573. </div>
  574. </div>
  575. </li>
  576. @endif
  577. </ul>
  578. </div>
  579. </div>
  580. </div>
  581. <div class="col-md-6">
  582. <div class="carousel-box owl-wrapper">
  583. <div class="image-slider snd-size">
  584. <ul
  585. class="{{ $home->hasSlider('right') ? 'bxslider bxsliderRight' : '' }}">
  586. @if (isset($home->right1) && $home->right1 != '')
  587. <li>
  588. <div class="item news-post standard-post">
  589. <div class="post-gallery">
  590. <img src="/files/news/{{ $home->right1->image }}"
  591. alt="">
  592. </div>
  593. <div class="post-content">
  594. <h2><a
  595. href="{{ $home->right1->slug }}">{{ $home->right1->title }}</a>
  596. </h2>
  597. <ul class="post-tags">
  598. <li><i
  599. class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->right1->date)) }}
  600. </li>
  601. </ul>
  602. </div>
  603. </div>
  604. </li>
  605. @endif
  606. @if (isset($home->right2) && $home->right2 != '')
  607. <li>
  608. <div class="item news-post standard-post">
  609. <div class="post-gallery">
  610. <img src="/files/news/{{ $home->right2->image }}"
  611. alt="">
  612. </div>
  613. <div class="post-content">
  614. <h2><a
  615. href="{{ $home->right2->slug }}">{{ $home->right2->title }}</a>
  616. </h2>
  617. <ul class="post-tags">
  618. <li><i
  619. class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->right2->date)) }}
  620. </li>
  621. </ul>
  622. </div>
  623. </div>
  624. </li>
  625. @endif
  626. @if (isset($home->right3) && $home->right3 != '')
  627. <li>
  628. <div class="item news-post standard-post">
  629. <div class="post-gallery">
  630. <img src="/files/news/{{ $home->right3->image }}"
  631. alt="">
  632. </div>
  633. <div class="post-content">
  634. <h2><a
  635. href="{{ $home->right3->slug }}">{{ $home->right3->title }}</a>
  636. </h2>
  637. <ul class="post-tags">
  638. <li><i
  639. class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->right3->date)) }}
  640. </li>
  641. </ul>
  642. </div>
  643. </div>
  644. </li>
  645. @endif
  646. @if (isset($home->right4) && $home->right4 != '')
  647. <li>
  648. <div class="item news-post standard-post">
  649. <div class="post-gallery">
  650. <img src="/files/news/{{ $home->right4->image }}"
  651. alt="">
  652. </div>
  653. <div class="post-content">
  654. <h2><a
  655. href="{{ $home->right4->slug }}">{{ $home->right4->title }}</a>
  656. </h2>
  657. <ul class="post-tags">
  658. <li><i
  659. class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->right4->date)) }}
  660. </li>
  661. </ul>
  662. </div>
  663. </div>
  664. </li>
  665. @endif
  666. @if (isset($home->right5) && $home->right5 != '')
  667. <li>
  668. <div class="item news-post standard-post">
  669. <div class="post-gallery">
  670. <img src="/files/news/{{ $home->right5->image }}"
  671. alt="">
  672. </div>
  673. <div class="post-content">
  674. <h2><a
  675. href="{{ $home->right5->slug }}">{{ $home->right5->title }}</a>
  676. </h2>
  677. <ul class="post-tags">
  678. <li><i
  679. class="fa fa-clock-o"></i>{{ date('d/m/Y', strtotime($home->right5->date)) }}
  680. </li>
  681. </ul>
  682. </div>
  683. </div>
  684. </li>
  685. @endif
  686. </ul>
  687. </div>
  688. </div>
  689. </div>
  690. </div>
  691. </div>
  692. <!-- End block content -->
  693. </div>
  694. <!-- sidebar -->
  695. <div class="col-sm-4 sidebar">
  696. <div class="top-search-custom">
  697. <div class="search-trigger-custom">
  698. <a href="#"><i class="fa fa-search" aria-hidden="true"></i></a>
  699. </div>
  700. <div class="search-dropdown-custom">
  701. <form class="navbar-form form-inline my-2 my-lg-0" role="search" autocomplete="off"
  702. action="/ricerca" method="POST">
  703. {{ csrf_field() }}
  704. <div class="search-input-wrapper">
  705. <input type="text" id="search-field-custom" name="search"
  706. placeholder="Cerca qui">
  707. <button type="submit" style="top:11px" class="search-submit-custom">
  708. <i class="fa fa-search"></i>
  709. </button>
  710. </div>
  711. </form>
  712. </div>
  713. </div>
  714. @if (isset($home->banner_right_top) && $home->banner_right_top != '')
  715. <div class="advertisement carousel slide" data-ride="carousel"
  716. style="margin-right:0px;padding-top:14px; margin-top:0px;;margin-bottom:20px;">
  717. <div class="desktop-advert carousel-inner">
  718. @if ($home->banner_right_top_google != '')
  719. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  720. <ins class="adsbygoogle" style="display:block"
  721. data-ad-client="ca-pub-0209495346002620"
  722. data-ad-slot="{{ $home->banner_right_top_google }}"
  723. data-ad-format="auto" data-full-width-responsive="true"></ins>
  724. <script>
  725. (adsbygoogle = window.adsbygoogle || []).push({});
  726. </script>
  727. @else
  728. @php
  729. $found = false;
  730. $count = 0;
  731. @endphp
  732. @if (isset($home->banner_right_top) && $home->banner_right_top != '')
  733. <div class="item {{ $count == 0 ? 'active' : '' }}">
  734. <a href="{{ $home->banner_right_top_url }}"><img
  735. src="/files/{{ $home->banner_right_top }}" width="300"
  736. alt="" style="border:1px solid gray;"></a>
  737. </div>
  738. @php
  739. $count += 1;
  740. $found = true;
  741. @endphp
  742. @endif
  743. @if (isset($home->banner_right_top_2) && $home->banner_right_top_2 != '')
  744. <div class="item {{ $count == 0 ? 'active' : '' }}">
  745. <a href="{{ $home->banner_right_top_2_url }}"><img
  746. src="/files/{{ $home->banner_right_top_2 }}" width="300"
  747. alt="" style="border:1px solid gray;"></a>
  748. </div>
  749. @php
  750. $found = true;
  751. @endphp
  752. @endif
  753. @if (isset($home->banner_right_top_3) && $home->banner_right_top_3 != '')
  754. <div class="item {{ $count == 0 ? 'active' : '' }}">
  755. <a href="{{ $home->banner_right_top_3_url }}"><img
  756. src="/files/{{ $home->banner_right_top_3 }}" width="300"
  757. alt="" style="border:1px solid gray;"></a>
  758. </div>
  759. @php
  760. $found = true;
  761. @endphp
  762. @endif
  763. @if (isset($home->banner_right_top_4) && $home->banner_right_top_4 != '')
  764. <div class="item {{ $count == 0 ? 'active' : '' }}">
  765. <a href="{{ $home->banner_right_top_4_url }}"><img
  766. src="/files/{{ $home->banner_right_top_4 }}" width="300"
  767. alt="" style="border:1px solid gray;"></a>
  768. </div>
  769. @php
  770. $found = true;
  771. @endphp
  772. @endif
  773. @if (isset($home->banner_right_top_5) && $home->banner_right_top_5 != '')
  774. <div class="item {{ $count == 0 ? 'active' : '' }}">
  775. <a href="{{ $home->banner_right_top_5_url }}"><img
  776. src="/files/{{ $home->banner_right_top_5 }}" width="300"
  777. alt="" style="border:1px solid gray;"></a>
  778. </div>
  779. @php
  780. $found = true;
  781. @endphp
  782. @endif
  783. @if (!$found)
  784. <div class="widget"
  785. style="width:300px;height:250px;border:1px solid gray;"></div>
  786. @endif
  787. @endif
  788. </div>
  789. <div class="tablet-advert carousel-inner">
  790. @if ($home->banner_right_top_google != '')
  791. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  792. <ins class="adsbygoogle" style="display:block"
  793. data-ad-client="ca-pub-0209495346002620"
  794. data-ad-slot="{{ $home->banner_right_top_google }}"
  795. data-ad-format="auto" data-full-width-responsive="true"></ins>
  796. <script>
  797. (adsbygoogle = window.adsbygoogle || []).push({});
  798. </script>
  799. @else
  800. @php
  801. $found = false;
  802. $count = 0;
  803. @endphp
  804. @if (isset($home->banner_right_top) && $home->banner_right_top != '')
  805. <div class="item {{ $count == 0 ? 'active' : '' }}">
  806. <a href="{{ $home->banner_right_top_url }}"><img
  807. src="/files/{{ $home->banner_right_top }}" width="300"
  808. alt="" style="border:1px solid gray;"></a>
  809. </div>
  810. @php
  811. $count += 1;
  812. $found = true;
  813. @endphp
  814. @endif
  815. @if (isset($home->banner_right_top_2) && $home->banner_right_top_2 != '')
  816. <div class="item {{ $count == 0 ? 'active' : '' }}">
  817. <a href="{{ $home->banner_right_top_2_url }}"><img
  818. src="/files/{{ $home->banner_right_top_2 }}" width="300"
  819. alt="" style="border:1px solid gray;"></a>
  820. </div>
  821. @php
  822. $found = true;
  823. @endphp
  824. @endif
  825. @if (isset($home->banner_right_top_3) && $home->banner_right_top_3 != '')
  826. <div class="item {{ $count == 0 ? 'active' : '' }}">
  827. <a href="{{ $home->banner_right_top_3_url }}"><img
  828. src="/files/{{ $home->banner_right_top_3 }}" width="300"
  829. alt="" style="border:1px solid gray;"></a>
  830. </div>
  831. @php
  832. $found = true;
  833. @endphp
  834. @endif
  835. @if (isset($home->banner_right_top_4) && $home->banner_right_top_4 != '')
  836. <div class="item {{ $count == 0 ? 'active' : '' }}">
  837. <a href="{{ $home->banner_right_top_4_url }}"><img
  838. src="/files/{{ $home->banner_right_top_4 }}" width="300"
  839. alt="" style="border:1px solid gray;"></a>
  840. </div>
  841. @php
  842. $found = true;
  843. @endphp
  844. @endif
  845. @if (isset($home->banner_right_top_5) && $home->banner_right_top_5 != '')
  846. <div class="item {{ $count == 0 ? 'active' : '' }}">
  847. <a href="{{ $home->banner_right_top_5_url }}"><img
  848. src="/files/{{ $home->banner_right_top_5 }}" width="300"
  849. alt="" style="border:1px solid gray;"></a>
  850. </div>
  851. @php
  852. $found = true;
  853. @endphp
  854. @endif
  855. @if (!$found)
  856. <div class="widget"
  857. style="width:300px;height:250px;border:1px solid gray;"></div>
  858. @endif
  859. @endif
  860. </div>
  861. <div class="mobile-advert carousel-inner">
  862. @if ($home->banner_right_top_google != '')
  863. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  864. <ins class="adsbygoogle" style="display:block"
  865. data-ad-client="ca-pub-0209495346002620"
  866. data-ad-slot="{{ $home->banner_right_top_google }}"
  867. data-ad-format="auto" data-full-width-responsive="true"></ins>
  868. <script>
  869. (adsbygoogle = window.adsbygoogle || []).push({});
  870. </script>
  871. @else
  872. @php
  873. $found = false;
  874. $count = 0;
  875. @endphp
  876. @if (isset($home->banner_right_top) && $home->banner_right_top != '')
  877. <div class="item {{ $count == 0 ? 'active' : '' }}">
  878. <a href="{{ $home->banner_right_top_url }}"><img
  879. src="/files/{{ $home->banner_right_top }}" width="300"
  880. alt="" style="border:1px solid gray;"></a>
  881. </div>
  882. @php
  883. $count += 1;
  884. $found = true;
  885. @endphp
  886. @endif
  887. @if (isset($home->banner_right_top_2) && $home->banner_right_top_2 != '')
  888. <div class="item {{ $count == 0 ? 'active' : '' }}">
  889. <a href="{{ $home->banner_right_top_2_url }}"><img
  890. src="/files/{{ $home->banner_right_top_2 }}" width="300"
  891. alt="" style="border:1px solid gray;"></a>
  892. </div>
  893. @php
  894. $found = true;
  895. @endphp
  896. @endif
  897. @if (isset($home->banner_right_top_3) && $home->banner_right_top_3 != '')
  898. <div class="item {{ $count == 0 ? 'active' : '' }}">
  899. <a href="{{ $home->banner_right_top_3_url }}"><img
  900. src="/files/{{ $home->banner_right_top_3 }}" width="300"
  901. alt="" style="border:1px solid gray;"></a>
  902. </div>
  903. @php
  904. $found = true;
  905. @endphp
  906. @endif
  907. @if (isset($home->banner_right_top_4) && $home->banner_right_top_4 != '')
  908. <div class="item {{ $count == 0 ? 'active' : '' }}">
  909. <a href="{{ $home->banner_right_top_4_url }}"><img
  910. src="/files/{{ $home->banner_right_top_4 }}" width="300"
  911. alt="" style="border:1px solid gray;"></a>
  912. </div>
  913. @php
  914. $found = true;
  915. @endphp
  916. @endif
  917. @if (isset($home->banner_right_top_5) && $home->banner_right_top_5 != '')
  918. <div class="item {{ $count == 0 ? 'active' : '' }}">
  919. <a href="{{ $home->banner_right_top_5_url }}"><img
  920. src="/files/{{ $home->banner_right_top_5 }}" width="300"
  921. alt="" style="border:1px solid gray;"></a>
  922. </div>
  923. @php
  924. $found = true;
  925. @endphp
  926. @endif
  927. @if (!$found)
  928. <div class="widget"
  929. style="width:300px;height:250px;border:1px solid gray;"></div>
  930. @endif
  931. @endif
  932. </div>
  933. </div>
  934. @endif
  935. @if (isset($home->banner_right_middle) && $home->banner_right_middle != '')
  936. <div class="advertisement carousel slide" data-ride="carousel"
  937. style="margin-right:0px;margin-top:0px;">
  938. <div class="desktop-advert carousel-inner">
  939. @if ($home->banner_right_middle_google != '')
  940. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  941. <ins class="adsbygoogle" style="display:block"
  942. data-ad-client="ca-pub-0209495346002620"
  943. data-ad-slot="{{ $home->banner_right_middle_google }}"
  944. data-ad-format="auto" data-full-width-responsive="true"></ins>
  945. <script>
  946. (adsbygoogle = window.adsbygoogle || []).push({});
  947. </script>
  948. @else
  949. @php
  950. $found = false;
  951. $count = 0;
  952. @endphp
  953. @if (isset($home->banner_right_middle) && $home->banner_right_middle != '')
  954. <div class="item {{ $count == 0 ? 'active' : '' }}">
  955. <a href="{{ $home->banner_right_middle_url }}"><img
  956. src="/files/{{ $home->banner_right_middle }}" width="300"
  957. alt="" style="border:1px solid gray;"></a>
  958. </div>
  959. @php
  960. $count += 1;
  961. $found = true;
  962. @endphp
  963. @endif
  964. @if (isset($home->banner_right_middle_2) && $home->banner_right_middle_2 != '')
  965. <div class="item {{ $count == 0 ? 'active' : '' }}">
  966. <a href="{{ $home->banner_right_middle_2_url }}"><img
  967. src="/files/{{ $home->banner_right_middle_2 }}"
  968. width="300" alt=""
  969. style="border:1px solid gray;"></a>
  970. </div>
  971. @php
  972. $found = true;
  973. @endphp
  974. @endif
  975. @if (isset($home->banner_right_middle_3) && $home->banner_right_middle_3 != '')
  976. <div class="item {{ $count == 0 ? 'active' : '' }}">
  977. <a href="{{ $home->banner_right_middle_3_url }}"><img
  978. src="/files/{{ $home->banner_right_middle_3 }}"
  979. width="300" alt=""
  980. style="border:1px solid gray;"></a>
  981. </div>
  982. @php
  983. $found = true;
  984. @endphp
  985. @endif
  986. @if (isset($home->banner_right_middle_4) && $home->banner_right_middle_4 != '')
  987. <div class="item {{ $count == 0 ? 'active' : '' }}">
  988. <a href="{{ $home->banner_right_middle_4_url }}"><img
  989. src="/files/{{ $home->banner_right_middle_4 }}"
  990. width="300" alt=""
  991. style="border:1px solid gray;"></a>
  992. </div>
  993. @php
  994. $found = true;
  995. @endphp
  996. @endif
  997. @if (isset($home->banner_right_middle_5) && $home->banner_right_middle_5 != '')
  998. <div class="item {{ $count == 0 ? 'active' : '' }}">
  999. <a href="{{ $home->banner_right_middle_5_url }}"><img
  1000. src="/files/{{ $home->banner_right_middle_5 }}"
  1001. width="300" alt=""
  1002. style="border:1px solid gray;"></a>
  1003. </div>
  1004. @php
  1005. $found = true;
  1006. @endphp
  1007. @endif
  1008. @if (!$found)
  1009. <div class="widget"
  1010. style="width:300px;height:250px;border:1px solid gray;"></div>
  1011. @endif
  1012. @endif
  1013. </div>
  1014. <div class="tablet-advert carousel-inner">
  1015. @if ($home->banner_right_middle_google != '')
  1016. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1017. <ins class="adsbygoogle" style="display:block"
  1018. data-ad-client="ca-pub-0209495346002620"
  1019. data-ad-slot="{{ $home->banner_right_middle_google }}"
  1020. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1021. <script>
  1022. (adsbygoogle = window.adsbygoogle || []).push({});
  1023. </script>
  1024. @else
  1025. @php
  1026. $found = false;
  1027. $count = 0;
  1028. @endphp
  1029. @if (isset($home->banner_right_middle) && $home->banner_right_middle != '')
  1030. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1031. <a href="{{ $home->banner_right_middle_url }}"><img
  1032. src="/files/{{ $home->banner_right_middle }}" width="300"
  1033. alt="" style="border:1px solid gray;"></a>
  1034. </div>
  1035. @php
  1036. $count += 1;
  1037. $found = true;
  1038. @endphp
  1039. @endif
  1040. @if (isset($home->banner_right_middle_2) && $home->banner_right_middle_2 != '')
  1041. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1042. <a href="{{ $home->banner_right_middle_2_url }}"><img
  1043. src="/files/{{ $home->banner_right_middle_2 }}"
  1044. width="300" alt=""
  1045. style="border:1px solid gray;"></a>
  1046. </div>
  1047. @php
  1048. $found = true;
  1049. @endphp
  1050. @endif
  1051. @if (isset($home->banner_right_middle_3) && $home->banner_right_middle_3 != '')
  1052. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1053. <a href="{{ $home->banner_right_middle_3_url }}"><img
  1054. src="/files/{{ $home->banner_right_middle_3 }}"
  1055. width="300" alt=""
  1056. style="border:1px solid gray;"></a>
  1057. </div>
  1058. @php
  1059. $found = true;
  1060. @endphp
  1061. @endif
  1062. @if (isset($home->banner_right_middle_4) && $home->banner_right_middle_4 != '')
  1063. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1064. <a href="{{ $home->banner_right_middle_4_url }}"><img
  1065. src="/files/{{ $home->banner_right_middle_4 }}"
  1066. width="300" alt=""
  1067. style="border:1px solid gray;"></a>
  1068. </div>
  1069. @php
  1070. $found = true;
  1071. @endphp
  1072. @endif
  1073. @if (isset($home->banner_right_middle_5) && $home->banner_right_middle_5 != '')
  1074. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1075. <a href="{{ $home->banner_right_middle_5_url }}"><img
  1076. src="/files/{{ $home->banner_right_middle_5 }}"
  1077. width="300" alt=""
  1078. style="border:1px solid gray;"></a>
  1079. </div>
  1080. @php
  1081. $found = true;
  1082. @endphp
  1083. @endif
  1084. @if (!$found)
  1085. <div class="widget"
  1086. style="width:300px;height:250px;border:1px solid gray;"></div>
  1087. @endif
  1088. @endif
  1089. </div>
  1090. <div class="mobile-advert carousel-inner">
  1091. @if ($home->banner_right_middle_google != '')
  1092. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1093. <ins class="adsbygoogle" style="display:block"
  1094. data-ad-client="ca-pub-0209495346002620"
  1095. data-ad-slot="{{ $home->banner_right_middle_google }}"
  1096. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1097. <script>
  1098. (adsbygoogle = window.adsbygoogle || []).push({});
  1099. </script>
  1100. @else
  1101. @php
  1102. $found = false;
  1103. $count = 0;
  1104. @endphp
  1105. @if (isset($home->banner_right_middle) && $home->banner_right_middle != '')
  1106. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1107. <a href="{{ $home->banner_right_middle_url }}"><img
  1108. src="/files/{{ $home->banner_right_middle }}" width="300"
  1109. alt="" style="border:1px solid gray;"></a>
  1110. </div>
  1111. @php
  1112. $count += 1;
  1113. $found = true;
  1114. @endphp
  1115. @endif
  1116. @if (isset($home->banner_right_middle_2) && $home->banner_right_middle_2 != '')
  1117. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1118. <a href="{{ $home->banner_right_middle_2_url }}"><img
  1119. src="/files/{{ $home->banner_right_middle_2 }}"
  1120. width="300" alt=""
  1121. style="border:1px solid gray;"></a>
  1122. </div>
  1123. @php
  1124. $found = true;
  1125. @endphp
  1126. @endif
  1127. @if (isset($home->banner_right_middle_3) && $home->banner_right_middle_3 != '')
  1128. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1129. <a href="{{ $home->banner_right_middle_3_url }}"><img
  1130. src="/files/{{ $home->banner_right_middle_3 }}"
  1131. width="300" alt=""
  1132. style="border:1px solid gray;"></a>
  1133. </div>
  1134. @php
  1135. $found = true;
  1136. @endphp
  1137. @endif
  1138. @if (isset($home->banner_right_middle_4) && $home->banner_right_middle_4 != '')
  1139. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1140. <a href="{{ $home->banner_right_middle_4_url }}"><img
  1141. src="/files/{{ $home->banner_right_middle_4 }}"
  1142. width="300" alt=""
  1143. style="border:1px solid gray;"></a>
  1144. </div>
  1145. @php
  1146. $found = true;
  1147. @endphp
  1148. @endif
  1149. @if (isset($home->banner_right_middle_5) && $home->banner_right_middle_5 != '')
  1150. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1151. <a href="{{ $home->banner_right_middle_5_url }}"><img
  1152. src="/files/{{ $home->banner_right_middle_5 }}"
  1153. width="300" alt=""
  1154. style="border:1px solid gray;"></a>
  1155. </div>
  1156. @php
  1157. $found = true;
  1158. @endphp
  1159. @endif
  1160. @if (!$found)
  1161. <div class="widget"
  1162. style="width:300px;height:250px;border:1px solid gray;"></div>
  1163. @endif
  1164. @endif
  1165. </div>
  1166. </div>
  1167. @endif
  1168. @if (isset($home->banner_right_bottom) && $home->banner_right_bottom != '')
  1169. <div class="advertisement carousel slide" data-ride="carousel"
  1170. style="margin-right:0px;margin-top:0px;">
  1171. <div class="desktop-advert carousel-inner">
  1172. @if ($home->banner_right_bottom_google != '')
  1173. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1174. <ins class="adsbygoogle" style="display:block"
  1175. data-ad-client="ca-pub-0209495346002620"
  1176. data-ad-slot="{{ $home->banner_right_bottom_google }}"
  1177. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1178. <script>
  1179. (adsbygoogle = window.adsbygoogle || []).push({});
  1180. </script>
  1181. @else
  1182. @php
  1183. $found = false;
  1184. $count = 0;
  1185. @endphp
  1186. @if (isset($home->banner_right_bottom) && $home->banner_right_bottom != '')
  1187. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1188. <a href="{{ $home->banner_right_bottom_url }}"><img
  1189. src="/files/{{ $home->banner_right_bottom }}" width="300"
  1190. alt="" style="border:1px solid gray;"></a>
  1191. </div>
  1192. @php
  1193. $count += 1;
  1194. $found = true;
  1195. @endphp
  1196. @endif
  1197. @if (isset($home->banner_right_bottom_2) && $home->banner_right_bottom_2 != '')
  1198. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1199. <a href="{{ $home->banner_right_bottom_2_url }}"><img
  1200. src="/files/{{ $home->banner_right_bottom_2 }}"
  1201. width="300" alt=""
  1202. style="border:1px solid gray;"></a>
  1203. </div>
  1204. @php
  1205. $found = true;
  1206. @endphp
  1207. @endif
  1208. @if (isset($home->banner_right_bottom_3) && $home->banner_right_bottom_3 != '')
  1209. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1210. <a href="{{ $home->banner_right_bottom_3_url }}"><img
  1211. src="/files/{{ $home->banner_right_bottom_3 }}"
  1212. width="300" alt=""
  1213. style="border:1px solid gray;"></a>
  1214. </div>
  1215. @php
  1216. $found = true;
  1217. @endphp
  1218. @endif
  1219. @if (isset($home->banner_right_bottom_4) && $home->banner_right_bottom_4 != '')
  1220. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1221. <a href="{{ $home->banner_right_bottom_4_url }}"><img
  1222. src="/files/{{ $home->banner_right_bottom_4 }}"
  1223. width="300" alt=""
  1224. style="border:1px solid gray;"></a>
  1225. </div>
  1226. @php
  1227. $found = true;
  1228. @endphp
  1229. @endif
  1230. @if (isset($home->banner_right_bottom_5) && $home->banner_right_bottom_5 != '')
  1231. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1232. <a href="{{ $home->banner_right_bottom_5_url }}"><img
  1233. src="/files/{{ $home->banner_right_bottom_5 }}"
  1234. width="300" alt=""
  1235. style="border:1px solid gray;"></a>
  1236. </div>
  1237. @php
  1238. $found = true;
  1239. @endphp
  1240. @endif
  1241. @if (!$found)
  1242. <div class="widget"
  1243. style="width:300px;height:250px;border:1px solid gray;"></div>
  1244. @endif
  1245. @endif
  1246. </div>
  1247. <div class="tablet-advert carousel-inner">
  1248. @if ($home->banner_right_bottom_google != '')
  1249. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1250. <ins class="adsbygoogle" style="display:block"
  1251. data-ad-client="ca-pub-0209495346002620"
  1252. data-ad-slot="{{ $home->banner_right_bottom_google }}"
  1253. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1254. <script>
  1255. (adsbygoogle = window.adsbygoogle || []).push({});
  1256. </script>
  1257. @else
  1258. @php
  1259. $found = false;
  1260. $count = 0;
  1261. @endphp
  1262. @if (isset($home->banner_right_bottom) && $home->banner_right_bottom != '')
  1263. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1264. <a href="{{ $home->banner_right_bottom_url }}"><img
  1265. src="/files/{{ $home->banner_right_bottom }}" width="300"
  1266. alt="" style="border:1px solid gray;"></a>
  1267. </div>
  1268. @php
  1269. $count += 1;
  1270. $found = true;
  1271. @endphp
  1272. @endif
  1273. @if (isset($home->banner_right_bottom_2) && $home->banner_right_bottom_2 != '')
  1274. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1275. <a href="{{ $home->banner_right_bottom_2_url }}"><img
  1276. src="/files/{{ $home->banner_right_bottom_2 }}"
  1277. width="300" alt=""
  1278. style="border:1px solid gray;"></a>
  1279. </div>
  1280. @php
  1281. $found = true;
  1282. @endphp
  1283. @endif
  1284. @if (isset($home->banner_right_bottom_3) && $home->banner_right_bottom_3 != '')
  1285. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1286. <a href="{{ $home->banner_right_bottom_3_url }}"><img
  1287. src="/files/{{ $home->banner_right_bottom_3 }}"
  1288. width="300" alt=""
  1289. style="border:1px solid gray;"></a>
  1290. </div>
  1291. @php
  1292. $found = true;
  1293. @endphp
  1294. @endif
  1295. @if (isset($home->banner_right_bottom_4) && $home->banner_right_bottom_4 != '')
  1296. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1297. <a href="{{ $home->banner_right_bottom_4_url }}"><img
  1298. src="/files/{{ $home->banner_right_bottom_4 }}"
  1299. width="300" alt=""
  1300. style="border:1px solid gray;"></a>
  1301. </div>
  1302. @php
  1303. $found = true;
  1304. @endphp
  1305. @endif
  1306. @if (isset($home->banner_right_bottom_5) && $home->banner_right_bottom_5 != '')
  1307. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1308. <a href="{{ $home->banner_right_bottom_5_url }}"><img
  1309. src="/files/{{ $home->banner_right_bottom_5 }}"
  1310. width="300" alt=""
  1311. style="border:1px solid gray;"></a>
  1312. </div>
  1313. @php
  1314. $found = true;
  1315. @endphp
  1316. @endif
  1317. @if (!$found)
  1318. <div class="widget"
  1319. style="width:300px;height:250px;border:1px solid gray;"></div>
  1320. @endif
  1321. @endif
  1322. </div>
  1323. <div class="mobile-advert carousel-inner">
  1324. @if ($home->banner_right_bottom_google != '')
  1325. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1326. <ins class="adsbygoogle" style="display:block"
  1327. data-ad-client="ca-pub-0209495346002620"
  1328. data-ad-slot="{{ $home->banner_right_bottom_google }}"
  1329. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1330. <script>
  1331. (adsbygoogle = window.adsbygoogle || []).push({});
  1332. </script>
  1333. @else
  1334. @php
  1335. $found = false;
  1336. $count = 0;
  1337. @endphp
  1338. @if (isset($home->banner_right_bottom) && $home->banner_right_bottom != '')
  1339. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1340. <a href="{{ $home->banner_right_bottom_url }}"><img
  1341. src="/files/{{ $home->banner_right_bottom }}" width="300"
  1342. alt="" style="border:1px solid gray;"></a>
  1343. </div>
  1344. @php
  1345. $count += 1;
  1346. $found = true;
  1347. @endphp
  1348. @endif
  1349. @if (isset($home->banner_right_bottom_2) && $home->banner_right_bottom_2 != '')
  1350. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1351. <a href="{{ $home->banner_right_bottom_2_url }}"><img
  1352. src="/files/{{ $home->banner_right_bottom_2 }}"
  1353. width="300" alt=""
  1354. style="border:1px solid gray;"></a>
  1355. </div>
  1356. @php
  1357. $found = true;
  1358. @endphp
  1359. @endif
  1360. @if (isset($home->banner_right_bottom_3) && $home->banner_right_bottom_3 != '')
  1361. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1362. <a href="{{ $home->banner_right_bottom_3_url }}"><img
  1363. src="/files/{{ $home->banner_right_bottom_3 }}"
  1364. width="300" alt=""
  1365. style="border:1px solid gray;"></a>
  1366. </div>
  1367. @php
  1368. $found = true;
  1369. @endphp
  1370. @endif
  1371. @if (isset($home->banner_right_bottom_4) && $home->banner_right_bottom_4 != '')
  1372. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1373. <a href="{{ $home->banner_right_bottom_4_url }}"><img
  1374. src="/files/{{ $home->banner_right_bottom_4 }}"
  1375. width="300" alt=""
  1376. style="border:1px solid gray;"></a>
  1377. </div>
  1378. @php
  1379. $found = true;
  1380. @endphp
  1381. @endif
  1382. @if (isset($home->banner_right_bottom_5) && $home->banner_right_bottom_5 != '')
  1383. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1384. <a href="{{ $home->banner_right_bottom_5_url }}"><img
  1385. src="/files/{{ $home->banner_right_bottom_5 }}"
  1386. width="300" alt=""
  1387. style="border:1px solid gray;"></a>
  1388. </div>
  1389. @php
  1390. $found = true;
  1391. @endphp
  1392. @endif
  1393. @if (!$found)
  1394. <div class="widget"
  1395. style="width:300px;height:250px;border:1px solid gray;"></div>
  1396. @endif
  1397. @endif
  1398. </div>
  1399. </div>
  1400. @endif
  1401. @if (isset($home->banner_right_big) && $home->banner_right_big != '')
  1402. <div class="advertisement carousel slide" data-ride="carousel"
  1403. style="margin-right:0px;padding-top:14px; margin-top:0px;;margin-bottom:20px;">
  1404. <div class="desktop-advert carousel-inner">
  1405. @if ($home->banner_right_big_google != '')
  1406. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1407. <ins class="adsbygoogle" style="display:block"
  1408. data-ad-client="ca-pub-0209495346002620"
  1409. data-ad-slot="{{ $home->banner_right_big_google }}"
  1410. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1411. <script>
  1412. (adsbygoogle = window.adsbygoogle || []).push({});
  1413. </script>
  1414. @else
  1415. @php
  1416. $found = false;
  1417. $count = 0;
  1418. @endphp
  1419. @if (isset($home->banner_right_big) && $home->banner_right_big != '')
  1420. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1421. <a href="{{ $home->banner_right_big_url }}"><img
  1422. src="/files/{{ $home->banner_right_big }}" width="300"
  1423. alt="" style="border:1px solid gray;"></a>
  1424. </div>
  1425. @php
  1426. $count += 1;
  1427. $found = true;
  1428. @endphp
  1429. @endif
  1430. @if (isset($home->banner_right_big_2) && $home->banner_right_big_2 != '')
  1431. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1432. <a href="{{ $home->banner_right_big_2_url }}"><img
  1433. src="/files/{{ $home->banner_right_big_2 }}" width="300"
  1434. alt="" style="border:1px solid gray;"></a>
  1435. </div>
  1436. @php
  1437. $found = true;
  1438. @endphp
  1439. @endif
  1440. @if (isset($home->banner_right_big_3) && $home->banner_right_big_3 != '')
  1441. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1442. <a href="{{ $home->banner_right_big_3_url }}"><img
  1443. src="/files/{{ $home->banner_right_big_3 }}" width="300"
  1444. alt="" style="border:1px solid gray;"></a>
  1445. </div>
  1446. @php
  1447. $found = true;
  1448. @endphp
  1449. @endif
  1450. @if (isset($home->banner_right_big_4) && $home->banner_right_big_4 != '')
  1451. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1452. <a href="{{ $home->banner_right_big_4_url }}"><img
  1453. src="/files/{{ $home->banner_right_big_4 }}" width="300"
  1454. alt="" style="border:1px solid gray;"></a>
  1455. </div>
  1456. @php
  1457. $found = true;
  1458. @endphp
  1459. @endif
  1460. @if (isset($home->banner_right_big_5) && $home->banner_right_big_5 != '')
  1461. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1462. <a href="{{ $home->banner_right_big_5_url }}"><img
  1463. src="/files/{{ $home->banner_right_big_5 }}" width="300"
  1464. alt="" style="border:1px solid gray;"></a>
  1465. </div>
  1466. @php
  1467. $found = true;
  1468. @endphp
  1469. @endif
  1470. @if (!$found)
  1471. <div class="widget"
  1472. style="width:300px;height:600px;border:1px solid gray;"></div>
  1473. @endif
  1474. @endif
  1475. </div>
  1476. <div class="tablet-advert carousel-inner">
  1477. @if ($home->banner_right_big_google != '')
  1478. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1479. <ins class="adsbygoogle" style="display:block"
  1480. data-ad-client="ca-pub-0209495346002620"
  1481. data-ad-slot="{{ $home->banner_right_big_google }}"
  1482. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1483. <script>
  1484. (adsbygoogle = window.adsbygoogle || []).push({});
  1485. </script>
  1486. @else
  1487. @php
  1488. $found = false;
  1489. $count = 0;
  1490. @endphp
  1491. @if (isset($home->banner_right_big) && $home->banner_right_big != '')
  1492. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1493. <a href="{{ $home->banner_right_big_url }}"><img
  1494. src="/files/{{ $home->banner_right_big }}" width="300"
  1495. alt="" style="border:1px solid gray;"></a>
  1496. </div>
  1497. @php
  1498. $count += 1;
  1499. $found = true;
  1500. @endphp
  1501. @endif
  1502. @if (isset($home->banner_right_big_2) && $home->banner_right_big_2 != '')
  1503. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1504. <a href="{{ $home->banner_right_big_2_url }}"><img
  1505. src="/files/{{ $home->banner_right_big_2 }}" width="300"
  1506. alt="" style="border:1px solid gray;"></a>
  1507. </div>
  1508. @php
  1509. $found = true;
  1510. @endphp
  1511. @endif
  1512. @if (isset($home->banner_right_big_3) && $home->banner_right_big_3 != '')
  1513. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1514. <a href="{{ $home->banner_right_big_3_url }}"><img
  1515. src="/files/{{ $home->banner_right_big_3 }}" width="300"
  1516. alt="" style="border:1px solid gray;"></a>
  1517. </div>
  1518. @php
  1519. $found = true;
  1520. @endphp
  1521. @endif
  1522. @if (isset($home->banner_right_big_4) && $home->banner_right_big_4 != '')
  1523. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1524. <a href="{{ $home->banner_right_big_4_url }}"><img
  1525. src="/files/{{ $home->banner_right_big_4 }}" width="300"
  1526. alt="" style="border:1px solid gray;"></a>
  1527. </div>
  1528. @php
  1529. $found = true;
  1530. @endphp
  1531. @endif
  1532. @if (isset($home->banner_right_big_5) && $home->banner_right_big_5 != '')
  1533. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1534. <a href="{{ $home->banner_right_big_5_url }}"><img
  1535. src="/files/{{ $home->banner_right_big_5 }}" width="300"
  1536. alt="" style="border:1px solid gray;"></a>
  1537. </div>
  1538. @php
  1539. $found = true;
  1540. @endphp
  1541. @endif
  1542. @if (!$found)
  1543. <div class="widget"
  1544. style="width:300px;height:250px;border:1px solid gray;"></div>
  1545. @endif
  1546. @endif
  1547. </div>
  1548. <div class="mobile-advert carousel-inner">
  1549. @if ($home->banner_right_big_google != '')
  1550. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1551. <ins class="adsbygoogle" style="display:block"
  1552. data-ad-client="ca-pub-0209495346002620"
  1553. data-ad-slot="{{ $home->banner_right_big_google }}"
  1554. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1555. <script>
  1556. (adsbygoogle = window.adsbygoogle || []).push({});
  1557. </script>
  1558. @else
  1559. @php
  1560. $found = false;
  1561. $count = 0;
  1562. @endphp
  1563. @if (isset($home->banner_right_big) && $home->banner_right_big != '')
  1564. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1565. <a href="{{ $home->banner_right_big_url }}"><img
  1566. src="/files/{{ $home->banner_right_big }}" width="300"
  1567. alt="" style="border:1px solid gray;"></a>
  1568. </div>
  1569. @php
  1570. $count += 1;
  1571. $found = true;
  1572. @endphp
  1573. @endif
  1574. @if (isset($home->banner_right_big_2) && $home->banner_right_big_2 != '')
  1575. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1576. <a href="{{ $home->banner_right_big_2_url }}"><img
  1577. src="/files/{{ $home->banner_right_big_2 }}" width="300"
  1578. alt="" style="border:1px solid gray;"></a>
  1579. </div>
  1580. @php
  1581. $found = true;
  1582. @endphp
  1583. @endif
  1584. @if (isset($home->banner_right_big_3) && $home->banner_right_big_3 != '')
  1585. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1586. <a href="{{ $home->banner_right_big_3_url }}"><img
  1587. src="/files/{{ $home->banner_right_big_3 }}" width="300"
  1588. alt="" style="border:1px solid gray;"></a>
  1589. </div>
  1590. @php
  1591. $found = true;
  1592. @endphp
  1593. @endif
  1594. @if (isset($home->banner_right_big_4) && $home->banner_right_big_4 != '')
  1595. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1596. <a href="{{ $home->banner_right_big_4_url }}"><img
  1597. src="/files/{{ $home->banner_right_big_4 }}" width="300"
  1598. alt="" style="border:1px solid gray;"></a>
  1599. </div>
  1600. @php
  1601. $found = true;
  1602. @endphp
  1603. @endif
  1604. @if (isset($home->banner_right_big_5) && $home->banner_right_big_5 != '')
  1605. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1606. <a href="{{ $home->banner_right_big_5_url }}"><img
  1607. src="/files/{{ $home->banner_right_big_5 }}" width="300"
  1608. alt="" style="border:1px solid gray;"></a>
  1609. </div>
  1610. @php
  1611. $found = true;
  1612. @endphp
  1613. @endif
  1614. @if (!$found)
  1615. <div class="widget"
  1616. style="width:300px;height:600px;border:1px solid gray;"></div>
  1617. @endif
  1618. @endif
  1619. </div>
  1620. </div>
  1621. @endif
  1622. <div class="advertisement carousel slide" data-ride="carousel"
  1623. style="margin-right:0px;padding-top:14px; margin-top:0px;;margin-bottom:20px;">
  1624. <div class="desktop-advert carousel-inner">
  1625. <!--<img src="/images/banner-home.gif" width="300" alt="" style="border:1px solid gray;">-->
  1626. @for ($xxx = 1; $xxx <= 5; $xxx++)
  1627. <div class="item {{ $xxx == 1 ? 'active' : '' }}">
  1628. <img src="/images/rotator_{{ $xxx }}.png" width="300"
  1629. alt="" style="border:1px solid gray;">
  1630. </div>
  1631. @endfor
  1632. </div>
  1633. <div class="tablet-advert carousel-inner">
  1634. <!--<img src="/images/banner-home.gif" width="300" alt="" style="border:1px solid gray;">-->
  1635. @for ($xxx = 1; $xxx <= 5; $xxx++)
  1636. <div class="item {{ $xxx == 1 ? 'active' : '' }}">
  1637. <img src="/images/rotator_{{ $xxx }}.png" width="300"
  1638. alt="" style="border:1px solid gray;">
  1639. </div>
  1640. @endfor
  1641. </div>
  1642. <div class="mobile-advert carousel-inner">
  1643. <!--<img src="/images/banner-home.gif" width="300" alt="" style="border:1px solid gray;">-->
  1644. @for ($xxx = 1; $xxx <= 5; $xxx++)
  1645. <div class="item {{ $xxx == 1 ? 'active' : '' }}">
  1646. <img src="/images/rotator_{{ $xxx }}.png" width="300"
  1647. alt="" style="border:1px solid gray;">
  1648. </div>
  1649. @endfor
  1650. </div>
  1651. </div>
  1652. @if (
  1653. $home->radio1_file != '' ||
  1654. $home->radio1_url != '' ||
  1655. $home->radio2_file != '' ||
  1656. $home->radio2_url != '' ||
  1657. $home->radio3_file != '' ||
  1658. $home->radio3_url != '')
  1659. <div class="block-content" style="margin-top: 2em;">
  1660. <div class="title-section">
  1661. <h1><span style="font-size: 21px;">Web Radio</span></h1>
  1662. </div>
  1663. <select class="form-control" id="cbRadio">
  1664. @if ($home->radio1_file != '' || $home->radio1_url != '')
  1665. <option
  1666. value="{{ $home->radio1_file != '' ? '/files/' . $home->radio1_file : $home->radio1_url }}">
  1667. {{ $home->radio1_title }}</option>
  1668. @endif
  1669. @if ($home->radio2_file != '' || $home->radio2_url != '')
  1670. <option
  1671. value="{{ $home->radio2_file != '' ? '/files/' . $home->radio2_file : $home->radio2_url }}">
  1672. {{ $home->radio2_title }}</option>
  1673. @endif
  1674. @if ($home->radio3_file != '' || $home->radio3_url != '')
  1675. <option
  1676. value="{{ $home->radio3_file != '' ? '/files/' . $home->radio3_file : $home->radio3_url }}">
  1677. {{ $home->radio3_title }}</option>
  1678. @endif
  1679. </select><br>
  1680. @if ($home->radio1_file != '' || $home->radio1_url != '')
  1681. <audio id="player"
  1682. src="{{ $home->radio1_file != '' ? '/files/' . $home->radio1_file : $home->radio1_url }}"></audio>
  1683. @else
  1684. @if ($home->radio2_file != '' || $home->radio2_url != '')
  1685. <audio id="player"
  1686. src="{{ $home->radio2_file != '' ? '/files/' . $home->radio2_file : $home->radio2_url }}"></audio>
  1687. @else
  1688. @if ($home->radio3_file != '' || $home->radio3_url != '')
  1689. <audio id="player"
  1690. src="{{ $home->radio3_file != '' ? '/files/' . $home->radio3_file : $home->radio3_url }}"></audio>
  1691. @endif
  1692. @endif
  1693. @endif
  1694. <div>
  1695. <button class="btn btn-success btn-lg"
  1696. onclick="document.getElementById('player').play()" style="font-size:15px;"><i
  1697. class="fa fa-play"></i> Play</button>
  1698. <button class="btn btn-danger btn-lg"
  1699. onclick="document.getElementById('player').pause()" style="font-size:15px;"><i
  1700. class="fa fa-pause"></i> Pause</button>
  1701. <button class="btn btn-lg"
  1702. onclick="document.getElementById('player').volume += 0.1"
  1703. style="font-size:15px;"><i class="fa fa-volume-up"></i> +</button>
  1704. <button class="btn btn-lg"
  1705. onclick="document.getElementById('player').volume -= 0.1"
  1706. style="font-size:15px;"><i class="fa fa-volume-down"></i> -</button>
  1707. </div>
  1708. </div>
  1709. @endif
  1710. <!-- END Web Radio -->
  1711. </div>
  1712. <!-- End sidebar -->
  1713. </div>
  1714. </div>
  1715. </section>
  1716. <div class="container">
  1717. <div class="advertisement carousel slide" data-ride="carousel">
  1718. <div class="desktop-advert carousel-inner">
  1719. @if ($home->banner_middle_google != '')
  1720. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1721. <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
  1722. data-ad-slot="{{ $home->banner_middle_google }}" data-ad-format="auto"
  1723. data-full-width-responsive="true"></ins>
  1724. <script>
  1725. (adsbygoogle = window.adsbygoogle || []).push({});
  1726. </script>
  1727. @else
  1728. @php
  1729. $found = false;
  1730. $count = 0;
  1731. @endphp
  1732. @if (isset($home->banner_middle) && $home->banner_middle != '')
  1733. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1734. <a href="{{ $home->banner_middle_url }}"><img
  1735. src="/files/{{ $home->banner_middle }}" width="997" alt=""
  1736. style="border:1px solid gray;"></a>
  1737. </div>
  1738. @php
  1739. $count += 1;
  1740. $found = true;
  1741. @endphp
  1742. @endif
  1743. @if (isset($home->banner_middle_2) && $home->banner_middle_2 != '')
  1744. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1745. <a href="{{ $home->banner_middle_url_2 }}"><img
  1746. src="/files/{{ $home->banner_middle_2 }}" width="997" alt=""
  1747. style="border:1px solid gray;"></a>
  1748. </div>
  1749. @php
  1750. $found = true;
  1751. @endphp
  1752. @endif
  1753. @if (isset($home->banner_middle_3) && $home->banner_middle_3 != '')
  1754. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1755. <a href="{{ $home->banner_middle_url_3 }}"><img
  1756. src="/files/{{ $home->banner_middle_3 }}" width="997" alt=""
  1757. style="border:1px solid gray;"></a>
  1758. </div>
  1759. @php
  1760. $found = true;
  1761. @endphp
  1762. @endif
  1763. @if (isset($home->banner_middle_4) && $home->banner_middle_4 != '')
  1764. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1765. <a href="{{ $home->banner_middle_url_4 }}"><img
  1766. src="/files/{{ $home->banner_middle_4 }}" width="997" alt=""
  1767. style="border:1px solid gray;"></a>
  1768. </div>
  1769. @php
  1770. $found = true;
  1771. @endphp
  1772. @endif
  1773. @if (isset($home->banner_middle_5) && $home->banner_middle_5 != '')
  1774. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1775. <a href="{{ $home->banner_middle_url_5 }}"><img
  1776. src="/files/{{ $home->banner_middle_5 }}" width="997" alt=""
  1777. style="border:1px solid gray;"></a>
  1778. </div>
  1779. @php
  1780. $found = true;
  1781. @endphp
  1782. @endif
  1783. @if (!$found)
  1784. <div class="widget" style="width:997;height:300;border:1px solid gray;"></div>
  1785. @endif
  1786. @endif
  1787. </div>
  1788. <div class="tablet-advert carousel-inner">
  1789. @if ($home->banner_middle_google != '')
  1790. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1791. <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
  1792. data-ad-slot="{{ $home->banner_middle_google }}" data-ad-format="auto"
  1793. data-full-width-responsive="true"></ins>
  1794. <script>
  1795. (adsbygoogle = window.adsbygoogle || []).push({});
  1796. </script>
  1797. @else
  1798. @php
  1799. $found = false;
  1800. $count = 0;
  1801. @endphp
  1802. @if (isset($home->banner_middle) && $home->banner_middle != '')
  1803. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1804. <a href="{{ $home->banner_middle_url }}"><img
  1805. src="/files/{{ $home->banner_middle }}" width="997" alt=""
  1806. style="border:1px solid gray;"></a>
  1807. </div>
  1808. @php
  1809. $count += 1;
  1810. $found = true;
  1811. @endphp
  1812. @endif
  1813. @if (isset($home->banner_middle_2) && $home->banner_middle_2 != '')
  1814. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1815. <a href="{{ $home->banner_middle_url_2 }}"><img
  1816. src="/files/{{ $home->banner_middle_2 }}" width="997" alt=""
  1817. style="border:1px solid gray;"></a>
  1818. </div>
  1819. @php
  1820. $found = true;
  1821. @endphp
  1822. @endif
  1823. @if (isset($home->banner_middle_3) && $home->banner_middle_3 != '')
  1824. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1825. <a href="{{ $home->banner_middle_url_3 }}"><img
  1826. src="/files/{{ $home->banner_middle_3 }}" width="997" alt=""
  1827. style="border:1px solid gray;"></a>
  1828. </div>
  1829. @php
  1830. $found = true;
  1831. @endphp
  1832. @endif
  1833. @if (isset($home->banner_middle_4) && $home->banner_middle_4 != '')
  1834. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1835. <a href="{{ $home->banner_middle_url_4 }}"><img
  1836. src="/files/{{ $home->banner_middle_4 }}" width="997" alt=""
  1837. style="border:1px solid gray;"></a>
  1838. </div>
  1839. @php
  1840. $found = true;
  1841. @endphp
  1842. @endif
  1843. @if (isset($home->banner_middle_5) && $home->banner_middle_5 != '')
  1844. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1845. <a href="{{ $home->banner_middle_url_5 }}"><img
  1846. src="/files/{{ $home->banner_middle_5 }}" width="997" alt=""
  1847. style="border:1px solid gray;"></a>
  1848. </div>
  1849. @php
  1850. $found = true;
  1851. @endphp
  1852. @endif
  1853. @if (!$found)
  1854. <div class="widget" style="width:997;height:300;border:1px solid gray;">
  1855. </div>
  1856. @endif
  1857. @endif
  1858. </div>
  1859. <div class="mobile-advert carousel-inner">
  1860. @if ($home->banner_middle_google != '')
  1861. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1862. <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
  1863. data-ad-slot="{{ $home->banner_middle_google }}" data-ad-format="auto"
  1864. data-full-width-responsive="true"></ins>
  1865. <script>
  1866. (adsbygoogle = window.adsbygoogle || []).push({});
  1867. </script>
  1868. @else
  1869. @php
  1870. $found = false;
  1871. $count = 0;
  1872. @endphp
  1873. @if (isset($home->banner_middle) && $home->banner_middle != '')
  1874. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1875. <a href="{{ $home->banner_middle_url }}"><img
  1876. src="/files/{{ $home->banner_middle }}" width="300" alt=""
  1877. style="border:1px solid gray;"></a>
  1878. </div>
  1879. @php
  1880. $count += 1;
  1881. $found = true;
  1882. @endphp
  1883. @endif
  1884. @if (isset($home->banner_middle_2) && $home->banner_middle_2 != '')
  1885. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1886. <a href="{{ $home->banner_middle_url_2 }}"><img
  1887. src="/files/{{ $home->banner_middle_2 }}" width="300" alt=""
  1888. style="border:1px solid gray;"></a>
  1889. </div>
  1890. @php
  1891. $found = true;
  1892. @endphp
  1893. @endif
  1894. @if (isset($home->banner_middle_3) && $home->banner_middle_3 != '')
  1895. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1896. <a href="{{ $home->banner_middle_url_3 }}"><img
  1897. src="/files/{{ $home->banner_middle_3 }}" width="300" alt=""
  1898. style="border:1px solid gray;"></a>
  1899. </div>
  1900. @php
  1901. $found = true;
  1902. @endphp
  1903. @endif
  1904. @if (isset($home->banner_middle_4) && $home->banner_middle_4 != '')
  1905. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1906. <a href="{{ $home->banner_middle_url_4 }}"><img
  1907. src="/files/{{ $home->banner_middle_4 }}" width="300" alt=""
  1908. style="border:1px solid gray;"></a>
  1909. </div>
  1910. @php
  1911. $found = true;
  1912. @endphp
  1913. @endif
  1914. @if (isset($home->banner_middle_5) && $home->banner_middle_5 != '')
  1915. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1916. <a href="{{ $home->banner_middle_url_5 }}"><img
  1917. src="/files/{{ $home->banner_middle_5 }}" width="300" alt=""
  1918. style="border:1px solid gray;"></a>
  1919. </div>
  1920. @php
  1921. $found = true;
  1922. @endphp
  1923. @endif
  1924. @if (!$found)
  1925. <div class="widget" style="width:300;height:90;border:1px solid gray;">
  1926. </div>
  1927. @endif
  1928. @endif
  1929. </div>
  1930. </div>
  1931. </div>
  1932. @yield('content')
  1933. @include('layouts.footer')
  1934. </div>
  1935. <button onclick="topFunction()" id="btTop" title="Go to top">Top</button>
  1936. <!-- End Container -->
  1937. <script type="text/javascript" src="js/jquery.min.js"></script>
  1938. <script type="text/javascript" src="js/jquery.migrate.js"></script>
  1939. <script type="text/javascript" src="js/jquery.bxslider.min.js"></script>
  1940. <script type="text/javascript" src="js/jquery.magnific-popup.min.js"></script>
  1941. <script type="text/javascript" src="js/bootstrap.min.js"></script>
  1942. <script type="text/javascript" src="js/jquery.ticker.js"></script>
  1943. <script type="text/javascript" src="js/jquery.imagesloaded.min.js"></script>
  1944. <script type="text/javascript" src="js/jquery.isotope.min.js"></script>
  1945. <script type="text/javascript" src="js/owl.carousel.min.js"></script>
  1946. <script type="text/javascript" src="js/plugins-scroll.js"></script>
  1947. <script type="text/javascript" src="js/script.js"></script>
  1948. <script type="text/javascript" src="js/jquery.lazy.min.js"></script>
  1949. <script type="text/javascript" src="js/lightslider.js"></script>
  1950. <script type="text/javascript">
  1951. var count = 0;
  1952. var max_count = {{ sizeof($aHome) }};
  1953. $(document).ready(function() {
  1954. $(".fa-search").click(function() {
  1955. $(".togglesearch").toggle();
  1956. $("input[type='text']").focus();
  1957. });
  1958. // $('body').css('cursor', 'pointer');
  1959. $('body').click(function(event) {
  1960. if (event.target == event.currentTarget) {
  1961. var url = $("#url" + count).val();
  1962. document.location.href = url;
  1963. }
  1964. //inserire url dinamica qui
  1965. // window.open('http://www.google.it');
  1966. });
  1967. $("#cbRadio").change(function() {
  1968. var audio_url = this.value;
  1969. document.getElementById("player").setAttribute('src', audio_url);
  1970. });
  1971. });
  1972. function scroll_to(id) {
  1973. $('html,body').animate({
  1974. scrollTop: $('#' + id).offset().top - 150
  1975. }, 'slow');
  1976. }
  1977. $('#btn-nav-previous').click(function() {
  1978. $(".menu-inner-box").animate({
  1979. scrollLeft: "-=150px"
  1980. });
  1981. });
  1982. $('#btn-nav-next').click(function() {
  1983. $(".menu-inner-box").animate({
  1984. scrollLeft: "+=150px"
  1985. });
  1986. });
  1987. /*
  1988. setTimeout(function(){
  1989. window.location.reload(1);
  1990. }, 180000);*/
  1991. if ($( window ).width() > 800)
  1992. {
  1993. if (max_count > 0) {
  1994. /*$('body.bg-adv').click(function() {
  1995. var url = $("#url" + count).val();
  1996. document.location.href = url;
  1997. })
  1998. $('body>*').click(function(e) {
  1999. e.stopPropagation()
  2000. });*/
  2001. setInterval(function() {
  2002. count = count + 1;
  2003. if (count == max_count)
  2004. count = 0;
  2005. var img = $("#img" + count).val();
  2006. $(".bg-adv").css("background-image", "url('/files/" + img + "')");
  2007. }, 5000);
  2008. }
  2009. }
  2010. $(function() {
  2011. $('.lazy').Lazy();
  2012. });
  2013. mybutton = document.getElementById("btTop");
  2014. // When the user scrolls down 20px from the top of the document, show the button
  2015. window.onscroll = function() {
  2016. scrollFunction()
  2017. };
  2018. function scrollFunction() {
  2019. if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
  2020. mybutton.style.display = "block";
  2021. } else {
  2022. mybutton.style.display = "none";
  2023. }
  2024. }
  2025. // When the user clicks on the button, scroll to the top of the document
  2026. function topFunction() {
  2027. document.body.scrollTop = 0; // For Safari
  2028. document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
  2029. }
  2030. $('#lightSlider').lightSlider({
  2031. gallery: true,
  2032. item: 1,
  2033. loop: true,
  2034. slideMargin: 0,
  2035. thumbItem: 5
  2036. });
  2037. $(document).ready(function() {
  2038. var $overlay = $(
  2039. '<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>'
  2040. );
  2041. var $iframe = $(
  2042. '<iframe width="595" height="485" frameborder="0" marginwidth="0" margin="0" height="0" scrolling="no" style="margin-top:10%" allowfullscreen></iframe>'
  2043. );
  2044. $overlay.append($iframe);
  2045. // append overlay to body
  2046. $('body').append($overlay);
  2047. $('a.view-video').click(function(event) {
  2048. event.preventDefault();
  2049. var id = $(this).attr('href');
  2050. var src = '/video/' + id;
  2051. console.log(src);
  2052. // update overlay with iframe
  2053. $iframe.attr('src', src);
  2054. // show overlay
  2055. $overlay.show();
  2056. });
  2057. // when overlay is clicked
  2058. $overlay.click(function() {
  2059. // hide overlay
  2060. $overlay.hide();
  2061. $iframe.attr('src', '');
  2062. });
  2063. });
  2064. $(function() {
  2065. $(document).ready(function() {
  2066. if (window.matchMedia("(max-width: 767px)").matches) {
  2067. $(".desktop-advert").remove();
  2068. $(".tablet-advert").remove();
  2069. } else {
  2070. }
  2071. });
  2072. $('.carousel').carousel();
  2073. })
  2074. </script>
  2075. <script type="text/javascript">
  2076. $('.navbar-nav a.home-scroll-section').click(function() {
  2077. $('.navbar-collapse').removeClass('in')
  2078. });
  2079. </script>
  2080. <script>
  2081. document.querySelector('.search-trigger-custom').addEventListener('click', function(e) {
  2082. e.preventDefault();
  2083. document.querySelector('.search-dropdown-custom').classList.toggle('active');
  2084. if (document.querySelector('.search-dropdown-custom').classList.contains('active')) {
  2085. document.querySelector('#search-field-custom').focus();
  2086. }
  2087. });
  2088. // Close search when clicking outside
  2089. document.addEventListener('click', function(e) {
  2090. const searchArea = document.querySelector('.top-search-custom');
  2091. const dropdown = document.querySelector('.search-dropdown-custom');
  2092. if (!searchArea.contains(e.target) && dropdown.classList.contains('active')) {
  2093. dropdown.classList.remove('active');
  2094. }
  2095. });
  2096. </script>
  2097. </body>
  2098. </html>