* 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($GLOBALS["DOCUMENT_ROOT"]."/adherent.class.php"); require($GLOBALS["DOCUMENT_ROOT"]."/adherent_type.class.php"); require($GLOBALS["DOCUMENT_ROOT"]."/cotisation.class.php"); require($GLOBALS["DOCUMENT_ROOT"]."/paiement.class.php"); require($GLOBALS["DOCUMENT_ROOT"]."/adherents/adherent_options.class.php"); $db = new Db(); $adho = new AdherentOptions($db); llxHeader(); /* ************************************************************************** */ /* */ /* Edition de la fiche */ /* */ /*************************************************************************** */ // fetch optionals attributes and labels $adho->fetch_optionals(); if ($rowid > 0) { $adh = new Adherent($db); $adh->id = $rowid; $adh->fetch($rowid); $adh->fetch_optionals($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 ''; } // foreach($adho->attribute_label as $key=>$value){ // print "\n"; // } 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\">".' 
$value".$adh->array_options["options_$key"]." 
'; } $db->close(); llxFooter("Dernière modification $Date$ révision $Revision$"); ?>