From 8d31a7006e8ed08c350bf035cbf4011312486890 Mon Sep 17 00:00:00 2001 From: jlb Date: Fri, 10 Jan 2003 15:26:02 +0000 Subject: [PATCH] retour arriere sur le \n car je viens de decouvrir (desole i'm newbie en php) que cela ne marchait pas dans les simple quotes (') --- htdocs/adherents/fiche.php | 114 ++++++++++++++++++------------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index 8ff7d5a9a2f..5865665a683 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -114,9 +114,9 @@ if ($action == 'create') { } print_titre("Nouvel adhérent"); print "
\n"; - print '\n'; + print '
'; - print '\n'; + print ''; $htmls = new Form($db); $adht = new AdherentType($db); @@ -125,7 +125,7 @@ if ($action == 'create') { $htmls->select_array("type", $adht->liste_array()); print "\n"; - print '\n'; + print ''; $morphys["phy"] = "Physique"; $morphys["mor"] = "Morale"; @@ -134,20 +134,20 @@ if ($action == 'create') { $htmls->select_array("morphy", $morphys); print "\n"; - print '\n'; + print ''; - print '\n'; + print ''; - print '\n'; - print '\n'; - print '\n'; - print '\n'; - print '\n'; + print ''; + print ''; + print ''; + print ''; + print ''; print ''; @@ -162,9 +162,9 @@ if ($action == 'create') { print "\n"; - print '\n'; + print ''; - print '\n'; + print ''; print "\n"; print "
Commentaires :
Commentaires :
Prénom
Prénom
Nom
Societe
Adresse\n'; - print '
CP Ville
Pays
Nom
Societe
Adresse'; + print '
CP Ville
Pays
Email
Cotisation euros
Cotisation euros
\n"; @@ -192,11 +192,11 @@ if ($rowid > 0) if ($action == 'delete') { - print '
\n'; - print '\n'; - print '\n'; + print ''; + print ''; + print '
'; - print '\n'; + print ''; print "\n"; print '\n"; - print '\n'; - print '
Supprimer un adhérent
Supprimer un adhérent
La suppression d'un adhérent entraine la suppression de toutes ses cotisations !!!
Etes-vous sur de vouloir supprimer cet adhérent ?'; @@ -205,8 +205,8 @@ if ($rowid > 0) $htmls->selectyesno("confirm","no"); print "
\n'; + print ''; + print ''; print "
\n"; } @@ -219,11 +219,11 @@ if ($rowid > 0) if ($action == 'valid') { - print '
\n'; - print '\n'; - print '\n'; + print ''; + print ''; + print '
'; - print '\n'; + print ''; print '\n"; - print '\n'; - print '
Valider un adhérent
Valider un adhérent
Etes-vous sur de vouloir valider cet adhérent ?'; $htmls = new Form($db); @@ -231,8 +231,8 @@ if ($rowid > 0) $htmls->selectyesno("confirm","no"); print "
\n'; + print ''; + print ''; print "
\n"; } @@ -244,11 +244,11 @@ if ($rowid > 0) if ($action == 'resign') { - print '
\n'; - print '\n'; - print '\n'; + print ''; + print ''; + print '
'; - print '\n'; + print ''; print '\n"; - print '\n'; - print '
Résilier une adhésion
Résilier une adhésion
Etes-vous sur de vouloir résilier cette adhésion ?'; $htmls = new Form($db); @@ -256,33 +256,33 @@ if ($rowid > 0) $htmls->selectyesno("confirm","no"); print "
\n'; + print ''; + print ''; print "
\n"; } print "
\n"; - print '\n'; + print '
'; print "\n"; - print '\n'; + print ''; - print '\n'; + print ''; - print '\n'; + print ''; - print '\n'; + print ''; - print '\n'; + print ''; - print '\n'; - print '\n'; - print '\n'; - print '\n'; - print '\n'; + print ''; + print ''; + print ''; + print ''; + print ''; print "
Type$adh->typeCommentaires
Commentaires
Personne'.$adh->morphy.' 
Personne'.$adh->morphy.' \n'; - print nl2br($adh->commentaire).' 
'; + print nl2br($adh->commentaire).' 
Prénom'.$adh->prenom.' 
Prénom'.$adh->prenom.' 
Nom'.$adh->nom.' 
Nom'.$adh->nom.' 
Société'.$adh->societe.' 
Adresse'.nl2br($adh->adresse).' 
CP Ville'.$adh->cp.' '.$adh->ville.' 
Pays'.$adh->pays.' 
Email'.$adh->email.' 
Société'.$adh->societe.' 
Adresse'.nl2br($adh->adresse).' 
CP Ville'.$adh->cp.' '.$adh->ville.' 
Pays'.$adh->pays.' 
Email'.$adh->email.' 
\n"; @@ -296,7 +296,7 @@ if ($rowid > 0) * Case 1 */ - print '[Editer]\n'; + print '[Editer]'; /* * Case 2 @@ -349,7 +349,7 @@ if ($rowid > 0) print "\n"; - print '\n'; + print ''; print "\n"; print "\n"; print "\n"; @@ -381,17 +381,17 @@ if ($rowid > 0) */ if ($user->admin) { - print '\n'; - print '\n'; - print '
CotisationsDateMontant
\n'; + print ''; + print ''; + print '
'; - print '\n'; + print ''; print '\n'; + print ''; - print '\n'; + print ''; if ($adh->datefin < time()) { print '\n'; + print strftime("%d %B %Y",$adh->datefin).' '; - print '\n'; + print ''; - print '\n'; + print ''; print "\n"; - print '\n'; - print '\n'; - print '
'; - print 'Fin adhésionFin adhésion'; @@ -400,11 +400,11 @@ if ($rowid > 0) { print ''; } - print strftime("%d %B %Y",$adh->datefin).'  
 
Nouvelle adhésion
Nouvelle adhésion
Date de cotisation\n"; if ($adh->datefin > 0) @@ -423,9 +423,9 @@ if ($rowid > 0) $paiement->select("modepaiement","crédit"); print " 
Cotisation euros
\n'; + print 'Cotisation euros'; + print ''; + print ''; print "
\n"; }