62 lines
1.6 KiB
PHP
Executable File
62 lines
1.6 KiB
PHP
Executable File
<?php
|
|
/* include("admin_connecte.php"); */
|
|
session_start();
|
|
/* test si la session est lancée */
|
|
if((isset($_SESSION['Admin'])==true) && ($_SESSION['Admin']==1))
|
|
{
|
|
$titre="Création d'un club";
|
|
include("enTete.php");
|
|
?>
|
|
<body background="images/balle_raquette3.jpg">
|
|
<br>
|
|
<br>
|
|
<center><H1>Veuillez saisir les coordonnées du nouveau club</H1>
|
|
* : champs obligatoires<br /><br />
|
|
<table>
|
|
<form action="creation_club_suite.php" method=GET>
|
|
<tr>
|
|
<td><b>Nom du club *: </b> </td><td><input type=text size=20 name="nom"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>Numero fft *: </b> </td><td><input type=text size=20 name="numero_fft"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>Code postal : </b></td><td><input type=text size=5 name="code_postal"</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>Ville: </b></td><td><input type=text size=20 name="ville"</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>Numéro de téléphone *: </b> </td><td><input type=text size=8 name="telephone"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>E-mail : </b> </td><td><input type=text size=35 name="email"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>Adhérent au système vocal :</b></td>
|
|
<td><select name="adherent"><option value="oui">Oui<option value="non">Non</select>
|
|
</tr>
|
|
<tr>
|
|
<td><b>Votre choix</b> </td><td>
|
|
<input type = submit value='Validation'>
|
|
<input type = reset value='Annulation'></td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
</center>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<?php
|
|
include("deco_admin.php");
|
|
include("piedDePage.php");
|
|
/* sinon si la personne n'est pas autorisé la renvoyer àla page de login */
|
|
}
|
|
else
|
|
{
|
|
echo("Non autorisé - Redirection vers la page d'identification dans 2 secondes");
|
|
sleep(2);
|
|
include("identification_admin.php");
|
|
}
|
|
?>
|