X-Git-Url: https://git.piment-noir.org/?p=Project_webapp.git;a=blobdiff_plain;f=includes%2Fhome.php;h=fa15da86e49477d566811aa6d7440a67fe4afa36;hp=cc378a2836c3dfdd0c389e4e20ea29e7407c54ef;hb=a96fefe119b8c91c2f5ae6ad04e11af676e5540b;hpb=b5f60f89589412e18b51326378ab13b9a4fa0f19 diff --git a/includes/home.php b/includes/home.php index cc378a2..fa15da8 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 + +