Initial commit
This commit is contained in:
53
www/client/plugins/contact/view.php
Normal file
53
www/client/plugins/contact/view.php
Normal file
@@ -0,0 +1,53 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user