ajout du dbConnect
Co-authored-by: Charpentier Juliette <juliette.charpentier1@etu.u-pec.fr>
This commit is contained in:
parent
d662fa76b7
commit
235d9356f0
@ -32,14 +32,11 @@
|
|||||||
<label for="password">Mot de passe</label>
|
<label for="password">Mot de passe</label>
|
||||||
<input type="password" id="password" name="password" required placeholder=" ">
|
<input type="password" id="password" name="password" required placeholder=" ">
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="form-group remember-me">
|
|
||||||
<input type="checkbox" id="remember-me" name="remember-me">
|
|
||||||
<label for="remember-me">Se souvenir de moi</label>
|
|
||||||
</div> -->
|
|
||||||
<div class="form-group forgot-password">
|
<div class="form-group forgot-password">
|
||||||
<!-- <a href="#">Mot de passe oublié ?</a>-->
|
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="submit-button"><i class="fas fa-sign-in-alt"></i> Connexion</i></button>
|
<button type="submit" class="submit-button" action="../tools"><i class="fas fa-sign-in-alt"></i>
|
||||||
|
Connexion</i></button>
|
||||||
</form>
|
</form>
|
||||||
<p class="no-account">Vous n'avez pas de compte ? <a href="/account/register">Créez un compte pour commencer
|
<p class="no-account">Vous n'avez pas de compte ? <a href="/account/register">Créez un compte pour commencer
|
||||||
!</a></p>
|
!</a></p>
|
||||||
|
0
account/login.php
Normal file
0
account/login.php
Normal file
0
account/my/index.php
Normal file
0
account/my/index.php
Normal file
0
account/register/register.php
Normal file
0
account/register/register.php
Normal file
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
<link rel="icon" type="image/png" sizes="32x32"
|
<link rel="icon" type="image/png" sizes="32x32"
|
||||||
href="https://tickets.paris2024.org/obj/media/FR-Paris2024/specialLogos/favicons/favicon-32x32.png" />
|
href="https://tickets.paris2024.org/obj/media/FR-Paris2024/specialLogos/favicons/favicon-32x32.png" />
|
||||||
<title>Accueil |Jeux Olympiques - Paris 2024</title>
|
<title>Accueil | Jeux Olympiques - Paris 2024</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -138,3 +138,11 @@ button:hover {
|
|||||||
.sign-up a:hover {
|
.sign-up a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: white;
|
||||||
|
font-size: 2rem;
|
||||||
|
text-align: left;
|
||||||
|
margin-top: 1rem;
|
||||||
|
margin-left: 1rem;
|
||||||
|
}
|
||||||
|
10
tools/dbConnect.php
Normal file
10
tools/dbConnect.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
$db = mysqli_connect("dwarves.iut-fbleau.fr", "charpentj", "PommePatate", "charpentj");
|
||||||
|
if (!$db) {
|
||||||
|
echo "<script>alert('Echec de la connexion à la BDD.')</script>";
|
||||||
|
die();
|
||||||
|
} else {
|
||||||
|
echo "<script>alert('Connexion réussie à la BDD.')</script>";
|
||||||
|
}
|
||||||
|
;
|
||||||
|
?>
|
Loading…
Reference in New Issue
Block a user