| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066 |
- @extends('layouts.admin')
- @section('title')
- Home
- @stop
- @section('content')
- <div class="row">
- <div class="col-lg-12">
- <form action="/admin/home_adv" method="POST" enctype="multipart/form-data">
- {{csrf_field()}}
- <div class="box box-primary">
- <div class="box-header with-border">
- <h3 class="box-title"></h3>
- </div>
- <div class="box-body">
- <div class="box-body table-responsive no-padding">
- <table class="table table-striped table-hover">
- <thead>
- <tr>
- <th>Posizione</th>
- <th>Immagine</th>
- <th>URL</th>
- <th>Codice Google ADV</th>
- </tr>
- </thead>
- <tr>
- <td><img src="/images/layout_home_skin.jpg" style="max-width:200px"></td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="image">
- @if($home->image != '')
- <input type="checkbox" name="delete_image">Rimuovi immagine<br>
- <img src="/files/{{$home->image}}" style="max-width:250px">
- @endif
- @else
- @if($home->image != '')
- <img src="/files/{{$home->image}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="url" value="{{$home->url}}" class="form-control">
- @else
- {{$home->url}}
- @endif
- </td>
- <td></td>
- </tr>
- <tr>
- <td><img src="/images/layout_home_skin.jpg" style="max-width:200px"></td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="image_2">
- @if($home->image_2 != '')
- <input type="checkbox" name="delete_image_2">Rimuovi immagine<br>
- <img src="/files/{{$home->image_2}}" style="max-width:250px">
- @endif
- @else
- @if($home->image_2 != '')
- <img src="/files/{{$home->image_2}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="url_2" value="{{$home->url_2}}" class="form-control">
- @else
- {{$home->url_2}}
- @endif
- </td>
- <td></td>
- </tr>
- <tr>
- <td><img src="/images/layout_home_skin.jpg" style="max-width:200px"></td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="image_3">
- @if($home->image_3 != '')
- <input type="checkbox" name="delete_image_3">Rimuovi immagine<br>
- <img src="/files/{{$home->image_3}}" style="max-width:250px">
- @endif
- @else
- @if($home->image_3 != '')
- <img src="/files/{{$home->image_3}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="url_3" value="{{$home->url_3}}" class="form-control">
- @else
- {{$home->url_3}}
- @endif
- </td>
- <td></td>
- </tr>
- <tr>
- <td><img src="/images/layout_home_skin.jpg" style="max-width:200px"></td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="image_4">
- @if($home->image_4 != '')
- <input type="checkbox" name="delete_image_4">Rimuovi immagine<br>
- <img src="/files/{{$home->image_4}}" style="max-width:250px">
- @endif
- @else
- @if($home->image_4 != '')
- <img src="/files/{{$home->image_4}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="url_4" value="{{$home->url_4}}" class="form-control">
- @else
- {{$home->url_4}}
- @endif
- </td>
- <td></td>
- </tr>
- <tr>
- <td><img src="/images/layout_home_skin.jpg" style="max-width:200px"></td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="image_5">
- @if($home->image_5 != '')
- <input type="checkbox" name="delete_image_5">Rimuovi immagine<br>
- <img src="/files/{{$home->image_5}}" style="max-width:250px">
- @endif
- @else
- @if($home->image_5 != '')
- <img src="/files/{{$home->image_5}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="url_5" value="{{$home->url_5}}" class="form-control">
- @else
- {{$home->url_5}}
- @endif
- </td>
- <td></td>
- </tr>
- <tr>
- <td><b>Vicino al logo</b><br><img src="/images/layout_home_top.jpg" style="max-width:200px"></td>
- <td colspan="2">
- <table width="100%">
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_top">
- @if($home->banner_top != '')
- <input type="checkbox" name="delete_banner_top">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_top}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_top != '')
- <img src="/files/{{$home->banner_top}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_top_url" value="{{$home->banner_top_url}}" class="form-control">
- @else
- {{$home->banner_top_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_top_2">
- @if($home->banner_top_2 != '')
- <input type="checkbox" name="delete_banner_top_2">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_top_2}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_top_2 != '')
- <img src="/files/{{$home->banner_top_2}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_top_2_url" value="{{$home->banner_top_2_url}}" class="form-control">
- @else
- {{$home->banner_top_2_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_top_3">
- @if($home->banner_top_3 != '')
- <input type="checkbox" name="delete_banner_top_3">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_top_3}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_top_3 != '')
- <img src="/files/{{$home->banner_top_3}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_top_3_url" value="{{$home->banner_top_3_url}}" class="form-control">
- @else
- {{$home->banner_top_3_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_top_4">
- @if($home->banner_top_4 != '')
- <input type="checkbox" name="delete_banner_top_4">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_top_4}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_top_4 != '')
- <img src="/files/{{$home->banner_top_4}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_top_4_url" value="{{$home->banner_top_4_url}}" class="form-control">
- @else
- {{$home->banner_top_4_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_top_5">
- @if($home->banner_top_5 != '')
- <input type="checkbox" name="delete_banner_top_5">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_top_5}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_top_5 != '')
- <img src="/files/{{$home->banner_top_5}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_top_5_url" value="{{$home->banner_top_5_url}}" class="form-control">
- @else
- {{$home->banner_top_5_url}}
- @endif
- </td>
- </tr>
- </table>
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_top_google" value="{{$home->banner_top_google}}" class="form-control">
- @else
- {{$home->banner_top_google}}
- @endif
- </td>
- </tr>
- <tr>
- <td><b>Sotto breaking news</b><br><img src="/images/layout_home_underb.jpg" style="max-width:200px"></td>
- <td colspan="2">
- <table width="100%">
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_underb">
- @if($home->banner_underb != '')
- <input type="checkbox" name="delete_banner_underb">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_underb}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_underb != '')
- <img src="/files/{{$home->banner_underb}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_underb_url" value="{{$home->banner_underb_url}}" class="form-control">
- @else
- {{$home->banner_underb_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_underb_2">
- @if($home->banner_underb_2 != '')
- <input type="checkbox" name="delete_banner_underb_2">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_underb_2}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_underb_2 != '')
- <img src="/files/{{$home->banner_underb_2}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_underb_2_url" value="{{$home->banner_underb_2_url}}" class="form-control">
- @else
- {{$home->banner_underb_2_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_underb_3">
- @if($home->banner_underb_3 != '')
- <input type="checkbox" name="delete_banner_underb_3">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_underb_3}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_underb_3 != '')
- <img src="/files/{{$home->banner_underb_3}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_underb_3_url" value="{{$home->banner_underb_3_url}}" class="form-control">
- @else
- {{$home->banner_underb_3_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_underb_4">
- @if($home->banner_underb_4 != '')
- <input type="checkbox" name="delete_banner_underb_4">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_underb_4}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_underb_4 != '')
- <img src="/files/{{$home->banner_underb_4}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_underb_4_url" value="{{$home->banner_underb_4_url}}" class="form-control">
- @else
- {{$home->banner_underb_4_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_underb_5">
- @if($home->banner_underb_5 != '')
- <input type="checkbox" name="delete_banner_underb_5">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_underb_5}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_underb_5 != '')
- <img src="/files/{{$home->banner_underb_5}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_underb_5_url" value="{{$home->banner_underb_5_url}}" class="form-control">
- @else
- {{$home->banner_underb_5_url}}
- @endif
- </td>
- </tr>
- </table>
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_underb_google" value="{{$home->banner_underb_google}}" class="form-control">
- @else
- {{$home->banner_underb_google}}
- @endif
- </td>
- </tr>
- <tr>
- <td><b>Sotto primo piano</b><br><img src="/images/layout_home_medio.jpg" style="max-width:200px"></td>
- <td colspan="2">
- <table width="100%">
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_middle">
- @if($home->banner_middle != '')
- <input type="checkbox" name="delete_banner_middle">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_middle}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_middle != '')
- <img src="/files/{{$home->banner_middle}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_middle_url" value="{{$home->banner_middle_url}}" class="form-control">
- @else
- {{$home->banner_middle_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_middle_2">
- @if($home->banner_middle_2 != '')
- <input type="checkbox" name="delete_banner_middle_2">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_middle_2}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_middle_2 != '')
- <img src="/files/{{$home->banner_middle_2}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_middle_2_url" value="{{$home->banner_middle_2_url}}" class="form-control">
- @else
- {{$home->banner_middle_2_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_middle_3">
- @if($home->banner_middle_3 != '')
- <input type="checkbox" name="delete_banner_middle_3">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_middle_3}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_middle_3 != '')
- <img src="/files/{{$home->banner_middle_3}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_middle_3_url" value="{{$home->banner_middle_3_url}}" class="form-control">
- @else
- {{$home->banner_middle_3_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_middle_4">
- @if($home->banner_middle_4 != '')
- <input type="checkbox" name="delete_banner_middle_4">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_middle_4}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_middle_4 != '')
- <img src="/files/{{$home->banner_middle_4}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_middle_4_url" value="{{$home->banner_middle_4_url}}" class="form-control">
- @else
- {{$home->banner_middle_4_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_middle_5">
- @if($home->banner_middle_5 != '')
- <input type="checkbox" name="delete_banner_middle_5">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_middle_5}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_middle_5 != '')
- <img src="/files/{{$home->banner_middle_5}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_middle_5_url" value="{{$home->banner_middle_5_url}}" class="form-control">
- @else
- {{$home->banner_middle_5_url}}
- @endif
- </td>
- </tr>
- </table>
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_middle_google" value="{{$home->banner_middle_google}}" class="form-control">
- @else
- {{$home->banner_middle_google}}
- @endif
- </td>
- </tr>
- @if(false)
- <tr>
- <td><b>Sotto video</b><br><img src="/images/layout_home_primopiano.jpg" style="max-width:200px"></td>
- <td colspan="2">
- <table width="100%">
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_first">
- @if($home->banner_first != '')
- <input type="checkbox" name="delete_banner_first">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_first}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_first != '')
- <img src="/files/{{$home->banner_first}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_first_url" value="{{$home->banner_first_url}}" class="form-control">
- @else
- {{$home->banner_first_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_first_2">
- @if($home->banner_first_2 != '')
- <input type="checkbox" name="delete_banner_first_2">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_first_2}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_first_2 != '')
- <img src="/files/{{$home->banner_first_2}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_first_2_url" value="{{$home->banner_first_2_url}}" class="form-control">
- @else
- {{$home->banner_first_2_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_first_3">
- @if($home->banner_first_3 != '')
- <input type="checkbox" name="delete_banner_first_3">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_first_3}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_first_3 != '')
- <img src="/files/{{$home->banner_first_3}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_first_3_url" value="{{$home->banner_first_3_url}}" class="form-control">
- @else
- {{$home->banner_first_3_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_first_4">
- @if($home->banner_first_4 != '')
- <input type="checkbox" name="delete_banner_first_4">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_first_4}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_first_4 != '')
- <img src="/files/{{$home->banner_first_4}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_first_4_url" value="{{$home->banner_first_4_url}}" class="form-control">
- @else
- {{$home->banner_first_4_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_first_5">
- @if($home->banner_first_5 != '')
- <input type="checkbox" name="delete_banner_first_5">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_first_5}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_first_5 != '')
- <img src="/files/{{$home->banner_first_5}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_first_5_url" value="{{$home->banner_first_5_url}}" class="form-control">
- @else
- {{$home->banner_first_5_url}}
- @endif
- </td>
- </tr>
- </table>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_first_google" value="{{$home->banner_first_google}}" class="form-control">
- @else
- {{$home->banner_first_google}}
- @endif
- </td>
- </tr>
- @endif
- <tr>
- <td><b>Destra sopra 300x250-1</b><br><img src="/images/layout_dx_sopra.jpg" style="max-width:200px"></td>
- <td colspan="2">
- <table width="100%">
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_top">
- @if($home->banner_right_top != '')
- <input type="checkbox" name="delete_banner_right_top">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_top}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_top != '')
- <img src="/files/{{$home->banner_right_top}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_top_url" value="{{$home->banner_right_top_url}}" class="form-control">
- @else
- {{$home->banner_right_top_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_top_2">
- @if($home->banner_right_top_2 != '')
- <input type="checkbox" name="delete_banner_right_top_2">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_top_2}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_top_2 != '')
- <img src="/files/{{$home->banner_right_top_2}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_top_2_url" value="{{$home->banner_right_top_2_url}}" class="form-control">
- @else
- {{$home->banner_right_top_2_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_top_3">
- @if($home->banner_right_top_3 != '')
- <input type="checkbox" name="delete_banner_right_top_3">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_top_3}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_top_3 != '')
- <img src="/files/{{$home->banner_right_top_3}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_top_3_url" value="{{$home->banner_right_top_3_url}}" class="form-control">
- @else
- {{$home->banner_right_top_3_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_top_4">
- @if($home->banner_right_top_4 != '')
- <input type="checkbox" name="delete_banner_right_top_4">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_top_4}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_top_4 != '')
- <img src="/files/{{$home->banner_right_top_4}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_top_4_url" value="{{$home->banner_right_top_4_url}}" class="form-control">
- @else
- {{$home->banner_right_top_4_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_top_5">
- @if($home->banner_right_top_5 != '')
- <input type="checkbox" name="delete_banner_right_top_5">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_top_5}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_top_5 != '')
- <img src="/files/{{$home->banner_right_top_5}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_top_5_url" value="{{$home->banner_right_top_5_url}}" class="form-control">
- @else
- {{$home->banner_right_top_5_url}}
- @endif
- </td>
- </tr>
- </table>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_top_google" value="{{$home->banner_right_top_google}}" class="form-control">
- @else
- {{$home->banner_right_top_google}}
- @endif
- </td>
- </tr>
- <tr>
- <td><b>Destra sopra 300x250-2</b><br><img src="/images/layout_dx_sotto.jpg" style="max-width:200px"></td>
- <td colspan="2">
- <table width="100%">
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_bottom">
- @if($home->banner_right_bottom != '')
- <input type="checkbox" name="delete_banner_right_bottom">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_bottom}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_bottom != '')
- <img src="/files/{{$home->banner_right_bottom}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_bottom_url" value="{{$home->banner_right_bottom_url}}" class="form-control">
- @else
- {{$home->banner_right_bottom_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_bottom_2">
- @if($home->banner_right_bottom_2 != '')
- <input type="checkbox" name="delete_banner_right_bottom_2">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_bottom_2}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_bottom_2 != '')
- <img src="/files/{{$home->banner_right_bottom_2}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_bottom_2_url" value="{{$home->banner_right_bottom_2_url}}" class="form-control">
- @else
- {{$home->banner_right_bottom_2_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_bottom_3">
- @if($home->banner_right_bottom_3 != '')
- <input type="checkbox" name="delete_banner_right_bottom_3">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_bottom_3}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_bottom_3 != '')
- <img src="/files/{{$home->banner_right_bottom_3}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_bottom_3_url" value="{{$home->banner_right_bottom_3_url}}" class="form-control">
- @else
- {{$home->banner_right_bottom_3_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_bottom_4">
- @if($home->banner_right_bottom_4 != '')
- <input type="checkbox" name="delete_banner_right_bottom_4">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_bottom_4}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_bottom_4 != '')
- <img src="/files/{{$home->banner_right_bottom_4}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_bottom_4_url" value="{{$home->banner_right_bottom_4_url}}" class="form-control">
- @else
- {{$home->banner_right_bottom_4_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_bottom_5">
- @if($home->banner_right_bottom_5 != '')
- <input type="checkbox" name="delete_banner_right_bottom_5">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_bottom_5}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_bottom_5 != '')
- <img src="/files/{{$home->banner_right_bottom_5}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_bottom_5_url" value="{{$home->banner_right_bottom_5_url}}" class="form-control">
- @else
- {{$home->banner_right_bottom_5_url}}
- @endif
- </td>
- </tr>
- </table>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_bottom_google" value="{{$home->banner_right_bottom_google}}" class="form-control">
- @else
- {{$home->banner_right_bottom_google}}
- @endif
- </td>
- </tr>
- <tr>
- <td><b>Destra sopra 300x600</b><br><img src="/images/layout_dx_grande.jpg" style="max-width:200px"></td>
- <td colspan="2">
- <table width="100%">
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_big">
- @if($home->banner_right_big != '')
- <input type="checkbox" name="delete_banner_right_big">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_big}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_big != '')
- <img src="/files/{{$home->banner_right_big}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_big_url" value="{{$home->banner_right_big_url}}" class="form-control">
- @else
- {{$home->banner_right_big_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_big_2">
- @if($home->banner_right_big_2 != '')
- <input type="checkbox" name="delete_banner_right_big_2">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_big_2}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_big_2 != '')
- <img src="/files/{{$home->banner_right_big_2}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_big_2_url" value="{{$home->banner_right_big_2_url}}" class="form-control">
- @else
- {{$home->banner_right_big_2_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_big_3">
- @if($home->banner_right_big_3 != '')
- <input type="checkbox" name="delete_banner_right_big_3">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_big_3}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_big_3 != '')
- <img src="/files/{{$home->banner_right_big_3}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_big_3_url" value="{{$home->banner_right_big_3_url}}" class="form-control">
- @else
- {{$home->banner_right_big_3_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_big_4">
- @if($home->banner_right_big_4 != '')
- <input type="checkbox" name="delete_banner_right_big_4">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_big_4}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_big_4 != '')
- <img src="/files/{{$home->banner_right_big_4}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_big_4_url" value="{{$home->banner_right_big_4_url}}" class="form-control">
- @else
- {{$home->banner_right_big_4_url}}
- @endif
- </td>
- </tr>
- <tr><td colspan="2"><hr size="1"></td></tr>
- <tr>
- <td>
- @if(isset($_GET["edit"]))
- <input type="file" name="banner_right_big_5">
- @if($home->banner_right_big_5 != '')
- <input type="checkbox" name="delete_banner_right_big_5">Rimuovi immagine<br>
- <img src="/files/{{$home->banner_right_big_5}}" style="max-width:250px">
- @endif
- @else
- @if($home->banner_right_big_5 != '')
- <img src="/files/{{$home->banner_right_big_5}}" style="max-width:250px">
- @endif
- @endif
- </td>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_big_5_url" value="{{$home->banner_right_big_5_url}}" class="form-control">
- @else
- {{$home->banner_right_big_5_url}}
- @endif
- </td>
- </tr>
- </table>
- <td>
- @if(isset($_GET["edit"]))
- <input type="text" name="banner_right_big_google" value="{{$home->banner_right_big_google}}" class="form-control">
- @else
- {{$home->banner_right_big_google}}
- @endif
- </td>
- </tr>
- </table>
- </div>
- </div>
- <div class="box-footer">
- @if(isset($_GET["edit"]))
- {!! Form::submit('Salva', ['class'=>'btn btn-success']) !!}
- @else
- <a href="/admin/home_adv?edit=1" class="btn btn-info">Modifica</a>
- @endif
- {!! link_to_route('home_adv', 'Annulla', null, array('class' => 'btn btn-info')) !!}
- </div>
- </div>
- </form>
- </div>
- </div>
- @stop
|