-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
63 lines (55 loc) · 1.48 KB
/
index.php
File metadata and controls
63 lines (55 loc) · 1.48 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php include 'header.php'; ?>
<?php include 'admin.php'; ?>
<!-- Sign up page -->
<span class="display_error"><?php echo $display;?></span>
<!-- Display error message -->
<form method="post" action="index.php">
<input type="hidden" name="signuppage" value="signuppage">
<table class="left">
<tr>
<th colspan="2">Sign Up</th>
</tr>
<tr>
<td>Email </td>
<td><input name="email" type="email" required/></td>
</tr>
<tr>
<td>Password </td>
<td><input name="password" type="password" required/></td>
</tr>
<tr>
<td>First Name: </td>
<td><input name="FirstName" type="text" required/></td>
</tr>
<tr>
<td>Last Name: </td>
<td><input name="LastName" type="text" required/></td>
</tr>
<tr>
<td> </td>
<td><input name="submit" type="submit" value="enter" class="right"/></td>
</tr>
</table>
</form>
<!-- Login -->
<form method="post" action="home.php">
<input type="hidden" name="login" value="login">
<table class="right">
<tr>
<th colspan="2">Login</th>
</tr>
<tr>
<td>Email </td>
<td><input name="email" type="email" required/></td>
</tr>
<tr>
<td>Password </td>
<td><input name="password" type="password" required/></td>
</tr>
<tr>
<td> </td>
<td><input name="submit" type="submit" value="login" class="right"/></td>
</tr>
</table>
</form>
<?php include_once ('footer.php'); exit; ?>