.
This commit is contained in:
parent
b9576c8c01
commit
6040b39f2f
4
htdocs/public/dons/.cvsignore
Normal file
4
htdocs/public/dons/.cvsignore
Normal file
@ -0,0 +1,4 @@
|
||||
don.php
|
||||
merci.php
|
||||
valid.php
|
||||
erreur.php
|
||||
34
htdocs/public/dons/code_valid.php
Normal file
34
htdocs/public/dons/code_valid.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
*
|
||||
* 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$
|
||||
*
|
||||
*/
|
||||
|
||||
print '<input type="hidden" name="projetid" value="'.$HTTP_POST_VARS["projetid"].'">';
|
||||
print '<input type="hidden" name="nom" value="'.$HTTP_POST_VARS["nom"].'">';
|
||||
print '<input type="hidden" name="adresse" value="'.$HTTP_POST_VARS["adresse"].'">';
|
||||
print '<input type="hidden" name="cp" value="'.$HTTP_POST_VARS["cp"].'">';
|
||||
print '<input type="hidden" name="ville" value="'.$HTTP_POST_VARS["ville"].'">';
|
||||
print '<input type="hidden" name="date" value="'.$HTTP_POST_VARS["date"].'">';
|
||||
print '<input type="hidden" name="public" value="'.$HTTP_POST_VARS["public"].'">';
|
||||
print '<input type="hidden" name="email" value="'.$HTTP_POST_VARS["email"].'">';
|
||||
print '<input type="hidden" name="montant" value="'.$HTTP_POST_VARS["montant"].'">';
|
||||
|
||||
|
||||
?>
|
||||
@ -1,186 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<link rel="stylesheet" type="text/css" href="./eucd.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<!--
|
||||
|
||||
DO NOT MODIFY THIS DOCUMENT. IT WAS GENERATED BY XSLT PROCESSING
|
||||
AND YOUR MODIFICATIONS WILL BE LOST. THE SOURCE OF THE DOCUMENT
|
||||
IS IN THE .xhtml FILE USE make all TO REGENERATE
|
||||
|
||||
-->
|
||||
<table border="1" cellpadding="5" cellspacing="10" class="main">
|
||||
<tr>
|
||||
<td colspan="2"><span>
|
||||
<a href="http://eucd.info/">EUCD.INFO</a> - Au <a href="donations.fr.php">secours</a> de la copie privée</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<a href="index.fr.php">Accueil</a>
|
||||
<br>
|
||||
<a href="revue.fr.php">Presse</a>
|
||||
<br>
|
||||
<a href="donations.fr.php">Aider</a>
|
||||
<br>
|
||||
<a href="transparence.fr.php">Transparence</a>
|
||||
<br>
|
||||
<br>
|
||||
<a href="eucd.fr.php">Analyse</a>
|
||||
<br>
|
||||
<a href="http://wiki.ael.be/index.php/EUCD-Status">Situation</a>
|
||||
<br>
|
||||
<a href="http://mail.gnu.org/mailman/listinfo/fsfe-france">Discuter</a>
|
||||
<br>
|
||||
<a href="who.fr.php">Qui</a>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<a href="donations.fr.php">Dons</a>
|
||||
<br>
|
||||
<script language="php">
|
||||
if (file_exists ("thermometer.php"))
|
||||
{
|
||||
include("thermometer.php");
|
||||
print moneyMeter($totaal_ontvangen+$post_donaties+$post_sponsoring, $totaal_pending, $post_intent);
|
||||
}
|
||||
</script>
|
||||
</td>
|
||||
<td valign="top" class="main">
|
||||
|
||||
<p>
|
||||
<h1>Ce formulaire n'est pas encore actif, merci de ne pas l'utiliser</h1>
|
||||
</p>
|
||||
|
||||
<form action="index.php" method="post">
|
||||
<table cellpadding="4" cellspacing="0" id="formulaire">
|
||||
<input type="hidden" name="action" value="add">
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Date
|
||||
</td>
|
||||
<td class="valeur" id="date">
|
||||
<script language="php">
|
||||
$a = setlocale("LC_TIME", "FRENCH");
|
||||
print strftime("%d %B %Y", time());
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<input type="hidden" name="projetid" value="1">
|
||||
|
||||
<tr>
|
||||
<td valign="top" class="titre">Don public</td>
|
||||
<td class="valeur" id="public">
|
||||
<select name="public">
|
||||
<option value="1">oui</option>
|
||||
<option value="0">non</option>
|
||||
</select>
|
||||
<div class="commentaire">
|
||||
Acceptez-vous que votre don soit public et que vos noms
|
||||
et prénoms soient affichés dans la liste des donateurs ?
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Nom Prénom
|
||||
</td>
|
||||
<td class="valeur" id="nom">
|
||||
<input type="text" name="nom" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Adresse
|
||||
</td>
|
||||
<td class="valeur" id="adresse">
|
||||
<input type="text" name="adresse" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Code Postal
|
||||
</td>
|
||||
<td class="valeur" id="cp">
|
||||
<input type="text" name="cp" size="8">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Ville
|
||||
</td>
|
||||
<td class="valeur" id="ville">
|
||||
<input type="text" name="ville" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Email
|
||||
</td>
|
||||
<td class="valeur" id="email">
|
||||
<input type="text" name="email" size="40">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Montant
|
||||
</td>
|
||||
<td class="valeur">
|
||||
<input type="text" name="montant" size="10"> euros
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" class="titre">
|
||||
Commentaire
|
||||
</td>
|
||||
<td valign="top" class="valeur" id="commentaire">
|
||||
<textarea name="comment" wrap="soft" cols="40" rows="8"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2" align="center" class="titre">
|
||||
<input type="submit" value="Enregistrer">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
La FSF France s'engage à n'utliser vos informations personnelles
|
||||
qu'exclusivement pour le traitement de votre don.
|
||||
</p>
|
||||
<p>Nous vous adresserons ensuite un <a href="http://france.fsfeurope.org/donations/formulaire.fr.html">formulaire</a>
|
||||
vous permettant de bénéficier d'une déduction d'impôts. Selon
|
||||
l'<a href="http://www.legifrance.gouv.fr/citoyen/unarticledecode.ow?code=CGIMPOT0.rcv&art=200">article
|
||||
200 du CGI</a>, <i>Ouvrent droit à une réduction d'impôt sur
|
||||
le revenu égale à 50 % de leur montant les sommes prises dans
|
||||
la limite de 6 % du revenu imposable qui correspondent à des
|
||||
dons et versements, y compris l'abandon exprès de revenus ou
|
||||
produits, effectués par les contribuables domiciliés en
|
||||
France.</i> Voir aussi, concernant les entreprises, l'<a href="http://www.legifrance.gouv.fr/WAspad/VisuArticleCode?commun=CGIMPO&code=&h0=CGIMPO00.rcv&h1=1&h3=39">article
|
||||
238 bis du CGI</a>.</p>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<address>
|
||||
<a href="mailto:contact@eucd.info">Contact:</a> EUCD.INFO c/o FSF France 8, rue de valois, 75001 Paris - Tel: 01 42 76 05 49 - Mail: <a href="mailto:contact@eucd.info">contact@eucd.info</a> - Web: <a href="http://eucd.info/">http://eucd.info/</a>
|
||||
</address>
|
||||
</body>
|
||||
</html>
|
||||
<!--
|
||||
Local Variables: ***
|
||||
mode: xml ***
|
||||
End: ***
|
||||
-->
|
||||
@ -41,15 +41,15 @@
|
||||
</tr>
|
||||
|
||||
<tr id="adresse">
|
||||
<input type="text" name="adresse" size="40" />
|
||||
<input type="text" name="adresse" size="40" />
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="titre">CP Ville</td>
|
||||
<td class="valeur">
|
||||
<input type="text" name="cp" size="8" />
|
||||
<input type="text" name="ville" size="40" />
|
||||
</td>
|
||||
<tr id="cp">
|
||||
<input type="text" name="cp" size="8" />
|
||||
</tr>
|
||||
|
||||
<tr id="ville">
|
||||
<input type="text" name="ville" size="40" />
|
||||
</tr>
|
||||
|
||||
<tr id="email">
|
||||
@ -70,8 +70,8 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<input type="submit" value="Valider" />
|
||||
<td colspan="2" align="center" class="titre">
|
||||
<input type="submit" value="Enregistrer" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -1,200 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<link rel="stylesheet" type="text/css" href="./eucd.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<!--
|
||||
|
||||
DO NOT MODIFY THIS DOCUMENT. IT WAS GENERATED BY XSLT PROCESSING
|
||||
AND YOUR MODIFICATIONS WILL BE LOST. THE SOURCE OF THE DOCUMENT
|
||||
IS IN THE .xhtml FILE USE make all TO REGENERATE
|
||||
|
||||
-->
|
||||
<table border="1" cellpadding="5" cellspacing="10" class="main">
|
||||
<tr>
|
||||
<td colspan="2"><span>
|
||||
<a href="http://eucd.info/">EUCD.INFO</a> - Au <a href="donations.fr.php">secours</a> de la copie privée</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<a href="index.fr.php">Accueil</a>
|
||||
<br>
|
||||
<a href="revue.fr.php">Presse</a>
|
||||
<br>
|
||||
<a href="donations.fr.php">Aider</a>
|
||||
<br>
|
||||
<a href="transparence.fr.php">Transparence</a>
|
||||
<br>
|
||||
<br>
|
||||
<a href="eucd.fr.php">Analyse</a>
|
||||
<br>
|
||||
<a href="http://wiki.ael.be/index.php/EUCD-Status">Situation</a>
|
||||
<br>
|
||||
<a href="http://mail.gnu.org/mailman/listinfo/fsfe-france">Discuter</a>
|
||||
<br>
|
||||
<a href="who.fr.php">Qui</a>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<a href="donations.fr.php">Dons</a>
|
||||
<br>
|
||||
<script language="php">
|
||||
if (file_exists ("thermometer.php"))
|
||||
{
|
||||
include("thermometer.php");
|
||||
print moneyMeter($totaal_ontvangen+$post_donaties+$post_sponsoring, $totaal_pending, $post_intent);
|
||||
}
|
||||
</script>
|
||||
</td>
|
||||
<td valign="top" class="main">
|
||||
<p>
|
||||
<h1>Erreur</h1>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Nous avons détecté les erreurs suivantes :
|
||||
|
||||
<ol>
|
||||
<script language="php">
|
||||
$don->print_error_list();
|
||||
</script>
|
||||
</ol>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>Pour corriger ces erreurs utilisez la touche 'Back' de votre navigateur.</b>
|
||||
</p>
|
||||
|
||||
|
||||
<form action="index.php" method="post">
|
||||
|
||||
<table cellpadding="4" cellspacing="0" id="formulaire">
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Date
|
||||
</td>
|
||||
<td class="valeur" id="date">
|
||||
<script language="php">
|
||||
$a = setlocale("LC_TIME", "FRENCH");
|
||||
print strftime("%d %B %Y", time());
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<input type="hidden" name="projetid" value="1">
|
||||
|
||||
<tr>
|
||||
<td valign="top" class="titre">Don public</td>
|
||||
<td class="valeur" id="public">
|
||||
|
||||
<div class="commentaire">
|
||||
Acceptez-vous que votre don soit public et que vos noms
|
||||
et prénoms soient affichés dans la liste des donateurs ?
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Nom Prénom
|
||||
</td>
|
||||
<td class="valeur" id="nom">
|
||||
<script language="php">
|
||||
print $don->nom;
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Adresse
|
||||
</td>
|
||||
<td class="valeur" id="adresse">
|
||||
<script language="php">
|
||||
print "$don->adresse";
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Code Postal
|
||||
</td>
|
||||
<td class="valeur" id="cp">
|
||||
<script language="php">
|
||||
print $don->cp;
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Ville
|
||||
</td>
|
||||
<td class="valeur" id="ville">
|
||||
<script language="php">
|
||||
print $don->ville;
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Email
|
||||
</td>
|
||||
<td class="valeur" id="email">
|
||||
<script language="php">
|
||||
print $don->email;
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="titre">
|
||||
Montant
|
||||
</td>
|
||||
<td class="valeur" id="montant">
|
||||
<script language="php">
|
||||
print number_format($don->amount, 2, '.', ' ');
|
||||
</script>
|
||||
euros
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<p>
|
||||
La FSF France s'engage à n'utliser vos informations personnelles
|
||||
qu'exclusivement pour le traitement de votre don.
|
||||
</p>
|
||||
<p>Nous vous adresserons ensuite un <a href="http://france.fsfeurope.org/donations/formulaire.fr.html">formulaire</a>
|
||||
vous permettant de bénéficier d'une déduction d'impôts. Selon
|
||||
l'<a href="http://www.legifrance.gouv.fr/citoyen/unarticledecode.ow?code=CGIMPOT0.rcv&art=200">article
|
||||
200 du CGI</a>, <i>Ouvrent droit à une réduction d'impôt sur
|
||||
le revenu égale à 50 % de leur montant les sommes prises dans
|
||||
la limite de 6 % du revenu imposable qui correspondent à des
|
||||
dons et versements, y compris l'abandon exprès de revenus ou
|
||||
produits, effectués par les contribuables domiciliés en
|
||||
France.</i> Voir aussi, concernant les entreprises, l'<a href="http://www.legifrance.gouv.fr/WAspad/VisuArticleCode?commun=CGIMPO&code=&h0=CGIMPO00.rcv&h1=1&h3=39">article
|
||||
238 bis du CGI</a>.</p>
|
||||
|
||||
</form>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<address>
|
||||
<a href="mailto:contact@eucd.info">Contact:</a> EUCD.INFO c/o FSF France 8, rue de valois, 75001 Paris - Tel: 01 42 76 05 49 - Mail: <a href="mailto:contact@eucd.info">contact@eucd.info</a> - Web: <a href="http://eucd.info/">http://eucd.info/</a>
|
||||
</address>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<!--
|
||||
Local Variables: ***
|
||||
mode: xml ***
|
||||
End: ***
|
||||
-->
|
||||
@ -59,9 +59,15 @@
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="cp">
|
||||
<script language="php">
|
||||
print $don->cp;
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="ville">
|
||||
<script language="php">
|
||||
print "$don->cp $don->ville";
|
||||
print $don->ville;
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -44,9 +44,7 @@ if ($HTTP_POST_VARS["action"] == 'add')
|
||||
|
||||
if ($don->check())
|
||||
{
|
||||
$return = $don->create(0);
|
||||
|
||||
require("merci.php");
|
||||
require("valid.php");
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -54,6 +52,37 @@ if ($HTTP_POST_VARS["action"] == 'add')
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
elseif ($HTTP_POST_VARS["action"] == 'valid')
|
||||
{
|
||||
$conf = new Conf();
|
||||
$db = new Db();
|
||||
$don = new Don($db);
|
||||
|
||||
$don->projetid = $HTTP_POST_VARS["projetid"];
|
||||
$don->date = time();
|
||||
$don->nom = $HTTP_POST_VARS["nom"];
|
||||
$don->adresse = $HTTP_POST_VARS["adresse"];
|
||||
$don->cp = $HTTP_POST_VARS["cp"];
|
||||
$don->ville = $HTTP_POST_VARS["ville"];
|
||||
$don->public = $HTTP_POST_VARS["public"];
|
||||
$don->email = $HTTP_POST_VARS["email"];
|
||||
$don->amount = $HTTP_POST_VARS["montant"];
|
||||
|
||||
|
||||
if ($don->check())
|
||||
{
|
||||
$return = $don->create(0);
|
||||
|
||||
if ($return)
|
||||
{
|
||||
require("merci.php");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
require("erreur.php");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
21
htdocs/public/dons/main-eucd.xsl
Normal file
21
htdocs/public/dons/main-eucd.xsl
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp " ">]>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
|
||||
<xsl:include href="fsfe-fr.xsl" />
|
||||
<xsl:include href="navigation.fr.xsl" />
|
||||
|
||||
<!-- <xsl:include href="eucd.xsl" /> -->
|
||||
<xsl:include href="eucd-nav.fr.xsl" />
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
Local Variables: ***
|
||||
mode: xml ***
|
||||
End: ***
|
||||
-->
|
||||
</xsl:stylesheet>
|
||||
@ -1,81 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<link rel="stylesheet" type="text/css" href="./eucd.css">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<!--
|
||||
|
||||
DO NOT MODIFY THIS DOCUMENT. IT WAS GENERATED BY XSLT PROCESSING
|
||||
AND YOUR MODIFICATIONS WILL BE LOST. THE SOURCE OF THE DOCUMENT
|
||||
IS IN THE .xhtml FILE USE make all TO REGENERATE
|
||||
|
||||
-->
|
||||
<table border="1" cellpadding="5" cellspacing="10" class="main">
|
||||
<tr>
|
||||
<td colspan="2"><span>
|
||||
<a href="http://eucd.info/">EUCD.INFO</a> - Au <a href="donations.fr.php">secours</a> de la copie privée</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<a href="index.fr.php">Accueil</a>
|
||||
<br>
|
||||
<a href="revue.fr.php">Presse</a>
|
||||
<br>
|
||||
<a href="donations.fr.php">Aider</a>
|
||||
<br>
|
||||
<a href="transparence.fr.php">Transparence</a>
|
||||
<br>
|
||||
<br>
|
||||
<a href="eucd.fr.php">Analyse</a>
|
||||
<br>
|
||||
<a href="http://wiki.ael.be/index.php/EUCD-Status">Situation</a>
|
||||
<br>
|
||||
<a href="http://mail.gnu.org/mailman/listinfo/fsfe-france">Discuter</a>
|
||||
<br>
|
||||
<a href="who.fr.php">Qui</a>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<a href="donations.fr.php">Dons</a>
|
||||
<br>
|
||||
<script language="php">
|
||||
if (file_exists ("thermometer.php"))
|
||||
{
|
||||
include("thermometer.php");
|
||||
print moneyMeter($totaal_ontvangen+$post_donaties+$post_sponsoring, $totaal_pending, $post_intent);
|
||||
}
|
||||
</script>
|
||||
</td>
|
||||
<td valign="top" class="main">
|
||||
<p>
|
||||
<h1>Votre promesse de don a été prise en compte</h1>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Merci pour votre soutient
|
||||
</p>
|
||||
<!-- Paiement en ligne -->
|
||||
<!--
|
||||
<form action="pay.php" method="post">
|
||||
<script language="php">
|
||||
require("code_valid.php");
|
||||
</script>
|
||||
<input type="submit" value="Valider" />
|
||||
</form>
|
||||
-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<address>
|
||||
<a href="mailto:contact@eucd.info">Contact:</a> EUCD.INFO c/o FSF France 8, rue de valois, 75001 Paris - Tel: 01 42 76 05 49 - Mail: <a href="mailto:contact@eucd.info">contact@eucd.info</a> - Web: <a href="http://eucd.info/">http://eucd.info/</a>
|
||||
</address>
|
||||
</body>
|
||||
</html>
|
||||
<!--
|
||||
Local Variables: ***
|
||||
mode: xml ***
|
||||
End: ***
|
||||
-->
|
||||
@ -10,66 +10,21 @@
|
||||
<body>
|
||||
<div class="main">
|
||||
<p>
|
||||
<h1>Merci, votre promesse de don a été prise en compte</h1>
|
||||
<h1>Votre promesse de don a été prise en compte</h1>
|
||||
</p>
|
||||
|
||||
<form action="index.php" method="post">
|
||||
|
||||
<table id="formulaire">
|
||||
|
||||
<tr id="date">
|
||||
<script language="php">
|
||||
$a = setlocale("LC_TIME", "FRENCH");
|
||||
print strftime("%d %B %Y", time());
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="projet">
|
||||
|
||||
</tr>
|
||||
|
||||
<tr id="public">
|
||||
|
||||
</tr>
|
||||
|
||||
<tr id="nom">
|
||||
<script language="php">
|
||||
print $don->nom;
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="adresse">
|
||||
<script language="php">
|
||||
print $don->adresse;
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="ville">
|
||||
<script language="php">
|
||||
print "$don->cp $don->ville";
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="email">
|
||||
<script language="php">
|
||||
print $don->email;
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="montant">
|
||||
<script language="php">
|
||||
print $don->amount;
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="commentaire">
|
||||
<script language="php">
|
||||
nl2br(print $don->note);
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<p>
|
||||
Merci pour votre soutient
|
||||
</p>
|
||||
<!-- Paiement en ligne -->
|
||||
<!--
|
||||
<form action="pay.php" method="post">
|
||||
<script language="php">
|
||||
require("code_valid.php");
|
||||
</script>
|
||||
<input type="submit" value="Valider" />
|
||||
</form>
|
||||
-->
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
97
htdocs/public/dons/valid.xhtml
Normal file
97
htdocs/public/dons/valid.xhtml
Normal file
@ -0,0 +1,97 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1" ?>
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
|
||||
>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<p>
|
||||
<h1>Merci, de vérifier les information avant de valider votre promesse de don.</h1>
|
||||
</p>
|
||||
|
||||
<form action="index.php" method="post">
|
||||
<input type="hidden" name="action" value="valid" />
|
||||
<script language="php">
|
||||
require("code_valid.php");
|
||||
</script>
|
||||
|
||||
<table id="formulaire">
|
||||
|
||||
<tr id="date">
|
||||
<script language="php">
|
||||
$a = setlocale("LC_TIME", "FRENCH");
|
||||
print strftime("%d %B %Y", time());
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="projet">
|
||||
|
||||
</tr>
|
||||
|
||||
<tr id="public">
|
||||
|
||||
</tr>
|
||||
|
||||
<tr id="nom">
|
||||
<script language="php">
|
||||
print $don->nom;
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="adresse">
|
||||
<script language="php">
|
||||
print $don->adresse;
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="cp">
|
||||
<script language="php">
|
||||
print $don->cp;
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="ville">
|
||||
<script language="php">
|
||||
print $don->ville;
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="email">
|
||||
<script language="php">
|
||||
print $don->email;
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="montant">
|
||||
<script language="php">
|
||||
print number_format($don->amount, 2, '.', ' ');
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr id="commentaire">
|
||||
<script language="php">
|
||||
nl2br(print $don->note);
|
||||
</script>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2" align="center" class="titre">
|
||||
<input type="submit" value="Valider" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<!--
|
||||
Local Variables: ***
|
||||
mode: xml ***
|
||||
End: ***
|
||||
-->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user