X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=includes%2Fhome.php;h=058b19a219470e5a769d74c83114f737312dce79;hb=db6cae9045820883e6b4c7224fe68c4f4fb9c4e8;hp=cc378a2836c3dfdd0c389e4e20ea29e7407c54ef;hpb=b5f60f89589412e18b51326378ab13b9a4fa0f19;p=Project_webapp.git diff --git a/includes/home.php b/includes/home.php index cc378a2..058b19a 100644 --- a/includes/home.php +++ b/includes/home.php @@ -1,24 +1,16 @@ +query($requete); - echo "
\n"; - echo "\n"; - while ($ligne = $result->fetch_row()) { - $code = htmlentities($ligne[0]); - $nom = htmlentities($ligne[1]); - $rue = htmlentities($ligne[2]); - $ville = htmlentities($ligne[3]); - echo "\n"; - } - echo "
Code_CLNomRueVille
$code$nom$rue$ville
\n"; - $result->close(); +if (!$is_logged_in) { + $root_url = $configs['root_url']; + echo " \n"; + echo " S'identifier\n"; + echo " Créer un compte\n"; + echo " \n"; } - -home(); - ?> + + >Rechercher un vol + +