-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkba.php
More file actions
373 lines (333 loc) · 14 KB
/
kba.php
File metadata and controls
373 lines (333 loc) · 14 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
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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
<?php
session_start();
if(isset($_SESSION['login_user']))
{
}
else
{
?>
<script>
alert('You have not logged in');
window.location='index1.php';
</script>
<?php
}
?>
<!DOCTYPE HTML>
<html>
<head>
<title>Badminton Courts</title>
<!---css--->
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<link href="css/style.css" rel='stylesheet' type='text/css' />
<!---css--->
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!---js--->
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/bootstrap.js"></script>
<!---js--->
<!---fonts-->
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Righteous' rel='stylesheet' type='text/css'>
<!---fonts-->
<!-- FlexSlider -->
<script src="js/jquery.flexslider.js"></script>
<link rel="stylesheet" href="css/flexslider.css" type="text/css" media="screen" />
<script>
// Can also be used with $(document).ready()
$(window).load(function() {
$('.flexslider').flexslider({
animation: "slide",
controlNav: "thumbnails"
});
});
</script>
<!-- //FlexSlider-->
<!-- cdn for modernizr, if you haven't included it already -->
<script src="http://cdn.jsdelivr.net/webshim/1.12.4/extras/modernizr-custom.js"></script>
<!-- polyfiller file to detect and load polyfills -->
<script src="http://cdn.jsdelivr.net/webshim/1.12.4/polyfiller.js"></script>
<script>
webshims.setOptions('waitReady', false);
webshims.setOptions('forms-ext', {types: 'date'});
webshims.polyfill('forms forms-ext');
</script>
</head>
<body>
<!---header--->
<div class="header-section">
<div class="container">
<div class="head-top">
<div class="social-icon">
<a href="#"><i class="icon"></i></a>
<a href="#"><i class="icon1"></i></a>
<a href="#"><i class="icon2"></i></a>
<a href="#"><i class="icon3"></i></a>
<a href="#"><i class="icon4"></i></a>
</div>
<div class="email">
<ul>
<li><i class="glyphicon glyphicon-envelope" aria-hidden="true"></i>Email: <a href="mailto:info@example.com">info@example.com</a> </li>
<li><i class="glyphicon glyphicon-log-in" aria-hidden="true"></i><a href="logout.php" >Logout</a></li>
</ul>
</div>
<div class="clearfix"></div>
</div>
<nav class="navbar navbar-default">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="navbar-brand">
<h1><a href="#"><span>Court</span>Side</a></h1>
</div>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="index2.php">Home <span class="sr-only">(current)</span></a></li>
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Gallery <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="2columnsgallery.html">2 Columns Gallery</a></li>
<li><a href="3columnsgallery.html">3 Columns Gallery</a></li>
<li><a href="4columnsgallery.html">4 Columns Gallery</a></li>
</ul>
</li>
<li><a href="blog.html">Blog</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Pages<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="mainbooking.php">MainBooking</a></li>
<li><a href="football.php">Football</a></li>
<li><a href="basketball.php">Basketball</a></li>
<li><a href="tennis.php">Tennis</a></li>
<li><a href="badminton.php">Badminton</a></li>
<li><a href="cricket.php">Cricket</a></li>
<li><a href="swim.php">Swimming</a></li>
</ul>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
<div class="phone">
<span><i class="glyphicon glyphicon-phone" aria-hidden="true"></i>1-999-4563-555</span>
</div>
<div class="clearfix"></div>
</div>
</nav>
</div>
</div>
<!---header--->
<!---banner--->
<div class="container">
<h2><b>KBA</b></h2>
</div>
<!---banner--->
<div class="content">
<div class="properties-section">
<div class="container">
<div class="properties-grids">
<div class="col-md-9 properties-left">
<div class="flexslider">
<ul class="slides">
<li data-thumb="images/badminton/dfd.jpg">
<div class="thumb-image"> <img src="images/badminton/dfd.jpg" data-imagezoom="true" class="img-responsive"> </div>
</li>
<li data-thumb="images/badminton/dfd1.jpg">
<div class="thumb-image"> <img src="images/badminton/dfd1.jpg" data-imagezoom="true" class="img-responsive"> </div>
</li>
</ul>
</div>
<div class="clearfix"></div>
<div class="properties-details">
<div class="col-md-2 properties-detail">
<h5><span>44</span> ft length</h5>
</div>
<div class="col-md-2 properties-detail">
<h5><span>20</span> ft width</h5>
</div>
<div class="col-md-2 properties-detail">
<h5><span>2</span> parking</h5>
</div>
<div class="col-md-2 properties-detail">
<h5>Washroom</h5>
</div>
<div class="col-md-2 properties-detail">
<a href="javascript:window.print()"> print</a>
</div>
<div class="clearfix"></div>
</div>
<p>This is a Synthetic Court located at MG Road Bangalore.It has a well maintained Synthetic flooring..It cost 600 per hour.It was started in the year 2012.</p>
<div class="contact-me">
<h4>Book Court</h4>
<form method="post" action="baddb.php">
<table height="600" align="center" frame="box" style="border-color:gray;background-color:lightblue;border-width:12px 2;">
<tr>
<th colspan="2"width="600" height="50"><h3><center><b>FILL UP THE DETAILS</b></center></h3></th>
</tr>
<tr>
<th width="600" height="50"><h3><center>Name</center></h3>
</th>
<th width="600" height="50"><input type="text"name="txt1" id="name"style="width:500px;background-color:white"
onblur="javascript:valname(this.value)"></th>
</tr>
<tr>
<th width="600" height="50"><h3><center>E-mail Id</center></h3></th>
<th width="600" height="50"><input type="email"name="txt2"id="em"style="width:500px;background-color:white"onblur="javascript:valemail(this.value)" ></th>
</tr>
<tr>
<th width="600" height="50"><h3><center>Phone number</center></h3></th>
<th width="600" height="50"><input type="text" name="txt3"id="ph" maxlength="10"style="width:500px;background-color:white" onblur="javascript:valphno(this.value)"></th>
</tr>
<tr>
<th width="600" height="50"><h3><center>Date</center></h3></th>
<th width="600" height="50"><input type="date" name="date" id="date" style="width:500px;background-color:white"></th>
</tr>
<tr>
<th width="600" height="50"><h3><center>Choose Slot</center></h3><br></th>
<th width="600" height="50"> <select style="width:200px;height:30px;"name="slot">
<option>6-7 AM</option>
<option>7-8 AM</option>
<option>8-9 AM</option>
<option>9-10 AM</option>
<option>4-5 PM</option>
<option>5-6 PM</option>
<option>6-7 PM</option>
<option>7-8 PM</option>
<option>8-9 PM</option>
<option>9-10 PM</option>
<option>10-11 PM</option>
<option>11-12 PM</option>
</select><br><br><br>
<br></th>
</tr>
<tr>
<th width="600" height="50"><center><input type="submit" value="Submit"style="width:100px" ></center></th>
<th width="600" height="50"><center><input type="reset" value="Clear"style="width:100px" ></center></th>
</tr>
</table>
<input type="text" name="txt6" value="5" style="display:none">
<input type="text" name="txt0" value="KBA" style="display:none">
<input type="text" name="txt4" value="600" style="display:none">
</form>
<script>
function valname(name)
{
var pattern=/[^a-z|^A-Z|^\s]/;
if(pattern.test(name))
{
alert("Only alphabets from a-z and A-Z are allowed");
document.getElementById("name").focus();
document.getElementById("name").value = "";
//window.location="ss.php";
}
}
function valemail(email)
{
var pattern=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
if(!pattern.test(email))
{
alert("Enter valid E-mail ID");
//window.location="ss.php";
document.getElementById("em").value = "";
document.getElementById("em").focus();
}
}
function valphno(phno)
{
var pattern=(/^\d{10}$/);
if(!pattern.test(phno))
{
alert("Enter Valid Phone Number");
//window.location="ss.php";
document.getElementById("ph").value = "";
document.getElementById("ph").focus();
}
}
</script>
</div>
<div class="contact-me">
<h4>Cancel Booking</h4>
<form method="post" action="badcan.php">
<table height="300" align="center" frame="box" style="border-color:gray;background-color:lightblue;border-width:12px 2;">
<tr>
<th colspan="2"width="600" height="50"><h3><center><b>You can cancel your booking here</b></center></h3></th>
</tr>
<tr>
<th width="600" height="50"><center>
<h3>Enter Booking ID</center></th>
<th width="600" height="50"align="center"><center>
<input type="text" name="bkid" style="width:300px;background-color:white"></center></th>
</tr>
<tr>
<th width="600" height="50"><center><input type="submit" value="Submit"style="width:100px" ></center></th>
<th width="600" height="50"><center><input type="reset" value="Clear"style="width:100px"></center></th>
</tr>
</table>
<input type="text" name="txt0" value="KBA" style="display:none">
<input type="text" name="txt6" value="5" style="display:none"><br/><br>
</form>
</div>
<div class="idxpress-top">
<h3><b>View Routes</b></h3>
<script src='https://maps.googleapis.com/maps/api/js?v=3.exp'></script><div style='overflow:hidden;height:440px;width:700px;'><div id='gmap_canvas' style='height:440px;width:700px;'></div><div><small><a href="http://embedgooglemaps.com"> embed google maps </a></small></div><div><small><a href="http://freedirectorysubmissionsites.com/">link directories</a></small></div><style>#gmap_canvas img{max-width:none!important;background:none!important}</style></div><script type='text/javascript'>function init_map(){var myOptions = {zoom:10,center:new google.maps.LatLng(12.9805707260416,77.61781778471688),mapTypeId: google.maps.MapTypeId.ROADMAP};map = new google.maps.Map(document.getElementById('gmap_canvas'), myOptions);marker = new google.maps.Marker({map: map,position: new google.maps.LatLng(12.9805707260416,77.61781778471688)});infowindow = new google.maps.InfoWindow({content:'<strong>KBA</strong><br>mg road,bangalore,india<br>'});google.maps.event.addListener(marker, 'click', function(){infowindow.open(map,marker);});infowindow.open(map,marker);}google.maps.event.addDomListener(window, 'load', init_map);</script>
</div>
</div>
</div>
<div class="col-md-3 properties-right">
<div class="properties-top">
<h4>Vicky</h4>
<img src="images/t3.png" class="img-responsive" alt=""/>
<ul class="">
<li><i class="glyphicon glyphicon-earphone" aria-hidden="true"></i> Office : 080-25873941</li>
<li><i class="glyphicon glyphicon-phone" aria-hidden="true"></i> Mobile : 8746537822</li>
<li><i class="glyphicon glyphicon-print" aria-hidden="true"></i> Fax : 0091-789-456100</li>
</ul>
</div>
<div>
</div>
</div>
</div>
</div>
<!---footer--->
<div class="footer-section">
<div class="footer-grids">
<div class="col-md-3 footer-grid">
<h4>About CourtSide</h4>
<p>This site was developed using html,jQuery,css,php.This site has been created to for booking of courts of any sport to organize or take part in any tournament and also helps you buy sports gears.</p>
</div>
<div class="col-md-3 footer-grid">
<img src="images/Picture-2821.png" class="img-responsive"height="300" width="300" alt=""/>
</div>
<div class="col-md-3 footer-grid">
<h4>Get In Touch</h4>
<p>8901 Marmora Road</p>
<p>Glasgow, DO4 89GR.</p>
<p>Freephone : +1 234 567 890</p>
<p>Telephone : +1 234 567 890</p>
<p>FAX : + 1 234 567 890</p>
<p>E-mail : <a href="mailto:example@mail.com"> example@mail.com</a></p>
</div>
<div class="clearfix"> </div>
</div>
</div>
</div>
<!---footer--->
<!--copy-->
<div class="copy-section">
<div class="container">
<p>© 2016 Courtside. All rights reserved | Design by <a href="http://w3layouts.com">vignesh</a></p>
</div>
</div>
<!--copy-->
<!-- login -->
<form method="post" action="logout.php">
</form>
<!-- //login -->
</body>
</html>