-
Notifications
You must be signed in to change notification settings - Fork 3
/
signup.php
140 lines (133 loc) · 3.69 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
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
<?php include_once('./includes/headerNav.php'); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65"
crossorigin="anonymous"
/>
<title>Signup</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
display: flex;
flex-direction: column;
height: 100vh;
justify-content: center;
align-items: center;
}
.registeration-box {
width: 60%;
/* border: 1px solid red; */
padding: 15px;
}
.logo-box{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-bottom: 25px;
}
.signup-title {
text-align: center;
text-transform: uppercase;
margin: 10px;
}
</style>
</head>
<body>
<div class="registeration-box">
<div class="logo-box">
<img
src="admin/upload/<?php echo $_SESSION['web-img']; ?>"
alt="logo"
width="200px"
/>
</div>
<h1 class="signup-title">Sign Up Please</h1>
<hr>
<form action="includes/signup.inc.php" method="post" class="row g-3">
<div class="col-md-6">
<label for="inputAddress2" class="form-label">Full Name</label>
<input
type="text"
class="form-control"
name="name"
required="required"
placeholder="Full Name..."
/>
</div>
<div class="col-md-6">
<label for="inputAddress" class="form-label">Number</label>
<input
type="number"
class="form-control"
name="number"
required="required"
placeholder="+92 123 456 789 1"
/>
</div>
<div class="col-md-6">
<label for="inputEmail4" class="form-label">Email</label>
<input
type="email"
class="form-control"
name="email"
placeholder="Email"
required="required"
/>
</div>
<div class="col-md-6">
<label for="inputAddress" class="form-label">Address</label>
<input
type="text"
class="form-control"
name="address"
required="required"
placeholder="1234 Main St"
/>
</div>
<div class="col-md-6">
<label for="inputPassword4" class="form-label">Password</label>
<input
type="password"
class="form-control"
name="pwd"
placeholder="password"
required="required" />
</div>
<div class="col-md-6">
<label for="inputPassword4" class="form-label"
>Confirm Password</label
>
<input
type="password"
class="form-control"
name="rpwd"
placeholder="Confirm Password"
required="required"
/>
</div>
<div class="col-12">
<button
type="submit"
class="btn btn-primary"
name="submit"
>Register</button>
</div>
</form>
</div>
<!-- Script Tags -->
<script src="./js/jquery.js" type="text/javascript"></script>
<script src="./js/bootstrap.min.js" type="text/javascript"></script>
</body>
</html>