home.blade.php 134 KB

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