HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/refonte2023/wordpress/evenements/index3.php
<?php
require_once("_mysql.php");
setlocale (LC_TIME, 'fr_FR.utf8','fra'); 
$id_evenement = '';

if (isset($_GET['id_evenement']) || isset($_GET['id']))
{
  if (isset($_GET['id_evenement']))
  {
    $id_evenement = $_GET['id_evenement'];
  }
  else
  {
    $id_evenement = $_GET['id'];
  }
  
  $req = mysqli_query($link_bdd,"select * from evenements where id_evenement = ".$id_evenement." and date_debut_evenement <= '".date("Y-m-d")."' and date_fin_evenement >= '".date("Y-m-d")."'");
  if (mysqli_num_rows($req) != 0)
  {
    $line = mysqli_fetch_array($req);
  }
  else
  {
    die ("Aucun evenement ne correspond");
  }
}
else
{
  die ("Aucun evenement ne correspond");
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html;charset=UTF-8" http-equiv="content-type"/>
<title>Evenement <?=$line['libelle_evenement']?></title>
<script type="text/javascript">
var http = false;

if(navigator.appName == "Microsoft Internet Explorer") {
  http = new ActiveXObject("Microsoft.XMLHTTP");
} else {
  http = new XMLHttpRequest();
}

function validate(code)
{
  document.getElementById('html_code_reduction').innerHTML = "&nbsp;";
  document.getElementById('montant_code_reduction').value = "0";
  if (code.length == 7)
  {
    http.abort();
    http.open("GET", "envoie_serveur.php?id=<?=$id_evenement?>&code=" + code, true);
    http.onreadystatechange=function() {
      if(http.readyState == 4)
      {
        retour = http.responseText.split('|');
        if (retour[0] == '0')
        {
          document.getElementById('montant_code_reduction').value = retour[2];
          document.getElementById('html_code_reduction').innerHTML = '-'+retour[2]+'&euro;';
          toutcalc();
        }
        else
        {
          toutcalc();
        }
      }
    }
    http.send(null);
  }
  else
  {
    toutcalc();
  }
}

function verification()
{
  if(document.frmSubmit.email_contact.value == "")
  {
    alert("Merci d'indiquer votre adresse e-mail");
    document.frmSubmit.email_contact.focus();
    return false;
  }
  if(document.frmSubmit.email_contact.value.indexOf('@') == -1)
  {
    alert("Adresse e-mail invalide");
    document.frmSubmit.email_contact.focus();
    return false;
  }
  if(document.frmSubmit.civilite_contact.value == "")
  {
    alert("Merci d'indiquer votre Civilité");
    document.frmSubmit.civilite_contact.focus();
    return false;
  }
  if(document.frmSubmit.prenom_contact.value == "")
  {
    alert("Merci d'indiquer votre Prénom");
    document.frmSubmit.prenom_contact.focus();
    return false;
  }
  if(document.frmSubmit.nom_contact.value == "")
  {
    alert("Merci d'indiquer votre Nom");
    document.frmSubmit.nom_contact.focus();
    return false;
  }
  if(document.frmSubmit.telephone_contact.value == "")
  {
    alert("Merci d'indiquer votre Téléphone");
    document.frmSubmit.telephone_contact.focus();
    return false;
  }
  /*if(document.frmSubmit.entreprise_contact.value == "")
  {
    alert("Merci d'indiquer votre Entreprise");
    document.frmSubmit.entreprise_contact.focus();
    return false;
  }*/
  if(document.frmSubmit.fonction_contact.value == "" && !document.frmSubmit.autre_contact.checked)
  {
    alert("Merci d'indiquer votre fonction dans l'entreprise");
    document.frmSubmit.fonction_contact.focus();
    return false;
  }
  if(document.frmSubmit.adresse_entreprise_contact.value == "")
  {
    alert("Merci d'indiquer l'adresse de votre entreprise");
    document.frmSubmit.adresse_entreprise_contact.focus();
    return false;
  }
  if(document.frmSubmit.code_postal_entreprise_contact.value == "")
  {
    alert("Merci d'indiquer le code postal de votre entreprise");
    document.frmSubmit.code_postal_entreprise_contact.focus();
    return false;
  }
  if(document.frmSubmit.ville_entreprise_contact.value == "")
  {
    alert("Merci d'indiquer la ville de votre entreprise");
    document.frmSubmit.ville_entreprise_contact.focus();
    return false;
  }
  if(document.frmSubmit.inscription_contact && document.frmSubmit.inscription_contact.selectedIndex == 0 && document.frmSubmit.membre_contact[1].checked)
  {
    alert("Veuillez choisir une formule d'adhésion si vous n'êtes pas membre.");
    document.frmSubmit.inscription_contact.focus();
    return false;
  }
  return true
}
function toutcalc()
{
  var radio_journee = 0;
  
  var journee_diner = 0;
  
  var mtt_reduction = 0;
  
  if (document.frmSubmit.radio_diner[0].checked && !isNaN(document.getElementById('nombre750personneindividuel').value))
  {
    journee_diner = 750 * parseInt(document.getElementById('nombre750personneindividuel').value); document.getElementById('nombretotal750personneindividuel').value = journee_diner; document.getElementById('nombretotal1000personneindividuel').value = 0; document.getElementById('nombretotal1500personneindividuel').value = 0; document.getElementById('nombretotal12000personneindividuel').value = 0; document.getElementById('nombretotal25000personneindividuel').value = 0; /* Champs caché */ document.getElementById('hnombretotal750personneindividuel').value = journee_diner; document.getElementById('hnombretotal1000personneindividuel').value = 0; document.getElementById('hnombretotal1500personneindividuel').value = 0; document.getElementById('hnombretotal12000personneindividuel').value = 0; document.getElementById('hnombretotal25000personneindividuel').value = 0;
    if (document.getElementById('montant_code_reduction').value != 0)
    {
      mtt_reduction = document.getElementById('montant_code_reduction').value;
    }
  }
  
  if (document.frmSubmit.radio_diner[1].checked && !isNaN(document.getElementById('nombre1000personneindividuel').value))
  {
    journee_diner = 1000 * parseInt(document.getElementById('nombre1000personneindividuel').value); document.getElementById('nombretotal1000personneindividuel').value = journee_diner; document.getElementById('nombretotal750personneindividuel').value = 0; document.getElementById('nombretotal1500personneindividuel').value = 0; document.getElementById('nombretotal12000personneindividuel').value = 0; document.getElementById('nombretotal25000personneindividuel').value = 0; /* Champs caché */ document.getElementById('hnombretotal1000personneindividuel').value = journee_diner; document.getElementById('hnombretotal750personneindividuel').value = 0; document.getElementById('hnombretotal1500personneindividuel').value = 0; document.getElementById('hnombretotal12000personneindividuel').value = 0; document.getElementById('hnombretotal25000personneindividuel').value = 0;
    if (document.getElementById('montant_code_reduction').value != 0)
    {
      mtt_reduction = document.getElementById('montant_code_reduction').value;
    }
  }

  if (document.frmSubmit.radio_diner[2].checked && !isNaN(document.getElementById('nombre1500personneindividuel').value))
  {
    journee_diner = 1500 * parseInt(document.getElementById('nombre1500personneindividuel').value); document.getElementById('nombretotal1500personneindividuel').value = journee_diner; document.getElementById('nombretotal750personneindividuel').value = 0; document.getElementById('nombretotal1000personneindividuel').value = 0; document.getElementById('nombretotal12000personneindividuel').value = 0; document.getElementById('nombretotal25000personneindividuel').value = 0; /* Champs caché */ document.getElementById('hnombretotal1500personneindividuel').value = journee_diner; document.getElementById('hnombretotal750personneindividuel').value = 0; document.getElementById('hnombretotal1000personneindividuel').value = 0; document.getElementById('hnombretotal12000personneindividuel').value = 0; document.getElementById('hnombretotal25000personneindividuel').value = 0;
    if (document.getElementById('montant_code_reduction').value != 0)
    {
      mtt_reduction = document.getElementById('montant_code_reduction').value;
    }
  }

  if (document.frmSubmit.radio_diner[3].checked && !isNaN(document.getElementById('nombre12000personneindividuel').value))
  {
    journee_diner = 12000 * parseInt(document.getElementById('nombre12000personneindividuel').value); document.getElementById('nombretotal12000personneindividuel').value = journee_diner; document.getElementById('nombretotal750personneindividuel').value = 0; document.getElementById('nombretotal1000personneindividuel').value = 0; document.getElementById('nombretotal1500personneindividuel').value = 0; document.getElementById('nombretotal25000personneindividuel').value = 0; /* Champs caché */ document.getElementById('hnombretotal750personneindividuel').value = 0; document.getElementById('hnombretotal1000personneindividuel').value = 0; document.getElementById('hnombretotal25000personneindividuel').value = 0;document.getElementById('hnombretotal12000personneindividuel').value = journee_diner;
    if (document.getElementById('montant_code_reduction').value != 0)
    {
      mtt_reduction = 0;
      document.getElementById('html_code_reduction').innerHTML = "&nbsp;";
      document.getElementById('montant_code_reduction').value = "0";
      document.getElementById('saisie_code_reduction').value = "";
    }
  }
  
  if (document.frmSubmit.radio_diner[4].checked && !isNaN(document.getElementById('nombre25000personneindividuel').value))
  {
    journee_diner = 25000 * parseInt(document.getElementById('nombre25000personneindividuel').value); document.getElementById('nombretotal25000personneindividuel').value = journee_diner; document.getElementById('nombretotal750personneindividuel').value = 0; document.getElementById('nombretotal1000personneindividuel').value = 0; document.getElementById('nombretotal1500personneindividuel').value = 0; document.getElementById('nombretotal12000personneindividuel').value = 0; /* Champs caché */ document.getElementById('hnombretotal25000personneindividuel').value = journee_diner; document.getElementById('hnombretotal750personneindividuel').value = 0; document.getElementById('hnombretotal1000personneindividuel').value = 0; document.getElementById('hnombretotal12000personneindividuel').value = 0;
    if (document.getElementById('montant_code_reduction').value != 0)
    {
      mtt_reduction = 0;
      document.getElementById('html_code_reduction').innerHTML = "&nbsp;";
      document.getElementById('montant_code_reduction').value = "0";
      document.getElementById('saisie_code_reduction').value = "";
    }
  }

  var don_sup = 0;
  if (document.getElementById('don_sup').value != '' && !isNaN(document.getElementById('don_sup').value))
  {
    don_sup = document.getElementById('don_sup').value;
    document.getElementById('checkbox_don').checked = true;
  }
  else
  {
    document.getElementById('don_sup').value = "";
    document.getElementById('checkbox_don').checked = false;
  }

  document.getElementById('total').innerHTML = parseInt(journee_diner) + parseInt(don_sup) - parseInt(mtt_reduction);
  document.getElementById('montant_total').value = document.getElementById('total').innerHTML;
  if ((parseInt(journee_diner) + parseInt(don_sup) - parseInt(mtt_reduction)) > 0)
  {
    document.getElementById('prix').style.display='block';
  }
  else
  {
    document.getElementById('prix').style.display='none';
  }
  
  if ((parseInt(journee_diner) + parseInt(don_sup) - parseInt(mtt_reduction)) > 8000)
  {
    document.frmSubmit.type_paiement[1].checked = true;
    document.getElementById('messageCheque').style.display='block';
  }
}
</script>

<style type="text/css">

/* General styles */
body { margin: 0; padding: 0; font: 0.8em Arial,Helvetica,sans-serif; color: #111; background-color: #FFF; }
a:hover{
    color:#0172b6;
} 
a{
    color:#0172b6;
} 
a:visited{
    color:#0172b6;
} 
h2 { margin: 0px; padding: 10px; font-family: Georgia, "Times New Roman", Times, serif; font-size: 200%; font-weight: normal; color: #FFF; background-color: #CCC; border-bottom: #BBB 2px solid; }

/* Form styles */
div.form-container {margin: auto; padding: 5px;}

p.legend { margin-bottom: 1em; }
p.legend em { color: #C00; font-style: normal; }

div.form-container form p { margin: 0; }
div.form-container form p.note { margin-left: 170px; font-size: 90%; color: #333; }
div.form-container form fieldset { margin: 10px 0; padding: 10px; border: #DDD 1px solid; }
div.form-container form legend { font-weight: bold; color: #000000; }
div.form-container form fieldset div { padding: 0.25em 0; }
div.form-container label, 
div.form-container span.label { margin-right: 10px; padding-right: 10px; width: 150px; display: block; float: left; text-align: right; position: relative; }
div.form-container label em, 
div.form-container span.label em { position: absolute; right: 0; font-size: 120%; font-style: normal; color: #C00; }
div.form-container input:focus,
div.form-container textarea:focus {	background-color: #FFC; border-color: #FC6; }
div.form-container div.controlset label, 
div.form-container div.controlset input { display: inline; float: none; }
div.form-container div.controlset div { margin-left: 170px; }
div.form-container div.buttonrow { margin: 4px;; text-align:center;}
#divAdhesion { margin: auto; text-align:center; border-width:2px; border-style:solid; border-color:#000000;}
#divfiscal {margin: auto; padding:10px; text-align:left; border-width:1px; border-style:solid; border-color:#000000;}
#messageNonMembre { text-align:center; font-size: 12px; font-weight: bold;color:#FF0000;}
#libelleMembre { font-size: 12px; font-weight: bold;}
#checkboxMembre { font-size: 14px; font-weight: bold;}
#prix { font-size: 16px; font-weight: bold;}
</style>

</head>
<body>
<div id="header" style="border: 1px solid #8a959b; width: 900px; margin: auto;">
<table width="100%" cellspacing="0" cellpaddin="0">
<tr>
<td width="50%">
  <img src="/evenements/images/logo_faf.jpg" alt="logo FAF" style="float: left; margin: 30px;" width="300">
</td>
<td width="50%">
  <p style="font-size: 24px;font-weight:bold; color:#0172b6; text-align:right; margin: 30px;">Inscription</p>
</td>
</tr>

<tr>
<td colspan="2" style="background-color:#0172b6; width: 100%;">
      <div style="text-align: center; color:#ffffff; font-size: 20px;"><b><?=utf8_encode(html_entity_decode($line['libelle_evenement']))?></b></div>
  <?php
  if ($line['descriptif_evenement'] != '')
  {
  ?>
      <div style="text-align: center; color:#ffffff; font-size: 14px;"><b><?=nl2br($line['descriptif_evenement'])?></b></div>
  <?php
  }
  ?>
      <div style="text-align: center; color:#ffffff; font-size: 18px;"><b><?=strftime("%A %d %B %Y", strtotime($line['date_evenement']))?></b></div>
</td>
</tr>
<tr>
<td colspan="2" style="width: 100%;">
<div class="form-container">
  <form action="/evenements/paiement3.php" method="post" name="frmSubmit" onSubmit="return verification()">
  <input type="hidden" name="id_evenement" value="<?=$id_evenement?>">
  <fieldset>
  <legend>Contact</legend>
  <table width="100%">
  <tr>
  <td>
  <div><label for="email_contact">Email <em>*</em></label> <input id="email_contact" name="email_contact" size="25" type="text"><input id="email" name="email" type="hidden" value="" /></div>
  </td>
  </tr>
  <tr>
  <td>
  <div><label for="civilite_contact">Civilité <em>*</em></label> <select name="civilite_contact" id="civilite_contact"><option value="Madame">Madame</option><option value="Monsieur">Monsieur</option></select></div>
  </td>
  </tr>
  <tr>
  <td>
  <div><label for="prenom_contact">Prénom <em>*</em></label> <input id="prenom_contact" name="prenom_contact" size="25" type="text"></div>
  </td>
  </tr>
  <tr>
  <td>
  <div><label for="nom_contact">Nom <em>*</em></label> <input id="nom_contact" name="nom_contact" size="25" type="text"></div>
  </td>
  </tr>
  <tr>
  <td>
  <div><label for="telephone_contact">Téléphone fixe <em>*</em></label> <input id="telephone_contact" size="25" name="telephone_contact" type="text"></div>
  </td>
  </tr>
  <tr>
  <td>
  <div><label for="portable_contact">Téléphone portable</label> <input id="portable_contact" size="25" name="portable_contact" type="text"></div>
  </td>
  </tr>
  </table>
  </fieldset>
  
  <fieldset>
  <legend></legend>
  <table width="100%">
  <tr>
  <td>
  <div><label for="entreprise_contact">Entreprise</label> <input id="entreprise_contact" name="entreprise_contact" size="25" type="text">&nbsp;&nbsp;Autre<input type="checkbox" id="autre_contact" name="autre_contact" onclick="if (this.checked == false) { document.getElementById('obligatoire').innerHTML='*'; } else { document.getElementById('obligatoire').innerHTML=''; }" /></div>
  </td>
  </tr>
  <tr>
  <td>
  <div><label for="fonction_contact">Fonction <em><span id="obligatoire">*</span></em></label> <input id="fonction_contact" name="fonction_contact" size="25" type="text"></div>
  </td>
  </tr>
  <tr>
  <td>
  <div><label for="adresse_entreprise_contact">Adresse <em>*</em></label> <input id="adresse_entreprise_contact" name="adresse_entreprise_contact" size="50" type="text"></div>
  </td>
  </tr>
  <tr>
  <td>
  <div><label for="code_postal_entreprise_contact">Code Postal <em>*</em></label> <input id="code_postal_entreprise_contact" name="code_postal_entreprise_contact" size="25" type="text"></div>
  </td>
  </tr>
  <tr>
  <td>
  <div><label for="ville_entreprise_contact">Ville <em>*</em></label> <input id="ville_entreprise_contact" name="ville_entreprise_contact" size="25" type="text"></div>
  </td>
  </tr>
  </table>
  </fieldset>
  <table width="100%">
  <tr>
  <td width="100%" style="vertical-align:top;">
  <div><span style="font-weight:bold; text-decoration:underline;">Dîner de Gala</span><br /><br />
    <table width="100%">
      <tr>
        <td width="300px">
            <input id="radio_diner" name="radio_diner" type="radio" value="750individuel" onclick="toutcalc()" />&nbsp;&nbsp;750&euro; Individuel
        </td>
        <td>
            750&euro;&nbsp;par&nbsp;pers.&nbsp;*&nbsp;
        </td>
        <td>
            <input type="text" name="nombre750personneindividuel" id="nombre750personneindividuel" size="1" value="1" onchange="toutcalc()" /> pers.&nbsp;=&nbsp;
        </td>
          <td>
            <input type="text" name="nombretotal750personneindividuel" id="nombretotal750personneindividuel" size="6" disabled onchange="toutcalc()" />&nbsp;&euro;<input type="hidden" name="hnombretotal750personneindividuel" id="hnombretotal750personneindividuel" value="" />
        </td>
      </tr>
      <tr>
        <td width="300px">
            <input id="radio_diner" name="radio_diner" type="radio" value="1000individuel" onclick="toutcalc()" />&nbsp;&nbsp;1000&euro; Individuel
        </td>
        <td>
            1000&euro;&nbsp;par&nbsp;pers.&nbsp;*&nbsp;
        </td>
        <td>
            <input type="text" name="nombre1000personneindividuel" id="nombre1000personneindividuel" size="1" value="1" onchange="toutcalc()" /> pers.&nbsp;=&nbsp;
        </td>
        <td>
            <input type="text" name="nombretotal1000personneindividuel" id="nombretotal1000personneindividuel" size="6" disabled onchange="toutcalc()" />&nbsp;&euro;<input type="hidden" name="hnombretotal1000personneindividuel" id="hnombretotal1000personneindividuel" value="" />
        </td>
      </tr>
      <tr>
        <td width="300px">
            <input id="radio_diner" name="radio_diner" type="radio" value="1500individuel" onclick="toutcalc()" />&nbsp;&nbsp;1500&euro; Individuel
        </td>
        <td>
            1500&euro;&nbsp;par&nbsp;pers.&nbsp;*&nbsp;
        </td>
        <td>
            <input type="text" name="nombre1500personneindividuel" id="nombre1500personneindividuel" size="1" value="1" onchange="toutcalc()" /> pers.&nbsp;=&nbsp;
        </td>
        <td>
            <input type="text" name="nombretotal1500personneindividuel" id="nombretotal1500personneindividuel" size="6" disabled onchange="toutcalc()" />&nbsp;&euro;<input type="hidden" name="hnombretotal1500personneindividuel" id="hnombretotal1500personneindividuel" value="" />
        </td>
      </tr>
      <tr>
        <td width="300px">
          <input id="radio_diner" name="radio_diner" type="radio" value="12000table" onclick="toutcalc()" />&nbsp;12000&euro; Table de 12 personnes
        </td>
        <td>
            12000&euro;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;
        <td>
            <input type="text" name="nombre12000personneindividuel" id="nombre12000personneindividuel" size="1" value="1" onchange="toutcalc()" />&nbsp;table&nbsp;=&nbsp;
        </td>
        <td>
            <input type="text" name="nombretotal12000personneindividuel" id="nombretotal12000personneindividuel" size="6" disabled onchange="toutcalc()" />&nbsp;&euro;<input type="hidden" name="hnombretotal12000personneindividuel" id="hnombretotal12000personneindividuel" value="" />
        </td>
      </tr>
      <tr>
        <td width="300px">
          <input id="radio_diner" name="radio_diner" type="radio" value="25000table" onclick="toutcalc()" />&nbsp;25000&euro; Table de 12 personnes
        </td>
        <td>
            25000&euro;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;
        <td>
            <input type="text" name="nombre25000personneindividuel" id="nombre25000personneindividuel" size="1" value="1" onchange="toutcalc()" />&nbsp;table&nbsp;=&nbsp;
        </td>
        <td>
            <input type="text" name="nombretotal25000personneindividuel" id="nombretotal25000personneindividuel" size="6" disabled onchange="toutcalc()" />&nbsp;&euro;<input type="hidden" name="hnombretotal25000personneindividuel" id="hnombretotal25000personneindividuel" value="" />
        </td>
      </tr>
    </table>
  </div>
  </td>
  </tr>
  <tr>
    <td colspan="2">
      &nbsp;
    </td>
  </tr>
  <tr>
  <td>
    <table width="100%">
      <tr>
      <td colspan="2">
      <div><input id="checkbox_don" name="checkbox_don" type="checkbox" onclick="if (!document.getElementById('checkbox_don').checked) { document.getElementById('don_sup').value=''; toutcalc();}" />&nbsp;&nbsp;Je souhaite faire un don à la French-American Foundation – France pour soutenir le financement de ses activités.</div>
      </tr>
      <tr>
        <td width="550px">
          <span style="width:180px;float:left;">Don</span><input type="text" name="don_sup" id="don_sup" size="6" onchange="toutcalc()" /> &euro;
        </td>
        <td>
          &nbsp;
        </td>
      </tr>
      <tr>
        <td width="550px">
          &nbsp;
        </td>
        <td>
          &nbsp;
        </td>
      </tr>
      <tr style="display:none;">
        <td width="550px">
          <span style="width:180px;float:left;">Votre code sp&eacute;cifique :</span><input type="text" name="saisie_code_reduction" id="saisie_code_reduction" maxlength="7" size="10" value="" onkeyup="validate(this.value)" />
        </td>
        <td>
          <strong><span id="html_code_reduction" name="html_code_reduction" style="font-size:16px;"></span><input type="hidden" name="montant_code_reduction" id="montant_code_reduction" value="" />
        </td>
      </tr>
      <tr>
        <td width="550px">
          Montant total de votre règlement : 
        </td>
        <td>
          <strong><span id="total" style="font-size:16px;">0</span> &euro;</strong><input type="hidden" name="montant_total" id="montant_total" value="" />
        </td>
      </tr>
    </table>
  </td>
  </tr>
  <tr>
  <td colspan="2">
    <div id="divfiscal">
        <p style="font-weight:bold; color:#0172b6; text-decoration:underline;">Avantages fiscaux :</p>
        <p style="font-weight:normal; color:#000000; text-decoration:none;">Les dons vers&eacute;s sont d&eacute;ductibles du revenu imposable dans le cadre de la legislation en vigueur en France.</p>
    </div>
  </td>
  </tr>
  </table>
  <table width="100%">
  <tr>
  <td align="left" width="100%" colspan="2">
  <div id="prix" style="display:none;">
  <?php
  if ($line['mode_paiement'] == 'CHEQUE+PAYPAL')
  {
    echo '<table width="100%">';
    echo '<tr>';
    echo '<td width="30%">';
    echo 'Mode de règlement';
    echo '</td>';
    echo '<td width="30%">';
    echo 'Paiement en ligne&nbsp;&nbsp;';
    echo '<INPUT type=radio id="type_paiement" name="type_paiement" checked onclick="document.getElementById(\'messageCheque\').style.display=\'none\'; if (document.getElementById(\'montant_total\').value > 8000) { document.frmSubmit.type_paiement[1].checked = true; document.getElementById(\'messageCheque\').style.display=\'block\';}" value="PAYPAL" />';
    echo '</td>';
    echo '<td width="30%">';
    echo 'Chèque&nbsp;&nbsp;';
    echo '<INPUT type=radio id="type_paiement" name="type_paiement" onclick="document.getElementById(\'messageCheque\').style.display=\'block\';" value="CHEQUE" />';
    echo '</td>';
    echo '</tr>';
    echo '</table>';
  }
  else
  {
    echo '<INPUT type=hidden name="type_paiement" value="'.$line['mode_paiement'].'" />';
  }
  ?>
  </div>
  </td>
  </tr>
  <?php
  if ($line['mode_paiement'] == 'CHEQUE')
  {
  ?>
  <tr>
  <td align="left" width="100%" colspan="2">
  <div id="messageCheque" style="display:block;">
    « Les chèques bancaires sont à libeller à l’ordre de le <strong>French-American Foundation – France</strong>, 18 bis boulevard Arago, 75013 Paris. »
  </div>
  </td>
  </tr>
  <?php
  }
  ?>
  <?php
  if ($line['mode_paiement'] == 'CHEQUE+PAYPAL')
  {
  ?>
  <tr>
  <td align="left" width="20%" colspan="3">
  <div id="messageCheque" style="display:none;">
    « Les chèques bancaires sont à libeller à l’ordre de le <strong>French-American Foundation – France</strong>, 18 bis boulevard Arago, 75013 Paris. »
  </div>
  </td>
  </tr>
  <?php
  }
  ?>
  </table>
	<div class="buttonrow">
		<input value="Valider Votre Inscription" style="height: 30px; width: 170px;" name="envoiForm" type="submit">
	</div>
  </form>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>