-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvenue.phpp
469 lines (364 loc) · 14.2 KB
/
venue.phpp
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
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
<!DOCTYPE html>
<html lang = "en-gb" dir = "ltr">
<head>
<title>Venue</title>
<base href="/mes/" />
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name = "viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href = "style.css" />
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel = "stylesheet" href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<!------------ACTIVE TAB STYLE-------------------->
<style>
#venue-active {
color: black !important;
background-color: white !important;
}
</style>
<!------------------------------------heading----------------------------------------->
<div id="heading-placeholder">
<?php
$include_path = "/var/www/html/mes/";
$use_page="TRUE";
include("$include_path/components/heading.php");
?>
</div>
<!---------------------------------end of heading------------------------------------->
<!---------------------------------Navigation bar------------------------------------->
<div id="nav-placeholder">
<?php
include("$include_path/components/navigation-bar.php");
?>
</div>
<!-----------------------------end of Navigation bar----------------------------------->
<div class="container" id="maincontent">
<div class="row">
<!--------------------------------page main content------------------------------->
<div class="col-md-8">
<div class="row">
</div>
<div class="row" style=" padding: 0px 5px 0px 5px;">
<div class="article-content clearfix" itemprop="articleBody">
<br />
<h2 class="no-margin"><strong style="font-size: 26px; color:teal;">Conference Venue </strong></h2>
<figure style="padding: 1px 0% 0% 0%">
<h3> Zakir Hussain Auditorium, University of Hyderabad. </h3>
<!------------------------------------------------------------------------------------- -->
<address>
<strong> Address : </strong> <br />
Zakir Hussain Lecture Hall Complex, UPE Building <br />
CUC, Gachibowli, Hyderabad-500046, India <br />
</address>
<!------------------------------------------------------------------------------------- -->
<img src="media/venue/zakir_hussain.png" alt="Zakir Hussain Auditorium" width=100% >
<figcaption style="font-size:10px; text-align:right; padding: 4px 0% 0% 0%">Courtesy: Sriram R Bhupathiraju (Google Maps)</figcaption>
</figure>
</div>
</div>
<!------------------------------------------------------------------------------------- -->
<h3> Map : </h3>
<div class="row" style=" padding: 0px 12% 0px 12%;">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1903.042293349083!2d78.32656906924423!3d17.455665099378738!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3bcb93052448b22d%3A0xf6a2e7f13f4750a7!2sZakir+Hussain+Lecture+Hall+Complex%2C+UPE+Building!5e0!3m2!1sen!2sin!4v1529601478896" width="100%" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
</div>
<!------------------------------------------------------------------------------------- -->
<br />
<br />
<br />
<div class="row" style=" padding: 0px 5px 0px 5px;">
<h2 class="no-margin"><strong style="font-size: 26px; color:teal;">University of Hyderabad Photos </strong></h2>
<br />
<div id="c" class="carousel" aria-labelledby="carousel heading">
<ul>
<li class="slide" style="float:center;"><img src="media/uoh/uoh1.jpg" class="center"></li>
<li class="slide"><img src="media/uoh/uoh3.jpg" class="center"></li>
<li class="slide"><img src="media/uoh/peacock_lake_inside.jpg" class="center"></li>
<li class="slide"><img src="media/uoh/33_big.jpg" class="center"></li>
<li class="slide"><img src="media/uoh/mushroom.jpg" class="center"></li>
<li class="slide"><img src="media/uoh/53.jpg" class="center"></li>
<li class="slide"><img src="media/uoh/uoh4.jpg" class="center"></li>
</ul>
<div class="pager">
</div>
</div>
</div>
</div>
<!------------------------end of page main content-------------------------------->
<script>
/* focusin/out event polyfill (firefox) */
!function(){
var w = window,
d = w.document;
if( w.onfocusin === undefined ){
d.addEventListener('focus' ,addPolyfill ,true);
d.addEventListener('blur' ,addPolyfill ,true);
d.addEventListener('focusin' ,removePolyfill ,true);
d.addEventListener('focusout' ,removePolyfill ,true);
}
function addPolyfill(e){
var type = e.type === 'focus' ? 'focusin' : 'focusout';
var event = new CustomEvent(type, { bubbles:true, cancelable:false });
event.c1Generated = true;
e.target.dispatchEvent( event );
}
function removePolyfill(e){
if(!e.c1Generated){ // focus after focusin, so chrome will the first time trigger tow times focusin
d.removeEventListener('focus' ,addPolyfill ,true);
d.removeEventListener('blur' ,addPolyfill ,true);
d.removeEventListener('focusin' ,removePolyfill ,true);
d.removeEventListener('focusout' ,removePolyfill ,true);
}
setTimeout(function(){
d.removeEventListener('focusin' ,removePolyfill ,true);
d.removeEventListener('focusout' ,removePolyfill ,true);
});
}
}();
var myCarousel = (function() {
var carousel, slides, index, slidenav, settings, timer, setFocus, animationSuspended;
function forEachElement(elements, fn) {
for (var i = 0; i < elements.length; i++)
fn(elements[i], i);
}
function removeClass(el, className) {
if (el.classList) {
el.classList.remove(className);
} else {
el.className = el.className.replace(new RegExp('(^|\\b)' + className.split(' ').join('|') + '(\\b|$)', 'gi'), ' ');
}
}
function hasClass(el, className) {
if (el.classList) {
return el.classList.contains(className);
} else {
return new RegExp('(^| )' + className + '( |$)', 'gi').test(el.className);
}
}
function init(set) {
settings = set;
carousel = document.getElementById(settings.id);
slides = carousel.querySelectorAll('.slide');
carousel.className = 'active carousel';
var ctrls = document.createElement('ul');
ctrls.className = 'controls';
ctrls.innerHTML = '<li>' +
'<button type="button" class="btn-prev" aria-label="Previous Image">«</button>' +
'</li>' +
'<li>' +
'<button type="button" class="btn-next" aria-label="Next Image">»</button>' +
'</li>';
ctrls.querySelector('.btn-prev')
.addEventListener('click', function () {
prevSlide(true);
});
ctrls.querySelector('.btn-next')
.addEventListener('click', function () {
nextSlide(true);
});
carousel.appendChild(ctrls);
if (settings.slidenav || settings.animate) {
slidenav = document.createElement('ul');
slidenav.className = 'slidenav';
if (settings.animate) {
var li = document.createElement('li');
if (settings.startAnimated) {
li.innerHTML = '<button data-action="stop"><span class="visuallyhidden">Stop Animation </span>■</button>';
} else {
li.innerHTML = '<button data-action="start"><span class="visuallyhidden">Start Animation </span>▶</button>';
}
slidenav.appendChild(li);
}
if (settings.slidenav) {
forEachElement(slides, function(el, i){
var li = document.createElement('li');
var klass = (i===0) ? 'class="current" ' : '';
var kurrent = (i===0) ? ' <span class="visuallyhidden">(Current)</span>' : '';
li.innerHTML = '<button '+ klass +'data-slide="' + i + '" aria-label="Image '+ (i+1)+ '"><span class="visuallyhidden"></span> ' + (i+1) + kurrent + '</button>';
slidenav.appendChild(li);
});
}
slidenav.addEventListener('click', function(event) {
var button = event.target;
if (button.localName == 'button') {
if (button.getAttribute('data-slide')) {
stopAnimation();
setSlides(button.getAttribute('data-slide'), true);
} else if (button.getAttribute('data-action') == "stop") {
stopAnimation();
} else if (button.getAttribute('data-action') == "start") {
startAnimation();
}
}
}, true);
carousel.className = 'active carousel with-slidenav';
carousel.appendChild(slidenav);
}
var liveregion = document.createElement('div');
liveregion.setAttribute('aria-live', 'polite');
liveregion.setAttribute('aria-atomic', 'true');
liveregion.setAttribute('class', 'liveregion visuallyhidden');
carousel.appendChild(liveregion);
slides[0].parentNode.addEventListener('transitionend', function (event) {
var slide = event.target;
removeClass(slide, 'in-transition');
if (hasClass(slide, 'current')) {
if(setFocus) {
slide.setAttribute('tabindex', '-1');
slide.focus();
setFocus = false;
}
}
});
carousel.addEventListener('mouseenter', suspendAnimation);
carousel.addEventListener('mouseleave', function(event) {
if (animationSuspended) {
startAnimation();
}
});
carousel.addEventListener('focusin', function(event) {
if (!hasClass(event.target, 'slide')) {
suspendAnimation();
}
});
carousel.addEventListener('focusout', function(event) {
if (!hasClass(event.target, 'slide') && animationSuspended) {
startAnimation();
}
});
index = 0;
setSlides(index);
if (settings.startAnimated) {
timer = setTimeout(nextSlide, 5000);
}
}
function setSlides(new_current, setFocusHere, transition, announceItemHere) {
setFocus = typeof setFocusHere !== 'undefined' ? setFocusHere : false;
announceItem = typeof announceItemHere !== 'undefined' ? announceItemHere : false;
transition = typeof transition !== 'undefined' ? transition : 'none';
new_current = parseFloat(new_current);
var length = slides.length;
var new_next = new_current+1;
var new_prev = new_current-1;
if(new_next === length) {
new_next = 0;
} else if(new_prev < 0) {
new_prev = length-1;
}
for (var i = slides.length - 1; i >= 0; i--) {
slides[i].className = "slide";
}
slides[new_next].className = 'next slide' + ((transition == 'next') ? ' in-transition' : '');
slides[new_next].setAttribute('aria-hidden', 'true');
slides[new_prev].className = 'prev slide' + ((transition == 'prev') ? ' in-transition' : '');
slides[new_prev].setAttribute('aria-hidden', 'true');
slides[new_current].className = 'current slide';
slides[new_current].removeAttribute('aria-hidden');
if (announceItem) {
//carousel.querySelector('.liveregion').textContent = 'Item ' + (new_current + 1) + ' of ' + slides.length;
carousel.querySelector('.liveregion').textContent = slides[new_current].querySelector('img').getAttribute('alt');
//console.log(slides[new_current].querySelector('img').getAttribute('alt'));
}
if(settings.slidenav) {
var buttons = carousel.querySelectorAll('.slidenav button[data-slide]');
for (var j = buttons.length - 1; j >= 0; j--) {
buttons[j].className = '';
buttons[j].innerHTML = '' + (j+1);
}
buttons[new_current].className = "current";
buttons[new_current].innerHTML = '' + (new_current+1) + ' <span class="visuallyhidden"></span>';
}
index = new_current;
}
function nextSlide(announceItem) {
announceItem = typeof announceItem !== 'undefined' ? announceItem : false;
var length = slides.length,
new_current = index + 1;
if(new_current === length) {
new_current = 0;
}
setSlides(new_current, false, 'prev', announceItem);
if (settings.animate) {
timer = setTimeout(nextSlide, 5000);
}
}
function prevSlide(announceItem) {
announceItem = typeof announceItem !== 'undefined' ? announceItem : false;
var length = slides.length,
new_current = index - 1;
if(new_current < 0) {
new_current = length-1;
}
setSlides(new_current, false, 'next', announceItem);
}
function stopAnimation() {
clearTimeout(timer);
settings.animate = false;
animationSuspended = false;
_this = carousel.querySelector('[data-action]');
_this.innerHTML = '<span class="visuallyhidden">Start Animation </span>▶';
_this.setAttribute('data-action', 'start');
}
function startAnimation() {
settings.animate = true;
animationSuspended = false;
timer = setTimeout(nextSlide, 5000);
_this = carousel.querySelector('[data-action]');
_this.innerHTML = '<span class="visuallyhidden">Stop Animation </span>■';
_this.setAttribute('data-action', 'stop');
}
function suspendAnimation() {
if(settings.animate) {
clearTimeout(timer);
settings.animate = false;
animationSuspended = true;
}
}
return {
init:init,
next:nextSlide,
prev:prevSlide,
goto:setSlides,
stop:stopAnimation,
start:startAnimation
};
});
var c = new myCarousel();
c.init({
id: 'c',
slidenav: true,
animate: true,
startAnimated: true
});
</script>
<!------------------------------------sidebar------------------------------------>
<div class="col-md-4">
<div class="row">
<div id="sidebar-dates-placeholder">
<?php
include("$include_path/components/sidebar-dates.php");
?>
</div>
</div>
<div class="row">
<?php
include("$include_path/components/poster.php");
?>
</div>
</div>
<!---------------------------------end ofsidebar-------------------------------->
</div>
</div>
<!-----------------footer---------------------------->
<div id="footer-placeholder">
<?php
include("$include_path/components/footer.php");
?>
</div>
<!------------end of footer-------------------------->
</body>
</html>