-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.php
79 lines (74 loc) · 3.12 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
<?php
require 'connection.php';
session_start();
if(isset($_SESSION['email'])){
header('location: products.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="img/lifestyleStore.png" />
<title>Worlds Store</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- latest compiled and minified CSS -->
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" type="text/css">
<!-- jquery library -->
<script type="text/javascript" src="bootstrap/js/jquery-3.2.1.min.js"></script>
<!-- Latest compiled and minified javascript -->
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<!-- External CSS -->
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
<div>
<?php
require 'header.php';
?>
<br><br>
<div class="container">
<div class="row">
<div class="col-xs-4 col-xs-offset-4">
<h1><b>SIGN UP</b></h1>
<form method="post" action="user_registration_script.php">
<div class="form-group">
<input type="text" class="form-control" name="name" placeholder="Name" required="true">
</div>
<div class="form-group">
<input type="email" class="form-control" name="email" placeholder="Email" required="true"
pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$">
</div>
<div class="form-group">
<input type="password" class="form-control" name="password"
placeholder="Password(min. 6 characters)" required="true" pattern=".{6,}">
</div>
<div class="form-group">
<input type="tel" class="form-control" name="contact" placeholder="Contact" required="true">
</div>
<div class="form-group">
<input type="text" class="form-control" name="city" placeholder="City" required="true">
</div>
<div class="form-group">
<input type="text" class="form-control" name="address" placeholder="Address"
required="true">
</div>
<div class="form-group">
<input type="submit" class="btn btn-primary" value="Sign Up">
</div>
</form>
</div>
</div>
</div>
<br><br><br><br><br><br>
<footer class="footer">
<div class="container">
<center>
<p>Copyright © Worlds Store. All Rights Reserved.</p>
<p>This website is developed by Yugesh Verma</p>
</center>
</div>
</footer>
</div>
</body>
</html>