Subversion Repositories eFlore/Applications.del

Rev

Rev 1036 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1020 aurelien 1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<html>
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<style type="text/css">
6
<!--
7
body {
8
	font-family: Arial,Helvetica,Verdana,sans-serif;
9
	font-size: 14px;
10
}
11
 
12
h1 > a {
13
  color:#fd8c13;
14
}
15
 
16
h3 {
17
	font-size:14px;
18
	color:#454341 !important;
19
	margin:0px;
20
}
21
 
22
h3 > a {
23
  color:#454341;
24
}
25
 
26
h1 a, h3 a, h4 a {
27
	color: inherit;
28
	border-bottom: dotted 1px;
29
}
30
h3 a {
31
	border-color:#CCCCCC;
32
}
33
a {
34
	color:#598000;
35
	text-decoration:none;
36
	border-bottom:1px dotted #95ae5d;
37
}
38
a:hover {
39
	color:#FD8C13;
40
	border-bottom:1px dotted #95ae5d;
41
}
42
.lire-suite {
43
	padding-left:10px;
44
	background:url(http://www.tela-botanica.org/sites/commun/generique/images/graphisme/petit_carre.png) no-repeat 0px 4px;
45
}
46
 
47
#titre {
48
    background: none repeat scroll 0 0 #9AC343;
49
    opacity: 0.9;
50
    position: relative;
51
    text-align: center;
52
    width: 100%;
53
}
54
 
55
#titre h1 {
56
    background: url("http://www.tela-botanica.org/eflore-test/del/img/identiplante_mini.png") no-repeat scroll 150px 7px transparent;
57
    color: #777777;
58
    font-size: 2em;
59
    font-weight: bold;
60
    margin: 0 0 0;
61
    padding: 18px 60px;
62
    text-align: center;
63
    width: 100%;
64
}
65
 
66
.description_message {
67
    color: #333333;
68
    font-size: 1.1em;
69
    font-style: italic;
70
    padding-top: 10px;
71
}
72
-->
73
</style>
74
</head>
75
<body>
76
<div id="titre">
77
	<h1>IdentiPlante - Récapitulatif de vos observations </h1>
78
</div>
79
<div class="description_message">
80
	Ce message récapitule l'ensemble des déterminations et commentaires réalisés aujourd'hui sur vos observations via
81
	l'outil <a href="http://www.tela-botanica.org/appli:del" >Identiplante</a>
82
	<br /><br />
83
</div>
84
 
85
<?php foreach($liste_observations as $observation) : ?>
86
	<?php $nom_ret = (trim($observation['nom_ret']) != '') ? $observation['nom_ret'] : 'Espèce indéterminée'; ?>
87
	<h3>Observation <?= $observation['id_observation'] ?> - <em><?= $nom_ret; ?></em>
88
		observée le <?= $observation['date']; ?> à <?= $observation['zone_geo']; ?></h3>
89
	<?php foreach($observation['commentaires'] as $commentaire) : ?>
90
		<?php if($commentaire['nom_sel'] == '') { ?>
91
			<div class="commentaire">
92
				- <?= $commentaire['auteur'] ?> a écrit <em>"<?= $commentaire['texte'] ?>"</em>
93
			</div>
94
		<?php } else { ?>
95
			<div class="proposition">
96
				- <?= $commentaire['auteur'] ?> a proposé <em><?= $commentaire['nom_sel'] ?></em><br />
97
				<?php if($commentaire['texte'] != '') { ?>
98
					et a écrit : <em>"<?= $commentaire['texte'] ?>"</em>
99
				<?php } ?>
100
			</div>
101
		<?php } ?>
102
	<?php endforeach ; ?>
103
	<br />
104
<?php endforeach ; ?>
105
</body>
106
</html>