require_once('Fonctions.php'); if(isset($_COOKIE["Prout"])){ if($_COOKIE["Prout"] == 315){ $prout = "Oui"; $societe = societe(); if(isset($_POST["deco"])){ setcookie('Prout'); unset($_COOKIE["Prout"]); header('Location:index.php'); } } else{ setcookie('Prout'); unset($_COOKIE["Prout"]); $prout = "Non"; } } else{ $prout = "Non"; if(isset($_POST["Oui"])){ $mail = $_POST["Mail"]; $mdp = $_POST["MDP"]; if($mail == "Guigui_Help"){ if($mdp == "Cacaput*"){ setcookie('Prout','315'); header('Location:index.php'); } else{ $text ="Non !!!"; } } else{ $text = "Non !!!"; } } } ?> if($prout == "Oui"){ ?>
Coucou Guigui !!!
$longueur = count($societe); $index = 0; while($index < $longueur) { $liste = $societe[$index]['Societe']; $ID = $societe[$index]['ID']; $index++; ?>
} ?> } else{ ?> } ?>