X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=includes%2Fhome.php;h=db4fe90778d07b0c0b4c6af1b15971617a22ecd2;hb=01135b89a6848059df608e8c23e8684233772b4f;hp=cc378a2836c3dfdd0c389e4e20ea29e7407c54ef;hpb=b5f60f89589412e18b51326378ab13b9a4fa0f19;p=Project_webapp.git diff --git a/includes/home.php b/includes/home.php index cc378a2..db4fe90 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 " Créer un compte\n"; + echo " S'identifier\n"; + echo " \n"; } - -home(); - ?> + + >Rechercher un vol + +