-
Notifications
You must be signed in to change notification settings - Fork 27
/
event.php
394 lines (338 loc) · 10.7 KB
/
event.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
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
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
<?php
include('generate-data.php');
?>
<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="favicon.ico">
<title>Event - Sistem Informasi Geografis - Wisata Kota Surabaya</title>
<!-- Core JavaScript Files -->
<script src="ui/js/jquery-1.11.3.min.js"></script>
<!-- Bootstrap core CSS -->
<link href="ui/css/bootstrap.css" rel="stylesheet">
<link href="ui/css/paper.min.css" rel="stylesheet">
<!-- for map -->
<link rel="stylesheet" type="text/css" href="ui/css/bootstrap-example.min.css" />
<!-- Custom styles for this template -->
<link href="ui/css/jumbotron.css" rel="stylesheet">
<!-- Add fancyBox main JS and CSS files -->
<script type="text/javascript" src="source/jquery.fancybox.pack.js?v=2.1.5"></script>
<link rel="stylesheet" type="text/css" href="source/jquery.fancybox.css?v=2.1.5" media="screen" />
<script type="text/javascript">
$(document).ready(function() {
$(".various").fancybox({
maxWidth : '90%',
maxHeight : '90%',
fitToView : false,
width : '90%',
height : '90%',
autoSize : false,
closeClick : false,
openEffect : 'none',
closeEffect : 'none'
});
/*
* Simple image gallery. Uses default settings
*/
$('.fancybox').fancybox();
/*
* Different effects
*/
// Change title type, overlay closing speed
$(".fancybox-effects-a").fancybox({
helpers: {
title : {
type : 'outside'
},
overlay : {
speedOut : 0
}
}
});
// Disable opening and closing animations, change title type
$(".fancybox-effects-b").fancybox({
openEffect : 'none',
closeEffect : 'none',
helpers : {
title : {
type : 'over'
}
}
});
// Set custom style, close if clicked, change title type and overlay color
$(".fancybox-effects-c").fancybox({
wrapCSS : 'fancybox-custom',
closeClick : true,
openEffect : 'none',
helpers : {
title : {
type : 'inside'
},
overlay : {
css : {
'background' : 'rgba(238,238,238,0.85)'
}
}
}
});
// Remove padding, set opening and closing animations, close if clicked and disable overlay
$(".fancybox-effects-d").fancybox({
padding: 0,
openEffect : 'elastic',
openSpeed : 150,
closeEffect : 'elastic',
closeSpeed : 150,
closeClick : true,
helpers : {
overlay : null
}
});
/*
* Button helper. Disable animations, hide close button, change title type and content
*/
$('.fancybox-buttons').fancybox({
openEffect : 'none',
closeEffect : 'none',
prevEffect : 'none',
nextEffect : 'none',
closeBtn : false,
helpers : {
title : {
type : 'inside'
},
buttons : {}
},
afterLoad : function() {
this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
}
});
/*
* Thumbnail helper. Disable animations, hide close button, arrows and slide to next gallery item if clicked
*/
$('.fancybox-thumbs').fancybox({
prevEffect : 'none',
nextEffect : 'none',
closeBtn : false,
arrows : false,
nextClick : true,
helpers : {
thumbs : {
width : 50,
height : 50
}
}
});
/*
* Media helper. Group items, disable animations, hide arrows, enable media and button helpers.
*/
$('.fancybox-media')
.attr('rel', 'media-gallery')
.fancybox({
openEffect : 'none',
closeEffect : 'none',
prevEffect : 'none',
nextEffect : 'none',
arrows : false,
helpers : {
media : {},
buttons : {}
}
});
/*
* Open manually
*/
$("#fancybox-manual-a").click(function() {
$.fancybox.open('1_b.jpg');
});
$("#fancybox-manual-b").click(function() {
$.fancybox.open({
//href : 'js/plugins/storeLocator/templates/iframe.html',
type : 'iframe',
padding : 5
});
});
$("#fancybox-manual-c").click(function() {
$.fancybox.open([
{
href : '1_b.jpg',
title : 'My title'
}, {
href : '2_b.jpg',
title : '2nd title'
}, {
href : '3_b.jpg'
}
], {
helpers : {
thumbs : {
width: 75,
height: 50
}
}
});
});
});
</script>
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<!--script src="./index_files/ie-emulation-modes-warning.js"></script-->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php">SIG-SBY</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="map.php">Peta Wisata</a></li>
<li class="active"><a href="#">Event</a></li>
<li><a href="wisata-kuliner.php">Wisata Kuliner</a></li>
<li><a href="wisata-religi.php">Wisata Religi</a></li>
<li><a href="wisata-alam.php">Wisata Alam</a></li>
<li><a href="wisata-sejarah.php">Wisata Sejarah</a></li>
<li><a href="wisata-buatan.php">Wisata Buatan</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="admin/" target="blank">Login</a></li>
</ul>
</div><!--/.navbar-collapse -->
</div>
</nav>
<!-- Section: MAP -->
<section id="map" class="home-section text-center bg-gray">
<div class="heading-about">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<div class="wow bounceInDown" data-wow-delay="0.4s">
<div class="section-heading">
<h2>Event</h2>
<i class="fa fa-2x fa-angle-down"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<!--div class="container">
<div class="bh-sl-container container-fluid">
<div class="jumbotron">
<div class="container">
<div class="bh-sl-form-container">
<form id="bh-sl-user-location" class="form-inline" method="post" action="#" role="form">
<div class="form-input form-group">
<label for="bh-sl-address">Alamat atau Kodepos : </label>
<input class="form-control" type="text" id="bh-sl-address" name="bh-sl-address" />
</div>
<button id="bh-sl-submit" class="btn btn-primary" type="submit">Submit</button>
</form>
<label></label>
</div>
</div>
</div>
<div id="map-container" class="bh-sl-map-container">
<div class="row">
<div id="map-results-container" class="container">
<div id="bh-sl-map" class="bh-sl-map col-md-9" align="left"></div>
<div class="bh-sl-loc-list col-md-3">
<ul class="list list-unstyled"></ul>
</div>
</div>
</div>
</div>
</div>
</div-->
<div class="container">
<div class="bh-sl-container container-fluid">
<div class="jumbotron">
<div class="container">
<div class="bh-sl-form-container">
<form id="bh-sl-user-location" class="form-inline" method="post" action="#" role="form">
<div class="form-input form-group">
<label for="bh-sl-address">Alamat :</label>
<input class="form-control" type="text" id="bh-sl-address" name="bh-sl-address" />
</div>
<button id="bh-sl-submit" class="btn btn-primary" type="submit">Submit</button>
</form>
<label>Misal : jagir wetan surabaya</label></br>
<label>NB : selalu masukkan alamat dengan akhiran kata 'surabaya'.</label>
</div>
</div>
</div>
<div id="map-container" class="bh-sl-map-container">
<div class="row">
<div id="map-results-container" class="container">
<div id="bh-sl-map" class="bh-sl-map col-md-9"></div>
<div class="bh-sl-loc-list col-md-3">
<ul class="list list-unstyled"></ul>
</div>
</div>
</div>
</div>
</div>
</div>
</br></br>
</section>
<!-- /Section: MAP -->
<div class="container">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-4">
</div>
<div class="col-md-4">
</div>
<div class="col-md-4">
</div>
</div>
<hr>
<footer>
<p>Univ. 45 Surabaya - ipung © <?php echo date('Y');?>.</p>
</footer>
</div> <!-- /container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="ui/js/bootstrap.min.js"></script>
<script src="ui/js/bootswatch.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="ui/js/ie10-viewport-bug-workaround.js"></script>
<!-- Core JavaScript Files -->
<script src="ui/js/jquery.easing.min.js"></script>
<script src="ui/js/jquery.scrollTo.js"></script>
<script src="ui/js/wow.min.js"></script>
<!-- for map -->
<script src="ui/js/libs/handlebars.min.js"></script>
<script src="http://maps.google.com/maps/api/js?sensor=false&language=id"></script>
<script src="ui/js/plugins/storeLocator/jquery.storelocator.js"></script>
<script>
$(function() {
$('#map-container').storeLocator({
'lengthUnit' : 'km',
'storeLimit' : -1,
'infowindowTemplatePath' : 'ui/js/plugins/storeLocator/templates/infowindow-description2.html',
'listTemplatePath' : 'ui/js/plugins/storeLocator/templates/location-list-description2.html',
'dataType': 'json',
'dataLocation': 'data/data-event.json',
'inlineDirections' : true,
autoGeocode: true,
});
});
</script>
</body></html>