-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.php
56 lines (56 loc) · 2.44 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
<!DOCTYPE html>
<?php
require 'includes/common.php';
if (isset($_SESSION['id']))
{
header('location: products.php');
}
?>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Signup | Life Style Store</title>
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
<?php
include 'includes/header.php';
?>
<div class="container-fluid decor_bg" id="content">
<div class="row">
<div class="container">
<div class="col-lg-4 col-lg-offset-4 col-md-6 col-md-offset-3">
<h2>SIGN UP</h2>
<form action="signup_script.php" method="POST">
<div class="form-group">
<input type="text" class="form-control" placeholder="Name" name="name" required>
</div>
<div class="form-group">
<input type="email" class="form-control" placeholder="Email" name="email" required>
</div>
<div class="form-group">
<input type="password" class="form-control" placeholder="Password" name="password" required>
</div>
<div class="form-group">
<input type="text" class="form-control" placeholder="Contact" maxlength="10" size="10" name="contact" required>
</div>
<div class="form-group">
<input type="text" class="form-control" placeholder="City" name="city" required>
</div>
<div class="form-group">
<input type="text" class="form-control" placeholder="Address" name="address" required>
</div>
<button type="submit" name="submit" class="btn btn-primary">Submit</button>
</form>
</div>
</div>
</div>
</div>
<?php
include 'includes/footer.php';
?>
</body>
</html>