From 9f726f3eb63b8769b5c8110c95655febdbcd3d63 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 27 Jan 2003 14:37:42 +0000 Subject: [PATCH] New file --- htdocs/public/dons/merci_code.php | 46 +++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 htdocs/public/dons/merci_code.php diff --git a/htdocs/public/dons/merci_code.php b/htdocs/public/dons/merci_code.php new file mode 100644 index 00000000000..fbc20f454ce --- /dev/null +++ b/htdocs/public/dons/merci_code.php @@ -0,0 +1,46 @@ + + * + * 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$ + * + */ + +if ($conf->don->onlinepayment) +{ + + require("../../cyberpaiement.class.php"); + + $cyberp = new Cyberpaiement($conf); + + print "
bplc->url."\" method=\"post\">\n"; + + $cyberp->set_client($HTTP_POST_VARS["nom"], + $HTTP_POST_VARS["prenom"], + $HTTP_POST_VARS["email"], + $HTTP_POST_VARS["societe"]); + + $cyberp->set_commande($ref_commande ."10", + $HTTP_POST_VARS["montant"]); + + $cyberp->print_hidden(); + + + + print ""; + print "
"; +}