-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.php
50 lines (50 loc) · 2.22 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
<?php
require 'includes/common.php';
if(isset($_SESSION['email']))
{
header('location:products.php');
}
?>
<html>
<head>
<title>Sign Up</title>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" type="text/css">
<script type="text/javascript" src="bootstrap/js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="index.css" type="text/css">
</head>
<body>
<?php include 'includes/header.php';?>
<div class="container">
<div class="col-xs-4 col-xs-offset-4">
<div class="panel" style="padding-top:75px;">
<div class="panel-heading"><h1>SIGN UP</h1></div>
<div class="panel-body">
<form action="POST" method="signup_script.php">
<div class="form-group">
<input type="text"placeholder="Name" class="form-control">
</div>
<div class="form-group">
<input type="email" placeholder="Email" class="form-control">
</div>
<div class="form-group">
<input type="password" placeholder="Password" class="form-control">
</div>
<div class="form-group">
<input type="number" placeholder="Contact" class="form-control">
</div>
<div class="form-group">
<input type="text" placeholder="City" class="form-control">
</div>
<div class="form-group">
<input type="text" placeholder="Address" class="form-control">
</div>
<button type="button" class="btn btn-primary">Submit</button>
</form>
</div>
</div>
</div>
</div>
<?php include 'includes/footer.php'; ?>
</body>
</html>