This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
formulaire_inscription.php
40 lines (31 loc) · 3.4 KB
/
formulaire_inscription.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
require_once('classes/mysql.inc');
require_once('classes/membre.inc');
require_once('classes/session.inc');
$session = new Session();
if($membre = $session->Start()) {
echo '<html><body><center><img src="http://www.lessentinelles.com/sentinelles.gif" alt="" width="246" height="69" border="0" /><br />
<h2>Inscription à la saison 2013</h2></center>
<table><tbody>';
echo '<tr><td>Nom : </td><td style="border-bottom: 1px solid black; min-width: 200px; margin-bottom: 5px;">'.htmlentities($membre->nom).'</td></tr>';
echo '</tr><td>Prénom : </td><td style="border-bottom: 1px solid black; min-width: 200px; margin-top: 5px;">'.htmlentities($membre->prenom).'</td></tr>';
echo '<tr><td>Date de naissance : </td><td style="border-bottom: 1px solid black; min-width: 200px; padding-top: 5px;">'.htmlentities($membre->date_naissance).' </td></tr>';
echo '<tr><td>Assurance maladie : </td><td style="border-bottom: 1px solid black; min-width: 200px; padding-top: 5px;">'.htmlentities($membre->no_assurance_maladie).' </td></tr>';
echo '<tr><td colspan="2"><br /></td></tr>';
echo '<tr><td>Adresse : </td><td style="border-bottom: 1px solid black; min-width: 200px; padding-top: 5px;">'.htmlentities($membre->adresse).' </td></tr>';
echo '<tr><td>Ville : </td><td style="border-bottom: 1px solid black; min-width: 200px; padding-top: 5px;">'.htmlentities($membre->ville).' </td></tr>';
echo '<tr><td>Code postal : </td><td style="border-bottom: 1px solid black; min-width: 200px; padding-top: 5px;">'.htmlentities($membre->code_postal).' </td></tr>';
echo '<tr><td>Téléphone : </td><td style="border-bottom: 1px solid black; min-width: 200px; padding-top: 5px;">'.htmlentities($membre->telephone_residence).' </td></tr>';
echo '<tr><td>Bureau : </td><td style="border-bottom: 1px solid black; min-width: 200px; padding-top: 5px;">'.htmlentities($membre->telephone_bureau).' </td></tr>';
echo '<tr><td>Autre : </td><td style="border-bottom: 1px solid black; min-width: 200px; padding-top: 5px;">'.htmlentities($membre->telephone_autre).' </td></tr>';
echo '<tr><td>Courriel : </td><td style="border-bottom: 1px solid black; min-width: 200px; padding-top: 5px;">'.htmlentities($membre->courriel).' </td></tr>';
echo '</tbody></table>';
echo '<br /><br />Je commande ______ plaque(s) supplémentaire(s) de selle de vélo. (2,50$ chacune. La première est gratuite.)';
echo '<br /><br />Je, soussigné(e), reconnais que la pratique du cyclisme comporte l\'existence de dangers, de risques réels de blessures et d\'accident graves. Je déclare connaître la nature et l\'étendue de ces dangers et de ces risques et j\'accepte, librement et volontairement de les courir. De plus, je dégage le club "Les Sentinelles de la Route" et ses représentants de toute responsabilité qui pourrait résulter de la pratique du cyclisme dans le cadre des activités organisées par le club "Les Sentinelles de la Route" et ses représentants.
<br /></br />Signature : _________________________________________________ Date : ______________';
echo '<script type="text/javascript">window.print();</script>';
echo '</body></html>';
}
else {
header('Location: /');
}