-
Notifications
You must be signed in to change notification settings - Fork 1
/
Registration.php
169 lines (167 loc) · 5.23 KB
/
Registration.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<html>
<head>
<style>
body{
margin: 0px;
padding: 0px;
background: #222;
}
#form{
position: absolute;
top:50%;
left: 50%;
transform: translate(-50%,-50%);
border:3px solid white;
border-radius: 15px;
padding: 30px;
}
#box1,#box2{
height: 40px;
width: 240px;
background-color:#94c82f;
border: 1px solid white;
margin: 0px;
}
#box1{
border-radius: 2px 2px 0px 0;
margin-bottom: -4px;
}
#box2{
border-radius: 0px 0px 2px 2px;
}
#uicon{
display: inline-block;
float: left;
margin-top: 10px;
margin-left: 5px;
}
#picon{
display: inline-block;
float: left;
margin-top: 10px;
margin-left: 5px;
}
#uid,#pass,#uemail,#cpass,#phone{
height: 30px;
width: 200px;
display: inline-block;
float: left;
margin:5px;
border: none;
background: transparent;
outline: none;
color: white;
height: 40px;
width: 240px;
background-color:#94c82f;
border: 1px solid white;
margin: 0px;
padding-left: 10px;
margin-top: 5px;
}
#btn{
height: 30px;
width: 150px;
margin-top: 20px;
border: none;
background-color: white;
outline:none;
border-radius: 2px;
font-family: arial;
font-size: 15px;
}
#logo{
transform: rotate(-10deg);
margin-bottom: 40px;
}
#main{
height: 100vh;
width: 100%;
background-image: url('poster/grid%201.jpg');
background-size: 100% 100%;
}
#blackLayer{
height: 100vh;
width: 100%;
background-color: #222;
position: absolute;
opacity: .80;
}
a{
color: white;
position: relative;
top:10px;
}
</style>
<script src="jquery-1.10.2.min.js"></script>
<script>
$(document).ready(function(){
<?php
if($_GET['flag']==0)
{
?>
alert("Password Not Match");
<?php
}
if($_GET['flag']==1)
{
?>
alert("Record Not Inserted");
<?php
}
?>
});
</script>
</head>
<body>
<div id="blackLayer"></div>
<div id="main">
<div id="form">
<table cellspacing="0" border="0">
<form action="Registration Data.php" method="post">
<tr>
<Td align="center">
<img src="logo.png" height="80px" width="100px" id="logo"/>
</Td>
</tr>
<tr>
<td>
<input type="text" id="uid" name="uname" placeholder="Enter Name" required/>
</td>
</tr>
<tr>
<td>
<input type="email" id="uemail" placeholder="Enter Email" name="uemail" required/>
</td>
</tr>
<tr>
<td>
<input type="password" id="pass" name="pass" placeholder="Enter Password" required/>
</td>
</tr>
<tr>
<td>
<input type="password" id="cpass" name="cpass" placeholder="Confirm Password" required/>
</td>
</tr>
<tr>
<td>
<input type="text" id="phone" name="phone" placeholder="Enter Contact NO" required/>
</td>
</tr>
<tr align="center">
<td>
<input type="submit" value="SIGN UP" id="btn"/>
</td>
</tr>
<tr>
<td align="center">
<a href="User%20Login.php">already have an account?</a>
</td>
</tr>
</form>
</table>
</div>
</div>
</body>
</html>