home_adv.blade.php 89 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272
  1. @extends('layouts.admin')
  2. @section('title')
  3. Home
  4. @stop
  5. @section('content')
  6. <div class="row">
  7. <div class="col-lg-12">
  8. <form action="/admin/home_adv" method="POST" enctype="multipart/form-data">
  9. {{csrf_field()}}
  10. <div class="box box-primary">
  11. <div class="box-header with-border">
  12. <h3 class="box-title"></h3>
  13. </div>
  14. <div class="box-body">
  15. <div class="box-body table-responsive no-padding">
  16. <table class="table table-striped table-hover">
  17. <thead>
  18. <tr>
  19. <th>Posizione</th>
  20. <th>Immagine</th>
  21. <th>URL</th>
  22. <th>Codice Google ADV</th>
  23. </tr>
  24. </thead>
  25. <tr>
  26. <td><img src="/images/layout_home_skin.jpg" style="max-width:200px"></td>
  27. <td>
  28. @if(isset($_GET["edit"]))
  29. <input type="file" name="image">
  30. @if($home->image != '')
  31. <input type="checkbox" name="delete_image">Rimuovi immagine<br>
  32. <img src="/files/{{$home->image}}" style="max-width:250px">
  33. @endif
  34. @else
  35. @if($home->image != '')
  36. <img src="/files/{{$home->image}}" style="max-width:250px">
  37. @endif
  38. @endif
  39. </td>
  40. <td>
  41. @if(isset($_GET["edit"]))
  42. <input type="text" name="url" value="{{$home->url}}" class="form-control">
  43. @else
  44. {{$home->url}}
  45. @endif
  46. </td>
  47. <td></td>
  48. </tr>
  49. <tr>
  50. <td><img src="/images/layout_home_skin.jpg" style="max-width:200px"></td>
  51. <td>
  52. @if(isset($_GET["edit"]))
  53. <input type="file" name="image_2">
  54. @if($home->image_2 != '')
  55. <input type="checkbox" name="delete_image_2">Rimuovi immagine<br>
  56. <img src="/files/{{$home->image_2}}" style="max-width:250px">
  57. @endif
  58. @else
  59. @if($home->image_2 != '')
  60. <img src="/files/{{$home->image_2}}" style="max-width:250px">
  61. @endif
  62. @endif
  63. </td>
  64. <td>
  65. @if(isset($_GET["edit"]))
  66. <input type="text" name="url_2" value="{{$home->url_2}}" class="form-control">
  67. @else
  68. {{$home->url_2}}
  69. @endif
  70. </td>
  71. <td></td>
  72. </tr>
  73. <tr>
  74. <td><img src="/images/layout_home_skin.jpg" style="max-width:200px"></td>
  75. <td>
  76. @if(isset($_GET["edit"]))
  77. <input type="file" name="image_3">
  78. @if($home->image_3 != '')
  79. <input type="checkbox" name="delete_image_3">Rimuovi immagine<br>
  80. <img src="/files/{{$home->image_3}}" style="max-width:250px">
  81. @endif
  82. @else
  83. @if($home->image_3 != '')
  84. <img src="/files/{{$home->image_3}}" style="max-width:250px">
  85. @endif
  86. @endif
  87. </td>
  88. <td>
  89. @if(isset($_GET["edit"]))
  90. <input type="text" name="url_3" value="{{$home->url_3}}" class="form-control">
  91. @else
  92. {{$home->url_3}}
  93. @endif
  94. </td>
  95. <td></td>
  96. </tr>
  97. <tr>
  98. <td><img src="/images/layout_home_skin.jpg" style="max-width:200px"></td>
  99. <td>
  100. @if(isset($_GET["edit"]))
  101. <input type="file" name="image_4">
  102. @if($home->image_4 != '')
  103. <input type="checkbox" name="delete_image_4">Rimuovi immagine<br>
  104. <img src="/files/{{$home->image_4}}" style="max-width:250px">
  105. @endif
  106. @else
  107. @if($home->image_4 != '')
  108. <img src="/files/{{$home->image_4}}" style="max-width:250px">
  109. @endif
  110. @endif
  111. </td>
  112. <td>
  113. @if(isset($_GET["edit"]))
  114. <input type="text" name="url_4" value="{{$home->url_4}}" class="form-control">
  115. @else
  116. {{$home->url_4}}
  117. @endif
  118. </td>
  119. <td></td>
  120. </tr>
  121. <tr>
  122. <td><img src="/images/layout_home_skin.jpg" style="max-width:200px"></td>
  123. <td>
  124. @if(isset($_GET["edit"]))
  125. <input type="file" name="image_5">
  126. @if($home->image_5 != '')
  127. <input type="checkbox" name="delete_image_5">Rimuovi immagine<br>
  128. <img src="/files/{{$home->image_5}}" style="max-width:250px">
  129. @endif
  130. @else
  131. @if($home->image_5 != '')
  132. <img src="/files/{{$home->image_5}}" style="max-width:250px">
  133. @endif
  134. @endif
  135. </td>
  136. <td>
  137. @if(isset($_GET["edit"]))
  138. <input type="text" name="url_5" value="{{$home->url_5}}" class="form-control">
  139. @else
  140. {{$home->url_5}}
  141. @endif
  142. </td>
  143. <td></td>
  144. </tr>
  145. <tr>
  146. <td><b>Vicino al logo</b><br><img src="/images/layout_home_top.jpg" style="max-width:200px"></td>
  147. <td colspan="2">
  148. <table width="100%">
  149. <tr>
  150. <td>
  151. @if(isset($_GET["edit"]))
  152. <input type="file" name="banner_top">
  153. @if($home->banner_top != '')
  154. <input type="checkbox" name="delete_banner_top">Rimuovi immagine<br>
  155. <img src="/files/{{$home->banner_top}}" style="max-width:250px">
  156. @endif
  157. @else
  158. @if($home->banner_top != '')
  159. <img src="/files/{{$home->banner_top}}" style="max-width:250px">
  160. @endif
  161. @endif
  162. </td>
  163. <td>
  164. @if(isset($_GET["edit"]))
  165. <input type="text" name="banner_top_url" value="{{$home->banner_top_url}}" class="form-control">
  166. @else
  167. {{$home->banner_top_url}}
  168. @endif
  169. </td>
  170. </tr>
  171. <tr><td colspan="2"><hr size="1"></td></tr>
  172. <tr>
  173. <td>
  174. @if(isset($_GET["edit"]))
  175. <input type="file" name="banner_top_2">
  176. @if($home->banner_top_2 != '')
  177. <input type="checkbox" name="delete_banner_top_2">Rimuovi immagine<br>
  178. <img src="/files/{{$home->banner_top_2}}" style="max-width:250px">
  179. @endif
  180. @else
  181. @if($home->banner_top_2 != '')
  182. <img src="/files/{{$home->banner_top_2}}" style="max-width:250px">
  183. @endif
  184. @endif
  185. </td>
  186. <td>
  187. @if(isset($_GET["edit"]))
  188. <input type="text" name="banner_top_2_url" value="{{$home->banner_top_2_url}}" class="form-control">
  189. @else
  190. {{$home->banner_top_2_url}}
  191. @endif
  192. </td>
  193. </tr>
  194. <tr><td colspan="2"><hr size="1"></td></tr>
  195. <tr>
  196. <td>
  197. @if(isset($_GET["edit"]))
  198. <input type="file" name="banner_top_3">
  199. @if($home->banner_top_3 != '')
  200. <input type="checkbox" name="delete_banner_top_3">Rimuovi immagine<br>
  201. <img src="/files/{{$home->banner_top_3}}" style="max-width:250px">
  202. @endif
  203. @else
  204. @if($home->banner_top_3 != '')
  205. <img src="/files/{{$home->banner_top_3}}" style="max-width:250px">
  206. @endif
  207. @endif
  208. </td>
  209. <td>
  210. @if(isset($_GET["edit"]))
  211. <input type="text" name="banner_top_3_url" value="{{$home->banner_top_3_url}}" class="form-control">
  212. @else
  213. {{$home->banner_top_3_url}}
  214. @endif
  215. </td>
  216. </tr>
  217. <tr><td colspan="2"><hr size="1"></td></tr>
  218. <tr>
  219. <td>
  220. @if(isset($_GET["edit"]))
  221. <input type="file" name="banner_top_4">
  222. @if($home->banner_top_4 != '')
  223. <input type="checkbox" name="delete_banner_top_4">Rimuovi immagine<br>
  224. <img src="/files/{{$home->banner_top_4}}" style="max-width:250px">
  225. @endif
  226. @else
  227. @if($home->banner_top_4 != '')
  228. <img src="/files/{{$home->banner_top_4}}" style="max-width:250px">
  229. @endif
  230. @endif
  231. </td>
  232. <td>
  233. @if(isset($_GET["edit"]))
  234. <input type="text" name="banner_top_4_url" value="{{$home->banner_top_4_url}}" class="form-control">
  235. @else
  236. {{$home->banner_top_4_url}}
  237. @endif
  238. </td>
  239. </tr>
  240. <tr><td colspan="2"><hr size="1"></td></tr>
  241. <tr>
  242. <td>
  243. @if(isset($_GET["edit"]))
  244. <input type="file" name="banner_top_5">
  245. @if($home->banner_top_5 != '')
  246. <input type="checkbox" name="delete_banner_top_5">Rimuovi immagine<br>
  247. <img src="/files/{{$home->banner_top_5}}" style="max-width:250px">
  248. @endif
  249. @else
  250. @if($home->banner_top_5 != '')
  251. <img src="/files/{{$home->banner_top_5}}" style="max-width:250px">
  252. @endif
  253. @endif
  254. </td>
  255. <td>
  256. @if(isset($_GET["edit"]))
  257. <input type="text" name="banner_top_5_url" value="{{$home->banner_top_5_url}}" class="form-control">
  258. @else
  259. {{$home->banner_top_5_url}}
  260. @endif
  261. </td>
  262. </tr>
  263. </table>
  264. </td>
  265. <td>
  266. @if(isset($_GET["edit"]))
  267. <input type="text" name="banner_top_google" value="{{$home->banner_top_google}}" class="form-control">
  268. @else
  269. {{$home->banner_top_google}}
  270. @endif
  271. </td>
  272. </tr>
  273. <tr>
  274. <td><b>Sotto breaking news</b><br><img src="/images/layout_home_underb.jpg" style="max-width:200px"></td>
  275. <td colspan="2">
  276. <table width="100%">
  277. <tr>
  278. <td>
  279. @if(isset($_GET["edit"]))
  280. <input type="file" name="banner_underb">
  281. @if($home->banner_underb != '')
  282. <input type="checkbox" name="delete_banner_underb">Rimuovi immagine<br>
  283. <img src="/files/{{$home->banner_underb}}" style="max-width:250px">
  284. @endif
  285. @else
  286. @if($home->banner_underb != '')
  287. <img src="/files/{{$home->banner_underb}}" style="max-width:250px">
  288. @endif
  289. @endif
  290. </td>
  291. <td>
  292. @if(isset($_GET["edit"]))
  293. <input type="text" name="banner_underb_url" value="{{$home->banner_underb_url}}" class="form-control">
  294. @else
  295. {{$home->banner_underb_url}}
  296. @endif
  297. </td>
  298. </tr>
  299. <tr><td colspan="2"><hr size="1"></td></tr>
  300. <tr>
  301. <td>
  302. @if(isset($_GET["edit"]))
  303. <input type="file" name="banner_underb_2">
  304. @if($home->banner_underb_2 != '')
  305. <input type="checkbox" name="delete_banner_underb_2">Rimuovi immagine<br>
  306. <img src="/files/{{$home->banner_underb_2}}" style="max-width:250px">
  307. @endif
  308. @else
  309. @if($home->banner_underb_2 != '')
  310. <img src="/files/{{$home->banner_underb_2}}" style="max-width:250px">
  311. @endif
  312. @endif
  313. </td>
  314. <td>
  315. @if(isset($_GET["edit"]))
  316. <input type="text" name="banner_underb_2_url" value="{{$home->banner_underb_2_url}}" class="form-control">
  317. @else
  318. {{$home->banner_underb_2_url}}
  319. @endif
  320. </td>
  321. </tr>
  322. <tr><td colspan="2"><hr size="1"></td></tr>
  323. <tr>
  324. <td>
  325. @if(isset($_GET["edit"]))
  326. <input type="file" name="banner_underb_3">
  327. @if($home->banner_underb_3 != '')
  328. <input type="checkbox" name="delete_banner_underb_3">Rimuovi immagine<br>
  329. <img src="/files/{{$home->banner_underb_3}}" style="max-width:250px">
  330. @endif
  331. @else
  332. @if($home->banner_underb_3 != '')
  333. <img src="/files/{{$home->banner_underb_3}}" style="max-width:250px">
  334. @endif
  335. @endif
  336. </td>
  337. <td>
  338. @if(isset($_GET["edit"]))
  339. <input type="text" name="banner_underb_3_url" value="{{$home->banner_underb_3_url}}" class="form-control">
  340. @else
  341. {{$home->banner_underb_3_url}}
  342. @endif
  343. </td>
  344. </tr>
  345. <tr><td colspan="2"><hr size="1"></td></tr>
  346. <tr>
  347. <td>
  348. @if(isset($_GET["edit"]))
  349. <input type="file" name="banner_underb_4">
  350. @if($home->banner_underb_4 != '')
  351. <input type="checkbox" name="delete_banner_underb_4">Rimuovi immagine<br>
  352. <img src="/files/{{$home->banner_underb_4}}" style="max-width:250px">
  353. @endif
  354. @else
  355. @if($home->banner_underb_4 != '')
  356. <img src="/files/{{$home->banner_underb_4}}" style="max-width:250px">
  357. @endif
  358. @endif
  359. </td>
  360. <td>
  361. @if(isset($_GET["edit"]))
  362. <input type="text" name="banner_underb_4_url" value="{{$home->banner_underb_4_url}}" class="form-control">
  363. @else
  364. {{$home->banner_underb_4_url}}
  365. @endif
  366. </td>
  367. </tr>
  368. <tr><td colspan="2"><hr size="1"></td></tr>
  369. <tr>
  370. <td>
  371. @if(isset($_GET["edit"]))
  372. <input type="file" name="banner_underb_5">
  373. @if($home->banner_underb_5 != '')
  374. <input type="checkbox" name="delete_banner_underb_5">Rimuovi immagine<br>
  375. <img src="/files/{{$home->banner_underb_5}}" style="max-width:250px">
  376. @endif
  377. @else
  378. @if($home->banner_underb_5 != '')
  379. <img src="/files/{{$home->banner_underb_5}}" style="max-width:250px">
  380. @endif
  381. @endif
  382. </td>
  383. <td>
  384. @if(isset($_GET["edit"]))
  385. <input type="text" name="banner_underb_5_url" value="{{$home->banner_underb_5_url}}" class="form-control">
  386. @else
  387. {{$home->banner_underb_5_url}}
  388. @endif
  389. </td>
  390. </tr>
  391. </table>
  392. </td>
  393. <td>
  394. @if(isset($_GET["edit"]))
  395. <input type="text" name="banner_underb_google" value="{{$home->banner_underb_google}}" class="form-control">
  396. @else
  397. {{$home->banner_underb_google}}
  398. @endif
  399. </td>
  400. </tr>
  401. <tr>
  402. <td><b>Sotto primo piano</b><br><img src="/images/layout_home_medio.jpg" style="max-width:200px"></td>
  403. <td colspan="2">
  404. <table width="100%">
  405. <tr>
  406. <td>
  407. @if(isset($_GET["edit"]))
  408. <input type="file" name="banner_middle">
  409. @if($home->banner_middle != '')
  410. <input type="checkbox" name="delete_banner_middle">Rimuovi immagine<br>
  411. <img src="/files/{{$home->banner_middle}}" style="max-width:250px">
  412. @endif
  413. @else
  414. @if($home->banner_middle != '')
  415. <img src="/files/{{$home->banner_middle}}" style="max-width:250px">
  416. @endif
  417. @endif
  418. </td>
  419. <td>
  420. @if(isset($_GET["edit"]))
  421. <input type="text" name="banner_middle_url" value="{{$home->banner_middle_url}}" class="form-control">
  422. @else
  423. {{$home->banner_middle_url}}
  424. @endif
  425. </td>
  426. </tr>
  427. <tr><td colspan="2"><hr size="1"></td></tr>
  428. <tr>
  429. <td>
  430. @if(isset($_GET["edit"]))
  431. <input type="file" name="banner_middle_2">
  432. @if($home->banner_middle_2 != '')
  433. <input type="checkbox" name="delete_banner_middle_2">Rimuovi immagine<br>
  434. <img src="/files/{{$home->banner_middle_2}}" style="max-width:250px">
  435. @endif
  436. @else
  437. @if($home->banner_middle_2 != '')
  438. <img src="/files/{{$home->banner_middle_2}}" style="max-width:250px">
  439. @endif
  440. @endif
  441. </td>
  442. <td>
  443. @if(isset($_GET["edit"]))
  444. <input type="text" name="banner_middle_2_url" value="{{$home->banner_middle_2_url}}" class="form-control">
  445. @else
  446. {{$home->banner_middle_2_url}}
  447. @endif
  448. </td>
  449. </tr>
  450. <tr><td colspan="2"><hr size="1"></td></tr>
  451. <tr>
  452. <td>
  453. @if(isset($_GET["edit"]))
  454. <input type="file" name="banner_middle_3">
  455. @if($home->banner_middle_3 != '')
  456. <input type="checkbox" name="delete_banner_middle_3">Rimuovi immagine<br>
  457. <img src="/files/{{$home->banner_middle_3}}" style="max-width:250px">
  458. @endif
  459. @else
  460. @if($home->banner_middle_3 != '')
  461. <img src="/files/{{$home->banner_middle_3}}" style="max-width:250px">
  462. @endif
  463. @endif
  464. </td>
  465. <td>
  466. @if(isset($_GET["edit"]))
  467. <input type="text" name="banner_middle_3_url" value="{{$home->banner_middle_3_url}}" class="form-control">
  468. @else
  469. {{$home->banner_middle_3_url}}
  470. @endif
  471. </td>
  472. </tr>
  473. <tr><td colspan="2"><hr size="1"></td></tr>
  474. <tr>
  475. <td>
  476. @if(isset($_GET["edit"]))
  477. <input type="file" name="banner_middle_4">
  478. @if($home->banner_middle_4 != '')
  479. <input type="checkbox" name="delete_banner_middle_4">Rimuovi immagine<br>
  480. <img src="/files/{{$home->banner_middle_4}}" style="max-width:250px">
  481. @endif
  482. @else
  483. @if($home->banner_middle_4 != '')
  484. <img src="/files/{{$home->banner_middle_4}}" style="max-width:250px">
  485. @endif
  486. @endif
  487. </td>
  488. <td>
  489. @if(isset($_GET["edit"]))
  490. <input type="text" name="banner_middle_4_url" value="{{$home->banner_middle_4_url}}" class="form-control">
  491. @else
  492. {{$home->banner_middle_4_url}}
  493. @endif
  494. </td>
  495. </tr>
  496. <tr><td colspan="2"><hr size="1"></td></tr>
  497. <tr>
  498. <td>
  499. @if(isset($_GET["edit"]))
  500. <input type="file" name="banner_middle_5">
  501. @if($home->banner_middle_5 != '')
  502. <input type="checkbox" name="delete_banner_middle_5">Rimuovi immagine<br>
  503. <img src="/files/{{$home->banner_middle_5}}" style="max-width:250px">
  504. @endif
  505. @else
  506. @if($home->banner_middle_5 != '')
  507. <img src="/files/{{$home->banner_middle_5}}" style="max-width:250px">
  508. @endif
  509. @endif
  510. </td>
  511. <td>
  512. @if(isset($_GET["edit"]))
  513. <input type="text" name="banner_middle_5_url" value="{{$home->banner_middle_5_url}}" class="form-control">
  514. @else
  515. {{$home->banner_middle_5_url}}
  516. @endif
  517. </td>
  518. </tr>
  519. </table>
  520. </td>
  521. <td>
  522. @if(isset($_GET["edit"]))
  523. <input type="text" name="banner_middle_google" value="{{$home->banner_middle_google}}" class="form-control">
  524. @else
  525. {{$home->banner_middle_google}}
  526. @endif
  527. </td>
  528. </tr>
  529. @if(false)
  530. <tr>
  531. <td><b>Sotto video</b><br><img src="/images/layout_home_primopiano.jpg" style="max-width:200px"></td>
  532. <td colspan="2">
  533. <table width="100%">
  534. <tr>
  535. <td>
  536. @if(isset($_GET["edit"]))
  537. <input type="file" name="banner_first">
  538. @if($home->banner_first != '')
  539. <input type="checkbox" name="delete_banner_first">Rimuovi immagine<br>
  540. <img src="/files/{{$home->banner_first}}" style="max-width:250px">
  541. @endif
  542. @else
  543. @if($home->banner_first != '')
  544. <img src="/files/{{$home->banner_first}}" style="max-width:250px">
  545. @endif
  546. @endif
  547. </td>
  548. <td>
  549. @if(isset($_GET["edit"]))
  550. <input type="text" name="banner_first_url" value="{{$home->banner_first_url}}" class="form-control">
  551. @else
  552. {{$home->banner_first_url}}
  553. @endif
  554. </td>
  555. </tr>
  556. <tr><td colspan="2"><hr size="1"></td></tr>
  557. <tr>
  558. <td>
  559. @if(isset($_GET["edit"]))
  560. <input type="file" name="banner_first_2">
  561. @if($home->banner_first_2 != '')
  562. <input type="checkbox" name="delete_banner_first_2">Rimuovi immagine<br>
  563. <img src="/files/{{$home->banner_first_2}}" style="max-width:250px">
  564. @endif
  565. @else
  566. @if($home->banner_first_2 != '')
  567. <img src="/files/{{$home->banner_first_2}}" style="max-width:250px">
  568. @endif
  569. @endif
  570. </td>
  571. <td>
  572. @if(isset($_GET["edit"]))
  573. <input type="text" name="banner_first_2_url" value="{{$home->banner_first_2_url}}" class="form-control">
  574. @else
  575. {{$home->banner_first_2_url}}
  576. @endif
  577. </td>
  578. </tr>
  579. <tr><td colspan="2"><hr size="1"></td></tr>
  580. <tr>
  581. <td>
  582. @if(isset($_GET["edit"]))
  583. <input type="file" name="banner_first_3">
  584. @if($home->banner_first_3 != '')
  585. <input type="checkbox" name="delete_banner_first_3">Rimuovi immagine<br>
  586. <img src="/files/{{$home->banner_first_3}}" style="max-width:250px">
  587. @endif
  588. @else
  589. @if($home->banner_first_3 != '')
  590. <img src="/files/{{$home->banner_first_3}}" style="max-width:250px">
  591. @endif
  592. @endif
  593. </td>
  594. <td>
  595. @if(isset($_GET["edit"]))
  596. <input type="text" name="banner_first_3_url" value="{{$home->banner_first_3_url}}" class="form-control">
  597. @else
  598. {{$home->banner_first_3_url}}
  599. @endif
  600. </td>
  601. </tr>
  602. <tr><td colspan="2"><hr size="1"></td></tr>
  603. <tr>
  604. <td>
  605. @if(isset($_GET["edit"]))
  606. <input type="file" name="banner_first_4">
  607. @if($home->banner_first_4 != '')
  608. <input type="checkbox" name="delete_banner_first_4">Rimuovi immagine<br>
  609. <img src="/files/{{$home->banner_first_4}}" style="max-width:250px">
  610. @endif
  611. @else
  612. @if($home->banner_first_4 != '')
  613. <img src="/files/{{$home->banner_first_4}}" style="max-width:250px">
  614. @endif
  615. @endif
  616. </td>
  617. <td>
  618. @if(isset($_GET["edit"]))
  619. <input type="text" name="banner_first_4_url" value="{{$home->banner_first_4_url}}" class="form-control">
  620. @else
  621. {{$home->banner_first_4_url}}
  622. @endif
  623. </td>
  624. </tr>
  625. <tr><td colspan="2"><hr size="1"></td></tr>
  626. <tr>
  627. <td>
  628. @if(isset($_GET["edit"]))
  629. <input type="file" name="banner_first_5">
  630. @if($home->banner_first_5 != '')
  631. <input type="checkbox" name="delete_banner_first_5">Rimuovi immagine<br>
  632. <img src="/files/{{$home->banner_first_5}}" style="max-width:250px">
  633. @endif
  634. @else
  635. @if($home->banner_first_5 != '')
  636. <img src="/files/{{$home->banner_first_5}}" style="max-width:250px">
  637. @endif
  638. @endif
  639. </td>
  640. <td>
  641. @if(isset($_GET["edit"]))
  642. <input type="text" name="banner_first_5_url" value="{{$home->banner_first_5_url}}" class="form-control">
  643. @else
  644. {{$home->banner_first_5_url}}
  645. @endif
  646. </td>
  647. </tr>
  648. </table>
  649. <td>
  650. @if(isset($_GET["edit"]))
  651. <input type="text" name="banner_first_google" value="{{$home->banner_first_google}}" class="form-control">
  652. @else
  653. {{$home->banner_first_google}}
  654. @endif
  655. </td>
  656. </tr>
  657. @endif
  658. <tr>
  659. <td><b>Destra sopra 300x250</b><br><img src="/images/layout_dx_sopra.jpg" style="max-width:200px"></td>
  660. <td colspan="2">
  661. <table width="100%">
  662. <tr>
  663. <td>
  664. @if(isset($_GET["edit"]))
  665. <input type="file" name="banner_right_top">
  666. @if($home->banner_right_top != '')
  667. <input type="checkbox" name="delete_banner_right_top">Rimuovi immagine<br>
  668. <img src="/files/{{$home->banner_right_top}}" style="max-width:250px">
  669. @endif
  670. @else
  671. @if($home->banner_right_top != '')
  672. <img src="/files/{{$home->banner_right_top}}" style="max-width:250px">
  673. @endif
  674. @endif
  675. </td>
  676. <td>
  677. @if(isset($_GET["edit"]))
  678. <input type="text" name="banner_right_top_url" value="{{$home->banner_right_top_url}}" class="form-control">
  679. @else
  680. {{$home->banner_right_top_url}}
  681. @endif
  682. </td>
  683. </tr>
  684. <tr><td colspan="2"><hr size="1"></td></tr>
  685. <tr>
  686. <td>
  687. @if(isset($_GET["edit"]))
  688. <input type="file" name="banner_right_top_2">
  689. @if($home->banner_right_top_2 != '')
  690. <input type="checkbox" name="delete_banner_right_top_2">Rimuovi immagine<br>
  691. <img src="/files/{{$home->banner_right_top_2}}" style="max-width:250px">
  692. @endif
  693. @else
  694. @if($home->banner_right_top_2 != '')
  695. <img src="/files/{{$home->banner_right_top_2}}" style="max-width:250px">
  696. @endif
  697. @endif
  698. </td>
  699. <td>
  700. @if(isset($_GET["edit"]))
  701. <input type="text" name="banner_right_top_2_url" value="{{$home->banner_right_top_2_url}}" class="form-control">
  702. @else
  703. {{$home->banner_right_top_2_url}}
  704. @endif
  705. </td>
  706. </tr>
  707. <tr><td colspan="2"><hr size="1"></td></tr>
  708. <tr>
  709. <td>
  710. @if(isset($_GET["edit"]))
  711. <input type="file" name="banner_right_top_3">
  712. @if($home->banner_right_top_3 != '')
  713. <input type="checkbox" name="delete_banner_right_top_3">Rimuovi immagine<br>
  714. <img src="/files/{{$home->banner_right_top_3}}" style="max-width:250px">
  715. @endif
  716. @else
  717. @if($home->banner_right_top_3 != '')
  718. <img src="/files/{{$home->banner_right_top_3}}" style="max-width:250px">
  719. @endif
  720. @endif
  721. </td>
  722. <td>
  723. @if(isset($_GET["edit"]))
  724. <input type="text" name="banner_right_top_3_url" value="{{$home->banner_right_top_3_url}}" class="form-control">
  725. @else
  726. {{$home->banner_right_top_3_url}}
  727. @endif
  728. </td>
  729. </tr>
  730. <tr><td colspan="2"><hr size="1"></td></tr>
  731. <tr>
  732. <td>
  733. @if(isset($_GET["edit"]))
  734. <input type="file" name="banner_right_top_4">
  735. @if($home->banner_right_top_4 != '')
  736. <input type="checkbox" name="delete_banner_right_top_4">Rimuovi immagine<br>
  737. <img src="/files/{{$home->banner_right_top_4}}" style="max-width:250px">
  738. @endif
  739. @else
  740. @if($home->banner_right_top_4 != '')
  741. <img src="/files/{{$home->banner_right_top_4}}" style="max-width:250px">
  742. @endif
  743. @endif
  744. </td>
  745. <td>
  746. @if(isset($_GET["edit"]))
  747. <input type="text" name="banner_right_top_4_url" value="{{$home->banner_right_top_4_url}}" class="form-control">
  748. @else
  749. {{$home->banner_right_top_4_url}}
  750. @endif
  751. </td>
  752. </tr>
  753. <tr><td colspan="2"><hr size="1"></td></tr>
  754. <tr>
  755. <td>
  756. @if(isset($_GET["edit"]))
  757. <input type="file" name="banner_right_top_5">
  758. @if($home->banner_right_top_5 != '')
  759. <input type="checkbox" name="delete_banner_right_top_5">Rimuovi immagine<br>
  760. <img src="/files/{{$home->banner_right_top_5}}" style="max-width:250px">
  761. @endif
  762. @else
  763. @if($home->banner_right_top_5 != '')
  764. <img src="/files/{{$home->banner_right_top_5}}" style="max-width:250px">
  765. @endif
  766. @endif
  767. </td>
  768. <td>
  769. @if(isset($_GET["edit"]))
  770. <input type="text" name="banner_right_top_5_url" value="{{$home->banner_right_top_5_url}}" class="form-control">
  771. @else
  772. {{$home->banner_right_top_5_url}}
  773. @endif
  774. </td>
  775. </tr>
  776. </table>
  777. <td>
  778. @if(isset($_GET["edit"]))
  779. <input type="text" name="banner_right_top_google" value="{{$home->banner_right_top_google}}" class="form-control">
  780. @else
  781. {{$home->banner_right_top_google}}
  782. @endif
  783. </td>
  784. </tr>
  785. <tr>
  786. <td><b>Destra medio 300x250</b><br><img src="/images/layout_dx_sotto.jpg" style="max-width:200px"></td>
  787. <td colspan="2">
  788. <table width="100%">
  789. <tr>
  790. <td>
  791. @if(isset($_GET["edit"]))
  792. <input type="file" name="banner_right_middle">
  793. @if($home->banner_right_middle != '')
  794. <input type="checkbox" name="delete_banner_right_middle">Rimuovi immagine<br>
  795. <img src="/files/{{$home->banner_right_middle}}" style="max-width:250px">
  796. @endif
  797. @else
  798. @if($home->banner_right_middle != '')
  799. <img src="/files/{{$home->banner_right_middle}}" style="max-width:250px">
  800. @endif
  801. @endif
  802. </td>
  803. <td>
  804. @if(isset($_GET["edit"]))
  805. <input type="text" name="banner_right_middle_url" value="{{$home->banner_right_middle_url}}" class="form-control">
  806. @else
  807. {{$home->banner_right_middle_url}}
  808. @endif
  809. </td>
  810. </tr>
  811. <tr><td colspan="2"><hr size="1"></td></tr>
  812. <tr>
  813. <td>
  814. @if(isset($_GET["edit"]))
  815. <input type="file" name="banner_right_middle_2">
  816. @if($home->banner_right_middle_2 != '')
  817. <input type="checkbox" name="delete_banner_right_middle_2">Rimuovi immagine<br>
  818. <img src="/files/{{$home->banner_right_middle_2}}" style="max-width:250px">
  819. @endif
  820. @else
  821. @if($home->banner_right_middle_2 != '')
  822. <img src="/files/{{$home->banner_right_middle_2}}" style="max-width:250px">
  823. @endif
  824. @endif
  825. </td>
  826. <td>
  827. @if(isset($_GET["edit"]))
  828. <input type="text" name="banner_right_middle_2_url" value="{{$home->banner_right_middle_2_url}}" class="form-control">
  829. @else
  830. {{$home->banner_right_middle_2_url}}
  831. @endif
  832. </td>
  833. </tr>
  834. <tr><td colspan="2"><hr size="1"></td></tr>
  835. <tr>
  836. <td>
  837. @if(isset($_GET["edit"]))
  838. <input type="file" name="banner_right_middle_3">
  839. @if($home->banner_right_middle_3 != '')
  840. <input type="checkbox" name="delete_banner_right_middle_3">Rimuovi immagine<br>
  841. <img src="/files/{{$home->banner_right_middle_3}}" style="max-width:250px">
  842. @endif
  843. @else
  844. @if($home->banner_right_middle_3 != '')
  845. <img src="/files/{{$home->banner_right_middle_3}}" style="max-width:250px">
  846. @endif
  847. @endif
  848. </td>
  849. <td>
  850. @if(isset($_GET["edit"]))
  851. <input type="text" name="banner_right_middle_3_url" value="{{$home->banner_right_middle_3_url}}" class="form-control">
  852. @else
  853. {{$home->banner_right_middle_3_url}}
  854. @endif
  855. </td>
  856. </tr>
  857. <tr><td colspan="2"><hr size="1"></td></tr>
  858. <tr>
  859. <td>
  860. @if(isset($_GET["edit"]))
  861. <input type="file" name="banner_right_middle_4">
  862. @if($home->banner_right_middle_4 != '')
  863. <input type="checkbox" name="delete_banner_right_middle_4">Rimuovi immagine<br>
  864. <img src="/files/{{$home->banner_right_middle_4}}" style="max-width:250px">
  865. @endif
  866. @else
  867. @if($home->banner_right_middle_4 != '')
  868. <img src="/files/{{$home->banner_right_middle_4}}" style="max-width:250px">
  869. @endif
  870. @endif
  871. </td>
  872. <td>
  873. @if(isset($_GET["edit"]))
  874. <input type="text" name="banner_right_middle_4_url" value="{{$home->banner_right_middle_4_url}}" class="form-control">
  875. @else
  876. {{$home->banner_right_middle_4_url}}
  877. @endif
  878. </td>
  879. </tr>
  880. <tr><td colspan="2"><hr size="1"></td></tr>
  881. <tr>
  882. <td>
  883. @if(isset($_GET["edit"]))
  884. <input type="file" name="banner_right_middle_5">
  885. @if($home->banner_right_middle_5 != '')
  886. <input type="checkbox" name="delete_banner_right_middle_5">Rimuovi immagine<br>
  887. <img src="/files/{{$home->banner_right_middle_5}}" style="max-width:250px">
  888. @endif
  889. @else
  890. @if($home->banner_right_middle_5 != '')
  891. <img src="/files/{{$home->banner_right_middle_5}}" style="max-width:250px">
  892. @endif
  893. @endif
  894. </td>
  895. <td>
  896. @if(isset($_GET["edit"]))
  897. <input type="text" name="banner_right_middle_5_url" value="{{$home->banner_right_middle_5_url}}" class="form-control">
  898. @else
  899. {{$home->banner_right_middle_5_url}}
  900. @endif
  901. </td>
  902. </tr>
  903. </table>
  904. <td>
  905. @if(isset($_GET["edit"]))
  906. <input type="text" name="banner_right_middle_google" value="{{$home->banner_right_middle_google}}" class="form-control">
  907. @else
  908. {{$home->banner_right_middle_google}}
  909. @endif
  910. </td>
  911. </tr>
  912. <tr>
  913. <td><b>Destra sotto 300x250</b><br><img src="/images/layout_dx_sotto.jpg" style="max-width:200px"></td>
  914. <td colspan="2">
  915. <table width="100%">
  916. <tr>
  917. <td>
  918. @if(isset($_GET["edit"]))
  919. <input type="file" name="banner_right_bottom">
  920. @if($home->banner_right_bottom != '')
  921. <input type="checkbox" name="delete_banner_right_bottom">Rimuovi immagine<br>
  922. <img src="/files/{{$home->banner_right_bottom}}" style="max-width:250px">
  923. @endif
  924. @else
  925. @if($home->banner_right_bottom != '')
  926. <img src="/files/{{$home->banner_right_bottom}}" style="max-width:250px">
  927. @endif
  928. @endif
  929. </td>
  930. <td>
  931. @if(isset($_GET["edit"]))
  932. <input type="text" name="banner_right_bottom_url" value="{{$home->banner_right_bottom_url}}" class="form-control">
  933. @else
  934. {{$home->banner_right_bottom_url}}
  935. @endif
  936. </td>
  937. </tr>
  938. <tr><td colspan="2"><hr size="1"></td></tr>
  939. <tr>
  940. <td>
  941. @if(isset($_GET["edit"]))
  942. <input type="file" name="banner_right_bottom_2">
  943. @if($home->banner_right_bottom_2 != '')
  944. <input type="checkbox" name="delete_banner_right_bottom_2">Rimuovi immagine<br>
  945. <img src="/files/{{$home->banner_right_bottom_2}}" style="max-width:250px">
  946. @endif
  947. @else
  948. @if($home->banner_right_bottom_2 != '')
  949. <img src="/files/{{$home->banner_right_bottom_2}}" style="max-width:250px">
  950. @endif
  951. @endif
  952. </td>
  953. <td>
  954. @if(isset($_GET["edit"]))
  955. <input type="text" name="banner_right_bottom_2_url" value="{{$home->banner_right_bottom_2_url}}" class="form-control">
  956. @else
  957. {{$home->banner_right_bottom_2_url}}
  958. @endif
  959. </td>
  960. </tr>
  961. <tr><td colspan="2"><hr size="1"></td></tr>
  962. <tr>
  963. <td>
  964. @if(isset($_GET["edit"]))
  965. <input type="file" name="banner_right_bottom_3">
  966. @if($home->banner_right_bottom_3 != '')
  967. <input type="checkbox" name="delete_banner_right_bottom_3">Rimuovi immagine<br>
  968. <img src="/files/{{$home->banner_right_bottom_3}}" style="max-width:250px">
  969. @endif
  970. @else
  971. @if($home->banner_right_bottom_3 != '')
  972. <img src="/files/{{$home->banner_right_bottom_3}}" style="max-width:250px">
  973. @endif
  974. @endif
  975. </td>
  976. <td>
  977. @if(isset($_GET["edit"]))
  978. <input type="text" name="banner_right_bottom_3_url" value="{{$home->banner_right_bottom_3_url}}" class="form-control">
  979. @else
  980. {{$home->banner_right_bottom_3_url}}
  981. @endif
  982. </td>
  983. </tr>
  984. <tr><td colspan="2"><hr size="1"></td></tr>
  985. <tr>
  986. <td>
  987. @if(isset($_GET["edit"]))
  988. <input type="file" name="banner_right_bottom_4">
  989. @if($home->banner_right_bottom_4 != '')
  990. <input type="checkbox" name="delete_banner_right_bottom_4">Rimuovi immagine<br>
  991. <img src="/files/{{$home->banner_right_bottom_4}}" style="max-width:250px">
  992. @endif
  993. @else
  994. @if($home->banner_right_bottom_4 != '')
  995. <img src="/files/{{$home->banner_right_bottom_4}}" style="max-width:250px">
  996. @endif
  997. @endif
  998. </td>
  999. <td>
  1000. @if(isset($_GET["edit"]))
  1001. <input type="text" name="banner_right_bottom_4_url" value="{{$home->banner_right_bottom_4_url}}" class="form-control">
  1002. @else
  1003. {{$home->banner_right_bottom_4_url}}
  1004. @endif
  1005. </td>
  1006. </tr>
  1007. <tr><td colspan="2"><hr size="1"></td></tr>
  1008. <tr>
  1009. <td>
  1010. @if(isset($_GET["edit"]))
  1011. <input type="file" name="banner_right_bottom_5">
  1012. @if($home->banner_right_bottom_5 != '')
  1013. <input type="checkbox" name="delete_banner_right_bottom_5">Rimuovi immagine<br>
  1014. <img src="/files/{{$home->banner_right_bottom_5}}" style="max-width:250px">
  1015. @endif
  1016. @else
  1017. @if($home->banner_right_bottom_5 != '')
  1018. <img src="/files/{{$home->banner_right_bottom_5}}" style="max-width:250px">
  1019. @endif
  1020. @endif
  1021. </td>
  1022. <td>
  1023. @if(isset($_GET["edit"]))
  1024. <input type="text" name="banner_right_bottom_5_url" value="{{$home->banner_right_bottom_5_url}}" class="form-control">
  1025. @else
  1026. {{$home->banner_right_bottom_5_url}}
  1027. @endif
  1028. </td>
  1029. </tr>
  1030. </table>
  1031. <td>
  1032. @if(isset($_GET["edit"]))
  1033. <input type="text" name="banner_right_bottom_google" value="{{$home->banner_right_bottom_google}}" class="form-control">
  1034. @else
  1035. {{$home->banner_right_bottom_google}}
  1036. @endif
  1037. </td>
  1038. </tr>
  1039. <tr>
  1040. <td><b>Destra sopra 300x600</b><br><img src="/images/layout_dx_grande.jpg" style="max-width:200px"></td>
  1041. <td colspan="2">
  1042. <table width="100%">
  1043. <tr>
  1044. <td>
  1045. @if(isset($_GET["edit"]))
  1046. <input type="file" name="banner_right_big">
  1047. @if($home->banner_right_big != '')
  1048. <input type="checkbox" name="delete_banner_right_big">Rimuovi immagine<br>
  1049. <img src="/files/{{$home->banner_right_big}}" style="max-width:250px">
  1050. @endif
  1051. @else
  1052. @if($home->banner_right_big != '')
  1053. <img src="/files/{{$home->banner_right_big}}" style="max-width:250px">
  1054. @endif
  1055. @endif
  1056. </td>
  1057. <td>
  1058. @if(isset($_GET["edit"]))
  1059. <input type="text" name="banner_right_big_url" value="{{$home->banner_right_big_url}}" class="form-control">
  1060. @else
  1061. {{$home->banner_right_big_url}}
  1062. @endif
  1063. </td>
  1064. </tr>
  1065. <tr><td colspan="2"><hr size="1"></td></tr>
  1066. <tr>
  1067. <td>
  1068. @if(isset($_GET["edit"]))
  1069. <input type="file" name="banner_right_big_2">
  1070. @if($home->banner_right_big_2 != '')
  1071. <input type="checkbox" name="delete_banner_right_big_2">Rimuovi immagine<br>
  1072. <img src="/files/{{$home->banner_right_big_2}}" style="max-width:250px">
  1073. @endif
  1074. @else
  1075. @if($home->banner_right_big_2 != '')
  1076. <img src="/files/{{$home->banner_right_big_2}}" style="max-width:250px">
  1077. @endif
  1078. @endif
  1079. </td>
  1080. <td>
  1081. @if(isset($_GET["edit"]))
  1082. <input type="text" name="banner_right_big_2_url" value="{{$home->banner_right_big_2_url}}" class="form-control">
  1083. @else
  1084. {{$home->banner_right_big_2_url}}
  1085. @endif
  1086. </td>
  1087. </tr>
  1088. <tr><td colspan="2"><hr size="1"></td></tr>
  1089. <tr>
  1090. <td>
  1091. @if(isset($_GET["edit"]))
  1092. <input type="file" name="banner_right_big_3">
  1093. @if($home->banner_right_big_3 != '')
  1094. <input type="checkbox" name="delete_banner_right_big_3">Rimuovi immagine<br>
  1095. <img src="/files/{{$home->banner_right_big_3}}" style="max-width:250px">
  1096. @endif
  1097. @else
  1098. @if($home->banner_right_big_3 != '')
  1099. <img src="/files/{{$home->banner_right_big_3}}" style="max-width:250px">
  1100. @endif
  1101. @endif
  1102. </td>
  1103. <td>
  1104. @if(isset($_GET["edit"]))
  1105. <input type="text" name="banner_right_big_3_url" value="{{$home->banner_right_big_3_url}}" class="form-control">
  1106. @else
  1107. {{$home->banner_right_big_3_url}}
  1108. @endif
  1109. </td>
  1110. </tr>
  1111. <tr><td colspan="2"><hr size="1"></td></tr>
  1112. <tr>
  1113. <td>
  1114. @if(isset($_GET["edit"]))
  1115. <input type="file" name="banner_right_big_4">
  1116. @if($home->banner_right_big_4 != '')
  1117. <input type="checkbox" name="delete_banner_right_big_4">Rimuovi immagine<br>
  1118. <img src="/files/{{$home->banner_right_big_4}}" style="max-width:250px">
  1119. @endif
  1120. @else
  1121. @if($home->banner_right_big_4 != '')
  1122. <img src="/files/{{$home->banner_right_big_4}}" style="max-width:250px">
  1123. @endif
  1124. @endif
  1125. </td>
  1126. <td>
  1127. @if(isset($_GET["edit"]))
  1128. <input type="text" name="banner_right_big_4_url" value="{{$home->banner_right_big_4_url}}" class="form-control">
  1129. @else
  1130. {{$home->banner_right_big_4_url}}
  1131. @endif
  1132. </td>
  1133. </tr>
  1134. <tr><td colspan="2"><hr size="1"></td></tr>
  1135. <tr>
  1136. <td>
  1137. @if(isset($_GET["edit"]))
  1138. <input type="file" name="banner_right_big_5">
  1139. @if($home->banner_right_big_5 != '')
  1140. <input type="checkbox" name="delete_banner_right_big_5">Rimuovi immagine<br>
  1141. <img src="/files/{{$home->banner_right_big_5}}" style="max-width:250px">
  1142. @endif
  1143. @else
  1144. @if($home->banner_right_big_5 != '')
  1145. <img src="/files/{{$home->banner_right_big_5}}" style="max-width:250px">
  1146. @endif
  1147. @endif
  1148. </td>
  1149. <td>
  1150. @if(isset($_GET["edit"]))
  1151. <input type="text" name="banner_right_big_5_url" value="{{$home->banner_right_big_5_url}}" class="form-control">
  1152. @else
  1153. {{$home->banner_right_big_5_url}}
  1154. @endif
  1155. </td>
  1156. </tr>
  1157. </table>
  1158. <td>
  1159. @if(isset($_GET["edit"]))
  1160. <input type="text" name="banner_right_big_google" value="{{$home->banner_right_big_google}}" class="form-control">
  1161. @else
  1162. {{$home->banner_right_big_google}}
  1163. @endif
  1164. </td>
  1165. </tr>
  1166. <tr>
  1167. <td><b>Footer</b><br><img src="/images/layout_footer.jpg" style="max-width:200px"></td>
  1168. <td colspan="2">
  1169. <table width="100%">
  1170. <tr>
  1171. <td>
  1172. @if(isset($_GET["edit"]))
  1173. <input type="file" name="footer_image">
  1174. @if($home->footer_image != '')
  1175. <input type="checkbox" name="delete_footer_image">Rimuovi immagine<br>
  1176. <img src="/files/{{$home->footer_image}}" style="max-width:250px">
  1177. @endif
  1178. @else
  1179. @if($home->footer_image != '')
  1180. <img src="/files/{{$home->footer_image}}" style="max-width:250px">
  1181. @endif
  1182. @endif
  1183. </td>
  1184. <td>
  1185. @if(isset($_GET["edit"]))
  1186. <input type="text" name="footer_url" value="{{$home->footer_url}}" class="form-control">
  1187. @else
  1188. {{$home->footer_url}}
  1189. @endif
  1190. </td>
  1191. </tr>
  1192. <tr><td colspan="2"><hr size="1"></td></tr>
  1193. <tr>
  1194. <td>
  1195. @if(isset($_GET["edit"]))
  1196. <input type="file" name="footer_image_2">
  1197. @if($home->footer_image_2 != '')
  1198. <input type="checkbox" name="delete_footer_image_2">Rimuovi immagine<br>
  1199. <img src="/files/{{$home->footer_image_2}}" style="max-width:250px">
  1200. @endif
  1201. @else
  1202. @if($home->footer_image_2 != '')
  1203. <img src="/files/{{$home->footer_image_2}}" style="max-width:250px">
  1204. @endif
  1205. @endif
  1206. </td>
  1207. <td>
  1208. @if(isset($_GET["edit"]))
  1209. <input type="text" name="footer_2_url" value="{{$home->footer_2_url}}" class="form-control">
  1210. @else
  1211. {{$home->footer_2_url}}
  1212. @endif
  1213. </td>
  1214. </tr>
  1215. <tr><td colspan="2"><hr size="1"></td></tr>
  1216. <tr>
  1217. <td>
  1218. @if(isset($_GET["edit"]))
  1219. <input type="file" name="footer_image_3">
  1220. @if($home->footer_image_3 != '')
  1221. <input type="checkbox" name="delete_footer_image_3">Rimuovi immagine<br>
  1222. <img src="/files/{{$home->footer_image_3}}" style="max-width:250px">
  1223. @endif
  1224. @else
  1225. @if($home->footer_image_3 != '')
  1226. <img src="/files/{{$home->footer_image_3}}" style="max-width:250px">
  1227. @endif
  1228. @endif
  1229. </td>
  1230. <td>
  1231. @if(isset($_GET["edit"]))
  1232. <input type="text" name="footer_3_url" value="{{$home->footer_3_url}}" class="form-control">
  1233. @else
  1234. {{$home->footer_3_url}}
  1235. @endif
  1236. </td>
  1237. </tr>
  1238. </table>
  1239. <td>
  1240. </td>
  1241. </tr>
  1242. </table>
  1243. </div>
  1244. </div>
  1245. <div class="box-footer">
  1246. @if(isset($_GET["edit"]))
  1247. <button type="submit" class="btn btn-success">Salva</button>
  1248. @else
  1249. <a href="/admin/home_adv?edit=1" class="btn btn-info">Modifica</a>
  1250. @endif
  1251. <a href="{{ route('home_adv') }}" class="btn btn-info">Annulla</a>
  1252. </div>
  1253. </div>
  1254. </form>
  1255. </div>
  1256. </div>
  1257. @stop