home.blade.php 135 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228
  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 (false)
  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_first_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_first_google }}" data-ad-format="auto"
  723. 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_first) && $home->banner_first != '')
  733. <div class="item {{ $count == 0 ? 'active' : '' }}">
  734. <a href="{{ $home->banner_first_url }}"><img
  735. src="/files/{{ $home->banner_first }}" 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_first_2) && $home->banner_first_2 != '')
  744. <div class="item {{ $count == 0 ? 'active' : '' }}">
  745. <a href="{{ $home->banner_first_url_2 }}"><img
  746. src="/files/{{ $home->banner_first_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_first_3) && $home->banner_first_3 != '')
  754. <div class="item {{ $count == 0 ? 'active' : '' }}">
  755. <a href="{{ $home->banner_first_url_3 }}"><img
  756. src="/files/{{ $home->banner_first_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_first_4) && $home->banner_first_4 != '')
  764. <div class="item {{ $count == 0 ? 'active' : '' }}">
  765. <a href="{{ $home->banner_first_url_4 }}"><img
  766. src="/files/{{ $home->banner_first_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_first_5) && $home->banner_first_5 != '')
  774. <div class="item {{ $count == 0 ? 'active' : '' }}">
  775. <a href="{{ $home->banner_first_url_5 }}"><img
  776. src="/files/{{ $home->banner_first_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_first_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_first_google }}" data-ad-format="auto"
  795. 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_first) && $home->banner_first != '')
  805. <div class="item {{ $count == 0 ? 'active' : '' }}">
  806. <a href="{{ $home->banner_first_url }}"><img
  807. src="/files/{{ $home->banner_first }}" 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_first_2) && $home->banner_first_2 != '')
  816. <div class="item {{ $count == 0 ? 'active' : '' }}">
  817. <a href="{{ $home->banner_first_url_2 }}"><img
  818. src="/files/{{ $home->banner_first_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_first_3) && $home->banner_first_3 != '')
  826. <div class="item {{ $count == 0 ? 'active' : '' }}">
  827. <a href="{{ $home->banner_first_url_3 }}"><img
  828. src="/files/{{ $home->banner_first_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_first_4) && $home->banner_first_4 != '')
  836. <div class="item {{ $count == 0 ? 'active' : '' }}">
  837. <a href="{{ $home->banner_first_url_4 }}"><img
  838. src="/files/{{ $home->banner_first_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_first_5) && $home->banner_first_5 != '')
  846. <div class="item {{ $count == 0 ? 'active' : '' }}">
  847. <a href="{{ $home->banner_first_url_5 }}"><img
  848. src="/files/{{ $home->banner_first_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;">
  858. </div>
  859. @endif
  860. @endif
  861. </div>
  862. <div class="mobile-advert carousel-inner">
  863. @if ($home->banner_first_google != '')
  864. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  865. <ins class="adsbygoogle" style="display:block"
  866. data-ad-client="ca-pub-0209495346002620"
  867. data-ad-slot="{{ $home->banner_first_google }}" data-ad-format="auto"
  868. data-full-width-responsive="true"></ins>
  869. <script>
  870. (adsbygoogle = window.adsbygoogle || []).push({});
  871. </script>
  872. @else
  873. @php
  874. $found = false;
  875. $count = 0;
  876. @endphp
  877. @if (isset($home->banner_first) && $home->banner_first != '')
  878. <div class="item {{ $count == 0 ? 'active' : '' }}">
  879. <a href="{{ $home->banner_first_url }}"><img
  880. src="/files/{{ $home->banner_first }}" width="300"
  881. alt="" style="border:1px solid gray;"></a>
  882. </div>
  883. @php
  884. $count += 1;
  885. $found = true;
  886. @endphp
  887. @endif
  888. @if (isset($home->banner_first_2) && $home->banner_first_2 != '')
  889. <div class="item {{ $count == 0 ? 'active' : '' }}">
  890. <a href="{{ $home->banner_first_url_2 }}"><img
  891. src="/files/{{ $home->banner_first_2 }}" width="300"
  892. alt="" style="border:1px solid gray;"></a>
  893. </div>
  894. @php
  895. $found = true;
  896. @endphp
  897. @endif
  898. @if (isset($home->banner_first_3) && $home->banner_first_3 != '')
  899. <div class="item {{ $count == 0 ? 'active' : '' }}">
  900. <a href="{{ $home->banner_first_url_3 }}"><img
  901. src="/files/{{ $home->banner_first_3 }}" width="300"
  902. alt="" style="border:1px solid gray;"></a>
  903. </div>
  904. @php
  905. $found = true;
  906. @endphp
  907. @endif
  908. @if (isset($home->banner_first_4) && $home->banner_first_4 != '')
  909. <div class="item {{ $count == 0 ? 'active' : '' }}">
  910. <a href="{{ $home->banner_first_url_4 }}"><img
  911. src="/files/{{ $home->banner_first_4 }}" width="300"
  912. alt="" style="border:1px solid gray;"></a>
  913. </div>
  914. @php
  915. $found = true;
  916. @endphp
  917. @endif
  918. @if (isset($home->banner_first_5) && $home->banner_first_5 != '')
  919. <div class="item {{ $count == 0 ? 'active' : '' }}">
  920. <a href="{{ $home->banner_first_url_5 }}"><img
  921. src="/files/{{ $home->banner_first_5 }}" width="300"
  922. alt="" style="border:1px solid gray;"></a>
  923. </div>
  924. @php
  925. $found = true;
  926. @endphp
  927. @endif
  928. @if (!$found)
  929. <div class="widget"
  930. style="width:300px;height:250px;border:1px solid gray;">
  931. </div>
  932. @endif
  933. @endif
  934. </div>
  935. </div>
  936. <!-- slider-caption-box -->
  937. <div class="slider-caption-box">
  938. <div class="title-section">
  939. <h1><span style="font-size:21px;">Video</span></h1>
  940. </div>
  941. <div class="slide-video">
  942. <ul id="lightSlider">
  943. @foreach ($videos as $idx => $video)
  944. <li data-thumb="/files/videos/{{ $video->image }}">
  945. <a href="{{ $video->id }}" class="view-video">
  946. <img src="/files/videos/{{ $video->image }}"
  947. style="width:320px;height:200px;" />
  948. <div class="caption">
  949. <p>{{ $video->title }}</p>
  950. <p><small>{{ date('d/m/Y', strtotime($video->date)) }}</small>
  951. </p>
  952. </div>
  953. </a>
  954. </li>
  955. @endforeach
  956. </ul>
  957. </div>
  958. </div>
  959. <div class="center-button" style="margin-top:20px;">
  960. <a href="/videos">ARCHIVIO VIDEO</a>
  961. </div>
  962. <!-- End slider-caption-box -->
  963. @endif
  964. @if ($show_top)
  965. <div class="advertisement carousel slide" data-ride="carousel"
  966. style="margin-right:0px;padding-top:14px; margin-top:0px;;margin-bottom:20px;">
  967. <div class="desktop-advert carousel-inner">
  968. @if ($home->banner_right_top_google != '')
  969. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  970. <ins class="adsbygoogle" style="display:block"
  971. data-ad-client="ca-pub-0209495346002620"
  972. data-ad-slot="{{ $home->banner_right_top_google }}"
  973. data-ad-format="auto" data-full-width-responsive="true"></ins>
  974. <script>
  975. (adsbygoogle = window.adsbygoogle || []).push({});
  976. </script>
  977. @else
  978. @php
  979. $found = false;
  980. $count = 0;
  981. @endphp
  982. @if (isset($home->banner_right_top) && $home->banner_right_top != '')
  983. <div class="item {{ $count == 0 ? 'active' : '' }}">
  984. <a href="{{ $home->banner_right_top_url }}"><img
  985. src="/files/{{ $home->banner_right_top }}" width="300"
  986. alt="" style="border:1px solid gray;"></a>
  987. </div>
  988. @php
  989. $count += 1;
  990. $found = true;
  991. @endphp
  992. @endif
  993. @if (isset($home->banner_right_top_2) && $home->banner_right_top_2 != '')
  994. <div class="item {{ $count == 0 ? 'active' : '' }}">
  995. <a href="{{ $home->banner_right_top_2_url }}"><img
  996. src="/files/{{ $home->banner_right_top_2 }}" width="300"
  997. alt="" style="border:1px solid gray;"></a>
  998. </div>
  999. @php
  1000. $found = true;
  1001. @endphp
  1002. @endif
  1003. @if (isset($home->banner_right_top_3) && $home->banner_right_top_3 != '')
  1004. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1005. <a href="{{ $home->banner_right_top_3_url }}"><img
  1006. src="/files/{{ $home->banner_right_top_3 }}" width="300"
  1007. alt="" style="border:1px solid gray;"></a>
  1008. </div>
  1009. @php
  1010. $found = true;
  1011. @endphp
  1012. @endif
  1013. @if (isset($home->banner_right_top_4) && $home->banner_right_top_4 != '')
  1014. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1015. <a href="{{ $home->banner_right_top_4_url }}"><img
  1016. src="/files/{{ $home->banner_right_top_4 }}" width="300"
  1017. alt="" style="border:1px solid gray;"></a>
  1018. </div>
  1019. @php
  1020. $found = true;
  1021. @endphp
  1022. @endif
  1023. @if (isset($home->banner_right_top_5) && $home->banner_right_top_5 != '')
  1024. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1025. <a href="{{ $home->banner_right_top_5_url }}"><img
  1026. src="/files/{{ $home->banner_right_top_5 }}" width="300"
  1027. alt="" style="border:1px solid gray;"></a>
  1028. </div>
  1029. @php
  1030. $found = true;
  1031. @endphp
  1032. @endif
  1033. @if (!$found)
  1034. <div class="widget"
  1035. style="width:300px;height:250px;border:1px solid gray;"></div>
  1036. @endif
  1037. @endif
  1038. </div>
  1039. <div class="tablet-advert carousel-inner">
  1040. @if ($home->banner_right_top_google != '')
  1041. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1042. <ins class="adsbygoogle" style="display:block"
  1043. data-ad-client="ca-pub-0209495346002620"
  1044. data-ad-slot="{{ $home->banner_right_top_google }}"
  1045. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1046. <script>
  1047. (adsbygoogle = window.adsbygoogle || []).push({});
  1048. </script>
  1049. @else
  1050. @php
  1051. $found = false;
  1052. $count = 0;
  1053. @endphp
  1054. @if (isset($home->banner_right_top) && $home->banner_right_top != '')
  1055. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1056. <a href="{{ $home->banner_right_top_url }}"><img
  1057. src="/files/{{ $home->banner_right_top }}" width="300"
  1058. alt="" style="border:1px solid gray;"></a>
  1059. </div>
  1060. @php
  1061. $count += 1;
  1062. $found = true;
  1063. @endphp
  1064. @endif
  1065. @if (isset($home->banner_right_top_2) && $home->banner_right_top_2 != '')
  1066. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1067. <a href="{{ $home->banner_right_top_2_url }}"><img
  1068. src="/files/{{ $home->banner_right_top_2 }}" width="300"
  1069. alt="" style="border:1px solid gray;"></a>
  1070. </div>
  1071. @php
  1072. $found = true;
  1073. @endphp
  1074. @endif
  1075. @if (isset($home->banner_right_top_3) && $home->banner_right_top_3 != '')
  1076. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1077. <a href="{{ $home->banner_right_top_3_url }}"><img
  1078. src="/files/{{ $home->banner_right_top_3 }}" width="300"
  1079. alt="" style="border:1px solid gray;"></a>
  1080. </div>
  1081. @php
  1082. $found = true;
  1083. @endphp
  1084. @endif
  1085. @if (isset($home->banner_right_top_4) && $home->banner_right_top_4 != '')
  1086. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1087. <a href="{{ $home->banner_right_top_4_url }}"><img
  1088. src="/files/{{ $home->banner_right_top_4 }}" width="300"
  1089. alt="" style="border:1px solid gray;"></a>
  1090. </div>
  1091. @php
  1092. $found = true;
  1093. @endphp
  1094. @endif
  1095. @if (isset($home->banner_right_top_5) && $home->banner_right_top_5 != '')
  1096. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1097. <a href="{{ $home->banner_right_top_5_url }}"><img
  1098. src="/files/{{ $home->banner_right_top_5 }}" width="300"
  1099. alt="" style="border:1px solid gray;"></a>
  1100. </div>
  1101. @php
  1102. $found = true;
  1103. @endphp
  1104. @endif
  1105. @if (!$found)
  1106. <div class="widget"
  1107. style="width:300px;height:250px;border:1px solid gray;"></div>
  1108. @endif
  1109. @endif
  1110. </div>
  1111. <div class="mobile-advert carousel-inner">
  1112. @if ($home->banner_right_top_google != '')
  1113. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1114. <ins class="adsbygoogle" style="display:block"
  1115. data-ad-client="ca-pub-0209495346002620"
  1116. data-ad-slot="{{ $home->banner_right_top_google }}"
  1117. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1118. <script>
  1119. (adsbygoogle = window.adsbygoogle || []).push({});
  1120. </script>
  1121. @else
  1122. @php
  1123. $found = false;
  1124. $count = 0;
  1125. @endphp
  1126. @if (isset($home->banner_right_top) && $home->banner_right_top != '')
  1127. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1128. <a href="{{ $home->banner_right_top_url }}"><img
  1129. src="/files/{{ $home->banner_right_top }}" width="300"
  1130. alt="" style="border:1px solid gray;"></a>
  1131. </div>
  1132. @php
  1133. $count += 1;
  1134. $found = true;
  1135. @endphp
  1136. @endif
  1137. @if (isset($home->banner_right_top_2) && $home->banner_right_top_2 != '')
  1138. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1139. <a href="{{ $home->banner_right_top_2_url }}"><img
  1140. src="/files/{{ $home->banner_right_top_2 }}" width="300"
  1141. alt="" style="border:1px solid gray;"></a>
  1142. </div>
  1143. @php
  1144. $found = true;
  1145. @endphp
  1146. @endif
  1147. @if (isset($home->banner_right_top_3) && $home->banner_right_top_3 != '')
  1148. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1149. <a href="{{ $home->banner_right_top_3_url }}"><img
  1150. src="/files/{{ $home->banner_right_top_3 }}" width="300"
  1151. alt="" style="border:1px solid gray;"></a>
  1152. </div>
  1153. @php
  1154. $found = true;
  1155. @endphp
  1156. @endif
  1157. @if (isset($home->banner_right_top_4) && $home->banner_right_top_4 != '')
  1158. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1159. <a href="{{ $home->banner_right_top_4_url }}"><img
  1160. src="/files/{{ $home->banner_right_top_4 }}" width="300"
  1161. alt="" style="border:1px solid gray;"></a>
  1162. </div>
  1163. @php
  1164. $found = true;
  1165. @endphp
  1166. @endif
  1167. @if (isset($home->banner_right_top_5) && $home->banner_right_top_5 != '')
  1168. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1169. <a href="{{ $home->banner_right_top_5_url }}"><img
  1170. src="/files/{{ $home->banner_right_top_5 }}" width="300"
  1171. alt="" style="border:1px solid gray;"></a>
  1172. </div>
  1173. @php
  1174. $found = true;
  1175. @endphp
  1176. @endif
  1177. @if (!$found)
  1178. <div class="widget"
  1179. style="width:300px;height:250px;border:1px solid gray;"></div>
  1180. @endif
  1181. @endif
  1182. </div>
  1183. </div>
  1184. <div class="advertisement carousel slide" data-ride="carousel"
  1185. style="margin-right:0px;margin-top:0px;">
  1186. <div class="desktop-advert carousel-inner">
  1187. @if ($home->banner_right_bottom_google != '')
  1188. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1189. <ins class="adsbygoogle" style="display:block"
  1190. data-ad-client="ca-pub-0209495346002620"
  1191. data-ad-slot="{{ $home->banner_right_bottom_google }}"
  1192. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1193. <script>
  1194. (adsbygoogle = window.adsbygoogle || []).push({});
  1195. </script>
  1196. @else
  1197. @php
  1198. $found = false;
  1199. $count = 0;
  1200. @endphp
  1201. @if (isset($home->banner_right_bottom) && $home->banner_right_bottom != '')
  1202. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1203. <a href="{{ $home->banner_right_bottom_url }}"><img
  1204. src="/files/{{ $home->banner_right_bottom }}" width="300"
  1205. alt="" style="border:1px solid gray;"></a>
  1206. </div>
  1207. @php
  1208. $count += 1;
  1209. $found = true;
  1210. @endphp
  1211. @endif
  1212. @if (isset($home->banner_right_bottom_2) && $home->banner_right_bottom_2 != '')
  1213. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1214. <a href="{{ $home->banner_right_bottom_2_url }}"><img
  1215. src="/files/{{ $home->banner_right_bottom_2 }}"
  1216. width="300" alt=""
  1217. style="border:1px solid gray;"></a>
  1218. </div>
  1219. @php
  1220. $found = true;
  1221. @endphp
  1222. @endif
  1223. @if (isset($home->banner_right_bottom_3) && $home->banner_right_bottom_3 != '')
  1224. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1225. <a href="{{ $home->banner_right_bottom_3_url }}"><img
  1226. src="/files/{{ $home->banner_right_bottom_3 }}"
  1227. width="300" alt=""
  1228. style="border:1px solid gray;"></a>
  1229. </div>
  1230. @php
  1231. $found = true;
  1232. @endphp
  1233. @endif
  1234. @if (isset($home->banner_right_bottom_4) && $home->banner_right_bottom_4 != '')
  1235. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1236. <a href="{{ $home->banner_right_bottom_4_url }}"><img
  1237. src="/files/{{ $home->banner_right_bottom_4 }}"
  1238. width="300" alt=""
  1239. style="border:1px solid gray;"></a>
  1240. </div>
  1241. @php
  1242. $found = true;
  1243. @endphp
  1244. @endif
  1245. @if (isset($home->banner_right_bottom_5) && $home->banner_right_bottom_5 != '')
  1246. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1247. <a href="{{ $home->banner_right_bottom_5_url }}"><img
  1248. src="/files/{{ $home->banner_right_bottom_5 }}"
  1249. width="300" alt=""
  1250. style="border:1px solid gray;"></a>
  1251. </div>
  1252. @php
  1253. $found = true;
  1254. @endphp
  1255. @endif
  1256. @if (!$found)
  1257. <div class="widget"
  1258. style="width:300px;height:250px;border:1px solid gray;"></div>
  1259. @endif
  1260. @endif
  1261. </div>
  1262. <div class="tablet-advert carousel-inner">
  1263. @if ($home->banner_right_bottom_google != '')
  1264. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1265. <ins class="adsbygoogle" style="display:block"
  1266. data-ad-client="ca-pub-0209495346002620"
  1267. data-ad-slot="{{ $home->banner_right_bottom_google }}"
  1268. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1269. <script>
  1270. (adsbygoogle = window.adsbygoogle || []).push({});
  1271. </script>
  1272. @else
  1273. @php
  1274. $found = false;
  1275. $count = 0;
  1276. @endphp
  1277. @if (isset($home->banner_right_bottom) && $home->banner_right_bottom != '')
  1278. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1279. <a href="{{ $home->banner_right_bottom_url }}"><img
  1280. src="/files/{{ $home->banner_right_bottom }}" width="300"
  1281. alt="" style="border:1px solid gray;"></a>
  1282. </div>
  1283. @php
  1284. $count += 1;
  1285. $found = true;
  1286. @endphp
  1287. @endif
  1288. @if (isset($home->banner_right_bottom_2) && $home->banner_right_bottom_2 != '')
  1289. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1290. <a href="{{ $home->banner_right_bottom_2_url }}"><img
  1291. src="/files/{{ $home->banner_right_bottom_2 }}"
  1292. width="300" alt=""
  1293. style="border:1px solid gray;"></a>
  1294. </div>
  1295. @php
  1296. $found = true;
  1297. @endphp
  1298. @endif
  1299. @if (isset($home->banner_right_bottom_3) && $home->banner_right_bottom_3 != '')
  1300. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1301. <a href="{{ $home->banner_right_bottom_3_url }}"><img
  1302. src="/files/{{ $home->banner_right_bottom_3 }}"
  1303. width="300" alt=""
  1304. style="border:1px solid gray;"></a>
  1305. </div>
  1306. @php
  1307. $found = true;
  1308. @endphp
  1309. @endif
  1310. @if (isset($home->banner_right_bottom_4) && $home->banner_right_bottom_4 != '')
  1311. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1312. <a href="{{ $home->banner_right_bottom_4_url }}"><img
  1313. src="/files/{{ $home->banner_right_bottom_4 }}"
  1314. width="300" alt=""
  1315. style="border:1px solid gray;"></a>
  1316. </div>
  1317. @php
  1318. $found = true;
  1319. @endphp
  1320. @endif
  1321. @if (isset($home->banner_right_bottom_5) && $home->banner_right_bottom_5 != '')
  1322. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1323. <a href="{{ $home->banner_right_bottom_5_url }}"><img
  1324. src="/files/{{ $home->banner_right_bottom_5 }}"
  1325. width="300" alt=""
  1326. style="border:1px solid gray;"></a>
  1327. </div>
  1328. @php
  1329. $found = true;
  1330. @endphp
  1331. @endif
  1332. @if (!$found)
  1333. <div class="widget"
  1334. style="width:300px;height:250px;border:1px solid gray;"></div>
  1335. @endif
  1336. @endif
  1337. </div>
  1338. <div class="mobile-advert carousel-inner">
  1339. @if ($home->banner_right_bottom_google != '')
  1340. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1341. <ins class="adsbygoogle" style="display:block"
  1342. data-ad-client="ca-pub-0209495346002620"
  1343. data-ad-slot="{{ $home->banner_right_bottom_google }}"
  1344. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1345. <script>
  1346. (adsbygoogle = window.adsbygoogle || []).push({});
  1347. </script>
  1348. @else
  1349. @php
  1350. $found = false;
  1351. $count = 0;
  1352. @endphp
  1353. @if (isset($home->banner_right_bottom) && $home->banner_right_bottom != '')
  1354. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1355. <a href="{{ $home->banner_right_bottom_url }}"><img
  1356. src="/files/{{ $home->banner_right_bottom }}" width="300"
  1357. alt="" style="border:1px solid gray;"></a>
  1358. </div>
  1359. @php
  1360. $count += 1;
  1361. $found = true;
  1362. @endphp
  1363. @endif
  1364. @if (isset($home->banner_right_bottom_2) && $home->banner_right_bottom_2 != '')
  1365. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1366. <a href="{{ $home->banner_right_bottom_2_url }}"><img
  1367. src="/files/{{ $home->banner_right_bottom_2 }}"
  1368. width="300" alt=""
  1369. style="border:1px solid gray;"></a>
  1370. </div>
  1371. @php
  1372. $found = true;
  1373. @endphp
  1374. @endif
  1375. @if (isset($home->banner_right_bottom_3) && $home->banner_right_bottom_3 != '')
  1376. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1377. <a href="{{ $home->banner_right_bottom_3_url }}"><img
  1378. src="/files/{{ $home->banner_right_bottom_3 }}"
  1379. width="300" alt=""
  1380. style="border:1px solid gray;"></a>
  1381. </div>
  1382. @php
  1383. $found = true;
  1384. @endphp
  1385. @endif
  1386. @if (isset($home->banner_right_bottom_4) && $home->banner_right_bottom_4 != '')
  1387. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1388. <a href="{{ $home->banner_right_bottom_4_url }}"><img
  1389. src="/files/{{ $home->banner_right_bottom_4 }}"
  1390. width="300" alt=""
  1391. style="border:1px solid gray;"></a>
  1392. </div>
  1393. @php
  1394. $found = true;
  1395. @endphp
  1396. @endif
  1397. @if (isset($home->banner_right_bottom_5) && $home->banner_right_bottom_5 != '')
  1398. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1399. <a href="{{ $home->banner_right_bottom_5_url }}"><img
  1400. src="/files/{{ $home->banner_right_bottom_5 }}"
  1401. width="300" alt=""
  1402. style="border:1px solid gray;"></a>
  1403. </div>
  1404. @php
  1405. $found = true;
  1406. @endphp
  1407. @endif
  1408. @if (!$found)
  1409. <div class="widget"
  1410. style="width:300px;height:250px;border:1px solid gray;"></div>
  1411. @endif
  1412. @endif
  1413. </div>
  1414. </div>
  1415. @else
  1416. <div class="advertisement carousel slide" data-ride="carousel"
  1417. style="margin-right:0px;padding-top:14px; margin-top:0px;;margin-bottom:20px;">
  1418. <div class="desktop-advert carousel-inner">
  1419. @if ($home->banner_right_big_google != '')
  1420. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1421. <ins class="adsbygoogle" style="display:block"
  1422. data-ad-client="ca-pub-0209495346002620"
  1423. data-ad-slot="{{ $home->banner_right_big_google }}"
  1424. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1425. <script>
  1426. (adsbygoogle = window.adsbygoogle || []).push({});
  1427. </script>
  1428. @else
  1429. @php
  1430. $found = false;
  1431. $count = 0;
  1432. @endphp
  1433. @if (isset($home->banner_right_big) && $home->banner_right_big != '')
  1434. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1435. <a href="{{ $home->banner_right_big_url }}"><img
  1436. src="/files/{{ $home->banner_right_big }}" width="300"
  1437. alt="" style="border:1px solid gray;"></a>
  1438. </div>
  1439. @php
  1440. $count += 1;
  1441. $found = true;
  1442. @endphp
  1443. @endif
  1444. @if (isset($home->banner_right_big_2) && $home->banner_right_big_2 != '')
  1445. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1446. <a href="{{ $home->banner_right_big_2_url }}"><img
  1447. src="/files/{{ $home->banner_right_big_2 }}" width="300"
  1448. alt="" style="border:1px solid gray;"></a>
  1449. </div>
  1450. @php
  1451. $found = true;
  1452. @endphp
  1453. @endif
  1454. @if (isset($home->banner_right_big_3) && $home->banner_right_big_3 != '')
  1455. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1456. <a href="{{ $home->banner_right_big_3_url }}"><img
  1457. src="/files/{{ $home->banner_right_big_3 }}" width="300"
  1458. alt="" style="border:1px solid gray;"></a>
  1459. </div>
  1460. @php
  1461. $found = true;
  1462. @endphp
  1463. @endif
  1464. @if (isset($home->banner_right_big_4) && $home->banner_right_big_4 != '')
  1465. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1466. <a href="{{ $home->banner_right_big_4_url }}"><img
  1467. src="/files/{{ $home->banner_right_big_4 }}" width="300"
  1468. alt="" style="border:1px solid gray;"></a>
  1469. </div>
  1470. @php
  1471. $found = true;
  1472. @endphp
  1473. @endif
  1474. @if (isset($home->banner_right_big_5) && $home->banner_right_big_5 != '')
  1475. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1476. <a href="{{ $home->banner_right_big_5_url }}"><img
  1477. src="/files/{{ $home->banner_right_big_5 }}" width="300"
  1478. alt="" style="border:1px solid gray;"></a>
  1479. </div>
  1480. @php
  1481. $found = true;
  1482. @endphp
  1483. @endif
  1484. @if (!$found)
  1485. <div class="widget"
  1486. style="width:300px;height:600px;border:1px solid gray;"></div>
  1487. @endif
  1488. @endif
  1489. </div>
  1490. <div class="tablet-advert carousel-inner">
  1491. @if ($home->banner_right_big_google != '')
  1492. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1493. <ins class="adsbygoogle" style="display:block"
  1494. data-ad-client="ca-pub-0209495346002620"
  1495. data-ad-slot="{{ $home->banner_right_big_google }}"
  1496. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1497. <script>
  1498. (adsbygoogle = window.adsbygoogle || []).push({});
  1499. </script>
  1500. @else
  1501. @php
  1502. $found = false;
  1503. $count = 0;
  1504. @endphp
  1505. @if (isset($home->banner_right_big) && $home->banner_right_big != '')
  1506. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1507. <a href="{{ $home->banner_right_big_url }}"><img
  1508. src="/files/{{ $home->banner_right_big }}" width="300"
  1509. alt="" style="border:1px solid gray;"></a>
  1510. </div>
  1511. @php
  1512. $count += 1;
  1513. $found = true;
  1514. @endphp
  1515. @endif
  1516. @if (isset($home->banner_right_big_2) && $home->banner_right_big_2 != '')
  1517. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1518. <a href="{{ $home->banner_right_big_2_url }}"><img
  1519. src="/files/{{ $home->banner_right_big_2 }}" width="300"
  1520. alt="" style="border:1px solid gray;"></a>
  1521. </div>
  1522. @php
  1523. $found = true;
  1524. @endphp
  1525. @endif
  1526. @if (isset($home->banner_right_big_3) && $home->banner_right_big_3 != '')
  1527. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1528. <a href="{{ $home->banner_right_big_3_url }}"><img
  1529. src="/files/{{ $home->banner_right_big_3 }}" width="300"
  1530. alt="" style="border:1px solid gray;"></a>
  1531. </div>
  1532. @php
  1533. $found = true;
  1534. @endphp
  1535. @endif
  1536. @if (isset($home->banner_right_big_4) && $home->banner_right_big_4 != '')
  1537. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1538. <a href="{{ $home->banner_right_big_4_url }}"><img
  1539. src="/files/{{ $home->banner_right_big_4 }}" width="300"
  1540. alt="" style="border:1px solid gray;"></a>
  1541. </div>
  1542. @php
  1543. $found = true;
  1544. @endphp
  1545. @endif
  1546. @if (isset($home->banner_right_big_5) && $home->banner_right_big_5 != '')
  1547. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1548. <a href="{{ $home->banner_right_big_5_url }}"><img
  1549. src="/files/{{ $home->banner_right_big_5 }}" width="300"
  1550. alt="" style="border:1px solid gray;"></a>
  1551. </div>
  1552. @php
  1553. $found = true;
  1554. @endphp
  1555. @endif
  1556. @if (!$found)
  1557. <div class="widget"
  1558. style="width:300px;height:250px;border:1px solid gray;"></div>
  1559. @endif
  1560. @endif
  1561. </div>
  1562. <div class="mobile-advert carousel-inner">
  1563. @if ($home->banner_right_big_google != '')
  1564. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1565. <ins class="adsbygoogle" style="display:block"
  1566. data-ad-client="ca-pub-0209495346002620"
  1567. data-ad-slot="{{ $home->banner_right_big_google }}"
  1568. data-ad-format="auto" data-full-width-responsive="true"></ins>
  1569. <script>
  1570. (adsbygoogle = window.adsbygoogle || []).push({});
  1571. </script>
  1572. @else
  1573. @php
  1574. $found = false;
  1575. $count = 0;
  1576. @endphp
  1577. @if (isset($home->banner_right_big) && $home->banner_right_big != '')
  1578. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1579. <a href="{{ $home->banner_right_big_url }}"><img
  1580. src="/files/{{ $home->banner_right_big }}" width="300"
  1581. alt="" style="border:1px solid gray;"></a>
  1582. </div>
  1583. @php
  1584. $count += 1;
  1585. $found = true;
  1586. @endphp
  1587. @endif
  1588. @if (isset($home->banner_right_big_2) && $home->banner_right_big_2 != '')
  1589. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1590. <a href="{{ $home->banner_right_big_2_url }}"><img
  1591. src="/files/{{ $home->banner_right_big_2 }}" width="300"
  1592. alt="" style="border:1px solid gray;"></a>
  1593. </div>
  1594. @php
  1595. $found = true;
  1596. @endphp
  1597. @endif
  1598. @if (isset($home->banner_right_big_3) && $home->banner_right_big_3 != '')
  1599. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1600. <a href="{{ $home->banner_right_big_3_url }}"><img
  1601. src="/files/{{ $home->banner_right_big_3 }}" width="300"
  1602. alt="" style="border:1px solid gray;"></a>
  1603. </div>
  1604. @php
  1605. $found = true;
  1606. @endphp
  1607. @endif
  1608. @if (isset($home->banner_right_big_4) && $home->banner_right_big_4 != '')
  1609. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1610. <a href="{{ $home->banner_right_big_4_url }}"><img
  1611. src="/files/{{ $home->banner_right_big_4 }}" width="300"
  1612. alt="" style="border:1px solid gray;"></a>
  1613. </div>
  1614. @php
  1615. $found = true;
  1616. @endphp
  1617. @endif
  1618. @if (isset($home->banner_right_big_5) && $home->banner_right_big_5 != '')
  1619. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1620. <a href="{{ $home->banner_right_big_5_url }}"><img
  1621. src="/files/{{ $home->banner_right_big_5 }}" width="300"
  1622. alt="" style="border:1px solid gray;"></a>
  1623. </div>
  1624. @php
  1625. $found = true;
  1626. @endphp
  1627. @endif
  1628. @if (!$found)
  1629. <div class="widget"
  1630. style="width:300px;height:600px;border:1px solid gray;"></div>
  1631. @endif
  1632. @endif
  1633. </div>
  1634. </div>
  1635. @endif
  1636. <div class="advertisement carousel slide" data-ride="carousel"
  1637. style="margin-right:0px;padding-top:14px; margin-top:0px;;margin-bottom:20px;">
  1638. <div class="desktop-advert carousel-inner">
  1639. <!--<img src="/images/banner-home.gif" width="300" alt="" style="border:1px solid gray;">-->
  1640. @for ($xxx = 1; $xxx <= 5; $xxx++)
  1641. <div class="item {{ $xxx == 1 ? 'active' : '' }}">
  1642. <img src="/images/rotator_{{ $xxx }}.png" width="300"
  1643. alt="" style="border:1px solid gray;">
  1644. </div>
  1645. @endfor
  1646. </div>
  1647. <div class="tablet-advert carousel-inner">
  1648. <!--<img src="/images/banner-home.gif" width="300" alt="" style="border:1px solid gray;">-->
  1649. @for ($xxx = 1; $xxx <= 5; $xxx++)
  1650. <div class="item {{ $xxx == 1 ? 'active' : '' }}">
  1651. <img src="/images/rotator_{{ $xxx }}.png" width="300"
  1652. alt="" style="border:1px solid gray;">
  1653. </div>
  1654. @endfor
  1655. </div>
  1656. <div class="mobile-advert carousel-inner">
  1657. <!--<img src="/images/banner-home.gif" width="300" alt="" style="border:1px solid gray;">-->
  1658. @for ($xxx = 1; $xxx <= 5; $xxx++)
  1659. <div class="item {{ $xxx == 1 ? 'active' : '' }}">
  1660. <img src="/images/rotator_{{ $xxx }}.png" width="300"
  1661. alt="" style="border:1px solid gray;">
  1662. </div>
  1663. @endfor
  1664. </div>
  1665. </div>
  1666. @if (
  1667. $home->radio1_file != '' ||
  1668. $home->radio1_url != '' ||
  1669. $home->radio2_file != '' ||
  1670. $home->radio2_url != '' ||
  1671. $home->radio3_file != '' ||
  1672. $home->radio3_url != '')
  1673. <div class="block-content" style="margin-top: 2em;">
  1674. <div class="title-section">
  1675. <h1><span style="font-size: 21px;">Web Radio</span></h1>
  1676. </div>
  1677. <select class="form-control" id="cbRadio">
  1678. @if ($home->radio1_file != '' || $home->radio1_url != '')
  1679. <option
  1680. value="{{ $home->radio1_file != '' ? '/files/' . $home->radio1_file : $home->radio1_url }}">
  1681. {{ $home->radio1_title }}</option>
  1682. @endif
  1683. @if ($home->radio2_file != '' || $home->radio2_url != '')
  1684. <option
  1685. value="{{ $home->radio2_file != '' ? '/files/' . $home->radio2_file : $home->radio2_url }}">
  1686. {{ $home->radio2_title }}</option>
  1687. @endif
  1688. @if ($home->radio3_file != '' || $home->radio3_url != '')
  1689. <option
  1690. value="{{ $home->radio3_file != '' ? '/files/' . $home->radio3_file : $home->radio3_url }}">
  1691. {{ $home->radio3_title }}</option>
  1692. @endif
  1693. </select><br>
  1694. @if ($home->radio1_file != '' || $home->radio1_url != '')
  1695. <audio id="player"
  1696. src="{{ $home->radio1_file != '' ? '/files/' . $home->radio1_file : $home->radio1_url }}"></audio>
  1697. @else
  1698. @if ($home->radio2_file != '' || $home->radio2_url != '')
  1699. <audio id="player"
  1700. src="{{ $home->radio2_file != '' ? '/files/' . $home->radio2_file : $home->radio2_url }}"></audio>
  1701. @else
  1702. @if ($home->radio3_file != '' || $home->radio3_url != '')
  1703. <audio id="player"
  1704. src="{{ $home->radio3_file != '' ? '/files/' . $home->radio3_file : $home->radio3_url }}"></audio>
  1705. @endif
  1706. @endif
  1707. @endif
  1708. <div>
  1709. <button class="btn btn-success btn-lg"
  1710. onclick="document.getElementById('player').play()" style="font-size:15px;"><i
  1711. class="fa fa-play"></i> Play</button>
  1712. <button class="btn btn-danger btn-lg"
  1713. onclick="document.getElementById('player').pause()" style="font-size:15px;"><i
  1714. class="fa fa-pause"></i> Pause</button>
  1715. <button class="btn btn-lg"
  1716. onclick="document.getElementById('player').volume += 0.1"
  1717. style="font-size:15px;"><i class="fa fa-volume-up"></i> +</button>
  1718. <button class="btn btn-lg"
  1719. onclick="document.getElementById('player').volume -= 0.1"
  1720. style="font-size:15px;"><i class="fa fa-volume-down"></i> -</button>
  1721. </div>
  1722. </div>
  1723. @endif
  1724. <!-- END Web Radio -->
  1725. </div>
  1726. <!-- End sidebar -->
  1727. </div>
  1728. </div>
  1729. </section>
  1730. <div class="container">
  1731. <div class="advertisement carousel slide" data-ride="carousel">
  1732. <div class="desktop-advert carousel-inner">
  1733. @if ($home->banner_middle_google != '')
  1734. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1735. <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
  1736. data-ad-slot="{{ $home->banner_middle_google }}" data-ad-format="auto"
  1737. data-full-width-responsive="true"></ins>
  1738. <script>
  1739. (adsbygoogle = window.adsbygoogle || []).push({});
  1740. </script>
  1741. @else
  1742. @php
  1743. $found = false;
  1744. $count = 0;
  1745. @endphp
  1746. @if (isset($home->banner_middle) && $home->banner_middle != '')
  1747. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1748. <a href="{{ $home->banner_middle_url }}"><img
  1749. src="/files/{{ $home->banner_middle }}" width="997" alt=""
  1750. style="border:1px solid gray;"></a>
  1751. </div>
  1752. @php
  1753. $count += 1;
  1754. $found = true;
  1755. @endphp
  1756. @endif
  1757. @if (isset($home->banner_middle_2) && $home->banner_middle_2 != '')
  1758. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1759. <a href="{{ $home->banner_middle_url_2 }}"><img
  1760. src="/files/{{ $home->banner_middle_2 }}" width="997" alt=""
  1761. style="border:1px solid gray;"></a>
  1762. </div>
  1763. @php
  1764. $found = true;
  1765. @endphp
  1766. @endif
  1767. @if (isset($home->banner_middle_3) && $home->banner_middle_3 != '')
  1768. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1769. <a href="{{ $home->banner_middle_url_3 }}"><img
  1770. src="/files/{{ $home->banner_middle_3 }}" width="997" alt=""
  1771. style="border:1px solid gray;"></a>
  1772. </div>
  1773. @php
  1774. $found = true;
  1775. @endphp
  1776. @endif
  1777. @if (isset($home->banner_middle_4) && $home->banner_middle_4 != '')
  1778. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1779. <a href="{{ $home->banner_middle_url_4 }}"><img
  1780. src="/files/{{ $home->banner_middle_4 }}" width="997" alt=""
  1781. style="border:1px solid gray;"></a>
  1782. </div>
  1783. @php
  1784. $found = true;
  1785. @endphp
  1786. @endif
  1787. @if (isset($home->banner_middle_5) && $home->banner_middle_5 != '')
  1788. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1789. <a href="{{ $home->banner_middle_url_5 }}"><img
  1790. src="/files/{{ $home->banner_middle_5 }}" width="997" alt=""
  1791. style="border:1px solid gray;"></a>
  1792. </div>
  1793. @php
  1794. $found = true;
  1795. @endphp
  1796. @endif
  1797. @if (!$found)
  1798. <div class="widget" style="width:997;height:300;border:1px solid gray;"></div>
  1799. @endif
  1800. @endif
  1801. </div>
  1802. <div class="tablet-advert carousel-inner">
  1803. @if ($home->banner_middle_google != '')
  1804. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1805. <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
  1806. data-ad-slot="{{ $home->banner_middle_google }}" data-ad-format="auto"
  1807. data-full-width-responsive="true"></ins>
  1808. <script>
  1809. (adsbygoogle = window.adsbygoogle || []).push({});
  1810. </script>
  1811. @else
  1812. @php
  1813. $found = false;
  1814. $count = 0;
  1815. @endphp
  1816. @if (isset($home->banner_middle) && $home->banner_middle != '')
  1817. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1818. <a href="{{ $home->banner_middle_url }}"><img
  1819. src="/files/{{ $home->banner_middle }}" width="997" alt=""
  1820. style="border:1px solid gray;"></a>
  1821. </div>
  1822. @php
  1823. $count += 1;
  1824. $found = true;
  1825. @endphp
  1826. @endif
  1827. @if (isset($home->banner_middle_2) && $home->banner_middle_2 != '')
  1828. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1829. <a href="{{ $home->banner_middle_url_2 }}"><img
  1830. src="/files/{{ $home->banner_middle_2 }}" width="997" alt=""
  1831. style="border:1px solid gray;"></a>
  1832. </div>
  1833. @php
  1834. $found = true;
  1835. @endphp
  1836. @endif
  1837. @if (isset($home->banner_middle_3) && $home->banner_middle_3 != '')
  1838. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1839. <a href="{{ $home->banner_middle_url_3 }}"><img
  1840. src="/files/{{ $home->banner_middle_3 }}" width="997" alt=""
  1841. style="border:1px solid gray;"></a>
  1842. </div>
  1843. @php
  1844. $found = true;
  1845. @endphp
  1846. @endif
  1847. @if (isset($home->banner_middle_4) && $home->banner_middle_4 != '')
  1848. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1849. <a href="{{ $home->banner_middle_url_4 }}"><img
  1850. src="/files/{{ $home->banner_middle_4 }}" width="997" alt=""
  1851. style="border:1px solid gray;"></a>
  1852. </div>
  1853. @php
  1854. $found = true;
  1855. @endphp
  1856. @endif
  1857. @if (isset($home->banner_middle_5) && $home->banner_middle_5 != '')
  1858. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1859. <a href="{{ $home->banner_middle_url_5 }}"><img
  1860. src="/files/{{ $home->banner_middle_5 }}" width="997" alt=""
  1861. style="border:1px solid gray;"></a>
  1862. </div>
  1863. @php
  1864. $found = true;
  1865. @endphp
  1866. @endif
  1867. @if (!$found)
  1868. <div class="widget" style="width:997;height:300;border:1px solid gray;">
  1869. </div>
  1870. @endif
  1871. @endif
  1872. </div>
  1873. <div class="mobile-advert carousel-inner">
  1874. @if ($home->banner_middle_google != '')
  1875. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1876. <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0209495346002620"
  1877. data-ad-slot="{{ $home->banner_middle_google }}" data-ad-format="auto"
  1878. data-full-width-responsive="true"></ins>
  1879. <script>
  1880. (adsbygoogle = window.adsbygoogle || []).push({});
  1881. </script>
  1882. @else
  1883. @php
  1884. $found = false;
  1885. $count = 0;
  1886. @endphp
  1887. @if (isset($home->banner_middle) && $home->banner_middle != '')
  1888. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1889. <a href="{{ $home->banner_middle_url }}"><img
  1890. src="/files/{{ $home->banner_middle }}" width="300" alt=""
  1891. style="border:1px solid gray;"></a>
  1892. </div>
  1893. @php
  1894. $count += 1;
  1895. $found = true;
  1896. @endphp
  1897. @endif
  1898. @if (isset($home->banner_middle_2) && $home->banner_middle_2 != '')
  1899. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1900. <a href="{{ $home->banner_middle_url_2 }}"><img
  1901. src="/files/{{ $home->banner_middle_2 }}" width="300" alt=""
  1902. style="border:1px solid gray;"></a>
  1903. </div>
  1904. @php
  1905. $found = true;
  1906. @endphp
  1907. @endif
  1908. @if (isset($home->banner_middle_3) && $home->banner_middle_3 != '')
  1909. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1910. <a href="{{ $home->banner_middle_url_3 }}"><img
  1911. src="/files/{{ $home->banner_middle_3 }}" width="300" alt=""
  1912. style="border:1px solid gray;"></a>
  1913. </div>
  1914. @php
  1915. $found = true;
  1916. @endphp
  1917. @endif
  1918. @if (isset($home->banner_middle_4) && $home->banner_middle_4 != '')
  1919. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1920. <a href="{{ $home->banner_middle_url_4 }}"><img
  1921. src="/files/{{ $home->banner_middle_4 }}" width="300" alt=""
  1922. style="border:1px solid gray;"></a>
  1923. </div>
  1924. @php
  1925. $found = true;
  1926. @endphp
  1927. @endif
  1928. @if (isset($home->banner_middle_5) && $home->banner_middle_5 != '')
  1929. <div class="item {{ $count == 0 ? 'active' : '' }}">
  1930. <a href="{{ $home->banner_middle_url_5 }}"><img
  1931. src="/files/{{ $home->banner_middle_5 }}" width="300" alt=""
  1932. style="border:1px solid gray;"></a>
  1933. </div>
  1934. @php
  1935. $found = true;
  1936. @endphp
  1937. @endif
  1938. @if (!$found)
  1939. <div class="widget" style="width:300;height:90;border:1px solid gray;">
  1940. </div>
  1941. @endif
  1942. @endif
  1943. </div>
  1944. </div>
  1945. </div>
  1946. @yield('content')
  1947. @include('layouts.footer')
  1948. </div>
  1949. <button onclick="topFunction()" id="btTop" title="Go to top">Top</button>
  1950. <!-- End Container -->
  1951. <script type="text/javascript" src="js/jquery.min.js"></script>
  1952. <script type="text/javascript" src="js/jquery.migrate.js"></script>
  1953. <script type="text/javascript" src="js/jquery.bxslider.min.js"></script>
  1954. <script type="text/javascript" src="js/jquery.magnific-popup.min.js"></script>
  1955. <script type="text/javascript" src="js/bootstrap.min.js"></script>
  1956. <script type="text/javascript" src="js/jquery.ticker.js"></script>
  1957. <script type="text/javascript" src="js/jquery.imagesloaded.min.js"></script>
  1958. <script type="text/javascript" src="js/jquery.isotope.min.js"></script>
  1959. <script type="text/javascript" src="js/owl.carousel.min.js"></script>
  1960. <script type="text/javascript" src="js/plugins-scroll.js"></script>
  1961. <script type="text/javascript" src="js/script.js"></script>
  1962. <script type="text/javascript" src="js/jquery.lazy.min.js"></script>
  1963. <script type="text/javascript" src="js/lightslider.js"></script>
  1964. <script type="text/javascript">
  1965. var count = 0;
  1966. var max_count = {{ sizeof($aHome) }};
  1967. $(document).ready(function() {
  1968. $(".fa-search").click(function() {
  1969. $(".togglesearch").toggle();
  1970. $("input[type='text']").focus();
  1971. });
  1972. // $('body').css('cursor', 'pointer');
  1973. $('body').click(function(event) {
  1974. if (event.target == event.currentTarget) {
  1975. var url = $("#url" + count).val();
  1976. document.location.href = url;
  1977. }
  1978. //inserire url dinamica qui
  1979. // window.open('http://www.google.it');
  1980. });
  1981. $("#cbRadio").change(function() {
  1982. var audio_url = this.value;
  1983. document.getElementById("player").setAttribute('src', audio_url);
  1984. });
  1985. });
  1986. function scroll_to(id) {
  1987. $('html,body').animate({
  1988. scrollTop: $('#' + id).offset().top - 150
  1989. }, 'slow');
  1990. }
  1991. $('#btn-nav-previous').click(function() {
  1992. $(".menu-inner-box").animate({
  1993. scrollLeft: "-=150px"
  1994. });
  1995. });
  1996. $('#btn-nav-next').click(function() {
  1997. $(".menu-inner-box").animate({
  1998. scrollLeft: "+=150px"
  1999. });
  2000. });
  2001. /*
  2002. setTimeout(function(){
  2003. window.location.reload(1);
  2004. }, 180000);*/
  2005. if (max_count > 0) {
  2006. /*$('body.bg-adv').click(function() {
  2007. var url = $("#url" + count).val();
  2008. document.location.href = url;
  2009. })
  2010. $('body>*').click(function(e) {
  2011. e.stopPropagation()
  2012. });*/
  2013. setInterval(function() {
  2014. count = count + 1;
  2015. if (count == max_count)
  2016. count = 0;
  2017. var img = $("#img" + count).val();
  2018. $(".bg-adv").css("background-image", "url('/files/" + img + "')");
  2019. }, 5000);
  2020. }
  2021. $(function() {
  2022. $('.lazy').Lazy();
  2023. });
  2024. mybutton = document.getElementById("btTop");
  2025. // When the user scrolls down 20px from the top of the document, show the button
  2026. window.onscroll = function() {
  2027. scrollFunction()
  2028. };
  2029. function scrollFunction() {
  2030. if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
  2031. mybutton.style.display = "block";
  2032. } else {
  2033. mybutton.style.display = "none";
  2034. }
  2035. }
  2036. // When the user clicks on the button, scroll to the top of the document
  2037. function topFunction() {
  2038. document.body.scrollTop = 0; // For Safari
  2039. document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
  2040. }
  2041. $('#lightSlider').lightSlider({
  2042. gallery: true,
  2043. item: 1,
  2044. loop: true,
  2045. slideMargin: 0,
  2046. thumbItem: 5
  2047. });
  2048. $(document).ready(function() {
  2049. var $overlay = $(
  2050. '<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>'
  2051. );
  2052. var $iframe = $(
  2053. '<iframe width="595" height="485" frameborder="0" marginwidth="0" margin="0" height="0" scrolling="no" style="margin-top:10%" allowfullscreen></iframe>'
  2054. );
  2055. $overlay.append($iframe);
  2056. // append overlay to body
  2057. $('body').append($overlay);
  2058. $('a.view-video').click(function(event) {
  2059. event.preventDefault();
  2060. var id = $(this).attr('href');
  2061. var src = '/video/' + id;
  2062. console.log(src);
  2063. // update overlay with iframe
  2064. $iframe.attr('src', src);
  2065. // show overlay
  2066. $overlay.show();
  2067. });
  2068. // when overlay is clicked
  2069. $overlay.click(function() {
  2070. // hide overlay
  2071. $overlay.hide();
  2072. $iframe.attr('src', '');
  2073. });
  2074. });
  2075. $(function() {
  2076. $(document).ready(function() {
  2077. if (window.matchMedia("(max-width: 767px)").matches) {
  2078. $(".desktop-advert").remove();
  2079. $(".tablet-advert").remove();
  2080. } else {
  2081. }
  2082. });
  2083. $('.carousel').carousel();
  2084. })
  2085. </script>
  2086. <script type="text/javascript">
  2087. $('.navbar-nav a.home-scroll-section').click(function() {
  2088. $('.navbar-collapse').removeClass('in')
  2089. });
  2090. </script>
  2091. <script>
  2092. document.querySelector('.search-trigger-custom').addEventListener('click', function(e) {
  2093. e.preventDefault();
  2094. document.querySelector('.search-dropdown-custom').classList.toggle('active');
  2095. if (document.querySelector('.search-dropdown-custom').classList.contains('active')) {
  2096. document.querySelector('#search-field-custom').focus();
  2097. }
  2098. });
  2099. // Close search when clicking outside
  2100. document.addEventListener('click', function(e) {
  2101. const searchArea = document.querySelector('.top-search-custom');
  2102. const dropdown = document.querySelector('.search-dropdown-custom');
  2103. if (!searchArea.contains(e.target) && dropdown.classList.contains('active')) {
  2104. dropdown.classList.remove('active');
  2105. }
  2106. });
  2107. </script>
  2108. </body>
  2109. </html>