Initial commit
Création de tous les dossiers et fichiers avec mise à part des constantes
This commit is contained in:
commit
4c71fb59b4
42 changed files with 2544 additions and 0 deletions
20
vues/vConnexion.php
Normal file
20
vues/vConnexion.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<section id='principal'>
|
||||
|
||||
<?php switch($typePage): ?>
|
||||
<?php case 0 ?>
|
||||
<form method="POST" action="index.php?page=connexion">
|
||||
<input type="password" required name="motdepasse"/>
|
||||
<input type="submit">
|
||||
</form>
|
||||
<?php break; ?>
|
||||
<?php case 1 ?>
|
||||
<p>Vous êtes connecté.e !</p>
|
||||
<form method="POST" action="index.php?page=connexion">
|
||||
<input type="submit" value="Se déconnecter ?" name="deconnexion">
|
||||
</form>
|
||||
<?php break; ?>
|
||||
<?php case -1 ?>
|
||||
<p>Echec de la connexion ... Vous pouvez <a href="index.php?page=connexion">rééssayer</a>.</p>
|
||||
<?php break; ?>
|
||||
<?php endswitch ?>
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue