55 lines
1.9 KiB
PHP
Executable File
55 lines
1.9 KiB
PHP
Executable File
<?php
|
|
session_start();
|
|
header('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"');
|
|
if(isset($_SESSION['Admin']) and $_SESSION['Admin']==2 and isset($_SESSION['Club'])) {
|
|
$id_club=$_SESSION['Club'];
|
|
?>
|
|
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="fr">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
|
|
<title>LE SERVEUR VOCAL DE RESERVATION DES SALLES DE TENNIS</title>
|
|
<link rel="stylesheet" href="style.css" type="text/css">
|
|
</head>
|
|
|
|
<body>
|
|
<div id="tout">
|
|
<?php
|
|
$now_tab=getDate();
|
|
|
|
include("enTete.php");
|
|
include("menu.php");
|
|
include("conf.php");
|
|
|
|
echo "<center><h1>Mise à jour des coordonnées des joueurs du club</h1></center><br /><br />";
|
|
|
|
echo "<p>";
|
|
echo "Cette page sert à mettre à jour les coordonnées des joueurs de votre club.<br />";
|
|
echo "Pour réaliser cette opération, vous devez choisir le fichier csv qui est généré par Excel en cliquant sur le bouton <b>Parcourir</b>.<br />";
|
|
echo "Les données doivent respecter le format suivant (avec un joueur par ligne) : <br />";
|
|
echo "Numéro de licence FFT du joueur ; adresse ; code_postal ; ville ; téléphone fixe ; téléphone portable ; adresse email";
|
|
echo "</p>";
|
|
|
|
echo "<form action='extract_joueurs_club_suite.php' method='post' enctype='multipart/form-data'>";
|
|
echo "<center><table>";
|
|
echo "<input type='hidden' name='MAX_FILE_SIZE' value='10000' />";
|
|
echo "<tr><td>fichier csv : </td><td><input type='file' name='fic_csv' /></td></tr>";
|
|
echo "<tr><td colspan='2'><center><input type='submit' name='valider' value='Valider' /></center></td></tr>";
|
|
echo "</table></center>";
|
|
echo "</form>";
|
|
|
|
echo "<br /><br />";
|
|
|
|
include("deco_admin_club.php");
|
|
include("piedDePage.php");
|
|
}
|
|
else {
|
|
echo("Non autorisé - Redirection vers la page d'identification dans 2 secondes");
|
|
sleep(2);
|
|
include("admin_login.php");
|
|
}
|
|
|
|
?>
|