-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.php
86 lines (77 loc) · 3.25 KB
/
signup.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Van Street Eats</title>
<link href="css/normalize.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Domine|Josefin+Sans&display=swap" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
</head>
<body>
<!-- header section -->
<header class="box-head box">
<?php
// adds the header files
include("header.php");
include("navmenu.php");
?>
</header>
<!--main content section-->
<div class="spacer"></div>
<section class="centered">
<!-- form to sign up user -->
<form action="register_user.php" method="POST">
<h2>Sign Up</h2>
<div class="form-input">
<!-- name -->
<label for="name">name:</label>
<input type="text" name="name" placeholder="john doe" required>
</div>
<div class="form-input">
<!-- username -->
<label for="user">username:</label>
<input type="text" name="user" placeholder="john111" required>
</div>
<div class="form-input">
<!-- password (shows up hidden) -->
<label for="pass">password:</label>
<input type="password" name="pass" placeholder="*****" required>
</div>
<div class="form-input">
<!-- email address (requires an @_____.com) -->
<label for="email">e-mail address:</label>
<input type="email" name="email" placeholder="email@email.com" required>
</div>
<div class="form-input">
<label for="ePref">preferred food origin:</label>
<select name="ePref">;
<option value="fusion">fusion</option>
<option value="western">from the west</option>
<option value="south american">south american</option>
<option value="asian">asian</option>
<option value="middle eastern">middle eastern</option>
<option value="european">european</option>
<option value="australian">australian</option>
</select>
</div>
<div class="form-input">
<label for="fPref">preferred food type:</label>
<select name="fPref">;
<option value="cultural cuisine">cultural cuisine</option>
<option value="hot dogs">hot dogs</option>
<option value="fried">fried foods</option>
<option value="drinks">drinks</option>
<option value="meats">meat based dishes</option>
<option value="sandwiches">sandwiches</option>
<option value="soups">soups</option>
<option value="vergan">vegan/vegetarian</option>
<option value="burgers">burgers</option>
<option value="dessert">desserts</option>
</select>
</div>
<!-- submits the form which leads to register_user.php -->
<input type="submit" value="register">
</form>
</section>
</body>
</html>