Commit initial
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
<?php $this->title = " Connexion" ?>
|
||||
|
||||
<p>Vous devez être connecté pour accéder au site.</p>
|
||||
|
||||
<form action="connexion/logOn" method="post">
|
||||
<input name="login" type="text" placeholder="Entrez votre login" required autofocus>
|
||||
<input name="password" type="password" placeholder="Entrez votre mot de passe" required>
|
||||
<button type="submit">Connexion</button>
|
||||
</form>
|
||||
|
||||
<form method="get" action="connexion/registration">
|
||||
<button type="submit">Inscription</button>
|
||||
</form>
|
||||
|
||||
<?php if (isset($msgError)): ?>
|
||||
<p><?= $msgError ?></p>
|
||||
<?php endif; ?>
|
@ -0,0 +1,23 @@
|
||||
<?php $this->title = "Inscription" ?>
|
||||
|
||||
<p>Enregistrez vous pour avoir accès au site</p>
|
||||
|
||||
<form action="connexion/register" method="post" >
|
||||
<label>Login</label>
|
||||
<input type="text" name="login" size="30" placeholder="Entrez votre login" required autofocus/> <br/>
|
||||
|
||||
<label>Mot de passe</label>
|
||||
<input type="password" name="password" size="30" placeholder="Entrez votre Mot de passe" required /> <br/>
|
||||
|
||||
<label>Retapez votre mot de passe</label>
|
||||
<input type="password" name="passwordBis" size="30" placeholder="Entrez votre Mot de passe" required /> <br/>
|
||||
<button type="submit">Valider l'inscription</button>
|
||||
</form>
|
||||
|
||||
<form method="get" action="connexion">
|
||||
<button type="submit">Annuler l'inscription</button>
|
||||
</form>
|
||||
|
||||
<?php if (isset($msgError)): ?>
|
||||
<p><?= $msgError ?></p>
|
||||
<?php endif; ?>
|
Reference in New Issue
Block a user