-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.php
43 lines (43 loc) · 1.3 KB
/
register.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
39
40
41
42
43
<?php include('server.php') ?>
<!DOCTYPE html>
<html>
<head>
<title>MUNorg</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="header">
<h2>REGISTER</h2>
</div>
<form method="post" action="register.php">
<?php include('errors.php'); ?>
<div class="input-group">
<label>Username</label>
<input type="text" name="username" value="<?php echo $username; ?>">
</div>
<div class="input-group">
<label>Email</label>
<input type="email" name="email" value="<?php echo $email; ?>">
</div>
<div class="input-group">
<label>Password</label>
<input type="password" name="password_1">
</div>
<div class="input-group">
<label>Confirm password</label>
<input type="password" name="password_2">
</div>
<div class="input-group">
<label>Role</label>
EB Member<input type="radio" name="profession" value='other'/>
Delegate<input type="radio" name="profession" value='delegate'/>
</div>
<div class="input-group">
<button type="submit" class="btn" name="reg_user">REGISTER</button>
</div>
<p>
Already a member? <a href="login.php">SIGN IN</a>
</p>
</form>
</body>
</html>