[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/htdocs/public/dons/ -> merci_code.php (source)

   1  <?php
   2  /* Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
   3   *
   4   * This program is free software; you can redistribute it and/or modify
   5   * it under the terms of the GNU General Public License as published by
   6   * the Free Software Foundation; either version 2 of the License, or
   7   * (at your option) any later version.
   8   *
   9   * This program is distributed in the hope that it will be useful,
  10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12   * GNU General Public License for more details.
  13   *
  14   * You should have received a copy of the GNU General Public License
  15   * along with this program; if not, write to the Free Software
  16   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17   *
  18   * $Id: merci_code.php,v 1.3 2004/10/20 20:06:50 opensides Exp $
  19   * $Source: /cvsroot/dolibarr/dolibarr/htdocs/public/dons/merci_code.php,v $
  20   *
  21   */
  22  
  23  if ($conf->don->onlinepayment)
  24  {
  25  
  26    require ("../../cyberpaiement.class.php");
  27  
  28    $cyberp = new Cyberpaiement($conf);
  29  
  30    print "<form action=\"".$conf->bplc->url."\" method=\"post\">\n";
  31  
  32    $cyberp->set_client($_POST["nom"],
  33                $_POST["prenom"],
  34                $_POST["email"],
  35                $_POST["societe"]);
  36  
  37    $cyberp->set_commande($ref_commande ."10",
  38              $_POST["montant"]);
  39  
  40    $cyberp->print_hidden();
  41  
  42  
  43  
  44    print "<input type=\"submit\" value=\"Payer en ligne avec Cyberpaiement\">";
  45    print "</form>";
  46  }


Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics