Compare commits
10 Commits
listePrive
...
master
Author | SHA1 | Date |
---|---|---|
|
ef76d0c267 | 2 years ago |
|
643da050ce | 2 years ago |
|
56b2dbc22b | 2 years ago |
|
f721a028c8 | 2 years ago |
|
e2bd0457ab | 2 years ago |
|
09bfc508d4 | 2 years ago |
|
4ddfc272e5 | 2 years ago |
|
b7cf2744b8 | 2 years ago |
|
786b0addfb | 2 years ago |
|
a60f4d6d84 | 2 years ago |
Before Width: | Height: | Size: 247 B |
@ -1,87 +1,87 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Page d'inscription</title>
|
||||
<link rel="shortcut icon" href="./vue/Images/gif.gif" type="../Images/gif">
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- CSS only -->
|
||||
<link rel="stylesheet" href="./vue/css/style.css">
|
||||
<link rel="stylesheet" href="./vue/css/reset.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<div class="model">
|
||||
<div class="main-logo">
|
||||
<img src="./vue/Images/Logo.png" alt="logo">
|
||||
</div>
|
||||
<div class="login-card-header">
|
||||
<h1>Inscrivez-vous</h1>
|
||||
</div>
|
||||
<?php
|
||||
if(isset($ErreurLog)){?>
|
||||
<center><p class="ErreurText"> <?php echo $ErreurLog?></p></center><?php
|
||||
}
|
||||
?>
|
||||
<form method="POST" class="login-card-form">
|
||||
<div class="row">
|
||||
<head>
|
||||
<title>Page d'inscription</title>
|
||||
<link rel="shortcut icon" href="./vue/Images/gif.gif" type="../Images/gif">
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- CSS only -->
|
||||
<link rel="stylesheet" href="./vue/css/style.css">
|
||||
<link rel="stylesheet" href="./vue/css/reset.css">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
</head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<div class="model">
|
||||
<div class="main-logo">
|
||||
<img src="./vue/Images/Logo.png" alt="logo">
|
||||
</div>
|
||||
<div class="login-card-header">
|
||||
<h1>Inscrivez-vous</h1>
|
||||
</div>
|
||||
<?php
|
||||
if(isset($ErreurLog)){?>
|
||||
<center><p class="ErreurText"> <?php echo $ErreurLog?></p></center><?php
|
||||
}
|
||||
?>
|
||||
<form method="POST" class="login-card-form">
|
||||
<div class="row">
|
||||
<div class="col-md-6 mb-4">
|
||||
<?php
|
||||
if(isset($dVueErreur['nom'])){?>
|
||||
<center><p class="ErreurText"> <?php echo $dVueErreur['nom']?></p></center><?php
|
||||
}
|
||||
?>
|
||||
<div>
|
||||
<input type="text" name="nom-Form" placeholder="Nom" required autofocus>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 mb-4">
|
||||
<?php
|
||||
if(isset($dVueErreur['nom'])){?>
|
||||
<center><p class="ErreurText"> <?php echo $dVueErreur['nom']?></p></center><?php
|
||||
if(isset($dVueErreur['prenom'])){?>
|
||||
<center><p class="ErreurText"> <?php echo $dVueErreur['prenom']?></p></center><?php
|
||||
}
|
||||
?>
|
||||
<div>
|
||||
<input type="text" name="nom-Form" placeholder="Nom" required autofocus>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 mb-4">
|
||||
<?php
|
||||
if(isset($dVueErreur['prenom'])){?>
|
||||
<center><p class="ErreurText"> <?php echo $dVueErreur['prenom']?></p></center><?php
|
||||
}
|
||||
?>
|
||||
<div>
|
||||
<input type="text" name="prenom-Form" placeholder="Prenom" required autofocus>
|
||||
</div>
|
||||
<input type="text" name="prenom-Form" placeholder="Prenom" required autofocus>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-item">
|
||||
<?php
|
||||
if(isset($dVueErreur['pseudo'])){?>
|
||||
<center><p class="ErreurText"> <?php echo $dVueErreur['pseudo']?></p></center><?php
|
||||
}
|
||||
?>
|
||||
<input type="text" name="pseudo-Form" placeholder="Pseudo" required autofocus>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-item">
|
||||
<?php
|
||||
if(isset($dVueErreur['pseudo'])){?>
|
||||
<center><p class="ErreurText"> <?php echo $dVueErreur['pseudo']?></p></center><?php
|
||||
}
|
||||
?>
|
||||
<input type="text" name="pseudo-Form" placeholder="Pseudo" required autofocus>
|
||||
</div>
|
||||
|
||||
<div class="form-item">
|
||||
<?php
|
||||
if(isset($dVueErreur['mail'])){?>
|
||||
<center><p class="ErreurText"> <?php echo $dVueErreur['mail']?></p></center><?php
|
||||
}
|
||||
?>
|
||||
<input type="text" name="mail" placeholder="Mail" required autofocus>
|
||||
</div>
|
||||
<div class="form-item">
|
||||
<?php
|
||||
if(isset($dVueErreur['password'])){?>
|
||||
<center><p class="ErreurText"> <?php echo $dVueErreur['password']?></p></center><?php
|
||||
}
|
||||
?>
|
||||
<input type="password" name="password" placeholder="Password" required >
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary">S'inscrire</button>
|
||||
<!-- action !!!!!!!!!! -->
|
||||
<input type="hidden" name="action" value="validationFormulaire">
|
||||
<p class="text-center text-muted mt-5 mb-0">Déjà un compte?
|
||||
<a href="login" class="fw-bold text-body"><u>Connectez-vous</u></a></p>
|
||||
</form>
|
||||
</div>
|
||||
<div class="form-item">
|
||||
<?php
|
||||
if(isset($dVueErreur['mail'])){?>
|
||||
<center><p class="ErreurText"> <?php echo $dVueErreur['mail']?></p></center><?php
|
||||
}
|
||||
?>
|
||||
<input type="text" name="mail" placeholder="Mail" required autofocus>
|
||||
</div>
|
||||
<div class="form-item">
|
||||
<?php
|
||||
if(isset($dVueErreur['password'])){?>
|
||||
<center><p class="ErreurText"> <?php echo $dVueErreur['password']?></p></center><?php
|
||||
}
|
||||
?>
|
||||
<input type="password" name="password" placeholder="Password" required >
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary">S'inscrire</button>
|
||||
<!-- action !!!!!!!!!! -->
|
||||
<input type="hidden" name="action" value="validationFormulaire">
|
||||
<p class="text-center text-muted mt-5 mb-0">Déjà un compte?
|
||||
<a href="login" class="fw-bold text-body"><u>Connectez-vous</u></a></p>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,144 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="shortcut icon" href="./vue/Images/gif.gif" type="../Images/gif">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Home Page</title>
|
||||
<!-- CSS only -->
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="https:/stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="./vue/css/task.css">
|
||||
<!-- JavaScript Bundle with Popper -->
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body style="-webkit-user-select: none; /* Safari */
|
||||
-ms-user-select: none; /* IE 10 and IE 11 */
|
||||
user-select: none;">
|
||||
<?php require($rep.$vues['NavBar']); ?>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<section class="vh-100" style="background-color: white;">
|
||||
<div class="container py-5 h-100">
|
||||
<div class="row d-flex justify-content-center align-items-center h-100">
|
||||
<div class="col col-xl-10">
|
||||
|
||||
<div class="card" style="border-radius: 15px;">
|
||||
<div class="card-body p-5">
|
||||
|
||||
<ul class="list-group mb-0">
|
||||
<?php
|
||||
foreach($users as $user){
|
||||
?>
|
||||
<li
|
||||
class="list-group-item d-flex justify-content-between align-items-center border-start-0 border-top-0 border-end-0 border-bottom rounded-0 mb-2">
|
||||
<div class="d-flex align-items-center">
|
||||
<?= $user->getNom() ?> : <?= $user->getPrenom() ?>
|
||||
</div>
|
||||
<a href="index.php?action=SupprimerUtilisateur&idUser=<?= $user->getId() ?>">
|
||||
<button class="btn btn-default">
|
||||
<img src="./vue/Images/trash.png" width="20" />
|
||||
</button>
|
||||
</a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="text-center text-lg-start bg-light ">
|
||||
<br>
|
||||
<!-- Section: Links -->
|
||||
<section class="">
|
||||
<div class="container text-center text-md-start mt-5">
|
||||
<!-- Grid row -->
|
||||
<div class="row mt-3">
|
||||
<!-- Grid column -->
|
||||
<div class="col-md-3 col-lg-4 col-xl-3 mx-auto mb-4">
|
||||
<!-- Content -->
|
||||
<h6 class="text-uppercase fw-bold mb-4">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-wallet2" viewBox="0 0 16 16">
|
||||
<path d="M12.136.326A1.5 1.5 0 0 1 14 1.78V3h.5A1.5 1.5 0 0 1 16 4.5v9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 13.5v-9a1.5 1.5 0 0 1 1.432-1.499L12.136.326zM5.562 3H13V1.78a.5.5 0 0 0-.621-.484L5.562 3zM1.5 4a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-13z"/>
|
||||
</svg> Project
|
||||
</h6>
|
||||
<p>
|
||||
2nd year project, consisting of making a To do List in php
|
||||
, which contains visitors or users, who can add,
|
||||
delete, see tasks...
|
||||
</p>
|
||||
</div>
|
||||
<!-- Grid column -->
|
||||
|
||||
<!-- Grid column -->
|
||||
<div class="col-md-2 col-lg-2 col-xl-2 mx-auto mb-4">
|
||||
<!-- Links -->
|
||||
<h6 class="text-uppercase fw-bold mb-4">
|
||||
Products
|
||||
</h6>
|
||||
<p>
|
||||
<img src="https://img.shields.io/badge/HTML-000?style=for-the-badge&logo=html5&logoColor=orange&color=f8f9fa">
|
||||
</img>
|
||||
</p>
|
||||
<p>
|
||||
<img src="https://img.shields.io/badge/CSS-000?style=for-the-badge&logo=Css3&logoColor=blue&color=f8f9fa">
|
||||
</img>
|
||||
</p>
|
||||
<p>
|
||||
<img src="https://img.shields.io/badge/PHP-000?style=for-the-badge&logo=php&logoColor=purple&color=f8f9fa">
|
||||
</img>
|
||||
</p>
|
||||
<p>
|
||||
<img src="https://img.shields.io/badge/JavaScript-000?style=for-the-badge&logo=javascript&logoColor=yellow&color=f8f9fa">
|
||||
</img>
|
||||
</p>
|
||||
</div>
|
||||
<!-- Grid column -->
|
||||
|
||||
<!-- Grid column -->
|
||||
<div class="col-md-4 col-lg-3 col-xl-3 mx-auto mb-md-0 mb-4">
|
||||
<!-- Links -->
|
||||
<h6 class="text-uppercase fw-bold mb-4">Contact</h6>
|
||||
<p>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" fill="currentColor" class="bi bi-envelope" viewBox="0 0 16 16">
|
||||
<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2Zm13 2.383-4.708 2.825L15 11.105V5.383Zm-.034 6.876-5.64-3.471L8 9.583l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.741ZM1 11.105l4.708-2.897L1 5.383v5.722Z"/>
|
||||
</svg>
|
||||
emre.kartal@etu.uca.fr
|
||||
</p>
|
||||
<p>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" fill="currentColor" class="bi bi-envelope" viewBox="0 0 16 16">
|
||||
<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2Zm13 2.383-4.708 2.825L15 11.105V5.383Zm-.034 6.876-5.64-3.471L8 9.583l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.741ZM1 11.105l4.708-2.897L1 5.383v5.722Z"/>
|
||||
</svg>
|
||||
rayhan.hassou@etu.uca.fr
|
||||
</p>
|
||||
|
||||
<p><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pin" viewBox="0 0 16 16">
|
||||
<path d="M4.146.146A.5.5 0 0 1 4.5 0h7a.5.5 0 0 1 .5.5c0 .68-.342 1.174-.646 1.479-.126.125-.25.224-.354.298v4.431l.078.048c.203.127.476.314.751.555C12.36 7.775 13 8.527 13 9.5a.5.5 0 0 1-.5.5h-4v4.5c0 .276-.224 1.5-.5 1.5s-.5-1.224-.5-1.5V10h-4a.5.5 0 0 1-.5-.5c0-.973.64-1.725 1.17-2.189A5.921 5.921 0 0 1 5 6.708V2.277a2.77 2.77 0 0 1-.354-.298C4.342 1.674 4 1.179 4 .5a.5.5 0 0 1 .146-.354zm1.58 1.408-.002-.001.002.001zm-.002-.001.002.001A.5.5 0 0 1 6 2v5a.5.5 0 0 1-.276.447h-.002l-.012.007-.054.03a4.922 4.922 0 0 0-.827.58c-.318.278-.585.596-.725.936h7.792c-.14-.34-.407-.658-.725-.936a4.915 4.915 0 0 0-.881-.61l-.012-.006h-.002A.5.5 0 0 1 10 7V2a.5.5 0 0 1 .295-.458 1.775 1.775 0 0 0 .351-.271c.08-.08.155-.17.214-.271H5.14c.06.1.133.191.214.271a1.78 1.78 0 0 0 .37.282z"/>
|
||||
</svg> Groupe 4</p>
|
||||
</div>
|
||||
<!-- Grid column -->
|
||||
</div>
|
||||
<!-- Grid row -->
|
||||
</div>
|
||||
</section>
|
||||
<!-- Section: Links -->
|
||||
|
||||
<!-- Copyright -->
|
||||
<div class="text-center p-4" style="background-color: rgba(0, 0, 0, 0.05);">
|
||||
© 2021 Copyright:
|
||||
<a class="text-reset fw-bold" href="#">ToDoList.com</a>
|
||||
</div>
|
||||
<!-- Copyright -->
|
||||
</footer>
|
||||
|
||||
</html>
|
Loading…
Reference in new issue