Files
resatennis_tyroltenn/www/tyroltenn/modif_mdp_cap.php

47 lines
1.4 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']==3 and isset($_SESSION['Id'])) {
$id_cap=$_SESSION['Id'];
?>
<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
include("enTete.php");
include("menu.php");
include("conf.php");
echo "<div id='contenu'>";
echo "<center><h1>Modification du mot de passe</h1></center><br />";
echo "<form action='modif_mdp_cap_suite.php' method='post'>";
echo "<center><table>";
echo "<tr><td>Entrer votre ancien mot de passe : </td><td><input type='password' name='anc_mdp'></td></tr>";
echo "<tr><td>Entrer votre nouveau mot de passe : </td><td><input type='password' name='nouv_mdp'></td></tr>";
echo "<tr><td>Saisissez &agrave; nouveau votre mot de passe : </td><td><input type='password' name='nouv_mdp2'></td></tr>";
echo "<tr><td></td><td><input type='submit' name='valider' value='Valider'></td></tr>";
echo "</table></center>";
echo "</form>";
echo "<br /><br />";
include("deco_champ.php");
include("piedDePage.php");
}
else {
echo("Non autorisé - Redirection vers la page d'identification dans 2 secondes");
sleep(2);
include("login_champ.php");
}
?>