This repository has been archived on 2023-12-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2020-11-02 15:46:52 +01:00

53 lines
1.6 KiB
PHP

<?php
include_once(realpath(dirname(__FILE__)) . "/../../../fonctions/authplugins.php");
autorisation("contact");
include_once(realpath(dirname(__FILE__)) . "/Contact.class.php");
$id = $_REQUEST["id"];
$contact = new Contact();
$contact->charger($id);
if(!$contact->lu){
$contact->lu = 1;
$contact->maj();
}
?>
<div id="contenu_int">
<p align="left"><span class="lien04"><a href="accueil.php" class="lien04">Accueil</a></span> <img src="gfx/suivant.gif" width="12" height="9" border="0" /><a href="module_liste.php" class="lien04">Modules</a> <img src="gfx/suivant.gif" width="12" height="9" border="0" /><a href="module.php?nom=contact" class="lien04"> Gestion des contacts</a></p>
<div id="bloc_description">
<!-- bloc entete de la rubrique -->
<div class="entete_liste_config">
<div class="titre">MESSAGE DU CONTACT</div>
<div class="fonction_valider"><a href="module.php?nom=contact">RETOUR</a></div>
</div>
<table width="100%" cellpadding="5" cellspacing="0">
<tr class="claire">
<th width="133" class="designation" style="height:30px; padding-top:10px;">Nom</th>
<th style="padding-top:10px;"><?php echo $contact->nom; ?></th>
</tr>
<tr class="fonce">
<td class="designation">Téléphone</td>
<td><?php echo $contact->prenom; ?></td>
</tr>
<tr class="claire">
<td class="designation">E-mail<br /></td>
<td><?php echo $contact->email; ?></td>
</tr>
<tr class="fonce">
<td class="designation">Message<br /></td>
<td><?php echo nl2br($contact->message); ?></td>
</tr>
</table>
</div>
</div>