From 4e47cd3e81762050694b467153f0c727af10dfd1 Mon Sep 17 00:00:00 2001 From: jlb Date: Mon, 3 Feb 2003 17:11:38 +0000 Subject: [PATCH] visualise la fiche d'un adherent (fiche simple) --- htdocs/public/adherents/priv_fiche.php | 81 ++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 htdocs/public/adherents/priv_fiche.php diff --git a/htdocs/public/adherents/priv_fiche.php b/htdocs/public/adherents/priv_fiche.php new file mode 100644 index 00000000000..559e9acc905 --- /dev/null +++ b/htdocs/public/adherents/priv_fiche.php @@ -0,0 +1,81 @@ + + * Copyright (C) 2002-2003 Jean-Louis Bergamo + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + * $Source$ + * + */ +require("./pre.inc.php"); +require("../../adherent.class.php"); +require("../../adherent_type.class.php"); +require("../../cotisation.class.php"); +require("../../paiement.class.php"); + + +$db = new Db(); + + +llxHeader(); + +/* ************************************************************************** */ +/* */ +/* Edition de la fiche */ +/* */ +/* ************************************************************************** */ +if ($rowid > 0) +{ + + $adh = new Adherent($db); + $adh->id = $rowid; + $adh->fetch($rowid); + + print_titre("Fiche adhérent de $adh->prenom $adh->nom"); + + print ''; + + print "\n"; + print ''; + + print ''; + + print ''; + + print ''; + + print ''; + + + print ''; + print ''; + print ''; + print ''; + print ''; + print ''; + if (isset($adh->photo) && $adh->photo !=''){ + print ''; + } + print '
Type$adh->typeCommentaires
Personne'.$adh->morphy.' '; + print nl2br($adh->commentaire).' 
Prénom'.$adh->prenom.' 
Nom'.$adh->nom.' 
Société'.$adh->societe.' 
Adresse'.nl2br($adh->adresse).' 
CP Ville'.$adh->cp.' '.$adh->ville.' 
Pays'.$adh->pays.' 
Email'.$adh->email.' 
Date de Naissance'.$adh->naiss.' 
URL Photo'."photo\">photo\">".' 
'; + + +} + +$db->close(); + +llxFooter("Dernière modification $Date$ révision $Revision$"); +?>