-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGVWebsite3.html
1427 lines (1347 loc) · 65.1 KB
/
GVWebsite3.html
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
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html xml:lang="en" lang="en" class="no-js">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="all" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta property="fb:app_id" content="492913240911783" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.gv.com.sg" />
<meta property="og:image" content="https://media.gv.com.sg/cms/resources/templating-kit/themes/gv/images/gg-img.jpg" />
<meta property="og:title" content="Golden Village - SeatSelection" />
<meta property="og:description" content="" />
<title>Golden Village - SeatSelection</title>
<link rel="shortcut icon" type="image/ico" href="/dam/jcr:cbe5da8d-e0bf-44aa-ac3c-916610d88a61/gv32x32.ico" />
<link media="screen, projection" href="https://www.gv.com.sg/media/cms/css/emojionearea.min.css?ver=1.0r472" type="text/css" rel="stylesheet">
<link media="screen, projection" href="https://www.gv.com.sg/media/cms/css/style.css?ver=1.0r472" type="text/css" rel="stylesheet">
<link media="print" href="https://www.gv.com.sg/media/cms/css/print.css?ver=1.0r472" type="text/css" rel="stylesheet">
<!--[if lt IE 9]><link href="https://www.gv.com.sg/media/cms/css/style-ie8.css?ver=1.0r472" rel="stylesheet" media="screen"><![endif]-->
<link media="screen, projection" href="https://www.gv.com.sg/media/cms/css/gvmc.css?ver=1.0r472" type="text/css" rel="stylesheet">
<script>
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js" crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular-route.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/pbkdf2.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/aes.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/enc-base64-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/mode-ecb-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/components/sha256-min.js"></script>
<script>
var gvMedia = 'https://www.gv.com.sg/media';
function wscript(n) {dwrite('<script src="'+('https://www.gv.com.sg/media/cms/js/'+n+'"><\/script>'));}
window.jQuery || wscript('jquery.min.js');
window.angular || wscript('angular.min.js');
(function() {try {window.angular.module('ngRoute');}catch(e) {return false;}return true;})()||wscript('angular-route.min.js');
(window.CryptoJS && window.CryptoJS.PBKDF2)||wscript('pbkdf2.js');
(window.CryptoJS && window.CryptoJS.AES)||wscript('aes.js');
</script>
<script src="https://www.gv.com.sg/media/cms/js/plugin.js?ver=1.0r472"></script>
<script src="https://www.gv.com.sg/media/cms/js/script.169.js?ver=1.0r472"></script>
<script>
if(!Array.prototype.indexOf){Array.prototype.indexOf=function(a,b){var k;if(this==null)throw new TypeError('"this" is null or not defined');var O=Object(this);var c=O.length>>>0;if(c===0)return-1;var n=+b||0;if(Math.abs(n)===Infinity)n=0;if(n>=c)return-1;k=Math.max(n>=0?n:c-Math.abs(n),0);while(k<c){var d;if(k in O&&O[k]===a)return k;k++}return-1}}function ngIE(n) {for (var i = 0; i < n.length; i++) document.createElement(n[i]);}
device.getDetails();
if (device.data && (device.data.browser != '' && device.data.browserVersion <= 9)) {ngIE(['accordion','accordion-group','accordion-heading','alert','carousel','slide','tabset','tab','tabset-titles','accordion','accordion-group','accordion-heading','ng-include','ng-pluralize','ng-view','modal','ng:include','ng:pluralize','ng:view']);}
</script>
<style id="antiClickjack">body</style>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-50663309-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-50663309-2');
</script>
<script>
!function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments);
},s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='//static.ads-twitter.com/uwt.js',
a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script');
// Insert Twitter Pixel ID and Standard Event data below
twq('init','o4dzk');
twq('track','PageView');
</script>
</head>
<body id="ng-app">
<script>
function cookieFunction(){
$("#dataProtectionDiv").hide();
//sessionStorage.setItem('cookiePolicyClicked', 'true');
localStorage.setItem('cookiePolicyClicked', 'true');
}
$( document ).ready(function() {
//var cookiePolicyClicked = sessionStorage.getItem('cookiePolicyClicked');
var cookiePolicyClicked = localStorage.getItem('cookiePolicyClicked');
if(cookiePolicyClicked=='true'){
$("#dataProtectionDiv").hide();
} else{
//$("#dataProtectionDiv").show();
//$("#dataProtectionDiv").setAttribute("style", "width: 100%; z-index: 2; position: fixed; opacity: 0.8; bottom: 0px; left: 0px;");
document.getElementById("dataProtectionDiv").setAttribute("style", "width: 100%; z-index: 2; position: fixed; opacity: 0.8; bottom: 0px; left: 0px;");
}
});
</script>
<div id="dataProtectionDiv" style="display:none">
<div style="text-align:center;background-color:#000000;color:white;padding-right:10px;padding-left:10px;padding-top:10px;padding-bottom:10px">
<p>We use cookies to optimise, personalise your experience and for advertising purposes.
Click <a href="https://www.gv.com.sg/PrivacyPolicy#cookieMgmt" class="data-protection-link" target="_blank">here</a> to learn more about our use of cookies and find out how you can change your browser settings for cookies.
By continuing to use the website you will be agreeing to our <a href="https://www.gv.com.sg/PrivacyPolicy#/" class="data-protection-link" target="_blank">Privacy Policy</a> and <a href="https://www.gv.com.sg/TermsOfService#/" target="_blank">Terms Of Service</a>. <button type="button" class="btn" id="cookieBtn" onclick="cookieFunction()" style="background-color:#108cff;color:white">Continue</button>
</p><p></p></div></div>
<div id="GVTopHeaderCntl" ng-controller="GVTopHeaderCntl">
<div id="fb-root"></div>
<div class="header">
<div class="row">
<div class="col-md-4 col-sm-3 col-xs-6 col-pg-zero">
<a class="gv-logo" href="GVHome"><img src="https://media.gv.com.sg/cms/resources/templating-kit/themes/gv/images/gv-logo.png" /></a>
</div>
<div class="col-md-3 col-sm-3 hidden-xs">
<div class="social-media">
<div>
<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fgvmovieclub&send=false&layout=button_count&width=200&show_faces=false&action=like&colorscheme=dark&font=lucida+grande&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowtransparency="true"></iframe>
</div>
<span class="pull-left"><small>Follow Us</small></span>
<ul class="list-unstyled list-inline">
<li><a href="SocialMedia#Facebook" class="sl-fk" target="_blank"></a></li>
<li><a href="SocialMedia#Twitter" class="sl-tt" target="_blank"></a></li>
<li><a href="SocialMedia#Instagram" class="sl-im" style="background-image:url(https://media.gv.com.sg/cms/resources/templating-kit/themes/gv/images/icon-sa-inm-small.png)" target="_blank"></a></li>
</ul>
<div class="clearfix"></div>
</div>
</div>
<div class="col-md-5 col-sm-6 col-xs-12 col-pg-zero header-gvmc-section" ng-cloak>
<div class="gvmc-action-section dropdown">
<div class="gvmc-text">
<img src="https://media.gv.com.sg/cms/resources/templating-kit/themes/gv/images/gvmc-text.png">
</div>
<div class="gvmc-action-btn">
<a class="link-km" href="GVMCViewPrivileges.html" ng-show="isLogin==false">Know more?</a>
<button id="userLoginBtn" class="btn btn-secondary btn-sm btn-toggle" data-toggle="dropdown" ng-show="$root.isLogin == false" ng-click="toggleLogin()">Log In</button> <button class="btn btn-primary btn-sm" ng-show="$root.isLogin == false" ng-click="gvmcRegister()">Register</button>
<div class="login-status" ng-show="$root.isLogin">
</div>
<div class="clearfix"></div>
<div class="dropdown-menu dropdown-menu-right custom-login-box animated fadeInUp">
<form role="form">
<h4 style="border:none;margin:0;">Log In</h4>
<div class="btn-wrapper">
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div ng-show="isFBLogin && loginErrMessage.length > 0" class="help-inline alert alert-danger" ng-bind-html="loginErrMessage"></div>
<div ng-show="fbUser && fbAcctErrMessage.length > 0 && loginErrMessage.length == 0" class="help-inline alert alert-danger" ng-bind-html="fbAcctErrMessage"></div>
</div>
</div>
<button type="button" class="fb-login btn-facebook" ng-if="!fbUser" onclick="javascript:fb.login('HeaderLogin');"></button>
<div ng-if="fbUser && fbUser.fbId && fbUser.fbFirstName && fbUser.fbFirstName.length>0">
<h5>Hi <span ng-bind-html="fbUser.fbFirstName"></span></h5>
<button type="button" class="btn-facebook" onclick="javascript:fb.login('HeaderLogin');"></button>
<h6>If you are not <span ng-bind-html="fbUser.fbFirstName"></span>, please logout of the Facebook account.</h6>
</div>
</div>
<p class="text-center third-title" ng-if="!fbUser || (fbUser && fbUser.fbId)">- OR -</p>
<div class="form-group">
<div class="login-input">
<div ng-show="!isFBLogin && loginErrMessage.length > 0" class="help-inline alert alert-danger" ng-bind-html="loginErrMessage"></div>
</div>
<div class="login-input">
<label><strong>Email or Mobile</strong>:</label>
<input type="text" class="form-control" placeholder="Email or Mobile" ng-model="loginUsername">
</div>
<br>
<div class="login-input">
<label>Password:</label>
<input type="password" class="form-control" placeholder="Password" ng-model="loginPassword">
</div>
<div class="submit-section">
<p style="padding:6px 0;">
<input type="checkbox" class="checkbox-section ng-pristine ng-valid" style="vertical-align:middle;margin-top:0px;margin-right:6px;" ng-model="rmb" name="rmb">
<span>Keep me logged in</span>
</p>
<a class="ft-pwd pull-right" href="GVMCForgotPass">
Forgot my password
</a>
<button type="submit" class="btn btn-ar btn-primary pull-left" ng-click="gvmcUsrLogin()">Login</button>
<div class="clearfix"></div>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="gvmc-section hidden-xs hidden-sm" ng-cloak>
<a href="GVMCHome" class="gvmc hidden-xs hidden-sm" ng-show="isLogin==true"></a>
</div>
</div>
<div class="gvmc-section-small" ng-cloak>
<a href="GVMCHome" class="gvmc-small hidden-md hidden-lg text-right" ng-show="isLogin==true"><img src="https://media.gv.com.sg/cms/resources/templating-kit/themes/gv/images/icon-gvmc-small.png" /></a>
<a href="javascript:void(0);" class="gvmc-small hidden-md hidden-lg text-right" ng-show="isLogin==false" ng-click="checkProfileComplete()"><img src="https://media.gv.com.sg/cms/resources/templating-kit/themes/gv/images/icon-gvmc-small.png" /></a>
</div>
</div>
</div>
<div class="ct-img text-center">
<script>
/**
* Function that tracks a click on an outbound link in Analytics.
*/
var trackOutboundLink = function(url,label) {
console.log('event click');
console.log('event ' + url + ' ' + label);
tracker = ga.getAll()[0];
if (tracker) {
tracker.send("event", "link", "click",label);
}
/*
try {
ga('send', 'event', {
eventCategory: 'link',
eventAction: 'click',
eventLabel: label,
transport: 'beacon'
});
} catch (e) {
console.log(e);
}
try {
gtag('config', 'UA-50663309-2', {
'page_title' : label,
'page_path': url
});
} catch (e) {
}
*/
var win = window.open(url, '_blank');
win.focus();
}
</script>
<script>
var banner = [
["https://www.visa.com.sg/pay-with-visa/click-to-pay-with-visa.html.html", "https://media.gv.com.sg/cms/images/ads/VISA_Web_Banner_08_Jul.jpg", "Visa"],
["https://www.starhub.com/personal/rewards.html", "https://media.gv.com.sg/cms/images/ads/BLKJ190610_SH-lollipop_Rewards_adapts_GV-Banner.gif","starhub"]
];
function shuffle(a) {
var j, x, i;
for (i = a.length - 1; i > 0; i--) {
j = Math.floor(Math.random() * (i + 1));
x = a[i];
a[i] = a[j];
a[j] = x;
}
return a;
}
shuffle(banner);
</script>
<div id="ad-container" align="center">
<script>
//for responsive design
if (window.matchMedia("(min-width: 1024px)").matches) {
document.getElementById('ad-container').innerHTML = '<a href="'+banner[0][0]+'" target="_blank" rel="nofollow" onclick="trackOutboundLink(\''+banner[0][0]+'\',\''+ banner[0][2] + '\'); return false;"><img src="'+banner[0][1]+'" alt="Banner Ad" /></a>';
} else {
document.getElementById('ad-container').innerHTML = '<a href="'+banner[0][0]+'" target="_blank" rel="nofollow" onclick="trackOutboundLink(\''+banner[0][0]+'\',\''+ banner[0][2] + '\'); return false;"><img src="'+banner[0][1]+'" alt="Banner Ad" /></a>';
}
</script>
</div>
</div>
<div ng-show="isHome && !isOpen">
</div>
<div class="bg-note text-center" ng-show="platformSystemData.isShow && !isHome" ng-cloak><p ng-bind-html="platformSystemData.message"></p></div>
<div role="navigation" class="navbar navbar-default navigation" ng-if="!isHome" ng-controller="GVHeaderCntl" ng-cloak>
<div class="container-fluid">
<div class="navbar-header">
<button id="buytixbtn" data-target="#navbar-collapse-2" data-toggle="collapse" class="btn btn-primary btn-sm hidden-sm hidden-md hidden-lg btn-toggle" type="button" ng-click="BuyTixMenuToggle()">Quick Buy
</button>
<button id="checkbookbtn" data-target="#navbar-collapse-3" data-toggle="collapse" class="btn btn-primary btn-sm hidden-sm hidden-md hidden-lg btn-toggle" type="button" ng-click="CheckTixToggle()">Check
Purchase
</button>
<button id="menubtn" data-target="#navbar-collapse-1" data-toggle="collapse" class="navbar-toggle" type="button" ng-click="MenuListToggle()">
<span class="sr-only">Toggle navigation</span>
<div style="float: left;">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</div>
<div style="float: left;line-height: 1;margin-left: 5px;">Menu</div>
</button>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-2">
<div class="buy-tickets-collapse hidden-sm hidden-md hidden-lg" ng-cloak>
<form class="form-horizontal" role="form">
<div class="dropdown">
<span>Select a Cinema</span>
<select class="form-control btn btn-default btn-sm dropdown-toggle ng-pristine ng-valid" aria-haspopup="true" aria-expanded="false" ng-model="selCinema" ng-options="cinema.name for cinema in qbuyLocationMap" ng-change="selectCinemaMainMenu(selCinema)">
<option value=""></option>
</select>
<div class="clearfix"></div>
</div>
<div class="dropdown">
<span>Select a Movie</span>
<select class="form-control btn btn-default btn-sm dropdown-toggle ng-pristine ng-valid" aria-haspopup="true" aria-expanded="false" ng-model="selMovie" ng-options="dwMov.filmTitle for dwMov in qbuyFilmMap" ng-change="selectMovieMainMenu(selMovie)">
<option value=""></option>
</select>
<div class="clearfix"></div>
</div>
<div class="dropdown">
<span>Select Date</span>
<select class="form-control btn btn-default btn-sm dropdown-toggle ng-pristine ng-valid" aria-haspopup="true" aria-expanded="false" ng-model="selDate" ng-options="date.convertedDate for date in qBuyDates" ng-change="selectDateMainMenu(selDate)" ng-disabled="qBuyDates.length == 0">
<option value=""></option>
</select>
<div class="clearfix"></div>
</div>
<div class="dropdown">
<span>Select Time</span>
<select class="form-control btn btn-default btn-sm dropdown-toggle ng-pristine ng-valid" aria-haspopup="true" aria-expanded="false" ng-model="selTime" ng-options="time.time12 for time in qBuyTimes" ng-change="selectTimeMainMenu(selTime)" ng-disabled="qBuyTimes.length == 0">
<option value=""></option>
</select>
<div class="clearfix"></div>
</div>
<p class="button-section text-center"><a href="javascript:void(0);" class="btn btn-default" role="button" ng-click="resetQckSeachMov()">Reset</a><a href="javascript:void(0);" class="btn btn-primary" role="button" ng-click="qckSeachMov()">Go</a></p>
</form>
</div>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-3">
<div class="check-booking-collapse hidden-sm hidden-md hidden-lg">
<form class="form-horizontal" role="form">
<div class="dropdown">
<label><input type="radio" name="bookVal" ng-model="checkBook.bookVal" value="mobile">Mobile No.</label>
<input type="text" name="mobileVal" class="form-control" ng-model="checkBook.mobileVal" ng-focus="checkBook.bookVal = 'mobile'" ng-disabled="checkBook.bookVal == 'userId'">
</div>
<div class="dropdown" style="display: none !important;">
<label><input type="radio" name="bookVal" ng-model="checkBook.bookVal" value="userId">NRIC/FIN No.</label>
<input type="text" class="form-control" name="userIdVal" ng-model="checkBook.userIdVal" ng-focus="checkBook.bookVal = 'userId'" ng-disabled="checkBook.bookVal == 'mobile'">
</div>
<p class="button-section text-center">
<a href="javascript:void(0);" class="btn btn-primary" role="button" ng-click="qckChkBook()">Check Booking</a>
<a href="javascript:void(0);" class="btn btn-primary" role="button" ng-click="qckChkOrder(true)" style="display: none !important;">Check Order</a>
</p>
</form>
</div>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-4">
<div class="check-booking-collapse hidden-sm hidden-md hidden-lg" ng-cloak>
<form class="form-horizontal" role="form">
<div class="dropdown">
<label><input type="radio" name="bookVal" ng-model="checkOrder.bookVal" value="mobile">Mobile No.</label>
<input type="text" name="mobileVal" class="form-control" ng-model="checkOrder.mobileVal" ng-focus="checkOrder.bookVal = 'mobile'" ng-disabled="checkOrder.bookVal == 'userId'">
</div>
<div class="dropdown" style="display: none !important;">
<label><input type="radio" name="bookVal" ng-model="checkOrder.bookVal" value="userId">NRIC/FIN/Passport No.</label>
<input type="text" class="form-control" name="userIdVal" ng-model="checkOrder.userIdVal" ng-focus="checkOrder.bookVal = 'userId'" ng-disabled="checkOrder.bookVal == 'mobile'">
</div>
<p class="button-section text-center"><a href="javascript:void(0);" class="btn btn-primary" role="button" ng-click="qckChkOrder()">Submit</a></p>
</form>
</div>
</div>
<div id="navbar-collapse-1" class="collapse navbar-collapse">
<ul class="nav navbar-nav row">
<li id="menuGoldClass"><a href="GoldClassHome"><span class="nav-img gs hidden-xs"></span><span class="nav-text hidden-lg hidden-md hidden-sm">Gold Class</span></a></li>
<li id="menuMovies"><a href="GVMovies"><span class="nav-img movies hidden-xs"></span><span class="nav-text">Movies</span></a></li>
<li id="menuCinemas"><a href="GVCinemas"><span class="nav-img cinemas hidden-xs"></span><span class="nav-text">Cinemas</span></a></li>
<li id="menuBuyTickets"><a href="GVBuyTickets"><span class="nav-img tickets hidden-xs"></span><span class="nav-text">Buy Tickets</span></a></li>
<li id="menuMerchandise"><a href="GVMerchandise"><span class="nav-img merchandise hidden-xs"></span><div ng-bind-html="cartInfoCtr" ng-show="cartInfoCtr > 0" class="gcart-wrapper-2"></div><span class="nav-text">Online Store</span></a></li>
<li id="menuPromotions"><a href="GVPromotions"><span class="nav-img promotions hidden-xs"></span><span class="nav-text">Promotions/Events</span></a></li>
<li class="wide-tab" id="menuVouchers"><a href="GVVouchersAndGiftCards"><span class="nav-img vouchers hidden-xs"></span><span class="nav-text">Movie Vouchers & Cards</span></a></li>
<li class="wide-tab" id="menuCorporateEvents"><a href="GVGroupBookings" class="last"><span class="nav-img events hidden-xs"></span><span class="nav-text">Group Bookings</span></a></li>
</ul>
</div>
</div>
</div>
<a class="gcart-wrapper move ng-hide" ng-click="toggleShoppingCart()" ng-show="isMerchPage == true"><span class="gcart" ng-bind-html="cartInfoCtr"> </span></a>
<div class="modal-dialog sc-dialog ng-hide" role="document" ng-show="showShoppingCart == true" style="position:absolute;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" ng-click="toggleShoppingCart()"></button>
<h4 class="modal-title" id="exampleModalLabel" ng-bind-html="shoppingCartTitle">Your Shopping Cart</h4>
</div>
<div class="modal-body" ng-show="shoppingCartMode == 0">
<form>
<div ng-show="cartErrMessage != null && cartErrMessage.length > 0" class="help-inline alert alert-danger">{{cartErrMessage}}</div>
<table border="0" width="100%" class="m-location">
<tr>
<td width="25%"><label for="location">Collection Location:</label></td>
<td>
<select class="form-control btn btn-default btn-sm dropdown-toggle" id="cart-location-dropdown" ng-change="changeCartLocation()" ng-model="cartInfo.location">
<option value="">--Choose a Collection Location--</option>
<option ng-repeat="location in cartInfo.locations" value="{{location.id}}" ng-bind-html="location.name" ng-selected="cartInfo.location == location.id"></option>
</select>
</td>
</tr>
</table>
<div class="m-list">
<table border="0" class="d-table hidden-xs" width="100%">
<tr>
<th width="54%">Description</th>
<th class="text-center" width="12%">Price</th>
<th class="text-center" width="21%">Qty</th>
<th class="text-center" width="12%">Amount</th>
</tr>
<tr class="list-item" ng-repeat="item in cartInfo.items">
<td colspan="4">
<table border="0" width="100%" class="i-table">
<tr>
<td class="text-center" width="5%"><a class="cancel-item" ng-click="removeFromCart(item.id)"></a></td>
<td width="12%">
<img ng-src="{{item.imgLink}}" style="max-height:50px;max-width:50px;" />
</td>
<td width="37%"><span ng-bind-html="item.itemName"></span></td>
<td class="text-center" width="12%"><span ng-bind-html="item.unitPriceStr"></span></td>
<td class="text-center" width="22%">
<select class="form-control btn btn-default btn-sm dropdown-toggle" name="QTY_{{item.id}}" ng-change="changeCartItemQuantity(item.id)" ng-model="item.quantity">
<option ng-repeat="qty in item.quantities" value="{{qty}}" ng-bind-html="qty" ng-selected="qty == item.quantity"></option>
</select>
</td>
<td class="text-center" width="12%"><span ng-bind-html="item.totalPriceStr"></span></td>
</tr>
<tr class="c-location">
<td colspan="6">
<table border="0" width="100%" class="i-table" ng-show="item.otherLocation == true">
<tr>
<td width="48%">
<span ng-show="item.available == true">Collection Location:</span>
<span class="error-info" ng-show="item.available == false">Item is not available in this location</span>
</td>
<td>
<select class="form-control btn btn-default btn-sm dropdown-toggle" name="{{item.id}}" ng-change="changeCartItemLocation(item.id)" ng-model="item.location">
<option value="">--Choose a Collection Location--</option>
<option ng-repeat="location in item.locations" value="{{location.id}}" ng-bind-html="location.name" ng-selected="item.location == location.id"></option>
</select>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" class="m-table hidden-lg hidden-md hidden-sm" width="100%">
<tr class="list-item" ng-repeat="item in cartInfo.items">
<td>
<table border="0" width="100%" class="i-table">
<tr>
<td colspan="2" class="m-pt-title">
<table border="0" width=" 100%" class="i-table">
<tr>
<th><img ng-src="{{item.imgLink}}" style="max-height:50px;max-width:50px;" /></th>
<th><span ng-bind-html="item.itemName"></span></th>
<th width="10%"><a class="cancel-item" ng-click="removeFromCart(item.id)"></a></th>
</tr>
</table>
</td>
</tr>
<tr>
<td width="30%">Price:</td>
<td><span ng-bind-html="item.unitPriceStr"></span></td>
</tr>
<tr>
<td width="30%">Qty:</td>
<td>
<select class="form-control btn btn-default btn-sm dropdown-toggle" name="QTY_{{item.id}}" ng-change="changeCartItemQuantity(item.id)" ng-model="item.quantity">
<option ng-repeat="qty in item.quantities" value="{{qty}}" ng-bind-html="qty" ng-selected="qty == item.quantity"></option>
</select>
</td>
</tr>
<tr>
<td width="30%">Amount:</td>
<td><span ng-bind-html="item.totalPriceStr"></span></td>
</tr>
<tr class="c-location">
<td colspan="2">
<table border="0" width="100%" class="i-table" ng-show="item.otherLocation == true">
<tr>
<td width="48%">
<span ng-show="item.available == true">Collection Location:</span>
<span class="error-info" ng-show="item.available == false">Item is not available in this location</span>
</td>
<td>
<select class="form-control btn btn-default btn-sm dropdown-toggle" name="{{item.id}}" ng-change="changeCartItemLocation(item.id)" ng-model="item.location">
<option value="">--Choose a Collection Location--</option>
<option ng-repeat="location in item.locations" value="{{location.id}}" ng-bind-html="location.name" ng-selected="item.location == location.id"></option>
</select>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div class="m-amount text-right">Total: <span class="value" ng-bind-html="cartInfo.totalPriceStr"></span></div>
<div class="m-amount text-left" ng-show="cartInfo.collectionDate != null && cartInfo.collectionDate.length > 0">
<span style="font-size:1.7em;color:#333;background-color:#ffd701;padding:5px;">Collection Date From: <span ng-bind-html="cartInfo.collectionDate"></span></span>
</div>
</div>
</form>
</div>
<div class="modal-body" ng-show="shoppingCartMode == 1">
<form>
<div ng-show="wishErrMessage != null && wishErrMessage.length > 0" class="help-inline alert alert-danger">{{wishErrMessage}}</div>
<div class="account-login text-right">
<button type="button" class="btn btn-sm btn-secondary" ng-click="toggleShoppingCartMode()">Go to Shopping Cart</button>
</div>
<div class="m-list">
<table border="0" class="d-table" width="100%">
<tr class="hidden-xs">
<th width="66%">Description</th>
<th class="text-center" width="22%"> </th>
<th class="text-center" width="12%"> </th>
</tr>
<tr class="hidden-sm hidden-md hidden-lg">
<th width="100%">Description</th>
</tr>
<tr class="list-item hidden-xs" ng-repeat="item in wishInfo">
<td colspan="4">
<table border="0" width="100%" class="i-table">
<tr>
<td width="12%"><img ng-src="{{item.imgLink}}" style="max-height:50px;max-width:50px;" /></td>
<td width="54%"><span ng-bind-html="item.itemName"></span></td>
<td class="text-center" width="22%"><button type="button" class="btn btn-third" ng-click="removeFromWish(item.productCode, item.itemCode)">Remove</button></td>
<td class="text-center" width="12%"><button type="button" class="btn btn-primary" ng-click="viewItem(item.productCode)">View</button></td>
</tr>
</table>
</td>
</tr>
<tr class="list-item hidden-sm hidden-md hidden-lg" ng-repeat="item in wishInfo">
<td>
<table border="0" width="100%" class="i-table">
<tr>
<td width="17%"><img ng-src="{{item.imgLink}}" style="max-height:50px;max-width:50px;" /></td>
<td width="83%"><span ng-bind-html="item.itemName"></span></td>
</tr>
</table>
<table border="0" width="100%" class="i-table">
<tr>
<td class="text-left" width="100%">
<button type="button" class="btn btn-third" ng-click="removeFromWish(item.productCode, item.itemCode)">Remove</button>
<button type="button" class="btn btn-primary" ng-click="viewItem(item.productCode)">View</button>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</form>
</div>
<div class="modal-footer" style="text-align: center;">
<div ng-show="shoppingCartMode == 0">
<div class="col-md-4 col-sm-4 col-xs-12 vc-payment" style="text-align: center;">
<div class="vc-checkout">
<img alt="Visa Checkout" class="v-button vc-button" src="https://secure.checkout.visa.com/wallet-services-web/xo/button.png?color=neutral" style="max-width: 100%;" />
</div>
</div>
<div class="col-md-4 col-sm-4 col-xs-12 vc-payment" style="text-align: center;">
<img alt="Credit/Debit Card" src="https://www.gv.com.sg/media/cms/igv/images/btn-pay-paylah.png" style="cursor: pointer; width: 215px; max-width: 100%;" ng-click="checkoutShoppingCart('PL', null)" />
</div>
<div class="col-md-4 col-sm-4 col-xs-12 vc-payment" style="text-align: center;">
<img alt="Credit/Debit Card" src="https://www.gv.com.sg/media/cms/resources/templating-kit/themes/gv/images/btn-credit-card-payment.png" style="cursor: pointer; max-width: 100%;" ng-click="checkoutShoppingCart('CC', null)" />
</div>
</div>
<div class="clearfix"></div>
<br />
<div>
<button type="button" class="btn btn-third" ng-click="toggleShoppingCart()">Continue Shopping</button>
</div>
</div>
</div>
</div>
</div>
<script type="text/ng-template" id="GVMC-LinkFB.html">
<div id="warningMessage">
<div class="modal-header">
<h3 class="modal-title">Link Facebook Account</h3>
</div>
<div class="container-fluid">
<div class="main-content">
<div class="consumer-advisory">
<div>
Do you want to link your Facebook account with your GV Movie Club account?
</div>
<div class="text-center button-section">
<button type="button" class="btn btn-primary btn-sm" ng-click="ok()">Yes</button> <button type="button" class="btn btn-default btn-sm" ng-click="cancel()">No</button>
</div>
</div>
</div>
</div>
</div>
</script>
<style type="text/css">
@media (max-width: 476px) {
.rating {
font-size: 14px;
}
}
</style>
<script>
var pathArray = window.location.href.split( '/' );
var j = 0;
for (i = 0; i < pathArray.length; i++) {
if (pathArray[i] === "filmCode") {
j = i +1;
}
}
var lastpart_movie = pathArray[j] ;
(function() {
if(lastpart_movie === "6808"){
var encode = window.encodeURIComponent;
var ka = document.createElement('script');
ka.type = 'text/javascript';
ka.id = 'bce79422b96341ddb021';
ka.async = true;
ka.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + '//cdn.brand-display.com/tr/knx35910/bce79422b96341ddb02122368feed9be8fd01eb0.js?v2=0&v4=' + lastpart_movie + ' &_t=' + new Date().getTime();
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ka, s);
}
})();
</script>
<div class="wrapper" ng-controller="GVSeatSelectionCntl">
<a class="btn-scroll" href="javascript:void(0);" ng-click="scrollToTop()">
<img src="https://media.gv.com.sg/cms/resources/templating-kit/themes/gv/images/arrow-up.png" />
</a>
<div class="container-fluid">
<ol class="breadcrumb">
<li><a href="GVHome"><small>Home</small></a></li>
<li><a href="GVBuyTickets"><small>Buy tickets</small></a></li>
<li><small>Chosen Movie</small></li>
</ol>
<div class="main-content">
<div class="row">
<div class="col-lg-9 col-lg-offset-3 col-md-9 col-md-offset-3 col-sm-8 col-sm-offset-4 col-xs-12 col-xs-offset-0 col-pg-rt-zero">
<div class="steps-bar" id="steps-id-bar"><img src="https://upayment.gv.com.sg/images/booking-step-1.png" /></div>
</div>
<div class="col-lg-3 col-md-3 col-sm-4 hidden-xs col-pg-lg-zero">
<img id="filmImg" src="https://images.unsplash.com/photo-1512149177596-f817c7ef5d4c?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=945&q=80" width="100%" />
</div>
<div class="col-lg-9 col-md-9 col-sm-8 col-xs-12 col-pg-rt-zero">
<div class="booking-details">
<div class="page-header movie-heading" ng-cloak>
<p ng-if="selMovieTime.midnight == false"><span class="normal-text">You Have Selected</span><span class="movie-name">{{selMovie.filmTitle}}</span> at <span class="movie-name">{{selMovieCinema.name}}</span> Cinema Hall <span class="movie-name">{{selMovieTime.hallNumber}}</span><p>
<p ng-if="selMovieTime.midnight"><span class="normal-text">You Have Selected</span><span class="movie-name">{{selMovie.filmTitle}}</span> on <span ng-bind-html="midNightDisplayMsg"></span><p>
</div>
<div ng-show="(selMovieDate == null || selMovieTime == null || selMovieCinema == null) && submittedViewSeatPlan" class="help-inline alert alert-danger">All fields are required.</div>
<script>
//insert scripts here to add to the options
var cinema;
var movie;
var timing;
var day;
var month;
var time;
$( document ).ready(function() {
var urlStr = window.location.href;
//var urlStr = "https://geraldcdx.github.io/ProjectGV/3ndPage?cinema=GV_VivoCity&movie=Tenet&timing=30th_Nov_330pm_2020";
var url = new URL(urlStr);
cinema = url.searchParams.get("cinema"); //function to retrieve the para
movie = url.searchParams.get("movie"); //function to retrieve the para
timing = url.searchParams.get("timing"); //function to retrieve the para
//alert(cinema); alert(timing);alert(movie);
var timingPara = timing.split("_");
day = timingPara[0];
month = timingPara[1];
time = timingPara[2];
var dateYear = timingPara[3];
//Script to populate the date
$('.js-example-basic-single').select2({width:"100%", placeholder: 'Select an option'});
document.getElementById('cinemaOptions').innerHTML = addCinema();
document.getElementById('datePC').innerHTML = addDate();
document.getElementById('timePC').innerHTML = addTime();
changeS();
//js-example-basic-single
});
function changeS(){
var timeField = document.getElementById("timePC");
var dateField = document.getElementById("datePC");
var cinemaField = document.getElementById("cinemaOptions");
//movie cinema day month time
var dayNmonth = day + " " + month;
var arr = [subSpaces(cinema), dayNmonth, time];
var arrFields = [cinemaField, dateField, timeField];
var i;
//alert(arrFields[0][1].value);
for(i=0;i<arr.length;i++){//brings that arr and arrFields together
var j;
for(j=0;j<arrFields[i].length;j++){ //checks individual Fields
if (arrFields[i][j].value == arr[i]){
arrFields[i].selectedIndex = j;
break;
}
}
}
//alert(arr);
//alert(time.length);
}
function subSpaces(str){
var split= str.split("_");
return split.join(" ");
}
</script>
<ul class="row list-unstyled booking-details-ct">
<li class="col-md-3 col-sm-5 col-xs-6">
<p>Cinemas:</p>
<p class="ticket-content">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/select2.min.css" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css" rel="stylesheet" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script><!-- jQuery base library needed -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js"></script>
<select id = "cinemaOptions" class="form-control btn btn-default btn-sm" >
<option value="AL">GV Vivocity</option>
<option value="WY">GV Plaza</option>
</select>
<style>
.select2-search input{
color: black;
}
.select2-results {
color:black;
}
</style>
<script>
$(document).ready(function() {
});
function addCinema(){
var str = "" + cinema + "-";
var returnStr="";
str += "Gold Class Express Funan-Gold Class Suntec City-Gold Class VivoCity-Gold Class Grand, Great World City-Deluxe Plus,Funan-Duo Deluxe,Paya Labar-DBOX, Bishan-GVmax, VivoCity-Gemini Funan-Gemini City Square-Gemini Grand, Great World City-Grand Seats, Great World City-GV Funan-GV Bedok-GV Paya Lebar-GV Tiong Bahru-GV Suntec City-GV VivoCity-GV Plaza-GV Tampines-GV Jurong Point- GV Bishan-GV Tampines-GV Jurong Point-GV Bishan-GV City Square-GV Grand, Great World City-GV Yishun-GVmax Dolby Atmos, VivoCity-Auro 11.1 by Barco, GV Suntec City-GV @ Capitol (Stall: Level 1)-GV @ Capitol (Dress: Level 3)-GV @ Capitol (Upper Circle: Level 4)";
var splitStr = str.toString().split("-");
var i;
for (i=0;i<splitStr.length;i++)
returnStr += "<option>" + splitStr[i] + "</option>";
return returnStr;
}
function addDate(){
var str = "";
var rStr = "";
str += "Select Date,30th Nov, 1st Dec";
var splitStr = str.toString().split(",");
var i;
for (i=0;i<splitStr.length;i++){
rStr += "<option>" + splitStr[i] + "</option>";
}
return rStr;
}
function addTime(){
var str = "";
var rStr = "";
str += "Select Time,1pm,330pm,5pm,830pm";
var splitStr = str.toString().split(",");
var i;
for (i=0;i<splitStr.length;i++){
rStr += "<option>" + splitStr[i] + "</option>";
}
return rStr;
}
</script>
</p>
</li>
<li class="col-md-3 col-sm-5 col-xs-6">
<p>Date:</p>
<p class="ticket-content">
<select id = "datePC" class="form-control btn btn-default btn-sm">
<option value="">Select Date</option>
<option value="">Today</option>
<option value="">Tomorrow</option>
</select>
</p>
</li>
<li class="col-md-3 col-sm-5 col-xs-6">
<p>Time:</p>
<p class="ticket-content">
<select id = "timePC" class="form-control btn btn-default btn-sm">
<option value="">Select Time</option>
<option value="">1430</option>
<option value="">1830</option>
<option value="">2030</option>
</select>
</p>
</li>
<li class="col-md-3 col-sm-5 col-xs-6">
<p> </p>
<!--<p class="ticket-content"><button class="btn btn-forth btn-sm" ng-click="getViewSeatsPlan()">View Seating Plan</button></p>!-->
</li>
</ul>
</div>
<div class="description">
<p>You will receive a confirmation number at the end of your transaction.</p>
<p>To select, please click on the individual seat(s). The total ticket price will be updated automatically. </p>
<BR />
<div ng-if="selMovieCinema.name.indexOf('Class') > -1" ng-cloak>
<p><font color="red" size="3"><B>In view of the safe distancing measures, we are temporarily suspending our call-button service. Please place your food & beverage orders via the iGV app. Feel free to help yourself to the cutlery and condiments outside the hall. More info available <a href="https://www.gv.com.sg/GVPromotionDetails#/promotion/ca933eb0-4667-451a-88f9-7ce575c52302" target="_blank">here</a>. Thank you for doing your part in keeping everyone safe. Enjoy your movie!</B></font></p>
</div>
<div style="text-align:center" ng-if="selMovieCinema.name.indexOf('Capitol') > -1 && selMovieTime.hallNumber=='1'" ng-cloak>
<img class="center" src="https://media.gv.com.sg/movies/images/gv@capital_L1a.gif" border=“0” style="margin: 0 auto; border: none;" width="100%" />
</div>
<div style="text-align:center" ng-if="selMovieCinema.name.indexOf('Capitol') > -1 && selMovieTime.hallNumber=='3'" ng-cloak>
<img src="https://media.gv.com.sg/movies/images/gv@capital_L3a.gif" border="0" style="margin: 0 auto; border: none;" width="100%" />
</div>
<div style="text-align:center" ng-if="selMovieCinema.name.indexOf('Capitol') > -1 && selMovieTime.hallNumber=='4'" ng-cloak>
<img src="https://media.gv.com.sg/movies/images/gv@capital_L4a.gif" border=“0” style="margin: 0 auto; border: none;" width="100%" />
</div>
</div>
<!-- Add the information for seating here !-->
<script>
var numOfSeats = 0;
$(document).ready(function(){
$(".square").click(function(){
if ($(this).css('background-color')=="rgb(0, 0, 255)")
{
$(this).css("background-color", "#555");
numOfSeats = numOfSeats -1;
}
else{
$(this).css("background-color", "blue");
numOfSeats = numOfSeats + 1;
}
//alert(numOfSeats);
});
});
</script>
<h3 style="text-align:center">Seats Available</>
<h4 style="text-align:center">Screen</4>
<table style="width:13%; margin: auto; padding:1px">
<tr>
<th style="text-align:center"></th>
<th style="text-align:center">1</th>
<th style="text-align:center">2</th>
<th style="text-align:center">3</th>
<th style="text-align:center">4</th>
</tr>
<tr>
<td style="text-align:center">A</td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
</tr>
<tr>
<td style="text-align:center">B</td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
</tr>
<tr>
<td style="text-align:center">C</td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
</tr>
<tr>
<td style="text-align:center">D</td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
<td style="text-align:center"><div class="square" style="margin:auto"></div></td>
</tr>
</table>
<style>
.square:hover {
background-color: grey;
}
.square {
height: 20px;
width: 20px;
background-color: #555;
}
</style>
<div id="seatselection">
<div id="seatselectioncontent" ng-show="seatselectionrows.length > 0">
<div style="margin: 3px;text-align:center; height:auto;line-height:normal;color:rgba(255, 255, 255, 0.8)" ng-if="selectedCinemaTime.time.midnight">
You have selected <span ng-init="dt1 = getShowDateTime()" ng-bind-html="dt1"></span><span style="color:#c50c20;font-weight:bold;" ng-init="dt2 = getShowDateTimeMidnight()" ng-bind-html="dt2"></span> at <span ng-bind-html="selectedCinema.name"></span> Cinema Hall <span ng-bind-html="selectedCinemaTime.time.hallNumber"></span>.
</div>
<div class="seatselectorscroll" style="height: auto;">
<div class="seatselector" style="height: auto;">
<div class="seatrowscontainer" style="height: auto;">
<div align="center">
<div ng-repeat="row in seatselectionrows">
<div class="seatrow" style="height:24px; width:auto;">
<div class="seatrowname seatrowname-left">
<div>{{row.rowname}}</div>
</div>
<div class="seat" ng-repeat="seat in row.seats" style="width:22px;" ng-if="isMobDevice == false">
<div class="seatstatuscontainer" ng-style="(seat.damaged) && {'opacity':'0.4'}" ng-disabled="(seat.damaged) || (seat.status == 'B') || (seat.status == 'R')" ng-show="seat.id != NULL" ng-click="selectseat(seat);" tooltip="{{seat.rowId + ':'+ seat.columnId}}" tooltip-append-to-body="true" id="{{seat.img}}">
<div class="seatstatustype">
<div class="seatstatus">
<img src="https://static.thenounproject.com/png/661611-200.png" />
</div>
</div>
</div>
</div>
<div class="seat" ng-repeat="seat in row.seats" style="width:22px;" ng-if="isMobDevice == true">
<div class="seatstatuscontainer" ng-style="(seat.damaged) && {'opacity':'0.4'}" ng-disabled="(seat.damaged) || (seat.status == 'B') || (seat.status == 'R')" ng-show="seat.id != NULL" ng-click="selectseat(seat);" id="{{seat.img}}">
<div class="seatstatustype">
<div class="seatstatus">
<img ng-src="{{seat.image}}" />
</div>
</div>
</div>
</div>
<div class="seatrowname seatrowname-right">
<div>{{row.rowname}}</div>
</div>
<script ng-if="resizeSeatPlan(row)"></script>
</div>
</div>
</div>
</div>
<div class="legend" id="legend">
<div class="legenditem">
<div class="legendlogo"><div class="square" style="background-color:grey"></div></div>
<span>Available</span></div>
<div class="legenditem">
<div class="legendlogo"><div class="square" style="background-color:red"></div></div>
<span>Occupied</span></div>
<div class="legenditem">
<div class="legendlogo"><div class="square" style="background-color:blue"></div></div>
<span>Selected</span></div>
</div>
</div>
</div>
</div>
<div id="warning" ng-show="seatselectionrows.length > 0">
<div style="font-size:18px;color:red;" ng-if="(selMovieCinema.id=='01'||selMovieCinema.id=='04')&&warning.indexOf('specially allocated for wheelchair bound patrons')>-1">
The wheelchair berth is located at the front row of the cinema.
<br>You may wish to select other GV locations for better seat options.
</div>
</div>
</div>
<div class="additional-option" ng-show="selectedseats.length > 0">
<div class="tab-header-section">
<ul class="nav nav-tabs" role="tablist">
<li class="active"><a>Ticket Price</a></li>
<a href="./GVMCRegistration" data-toggle="tab" ng-show="isLogin==false" class="hidden-md hidden-lg" target="_blank"><img border="0" alt="Sign up now" src="https://media.gv.com.sg/cms/resources/templating-kit/themes/gv/images/gvmc_signup-s.jpg"></a>
<a href="./GVMCRegistration" data-toggle="tab" ng-show="isLogin==false" class="hidden-xs hidden-sm" target="_blank"><img border="0" alt="Sign up now" src="https://media.gv.com.sg/cms/resources/templating-kit/themes/gv/images/gvmc_signup.jpg"></a>
</ul>
</div>
<div class="tickets-content">
<div class="dropdown movie-format">
<div class="row">
<div class="col-md-3 col-sm-4 col-xs-12"><label>Select Ticket Price:</label></div>
<div class="col-md-6 col-sm-4 col-xs-12">
<script>
jQuery(document).ready(function(){
$("#tickets").change(function() { //function to change the dropdown
var e = document.getElementById("tickets");
var strUser = e.options[e.selectedIndex];
$(".item-name").text(strUser.text);
$(".quantity").text(numOfSeats);
$(".ticket-price").text("$S" +strUser.value);
var total = parseFloat(numOfSeats) * parseFloat(strUser.value);
$(".amount").text("$S" + total.toFixed(2));
});
});
</script>