Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.88 KB | None | 0 0
  1. function connection(){
  2.     echo "<html>
  3.        <body>
  4.            <form method='post' action='village.php'>
  5.                
  6.                <h1>Login</h1>
  7.                
  8.                    <input name='login' type='text' maxlength='21'/>
  9.            
  10.                
  11.                <h1>Mot de passe</h1>
  12.            
  13.                    <input name='mdp' type='password' minlength='6'/>
  14.                <br>
  15.                <br>
  16.                <br>
  17.                    <input type='submit' value='valider'/>
  18.  
  19.            </form>
  20.            <br>
  21.            <br>
  22.            <form method='post' action='index.php'>
  23.                <input type='submit' name='inscription' value='inscription'/>
  24.            </form>
  25.        </body>
  26.    </html>";
  27. }
  28.  
  29. //Form de non inscrit
  30. function setNewPlayer(){
  31.     echo "<html>
  32.        <body>
  33.            <form method='post' action='checkOfNewPlayer.php'>
  34.                
  35.                <h1>Login</h1>
  36.                
  37.                    <input name='login' type='text' maxlength='21'/>
  38.            
  39.                
  40.                <h1>Mot de passe</h1>
  41.            
  42.                    <input name='mdp' type='password' minlength='6'/>
  43.                
  44.                <h1>Confirmation Mot de passe</h1>
  45.                
  46.                    <input name='cmdp' type='password' minlength='6'/>
  47.                
  48.                <h1>Nom du Personnage</h1>
  49.                
  50.                    <input name='namePlayer' type='text' maxlength='21'/>
  51.                
  52.                <br>
  53.                <br>
  54.                <br>
  55.                    <input type='submit' value='valider'/>
  56.            </form>
  57.            <br>
  58.            <br>
  59.            <form method='post' action='index.php'>
  60.                <input type='submit' name='already' value='Deja Inscrit ?'/>
  61.            </form>
  62.        </body>
  63.    </html>";
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement