Subversion Repository Public Repository

Nextrek

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@extends('layout.main')

@section('content')
<div class="img-titolo">
	<div><hr><h2>Eventi</h2><hr></div>
	<img src="{{ URL::asset('image/eventi-bg.jpg') }}" alt="">
</div>

<div class="wrap eventi">
<article class="print">

<!-- INIZIO GRUPPO ANNO -->

	@for($i = $max; $i >= $min; $i--)
	<!-- ANNO -->
	<div class="anno decorated animate"><div class="bg"></div><span>{{ $i }}</span></div>
		@foreach($eventi->get() as $evento)
		@if(Carbon::createFromFormat('Y-m-d', $evento->data)->year==$i)
		<?php $doc = Documenti::where('iddocumenti','=',$evento->idEventi)->get() ?>
		<!-- EVENTO -->
		<div class="box">
			<div class="data">{{ Carbon::createFromFormat('Y-m-d', $evento->data)->formatLocalized('%d %B %Y') }}</div>
			<div class="evento">
				<h5>{{ $evento->titolo }}</h5>
				<p>{{ $evento->descrizione }}</p>

				<a href="http://aiba.utgnet.com/WDVBzqTvDXF3WyfGHbWUD94WUQDSKrEzCfneLXxwWDVBzq//{{ $doc->first()->nome_file }}".{{ $doc->first()->tipo }}><i class="fa fa-lg fa-file"></i> {{ $doc->first()->titolo }}</a>

			</div>
		</div>
		@endif
		@endforeach
	<!-- DIVISORE -->
	<hr>
	@endfor

<!-- FINE GRUPPO ANNO -->
	
	<a class="decorated animate print" href="javascript:void(0)"><span><i class="fa fa-2x fa-print"></i></span></a>
	</article>
</div>


@include ('layout.info')
@stop

Commits for Nextrek/Aiba_backup/app/views/eventi.blade.dyn.php

Diff revisions: vs.
Revision Author Commited Message
1464 MOliva picture MOliva Tue 13 Oct, 2020 11:16:56 +0000