Subversion Repositories eFlore/Applications.del

Rev

Rev 2044 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
                <style type="text/css">
                        <!--
                        body {
                                font-family: Arial, Helvetica, sans-serif;
                                font-size: 14px;
                        }
                        .logo {
                                float: left;
                        }
                        h1 {
                                margin-left: 120px;
                                margin-top: 10px;
                                padding-top: 14px;
                        }
                        .identiplante {
                                color: #919F54;
                        }
                        .salutations {
                                /*border: solid blue 1px;*/
                                margin-top: 40px;
                                font-size: 16px;
                        }
                        .destinataire {
                                /*font-weight: bold;
                                color: #E16E38;*/
                        }
                        .description_bloc {
                                /*border: solid red 1px;*/
                                margin-top: 25px;
                                margin-bottom: 10px;
                                font-weight:bold;
                                font-size: 18px;
                                color: #919F54;
                        }
                        .bloc_observation {
                                margin-bottom: 10px;
                                /*border: solid blue 1px;*/
                        }
                        .observation {
                                /*border: dashed green 1px;*/
                                padding-left: 10px;
                                font-weight: bold;
                        }
                        .observation a {
                                /*color: #1AB113;*/
                                color: #E16E38;
                                text-decoration: none;
                        }
                        .puce_obs {
                                font-weight: normal;
                        }
                        .en_reponse_a {
                                /*border: dashed green 1px;*/
                                padding-left: 22px;
                                margin-top: 1px;
                        }
                        ul.liste_commentaires {
                                list-style-type: circle;
                                /*border: solid grey 1px;*/
                                padding-left: 52px;
                                margin: 0;
                                margin-top: 3px;
                        }
                        ul.liste_commentaires li {
                                margin-top: 1px;
                        }
                        .proposition {
                                font-weight: bold;
                                /*color: #E16E38;*/
                        }
                        .poursuivre {
                                font-size: 16px;
                                /*border: solid green 1px;*/
                                margin-bottom: 5px;
                                margin-top: 30px;
                                color: #333;
                        }
                        ul.options_participation {
                                /*border: solid green 1px;*/
                                margin-top: 0;
                                padding-left: 25px;
                        }
                        ul.options_participation li {
                                /*border: solid green 1px;*/
                                margin-top: 1px;
                        }
                        ul.options_participation a {
                                color: #1AB113;
                        }
                        .merci_au_revoir {
                                margin-top: 25px;
                        }
                        .signature {
                                /*color: #918A6F;*/
                        }
                        .mentions_legales {
                                font-size: 11px;
                                margin-top: 10px;
                        }
                        .mentions_legales a {
                                color: #1AB113;
                        }
                        -->
                </style>
        </head>

        <body>
                <img class="logo" src="http://resources.tela-botanica.org/tb/img/64x64/logo_carre_officiel.png" />
                <h1><span class="identiplante">IdentiPlante</span> : un telabotaniste vous a aid&eacute; </h1>
                <div class="salutations">
                        Bonjour <?= $auteur_formate ?>,
                </div>

                <?php if(count($liste_observations) > 0): ?>
                        <div class="description_bloc">
                                Un Telabotaniste vient de proposer une nouvelle d&eacute;termination ou de faire un commentaire concernant vos donn&eacute;es :
                        </div>
                <?php endif; ?>

                <?php foreach ($liste_observations as $observation) : ?>
                        <div class="bloc_observation">
                                <div class="observation">
                                        <span class="puce_obs">&gt;&gt;&gt;</span>
                                        <a href="<?= $observation['lien']; ?>">
                                                Obs. n° <?= $observation['id'] ?> - <span class="proposition"><?= $observation['nom_sci']; ?></span>
                                        </a>
                                        observ&eacute; le <?= $observation['date']; ?> &agrave; <?= $observation['lieu']; ?>
                                </div>
                                <ul class="liste_commentaires">
                                <?php foreach ($observation['commentaires'] as $commentaire) : ?>
                                        <li>
                                        <?php if ($commentaire['nom_sel'] == '') : ?>
                                                        <?= $commentaire['auteur'] ?> a &eacute;crit <em>"<?= $commentaire['texte'] ?>"</em>
                                        <?php else : ?>
                                                        <?= $commentaire['auteur'] ?> a propos&eacute; <span class="proposition"><?= $commentaire['nom_sel'] ?></span>
                                                        <?php if ($commentaire['texte'] != '') : ?>
                                                                et a &eacute;crit : <em>"<?= $commentaire['texte'] ?>"</em>
                                                        <?php endif; ?>
                                        <?php endif; ?>
                                        </li>
                                <?php endforeach ; ?>
                                </ul>
                        </div>
                <?php endforeach ; ?>

                <?php if(count($liste_commentaires) > 0): ?>
                        <div class="description_bloc">
                                Un Telabotaniste vient de r&eacute;pondre &agrave; un de vos commentaires ou une de vos propositions :
                        </div>
                <?php endif; ?>

                <?php foreach ($liste_commentaires as $co) : ?>
                        <div class="bloc_observation">
                                <div class="observation">
                                        <span class="puce_obs">&gt;&gt;&gt;</span>
                                        <a href="<?= $co['lien']; ?>">
                                                Obs. n°<?= $co['id_obs'] ?> - <span class="proposition"><?= $co['nom_sci']; ?></span>
                                        </a>
                                        observ&eacute; le <?= $co['date']; ?> &agrave; <?= $co['lieu']; ?>
                                </div>
                                <div class="en_reponse_a">
                                <?php if ($co['nom_sel_co'] == '') : ?>
                                        En r&eacute;ponse &agrave; votre commentaire "<?= $co['texte_co'] ?>",
                                <?php else : ?>
                                        En r&eacute;ponse &agrave; votre proposition <span class="proposition">"<?= $co['nom_sci_co'] ?>"</span>
                                        <?php if($co['texte_co'] != ''): ?> accompagn&eacute;e du commentaire "<?= $co['texte_co'] ?>"<?php endif; ?>,
                                <?php endif; ?>
                                </div>
                                <ul class="liste_commentaires">
                                <?php foreach ($co['commentaires'] as $commentaire) : ?>
                                        <li>
                                                <?= $commentaire['auteur'] ?> a &eacute;crit <em>"<?= $commentaire['texte'] ?>"</em>
                                        </li>
                                <?php endforeach ; ?>
                                </ul>
                        </div>
                <?php endforeach ; ?>

                <div class="merci_au_revoir">
                        Bonne continuation sur nos outils botaniques !
                        <br/>
                        <span class="signature">L'&eacute;quipe de Tela Botanica</span>
                        <br/>
                        <div>---------</div>
                </div>

                <div class="mentions_legales">
                        Ce message vous est envoy&eacute; par l'interm&eacute;diaire de l'application IdentiPlante du r&eacute;seau Tela Botanica :
                        <a href="http://www.tela-botanica.org/appli:identiplante">http://www.tela-botanica.org/appli:identiplante</a>
                        <br/>
                        Si vous ne souhaitez plus recevoir ce mail d&eacute;cochez la case dans vos pr&eacute;f&eacute;rences sur l'interface d'IdentiPlante.
                </div>
        </body>
</html>