Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function connection(){
- echo "<html>
- <body>
- <form method='post' action='village.php'>
- <h1>Login</h1>
- <input name='login' type='text' maxlength='21'/>
- <h1>Mot de passe</h1>
- <input name='mdp' type='password' minlength='6'/>
- <br>
- <br>
- <br>
- <input type='submit' value='valider'/>
- </form>
- <br>
- <br>
- <form method='post' action='index.php'>
- <input type='submit' name='inscription' value='inscription'/>
- </form>
- </body>
- </html>";
- }
- //Form de non inscrit
- function setNewPlayer(){
- echo "<html>
- <body>
- <form method='post' action='checkOfNewPlayer.php'>
- <h1>Login</h1>
- <input name='login' type='text' maxlength='21'/>
- <h1>Mot de passe</h1>
- <input name='mdp' type='password' minlength='6'/>
- <h1>Confirmation Mot de passe</h1>
- <input name='cmdp' type='password' minlength='6'/>
- <h1>Nom du Personnage</h1>
- <input name='namePlayer' type='text' maxlength='21'/>
- <br>
- <br>
- <br>
- <input type='submit' value='valider'/>
- </form>
- <br>
- <br>
- <form method='post' action='index.php'>
- <input type='submit' name='already' value='Deja Inscrit ?'/>
- </form>
- </body>
- </html>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement