-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
287 lines (243 loc) · 12.2 KB
/
index.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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<!DOCTYPE html>
<html lang="en">
<head>
<title>The Pizza Box</title>
<link rel="stylesheet" href="css/pizza_style.css" type="text/css" media="screen" />
<!--Registration-->
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- Custom CSS -->
<link href="css/reg_style.css" rel='stylesheet' type='text/css' />
<link href="//fonts.googleapis.com/css?family=Signika:300,400,700" rel="stylesheet">
<link href="//fonts.googleapis.com/css?family=Roboto+Condensed:400,700" rel="stylesheet">
<!--font CSS-->
<script src="js/jquery2.0.3.min.js"></script>
<!--Registration-->
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- css files -->
<link rel="stylesheet" href="css/font-awesome.css"> <!-- Font-Awesome-Icons-CSS -->
<link rel="stylesheet" href="css/style.css" type="text/css" media="all" /> <!-- Style-CSS -->
<!-- //css files -->
<!-- web-fonts -->
<link href="//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800" rel="stylesheet">
<link href="//fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
<!-- //web-fonts -->
<style type="text/css">
/* Add Zoom Animation */
.animate {
-webkit-animation: animatezoom 0.6s;
animation: animatezoom 0.6s
}
@-webkit-keyframes animatezoom {
from {-webkit-transform: scale(0)}
to {-webkit-transform: scale(1)}
}
@keyframes animatezoom {
from {transform: scale(0)}
to {transform: scale(1)}
}
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
span.psw {
display: block;
float: none;
}
.cancelbtn {
width: 100%;
}
}
.modal {
display: none; /* Hidden by default */
position: absolute; /* Stay in place */
z-index: 100; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
padding-top: 60px;
}
.imgcontainer {
text-align: center;
margin: 24px 0 12px 0;
position: relative;
}
/* The Close Button (x) */
.close {
position: absolute;
right: 25px;
top: 0;
color: blue;
font-size: 35px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: red;
cursor: pointer;
}
.entery
{
display: block;
float: right;
color: red;
background-color: green;
width: 150px;
height: 50px;
}
</style>
<link href="css1/owl.carousel.css" rel='stylesheet' type='text/css'/>
<link href="css1/bootstrap.css" rel='stylesheet' type='text/css'/>
<link href="css1/style.css" rel="stylesheet" type="text/css" media="all"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false;
</script>
<script src="js1/jquery.min.js"></script>
<link href="css1/animate.css" rel="stylesheet" type="text/css" media="all">
<script src="js1/wow.min.js"></script>
<script>
new WOW().init();
</script>
</head>
<body>
<!--
<img src="logo.png" align="left">
<input class="entery" type="button" name="button" value="login" onclick="document.getElementById('id01').style.display='block'" >
<input class="entery" type="button" name="button" value="Registration" onclick="document.getElementById('id02').style.display='block'" >
-->
<div>
<ul class="above_menu" style="background-image: url(images/header-bg.png);">
<li style="float: left;"><img src="logo.png"></li>
<li style="float: right;"><h1><a class="active" onclick="document.getElementById('id01').style.display='block'" >Login</a></h1></li>
<li style="float: right;"><h1><a class="active" onclick="document.getElementById('id02').style.display='block'" >Register</a></h1></li>
</ul>
</div>
<div id="id01" class="modal">
<div class="main-content-agile animate">
<div class="imgcontainer">
<span onclick="document.getElementById('id01').style.display='none'" class="close" title="Close Modal">×</span>
</div>
<div class="sub-main-w3">
<h2>Sign In</h2>
<form action="process_login.php" method="post">
<div class="icon1">
<input placeholder="Username" name="usernm" type="text" required="">
</div>
<div class="icon2">
<input placeholder="Password" name="pwd" type="password" required="">
</div>
<div class="clear"></div>
<input type="submit" value="Sign in">
</form>
</div>
</div>
</div>
<div id="id02" class="modal">
<div class="main-grid">
<div class="agile-grids animate">
<!-- validation -->
<div class="grids">
<div class="forms-grids">
<div class="forms3">
<div class="w3agile-validation w3ls-validation">
<div class="panel panel-widget agile-validation register-form">
<div class="imgcontainer">
<span onclick="document.getElementById('id02').style.display='none'" class="close" title="Close Modal">×</span>
</div>
<div class="validation-grids widget-shadow" data-example-id="basic-forms">
<div class="input-info">
<h3>Register Form </h3>
</div>
<div class="form-body form-body-info">
<form data-toggle="validator" action="process_register.php" method="post">
<div class="form-group valid-form">
<input type="text" class="form-control" id="inputName" name="name" placeholder="Name" required pattern="[a-zA-z1 _]{3,50}" data-error="Enter ony alphabets" required="">
<div class="help-block with-errors"></div>
</div>
<div class="form-group valid-form">
<input type="text" class="form-control" id="inputName" name="Username" placeholder="Username" required="">
</div>
<div class="form-group has-feedback">
<input type="email" class="form-control" name="Email" placeholder="Email" data-error="That email address is invalid" required="">
<span class="glyphicon form-control-feedback" aria-hidden="true"></span>
<span class="help-block with-errors">Please enter a valid email address</span>
</div>
<div class="form-group">
<input type="password" data-toggle="validator" data-minlength="6" class="form-control" id="inputPassword" name="Password" placeholder="Password" required="">
<span class="help-block">Minimum of 6 characters</span>
</div>
<div class="form-group">
<input type="password" class="form-control" id="inputPasswordConfirm" data-match="#inputPassword" data-match-error="Whoops, these don't match" name="Confirm password" placeholder="Confirm password" required="">
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<div class="radio">
<label>
<input type="radio" name="gender" value="Female" required="">
Female
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="gender" value="Male" required="">
Male
</label>
</div>
<div class="form-group valid-form">
<input type="tel" class="form-control" id="mob_no" name="contact" placeholder="Mobile No." required="" maxlength="10" pattern="^\d{10}$" data-error="Enter valid Mobile No." oninput="valid_mob()">
<div class="help-block with-errors" id="mob_error"></div>
</div>
<div class="form-group valid-form">
<textarea class="form-control" id="inputName" name="address" placeholder="Enter Address" required=""></textarea>
</div>
</div>
<div class="form-group">
<div class="checkbox">
<label>
<input type="checkbox" id="terms" data-error="Kindly accept the terms & conditions to move further" required="">
I have read and accept terms of use.
</label>
<div class="help-block with-errors"></div>
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary disabled">Submit</button>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="clear"> </div>
</div>
</div>
</div>
<!-- //validation -->
</div>
</div>
</div>
<!-- input-forms -->
<script type="text/javascript" src="js/valida.2.1.6.min.js"></script>
<script type="text/javascript" >
$(document).ready(function() {
// show Valida's version.
$('#version').valida( 'version' );
// Exemple 1
$('.valida').valida();
// setup the partial validation
$('#partial-1').on('click', function( ev ) {
ev.preventDefault();
$('#res-1').click(); // clear form error msgs
$('form').valida('partial', '#field-1'); // validate only field-1
$('form').valida('partial', '#field-1-3'); // validate only field-1-3
});
});
</script>
<!-- //input-forms -->
<!--validator js-->
<script src="js/validator.min.js"></script>
<!--//validator js-->
<?php include('slider1.php'); ?>
</body>
</html>