24 lines
No EOL
966 B
PHP
24 lines
No EOL
966 B
PHP
<?php
|
|
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|
header('location: ./Assets/sendMail.php?type=0&user='.$_POST['user'] .'&email='. htmlspecialchars($_POST['mail']));
|
|
}
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Activer mon compte</title>
|
|
</head>
|
|
<body>
|
|
<h1>Activer mon compte sur l'intranet</h1>
|
|
<form action="" method="post">
|
|
<label for="user">Veuillez le nom d'utilisateur de votre pc (APEIXXXX)</label>
|
|
<input type="text" name="user" id="user" placeholder="APEIXXXX" required><br>
|
|
<label for="mail">Veuillez entrer votre adresse mail (pcharlot@apeimbge.fr)</label>
|
|
<input type="text" name="mail" id="mail" placeholder="pcharlot@apeimbge.fr" required><br>
|
|
<button type="submit">Demander l'activation</button>
|
|
</form>
|
|
<h3>Veuillez ne pas faire la demande plusieurs fois.</h3>
|
|
</body>
|
|
</html>
|