f3564fdb
grouille
Ajout des fichier...
|
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
|
<?php
session_start();
require("accesBase.php") ;
?>
<!DOCTYPE html>
<html>
<head>
<?php include("head.php"); ?>
</head>
<!-- Contenu du site -->
<body>
<?php include("header.php"); ?>
<!-- Centre de la page -->
<div class="container-fluid">
<div class="row">
<!-- Contenu de la page -->
<!-- Connexion -->
<div class="row syst">
<div class="connect">
<?php
if (verifPwd($_POST["id"], $_POST["pwd"])){
$_SESSION['Login'] = $_POST['id'];
$_SESSION['Password'] = $_POST['pwd'];
?><meta http-equiv="Refresh" content="0;url=accueil.php" /><?php
}
else
|
ca37e894
Guillaume
MAJ connexion site
|
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
?>
<div class="row">
<div class="col-4 col-md-4 offset-4 offset-md-4">
<br/>
<div class="alert <?php echo $color;?>" role="alert">
Identifiant ou mot de passe incorrect !
</div>
</div>
</div>
<meta http-equiv="Refresh" content="5;url=accueil.php" />
<?php
}
?>
|