@extends('layouts.admin') @section('title') {{$section->name}} - Layout @stop @section('content')
{{csrf_field()}}

@for($x=1;$x<=7;$x++)
layout == 'layout_' . $x) ? 'background-color:red;' : ''}} " class="selImg" data-id="layout_{{$x}}">
@endfor layout}}" id="layout">

@if(@$_GET["layout"] == 'layout_1' || (@$_GET["layout"] == '' && $section->layout == 'layout_1'))
@if(is_object($section->big))

big->date))}}">{{$section->big->title}} - {{date("d/m/Y", strtotime($section->big->date))}} (X)

@endif
@if(is_object($section->small1))

small1->date))}}">{{$section->small1->title}} - {{date("d/m/Y", strtotime($section->small1->date))}} (X)


@endif
@if(is_object($section->small2))

small2->date))}}">{{$section->small2->title}} - {{date("d/m/Y", strtotime($section->small2->date))}} (X)


@endif
@if(is_object($section->small3))

small3->date))}}">{{$section->small3->title}} - {{date("d/m/Y", strtotime($section->small3->date))}} (X)


@endif
@endif @if(@$_GET["layout"] == 'layout_2' || (@$_GET["layout"] == '' && $section->layout == 'layout_2'))
@if(is_object($section->big))

big->date))}}">{{$section->big->title}} - {{date("d/m/Y", strtotime($section->big->date))}} (X)

@endif
@if(is_object($section->small1))

small1->date))}}">{{$section->small1->title}} - {{date("d/m/Y", strtotime($section->small1->date))}} (X)


@endif
@if(is_object($section->small2))

small2->date))}}">{{$section->small2->title}} - {{date("d/m/Y", strtotime($section->small2->date))}} (X)


@endif
@if(is_object($section->small3))

small3->date))}}">{{$section->small3->title}} - {{date("d/m/Y", strtotime($section->small3->date))}} (X)


@endif
@endif @if(@$_GET["layout"] == 'layout_3' || (@$_GET["layout"] == '' && $section->layout == 'layout_3'))
@if(is_object($section->big))

big->date))}}">{{$section->big->title}} - {{date("d/m/Y", strtotime($section->big->date))}} (X)

@endif
@if(is_object($section->small1))

small1->date))}}">{{$section->small1->title}} - {{date("d/m/Y", strtotime($section->small1->date))}} (X)


@endif
@if(is_object($section->small2))

small2->date))}}">{{$section->small2->title}} - {{date("d/m/Y", strtotime($section->small2->date))}} (X)


@endif
@if(is_object($section->small3))

small3->date))}}">{{$section->small3->title}} - {{date("d/m/Y", strtotime($section->small3->date))}} (X)


@endif
@if(is_object($section->small4))

small4->date))}}">{{$section->small4->title}} - {{date("d/m/Y", strtotime($section->small4->date))}} (X)


@endif
@endif @if(@$_GET["layout"] == 'layout_4' || (@$_GET["layout"] == '' && $section->layout == 'layout_4'))
@if(is_object($section->big))

big->date))}}">{{$section->big->title}} - {{date("d/m/Y", strtotime($section->big->date))}} (X)

@endif
@if(is_object($section->small1))

small1->date))}}">{{$section->small1->title}} - {{date("d/m/Y", strtotime($section->small1->date))}} (X)


@endif
@if(is_object($section->small2))

small2->date))}}">{{$section->small2->title}} - {{date("d/m/Y", strtotime($section->small2->date))}} (X)


@endif
@if(is_object($section->small3))

small3->date))}}">{{$section->small3->title}} - {{date("d/m/Y", strtotime($section->small3->date))}} (X)


@endif
@if(is_object($section->small4))

small4->date))}}">{{$section->small4->title}} - {{date("d/m/Y", strtotime($section->small4->date))}} (X)


@endif
@if(is_object($section->small5))

small5->date))}}">{{$section->small5->title}} - {{date("d/m/Y", strtotime($section->small5->date))}} (X)


@endif
@if(is_object($section->small6))

small6->date))}}">{{$section->small6->title}} - {{date("d/m/Y", strtotime($section->small6->date))}} (X)


@endif
@endif @if(@$_GET["layout"] == 'layout_5' || (@$_GET["layout"] == '' && $section->layout == 'layout_5'))
@if(is_object($section->big))

big->date))}}">{{$section->big->title}} - {{date("d/m/Y", strtotime($section->big->date))}} (X)

@endif
@if(is_object($section->small1))

small1->date))}}">{{$section->small1->title}} - {{date("d/m/Y", strtotime($section->small1->date))}} (X)


@endif
@if(is_object($section->small2))

small2->date))}}">{{$section->small2->title}} - {{date("d/m/Y", strtotime($section->small2->date))}} (X)


@endif
@if(is_object($section->small3))

small3->date))}}">{{$section->small3->title}} - {{date("d/m/Y", strtotime($section->small3->date))}} (X)


@endif
@if(is_object($section->small4))

small4->date))}}">{{$section->small4->title}} - {{date("d/m/Y", strtotime($section->small4->date))}} (X)


@endif
@endif @if(@$_GET["layout"] == 'layout_6' || (@$_GET["layout"] == '' && $section->layout == 'layout_6'))
@if(is_object($section->big))

big->date))}}">{{$section->big->title}} - {{date("d/m/Y", strtotime($section->big->date))}} (X)

@endif
@if(is_object($section->small1))

small1->date))}}">{{$section->small1->title}} - {{date("d/m/Y", strtotime($section->small1->date))}} (X)


@endif
@if(is_object($section->small2))

small2->date))}}">{{$section->small2->title}} - {{date("d/m/Y", strtotime($section->small2->date))}} (X)


@endif
@if(is_object($section->small3))

small3->date))}}">{{$section->small3->title}} - {{date("d/m/Y", strtotime($section->small3->date))}} (X)


@endif
@endif @if(@$_GET["layout"] == 'layout_7' || (@$_GET["layout"] == '' && $section->layout == 'layout_7'))
@if(is_object($section->big))

big->date))}}">{{$section->big->title}} - {{date("d/m/Y", strtotime($section->big->date))}} (X)

@endif
@if(is_object($section->small1))

small1->date))}}">{{$section->small1->title}} - {{date("d/m/Y", strtotime($section->small1->date))}} (X)


@endif
@if(is_object($section->small2))

small2->date))}}">{{$section->small2->title}} - {{date("d/m/Y", strtotime($section->small2->date))}} (X)


@endif
@if(is_object($section->small3))

small3->date))}}">{{$section->small3->title}} - {{date("d/m/Y", strtotime($section->small3->date))}} (X)


@endif
@if(is_object($section->small4))

small4->date))}}">{{$section->small4->title}} - {{date("d/m/Y", strtotime($section->small4->date))}} (X)


@endif
@endif
@foreach($news as $n)

date))}}">{{$n->title}} - {{date("d/m/Y", strtotime($n->date))}}

@endforeach
Annulla
@stop @section('extra_css') @stop @section('extra_js') @stop