-
Notifications
You must be signed in to change notification settings - Fork 26
/
sign_up.php
194 lines (159 loc) · 8.3 KB
/
sign_up.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Foodie</title>
</head>
<body>
<?php
include "nav.php";
?>
<header>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner" role="listbox">
<!-- Slide One - Set the background image for this slide in the line below -->
<div class="carousel-item active" style="background-image: url('images/c_image_01.jpg')">
<div class="carousel-caption d-none d-md-block">
<h3></h3>
<p></p>
</div>
</div>
<!-- Slide Two - Set the background image for this slide in the line below -->
<div class="carousel-item" style="background-image: url('images/c_image_02.jpg')">
<div class="carousel-caption d-none d-md-block">
<h3></h3>
<p></p>
</div>
</div>
<!-- Slide Three - Set the background image for this slide in the line below -->
<div class="carousel-item" style="background-image: url('images/c_image_03.jpg')">
<div class="carousel-caption d-none d-md-block">
<h3></h3>
<p></p>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</header>
<!-- Page Content -->
<section class="py-5">
<div class="container">
<h1>Sign Up</h1>
<!-- Sign up form-->
<div class="container">
<div class="row">
<div class="col-md-6">
<form action="regProcess.php" method="post" id="signup" role="form" enctype="multipart/form-data">
<fieldset><legend class="text-center">Valid information is required to register. <span class="req"><small> required *</small></span></legend>
<div class="form-group">
<label for="phonenumber"><span class="req">* </span> Phone Number: </label>
<input required type="text" name="phone" id="phone" class="form-control phone" maxlength="28" onkeyup="validatephone(this);" placeholder="not used for marketing"/>
</div>
<div class="form-group">
<label for="firstname"><span class="req">* </span> First name: </label>
<input class="form-control" type="text" name="fname" id = "txt" onkeyup = "Validate(this)" required />
<div id="errFirst"></div>
</div>
<div class="form-group">
<label for="lastname"><span class="req">* </span> Last name: </label>
<input class="form-control" type="text" name="lname" id = "txt" onkeyup = "Validate(this)" placeholder="hyphen or single quote OK" required />
<div id="errLast"></div>
</div>
<div class="form-group">
<label for="address"><span class="req">* </span> Address: </label>
<input class="form-control" required type="text" name="address" id = "address" onchange="" />
<div class="status" id="status"></div>
</div>
<div class="form-group">
<label for="email"><span class="req">* </span> Email Address: </label>
<input class="form-control" required type="text" name="email" id = "email" onchange="email_validate(this.value);" />
<div class="status" id="status"></div>
</div>
<div class="form-group">
<label for="username"><span class="req">* </span> Username: <small>This will be your login user name</small> </label>
<input class="form-control" type="text" name="username" id = "txt" onkeyup = "Validate(this)" placeholder="minimum 3 characters" required />
<div id="errLast"></div>
</div>
<div class="form-group">
<label for="password"><span class="req">* </span> Password: </label>
<input required name="password" type="password" class="form-control inputpass" minlength="4" maxlength="16" id="pass1" /> </p>
</div>
<div class="form-group">
<label for="image"><span class="req">* </span> Picture: </label>
<input id="uploadBtn" type="file" class="upload" name="image" accept="image/*"/>
</div>
<div class="form-group">
<input class="btn btn-success" type="submit" name="submit_reg" value="Register">
</div>
</fieldset>
</form><!-- ends register form -->
<script type="text/javascript">
document.getElementById("field_terms").setCustomValidity("Please indicate that you accept the Terms and Conditions");
</script>
</div><!-- ends col-6 -->
</div>
<br>
<br>
<!-- Contact us form ends Here-->
<!-- Footer -->
<footer class="py-5 bg-dark">
<div class="container">
<p class="m-0 text-center text-white">Copyright © Foodie 2017</p>
</div>
<!-- /.container -->
</footer>
</body>
</html>
<!-- assets -->
<!-- <script src="assets/js/bootstrap.bundle.js"></script> -->
<script src="assets/js/bootstrap.bundle.min.js"></script>
<!-- <script src="assets/js/bootstrap.js"></script> -->
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/source.bootstrap.min.js"></script>
<!-- <script src="assets/js/contact_us.js"></script> -->
<!-- <script src="assets/js/dropdown.js"></script> -->
<!-- <script src="assets/js/jquery.js"></script> -->
<script src="assets/js/jquery.min.js"></script>
<!-- <script src="assets/js/payment.js"></script> -->
<!-- <script src="assets/js/restaurant.js"></script> -->
<!-- <script src="assets/js/result.js"></script> -->
<!-- <script src="assets/js/review.js"></script> -->
<!-- <script src="assets/js/sign_in.js"></script> -->
<script src="assets/js/sign_up.js"></script>
<!-- <link href="assets/css/account_header.css" rel="stylesheet"> -->
<!-- <link href="assets/css/animate.css" rel="stylesheet"> -->
<!-- <link href="assets/css/bootstrap.css" rel="stylesheet"> -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/css/source.bootstrap.min.css" rel="stylesheet">
<!-- <link href="assets/css/bootstrap-grid.css" rel="stylesheet"> -->
<!-- <link href="assets/css/bootstrap-grid.min.css" rel="stylesheet"> -->
<!-- <link href="assets/css/bootstrap-reboot.css" rel="stylesheet"> -->
<!-- <link href="assets/css/bootstrap-reboot.min.css" rel="stylesheet"> -->
<!-- <link href="assets/css/checkout.css" rel="stylesheet"> -->
<!-- <link href="assets/css/check-radio.css" rel="stylesheet"> -->
<!-- <link href="assets/css/contact_us.css" rel="stylesheet"> -->
<!-- <link href="assets/css/delivery.css" rel="stylesheet"> -->
<link href="assets/css/half-slider.css" rel="stylesheet">
<link href="assets/css/index.css" rel="stylesheet">
<!-- <link href="assets/css/payment.css" rel="stylesheet"> -->
<!-- <link href="assets/css/profile.css" rel="stylesheet"> -->
<!-- <link href="assets/css/result.css" rel="stylesheet"> -->
<!-- <link href="assets/css/review.css" rel="stylesheet"> -->
<!-- <link href="assets/css/sign_in.css" rel="stylesheet"> -->
<!-- <link href="assets/css/sign_up.css" rel="stylesheet"> -->