home.blade.php 135 KB

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