-
Notifications
You must be signed in to change notification settings - Fork 1
/
settingsSignup.php
38 lines (30 loc) · 1.01 KB
/
settingsSignup.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
include 'header.php';
$title = '<h1>Signup</h1>';
if($_GET['regisError'] == 'alreadyInUse')
$content = '<p id="missingFieldMsg">User oder Email wird schon benutzt</p>';
else if($_GET['regisError'] == 'wrongValues')
$content = '<p id="missingFieldMsg">Die Angaben enthalten nicht erlaubte Zeichen</p>';
else
$content = '<p id="missingFieldMsg"></p>';
$content .= '<form id="signUp" action="signup.php" method="POST">
<ul>
<li>
<label for="nickname">Name</label><br/>
<input id="nickname" type="text" name="nickname" autofocus placeholder="Max"/>
</li>
<li>
<label for="email">eMail</label><br/>
<input id="email" type="email" name="email" placeholder="[email protected]"/>
</li>
<li>
<label for="password">Passwort</label><br/>
<input id="password" type="password" name="password" placeholder="Passwort"/>
</li>
<li>
<input id="signupButton" type="submit" value="Anmelden"/>
</li>
</ul>
</form>';
include 'footer.php';
?>