-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsignup.php
More file actions
88 lines (78 loc) · 3.32 KB
/
signup.php
File metadata and controls
88 lines (78 loc) · 3.32 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
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
<?php
require("includes/common.php");
if (isset($_SESSION['email'])) {
header('location: homepage.php');
}
?>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" >
<!--jQuery library-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!--Latest compiled and minified JavaScript-->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href="style.css" rel="stylesheet" type="text/css"/>
<title>Store</title>
<style>
.row_style{
margin-top:100px;
}
</style>
</head>
<body>
<?php include 'includes/header.php'; ?>
<br>
<br>
<div class="container">
<div class="row">
<div id="column" >
<img src="img/yess.jpg">
</div>
<br>
<div id="column">
<div class="container-fluid">
<div class="row">
<div class="col-xs-12">
<form method="POST" action="signup_script.php">
<h2> SIGN UP </h2>
<div id="content">
<div class="form-group">
<input class="form-control input-lg" placeholder="Name" name="name" >
</div>
<div class="form-group">
<div>
<input type="email" class="form-control input-lg" placeholder="Email" name="email" required = "true">
</div>
<div><?php echo filter_input(INPUT_GET, 'm1');
?></div>
</div>
<div class="form-group">
<input type="password" class="form-control input-lg" placeholder="Password" name="password" >
</div>
<div class="form-group">
<div>
<input type="number" class="form-control input-lg" placeholder="Contact" name="contact" >
</div>
<div>
<?php echo filter_input(INPUT_GET, 'm2');
?>
</div>
</div>
<div class="form-group">
<input class="form-control input-lg" placeholder="City" name="city" >
</div>
<div class="form-group">
<input class="form-control input-lg" placeholder="Address" name="address">
</div>
<button type="submit" name="submit" class="btn btn-primary" inline="right">Submit</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include 'includes/footer.php'; ?>
</body>
</html>