picturehouse_uk 4.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/ci.yml +26 -0
  3. data/.github/workflows/release.yml +26 -0
  4. data/.gitignore +1 -0
  5. data/.ruby-version +1 -0
  6. data/CHANGELOG.md +25 -0
  7. data/Rakefile +2 -2
  8. data/lib/picturehouse_uk/cinema.rb +30 -14
  9. data/lib/picturehouse_uk/internal/api.rb +42 -0
  10. data/lib/picturehouse_uk/internal/parser/address.rb +21 -6
  11. data/lib/picturehouse_uk/internal/parser/screenings.rb +85 -133
  12. data/lib/picturehouse_uk/internal/website.rb +10 -12
  13. data/lib/picturehouse_uk/version.rb +2 -2
  14. data/lib/picturehouse_uk.rb +1 -0
  15. data/picturehouse_uk.gemspec +2 -3
  16. data/rake/fixture_creator.rb +21 -1
  17. data/test/fixtures/cinemas.html +4262 -0
  18. data/test/fixtures/duke-of-york-s-picturehouse/cinema.html +6187 -0
  19. data/test/fixtures/duke-of-york-s-picturehouse/get_movies.json +120552 -0
  20. data/test/fixtures/duke-of-york-s-picturehouse/information.html +3725 -0
  21. data/test/fixtures/duke-s-at-komedia/cinema.html +6138 -0
  22. data/test/fixtures/duke-s-at-komedia/get_movies.json +112 -0
  23. data/test/fixtures/duke-s-at-komedia/information.html +3690 -0
  24. data/test/fixtures/home.html +6235 -555
  25. data/test/fixtures/phoenix-picturehouse/cinema.html +6089 -0
  26. data/test/fixtures/phoenix-picturehouse/get_movies.json +120552 -0
  27. data/test/fixtures/phoenix-picturehouse/information.html +3630 -0
  28. data/test/lib/picturehouse_uk/cinema_test.rb +34 -34
  29. data/test/lib/picturehouse_uk/internal/api_test.rb +92 -0
  30. data/test/lib/picturehouse_uk/internal/parser/address_test.rb +8 -8
  31. data/test/lib/picturehouse_uk/internal/parser/screenings_test.rb +99 -45
  32. data/test/lib/picturehouse_uk/internal/title_sanitizer_test.rb +48 -48
  33. data/test/lib/picturehouse_uk/internal/website_test.rb +12 -31
  34. data/test/lib/picturehouse_uk/performance_test.rb +63 -23
  35. data/test/lib/picturehouse_uk/version_test.rb +1 -1
  36. data/test/live/integration_test.rb +8 -8
  37. data/test/support/fake_api.rb +16 -0
  38. data/test/support/fake_website.rb +6 -6
  39. data/test/test_helper.rb +3 -2
  40. metadata +34 -50
  41. data/.travis.yml +0 -8
  42. data/test/fixtures/Duke_Of_Yorks/cinema.html +0 -3408
  43. data/test/fixtures/Duke_Of_Yorks/info.html +0 -556
  44. data/test/fixtures/Duke_Of_Yorks/whats_on.html +0 -3159
  45. data/test/fixtures/Dukes_At_Komedia/cinema.html +0 -4764
  46. data/test/fixtures/Dukes_At_Komedia/info.html +0 -526
  47. data/test/fixtures/Dukes_At_Komedia/whats_on.html +0 -4429
  48. data/test/fixtures/National_Media_Museum/cinema.html +0 -9200
  49. data/test/fixtures/National_Media_Museum/info.html +0 -606
  50. data/test/fixtures/National_Media_Museum/whats_on.html +0 -8850
  51. data/test/fixtures/Phoenix_Picturehouse/cinema.html +0 -8274
  52. data/test/fixtures/Phoenix_Picturehouse/info.html +0 -542
  53. data/test/fixtures/Phoenix_Picturehouse/whats_on.html +0 -7986
@@ -0,0 +1,3690 @@
1
+ <!DOCTYPE HTML>
2
+ <html>
3
+
4
+ <head>
5
+ <!--[if lt IE 7 ]> <html xmlns="http://www.w3.org/1999/xhtml" class="ie ie6"> <![endif]-->
6
+ <!--[if IE 7 ]> <html xmlns="http://www.w3.org/1999/xhtml" class="ie ie7"> <![endif]-->
7
+ <!--[if IE 8 ]> <html xmlns="http://www.w3.org/1999/xhtml" class="ie ie8"> <![endif]-->
8
+ <!--[if IE 9 ]> <html xmlns="http://www.w3.org/1999/xhtml" class="ie ie9"> <![endif]-->
9
+ <meta charset="UTF-8">
10
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
11
+
12
+ <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />
13
+ <!-- 2025-10-31 12:04:56 -->
14
+ <meta name="keywords" content="accessible, accessible cinema, picturehouse, picturehouse cinemas, cinema, duke&#039;s at komedia,duke&#039;s at komedia picturehouse,komedia,komedia pictrehouse,komedia cinema,dule&#039;s t komedia cinema,bighton cinema,brighton picturehouse,brighton" />
15
+ <meta name="description" content="The younger sister to Brighton&#039;s iconic Duke of York&#039;s is a two screen cinema with bar and kitchen." />
16
+ <meta name="robots" content="" />
17
+ <title>Duke&#039;s at Komedia | Brighton Cinema | Picturehouse</title>
18
+ <!-- Facebook Meta Tags -->
19
+ <meta property="og:locale" content="en_US" />
20
+ <meta property="og:url" content="http://www.picturehouses.com/cinema/duke-s-at-komedia/information">
21
+ <meta property="og:type" content="website">
22
+ <meta property="og:title" content="Duke&#039;s at Komedia | Brighton Cinema | Picturehouse">
23
+ <meta property="og:description" content="The younger sister to Brighton&#039;s iconic Duke of York&#039;s is a two screen cinema with bar and kitchen.">
24
+ <meta property="og:image" content="https://www.picturehouses.com/themes/picture-house.png">
25
+
26
+ <!-- Twitter Meta Tags -->
27
+ <meta name="twitter:card" content="summary_large_image">
28
+ <meta property="twitter:domain" content="picturehouses.com">
29
+ <meta property="twitter:url" content="http://www.picturehouses.com/cinema/duke-s-at-komedia/information">
30
+ <meta name="twitter:title" content="Duke&#039;s at Komedia | Brighton Cinema | Picturehouse">
31
+ <meta name="twitter:description" content="The younger sister to Brighton&#039;s iconic Duke of York&#039;s is a two screen cinema with bar and kitchen.">
32
+ <meta name="twitter:image" content="https://www.picturehouses.com/themes/picture-house.png">
33
+ <!--<script src="https://www.googletagmanager.com/gtag/js?id=UA-8022388-1"></script>-->
34
+ <!-- Google Tag Manager -->
35
+ <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
36
+ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
37
+ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
38
+ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
39
+ })(window,document,'script','dataLayer','GTM-NJ4JH4S');</script>
40
+ <!-- End Google Tag Manager -->
41
+
42
+
43
+
44
+
45
+
46
+ <meta name="apple-itunes-app" content="app-id=1176652161" />
47
+ <link rel="canonical" href="http://www.picturehouses.com/cinema/duke-s-at-komedia/information" />
48
+ <link rel="shortcut icon" href="https://www.picturehouses.com/favicon.png">
49
+
50
+ <!-- Web Application Manifest -->
51
+ <link rel="manifest" href="https://www.picturehouses.com/manifest.json">
52
+ <!-- Chrome for Android theme color -->
53
+ <meta name="theme-color" content="#000000">
54
+
55
+ <!-- Add to homescreen for Chrome on Android -->
56
+ <meta name="mobile-web-app-capable" content="yes">
57
+ <meta name="application-name" content="Picture House">
58
+ <link rel="icon" sizes="192x192" href="/themes/images/apple-icon-192x192.png">
59
+
60
+ <!-- Add to homescreen for Safari on iOS -->
61
+ <meta name="apple-mobile-web-app-capable" content="yes">
62
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
63
+ <meta name="apple-mobile-web-app-title" content="Picture House">
64
+ <link rel="apple-touch-icon" href="/themes/images/apple-icon-192x192.png">
65
+
66
+
67
+
68
+
69
+ <!-- Tile for Win8 -->
70
+ <meta name="msapplication-TileColor" content="#ffffff">
71
+ <meta name="msapplication-TileImage" content="/themes/images/apple-icon-192x192.png">
72
+
73
+ <script type="text/javascript">
74
+ // Initialize the service worker
75
+ if ('serviceWorker' in navigator) {
76
+ navigator.serviceWorker.register('/serviceworker.js?v=1', {
77
+ scope: '.'
78
+ }).then(function (registration) {
79
+ // Registration was successful
80
+ console.log('Laravel PWA: ServiceWorker registration successful with scope: ', registration.scope);
81
+ }, function (err) {
82
+ // registration failed :(
83
+ console.log('Laravel PWA: ServiceWorker registration failed: ', err);
84
+ });
85
+ }
86
+ </script>
87
+ <link href="https://www.picturehouses.com/themes/html/css/fontawesome.min.css" rel="stylesheet" type="text/css" media="none" onload="if(media!='all')media='all'">
88
+
89
+ <link href="https://www.picturehouses.com/themes/html/css/style.css" rel="stylesheet" type="text/css">
90
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
91
+
92
+ <link href="https://www.picturehouses.com/themes/html/bootstrap/css/bootstrap.min.css" rel="stylesheet"
93
+ type="text/css">
94
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,300,700,600" rel="stylesheet" type='text/css' media="none" onload="if(media!='all')media='all'">
95
+ <link href="https://www.picturehouses.com/themes/html/css/animations.min.css" rel="stylesheet" type="text/css" >
96
+ <link href="https://www.picturehouses.com/themes/html/css/perfect-scrollbar.min.css" rel="stylesheet"
97
+ type="text/css" media="none" onload="if(media!='all')media='all'">
98
+
99
+ <!---------- slick slider ------------->
100
+ <link href="https://www.picturehouses.com/themes/html/slider/css/slick.css" rel="stylesheet"
101
+ type="text/css" media="none" onload="if(media!='all')media='all'"/>
102
+ <link href="https://www.picturehouses.com/themes/html/slider/css/slick-theme.css" rel="stylesheet"
103
+ type="text/css" media="none" onload="if(media!='all')media='all'"/>
104
+ <!---------- gallery pop up ------------->
105
+ <link href="https://www.picturehouses.com/themes/html/css/gallery.css" rel="stylesheet" type="text/css"
106
+ media="none" onload="if(media!='all')media='all'">
107
+ <!--Select 2-->
108
+ <link rel="stylesheet" type="text/css"
109
+ href="https://www.picturehouses.com/themes/admin/css/modules/materialadmin/css/theme-default/libs/select2/select201ef.css"
110
+ media="none" onload="if(media!='all')media='all'"/>
111
+ <!--toaster-->
112
+ <link
113
+ href="https://www.picturehouses.com/themes/admin/css/modules/materialadmin/css/theme-default/libs/toastr/toastr9fec.css"
114
+ rel="stylesheet" type="text/css" media="none" onload="if(media!='all')media='all'">
115
+
116
+ <link href="https://www.picturehouses.com/themes/html/css/mobile.css?v=1" rel="stylesheet" type="text/css">
117
+ <link href="https://www.picturehouses.com/themes/html/css/toggle-switch.css" rel="stylesheet" type="text/css">
118
+
119
+ <style type="text/css">
120
+ .top_logo {
121
+ background: url('https://s3picturehouses.s3.eu-central-1.amazonaws.com/settings/ph1551963779.png');
122
+ background-size: 100% !important;
123
+ background-repeat: no-repeat !important;
124
+ }
125
+
126
+ .stick .top_logo,
127
+ .nav_dark .top_logo {
128
+ background: url('https://s3picturehouses.s3.eu-central-1.amazonaws.com/settings/ph1563896910.png') !important;
129
+ background-size: 100% !important;
130
+ background-repeat: no-repeat !important;
131
+ }
132
+
133
+ .stick .header-menu .desQuick_book .active .book_ticket_dropdown {
134
+ border-bottom: 4px solid #000 !important;
135
+ }
136
+
137
+ .header-menu .desQuick_book .active .book_ticket_dropdown {
138
+ border-bottom: 4px solid #fff;
139
+ }
140
+
141
+ @media screen and (max-width: 991px) {
142
+ .top_logo {
143
+ background: url('https://s3picturehouses.s3.eu-central-1.amazonaws.com/settings/ph1563896910.png');
144
+ background-size: 100% !important;
145
+ background-repeat: no-repeat !important;
146
+ }
147
+ }
148
+
149
+ </style>
150
+
151
+
152
+
153
+ <!-------------- main jquery -------------->
154
+ <script src="https://www.picturehouses.com/themes/html/js/perfect-scrollbar.min.js" type="text/javascript"
155
+ defer></script>
156
+ <script src="https://www.picturehouses.com/themes/html/js/jquery-2.0.3.min.js" type="text/javascript">
157
+ </script>
158
+
159
+ <script src="https://www.picturehouses.com/themes/html/bootstrap/js/bootstrap.bundle.min.js"
160
+ type="text/javascript"></script>
161
+ <!-----------------select box------------->
162
+ <script src="https://www.picturehouses.com/themes/html/js/script.min.js" type="text/javascript" defer>
163
+ </script>
164
+ <script src="https://www.picturehouses.com/themes/home/js/lazysizes.min.js" type="text/javascript" async="">
165
+ </script>
166
+ </head>
167
+
168
+ <body class="body" id="">
169
+
170
+
171
+ <div class="cookiesTop_div marketing_banner" id="popupbanner" style="display: none">
172
+ <div class="container-fluid">
173
+ <input type="hidden" class="form-control" id="popupbannerid"
174
+ value="1749455893">
175
+
176
+
177
+ <div class="row">
178
+ <div class="col-lg-10 offset-lg-1">
179
+
180
+ <p>
181
+ <p>Due to our license, unaccompanied children under the age of 18 are not permitted on our premises after 22.00 every day. This means under 18s are not permitted entry to screenings that end after 22.00. We apologise for any inconvenience this may cause.</p>
182
+ </p>
183
+
184
+ <div class="cookiesClose" id="popupbanner-close">
185
+ <img src="https://www.picturehouses.com/themes/html/images/close-popup.svg" />
186
+ <!--<i class="fas fa-times"></i>-->
187
+ </div>
188
+ </div>
189
+ </div>
190
+ </div>
191
+ </div>
192
+
193
+
194
+
195
+ <div class="modal fade searchCinema_modal" id="searchCinema_modal">
196
+ <div class="modal-dialog modal-dialog-centered">
197
+ <div class="modal-content">
198
+ <button type="button" class="close btn-pink mr-3 mt-3" data-dismiss="modal" aria-label="Close">
199
+ <span aria-hidden="true">&times;</span>
200
+ </button>
201
+ <div class="modal-body">
202
+ <div class="row">
203
+ <div class="col-12">
204
+ <div class="form-group">
205
+ <input type="text" class="form-control" id="mobile_search" placeholder="Search by cinema name or town"/>
206
+ </div>
207
+ <button class="btn-pink form-control" onclick="loadCinemaSlider(4)">Submit</button>
208
+ </div>
209
+ </div>
210
+ </div>
211
+ </div>
212
+ </div>
213
+ </div>
214
+
215
+ <div class="modal fade" id="watchlist_popup" tabindex="-1" role="dialog" aria-labelledby="watchlist_popup"
216
+ aria-hidden="true">
217
+ <div class="modal-dialog modal-dialog-centered" role="document">
218
+ <div class="modal-content rs-area">
219
+ <div class="modal-header border-bottom-0">
220
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
221
+ <span aria-hidden="true">&times;</span>
222
+ </button>
223
+ </div>
224
+ <div class="modal-body">
225
+ <div class=" text-center">
226
+ <p style="margin-bottom: 0">Access your watchlist and rate films with your MyPicturehouse
227
+ online account </p>
228
+ <div class="text-center">
229
+
230
+
231
+ <a class="watchlist_signin_btn"
232
+ href="https://web.picturehouses.com/sign-in?call-back-url=https://www.picturehouses.com/watchlist"
233
+ class="btn btn-secondary w-25 book_url"> Sign In </a>
234
+
235
+ </div>
236
+ <div class="text-center">
237
+
238
+ <p>Not a MyPicturehouse Member ?</p>
239
+ <a href="https://web.picturehouses.com/sign-in?call-back-url=https://www.picturehouses.com/watchlist"
240
+ class="watchlist_member_btn"> Become a member </a>
241
+
242
+ </div>
243
+ </div>
244
+ </div>
245
+ <div class="modal-footer border-top-0">
246
+
247
+ </div>
248
+ </div>
249
+ </div>
250
+ </div>
251
+
252
+ <section class="header_banner">
253
+ <header class="">
254
+ <div class="page-header">
255
+ <div id="sticky-anchor"></div>
256
+ <div id="sticky" class="sreach_nav_border">
257
+ <div class="container-fluid">
258
+ <div class="row">
259
+ <div class="col-sm-4 col-lg-2">
260
+ <a
261
+ href="https://www.picturehouses.com/" title="Picturehouse" ">
262
+ <div class="top_logo">&nbsp;</div>
263
+ </a>
264
+ </div>
265
+ <div class="col-sm-8 col-lg-10">
266
+
267
+ <div class="sign_in_btn float-right">
268
+ <ul>
269
+ <li>
270
+ <a class="galleryDesktopView"
271
+ href="https://web.picturehouses.com/sign-in?call-back-url=http://www.picturehouses.com/cinema/duke-s-at-komedia/information"
272
+ onclick="return setCookie(1);"
273
+ title="MyPicturehouse">MyPicturehouse</a>
274
+ <a class="galleryMobileView"
275
+ href="https://web.picturehouses.com/sign-in?call-back-url=http://www.picturehouses.com/cinema/duke-s-at-komedia/information"
276
+ onclick="return setCookie(1);" title="MyPicturehouse"><i
277
+ class="fa fa-user header"></i></a>
278
+
279
+ </li>
280
+ <li class="top-search">
281
+ <form id="demo-2" action="https://www.picturehouses.com/search" method="GET">
282
+ <input type="search" name="search" onkeyup="searchAjax()"
283
+ autocomplete="off" class="search_field" id="search_field">
284
+ <i class="fa fa-spin fa-spinner spin_loader d-none"
285
+ style="position: absolute;top: 13px;right: 32px;"></i>
286
+ </form>
287
+ <div class="ajaxSearchResult d-none">
288
+
289
+ </div>
290
+ </li>
291
+ <!-- <li class="top-search">
292
+ <form id="demo-2">
293
+ <input type="search">
294
+ </form>
295
+ </li>-->
296
+ <li>
297
+
298
+ <!-- <a href="javascript:void()" data-toggle="modal"
299
+ data-target="#watchlist_popup" onclick="return watchlisthome();"
300
+ title="Watchlist"><i class="fa fa-heart header"></i></a> -->
301
+
302
+ </li>
303
+ <!-- <li>
304
+ <a href="#" data-toggle="modal" data-target="#signin_modal" title="Sign in">Sign In &nbsp;
305
+ <i class="fas fa-map-marker-alt"></i>
306
+ </a>
307
+ </li>-->
308
+ </ul>
309
+
310
+
311
+ </div>
312
+
313
+ <div class="clearfix"></div>
314
+ <div
315
+ class="header-menu float-right ">
316
+ <nav class="navbar navbar-expand-lg navbar-light bg-light">
317
+ <button class="navbar-toggler" type="button" data-toggle="collapse"
318
+ data-target="#navbarText" aria-controls="navbarText" aria-expanded="false"
319
+ aria-label="Toggle navigation">
320
+ <span class="navbar-toggler-icon"></span>
321
+ </button>
322
+ <div class="collapse navbar-collapse heightBox" id="navbarText">
323
+ <ul class="navbar-nav mr-auto nav-main">
324
+ <!--changes for mob screen-->
325
+ <div class="d-flex">
326
+ <img class="hideOnBigScreen" style="width: 80px" src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/settings/ph1551963779.png"/>
327
+ <span class="nav-close-btn hideOnBigScreen">
328
+ <img style="width: 13px; height: 13px" src="https://www.picturehouses.com/themes/html/images/close_icon_mob.png"/>
329
+ </span>
330
+ </div>
331
+ <!--changes for mob screen-->
332
+ <li class="nav-item">
333
+ <a class="nav-link "
334
+ href="https://www.picturehouses.com/cinema"
335
+ title="Cinemas">Cinemas</a>
336
+ </li>
337
+ <li class="nav-item">
338
+ <a class="nav-link "
339
+ href="https://www.picturehouses.com/whats-on"
340
+ title="What&#039;s On">What&#039;s On</a>
341
+ </li>
342
+ <li class="nav-item">
343
+ <a class="nav-link "
344
+ href="https://www.picturehouses.com/membership"
345
+ title="Membership with Kia">Membership with Kia</a>
346
+ </li>
347
+ <li class="nav-item">
348
+ <a class="nav-link "
349
+ href="https://web.picturehouses.com/gift-shop"
350
+ title="Gifts">Gifts</a>
351
+ </li>
352
+ <div class="dropdown menu-dropdown">
353
+ <button class="btn bg-transparent dropdown-toggle hideOnMob" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
354
+ More <i class="fa fa-angle-down"></i>
355
+ </button>
356
+ <div class="dropdown-menu shadow dropdown-menu-right" aria-labelledby="dropdownMenu2">
357
+ <ul>
358
+ <li class="nav-item">
359
+ <a class="nav-link "
360
+ href="https://www.picturehouses.com/event"
361
+ title="Events &amp; Seasons">Events &amp; Seasons</a>
362
+ </li>
363
+ <li class="nav-item">
364
+ <a class="nav-link "
365
+ href="https://www.picturehouses.com/coming-soon"
366
+ title="Coming Soon">Coming Soon</a>
367
+ </li>
368
+ <li class="nav-item">
369
+ <a class="nav-link "
370
+ href="https://www.picturehouses.com/blog"
371
+ title="Recommends">Recommends</a>
372
+ </li>
373
+ <li class="nav-item">
374
+ <a class="nav-link "
375
+ href="https://www.picturehouses.com/venue-hire"
376
+ title="Venue Hire">Venue Hire</a>
377
+ </li>
378
+ </ul>
379
+ </div>
380
+ </div>
381
+ <li class="nav-item bomWishlistIcon bottomIcons"><!--changes for mob screen-->
382
+
383
+ <!-- <a href="javascript:void()" data-toggle="modal"
384
+ data-target="#watchlist_popup"
385
+ onclick="return watchlisthome();" title="watchlist"><i
386
+ class="fa fa-heart header"></i></a>
387
+ &nbsp; &nbsp; --><a href="https://web.picturehouses.com/sign-in?call-back-url=http://www.picturehouses.com/cinema/duke-s-at-komedia/information"
388
+ onclick="return setCookie(1);" title="MyPicturehouse"><i class="fa fa-user"></i></a>
389
+
390
+ </a>
391
+ </li>
392
+ <!-- <li class="nav-item bomWishlistIcon">
393
+ <div class="mod_searchDiv">
394
+ <input class="mobSearchBox" type="text" value="" name="searchword" placeholder="" />
395
+ <i class="mobSearchIcon fa fa-search" style="width: 16px;" /></i>
396
+ </div>
397
+ </li> -->
398
+ </ul>
399
+ <div id="cssmenu" class="desQuick_book">
400
+ <ul>
401
+ <li class="has-sub quickbkdrop"><a class="book_ticket_dropdown"
402
+ title="Book Tickets" href="#"><span>BOOK TICKETS</span></a>
403
+ <ul class="quickBookDropdown">
404
+ <li>
405
+ <div class="box">
406
+
407
+ <div class="custom-select">
408
+ <select id="cinema_id0"
409
+ class="select_cinema_id_quick select2-cinema-list cinema-select2 mobile_select"
410
+ onChange="changeSelectCinema(this.value,'0');">
411
+ <option value="">CINEMAS</option>
412
+ </select>
413
+ </div>
414
+ <div class="custom-select">
415
+ <select id="select_movie_name0"
416
+ class="select_movie_name_quick select_movie_name select2-movie-list movie-select2 mobile_select"
417
+ onChange="changeSelectMovie('movie', this.value,'0');">
418
+ <option value="">FILMS</option>
419
+ </select>
420
+ </div>
421
+ <div
422
+ class="custom-select today_cls float-left width-fifty">
423
+ <select id="select_movie_date0"
424
+ class="select_movie_date_quick select_movie_date mobile_select"
425
+ onChange="changeSelectMovie('date', this.value,'0');" />
426
+ <option value="">DATES </option>
427
+ </select>
428
+ </div>
429
+ <div
430
+ class="custom-select today_cls float-right time_cls width-fifty">
431
+ <select id="select_movie_time0"
432
+ class="select_movie_time_quick select_movie_time mobile_select"
433
+ onChange="changeSelectMovie('time', this.value,'0');">
434
+ <option value="">TIMES </option>
435
+ </select>
436
+ </div>
437
+ <div class="w-100">
438
+ <input class="submit_btn" type="submit"
439
+ value="Submit" name="save"
440
+ onclick="bookSelectMovie('0');">
441
+ </div>
442
+ </div>
443
+ </li>
444
+ </ul>
445
+ </li>
446
+ </ul>
447
+ </div>
448
+ </div>
449
+ </nav>
450
+ </div>
451
+ </div>
452
+ </div>
453
+ </div>
454
+ <div class="quickBook_mobPop">
455
+ <a href="javascript:void(0)" title="BOOK TICKETS" class="mobile_booking_poup_btn">BOOK TICKETS</a>
456
+ </div>
457
+ </div>
458
+ </div>
459
+ </header>
460
+
461
+
462
+ <!-- The Modal -->
463
+ <div class="modal popBox" id="mobileBooking">
464
+ <div class="modal-dialog">
465
+ <div class="modal-content">
466
+ <!-- Modal body -->
467
+ <div class="modal-body">
468
+ <div class="mobileBooking">
469
+ <button type="button" class="close" data-dismiss="modal">&times;</button>
470
+ <h3>BOOK YOUR TICKETS</h3>
471
+ <div class="mt-5">
472
+ <label for="">Cinemas</label>
473
+ <button id="" class="choose_cinema_btn choose_cinema_show">Cinemas</button>
474
+ <input type="hidden" value="" id="cinema_id4">
475
+
476
+ </div>
477
+ <div class="mt-3">
478
+ <label for="">FILMS</label>
479
+ <button id="" class="choose_cinema_btn choose_film_show">Films</button>
480
+ <input type="hidden" value="" id="select_movie_name4">
481
+ </div>
482
+ <div class="float-left width-fifty mt-3"><label for="">DATES</label></div>
483
+ <div class="float-right width-fifty mt-3"><label for="">TIMES</label></div>
484
+ <div class="custom-select today_cls float-left width-fifty">
485
+ <select id="select_movie_date4" class="select_movie_date_quick select_movie_date mobile_select"
486
+ onChange="changeSelectMovie('date', this.value,'4');" />
487
+ <option value=""></option>
488
+ </select>
489
+ </div>
490
+ <div class="custom-select today_cls float-right time_cls width-fifty">
491
+ <select id="select_movie_time4" class="select_movie_time_quick select_movie_time mobile_select"
492
+ onChange="changeSelectMovie('time', this.value,'4');">
493
+ <option value=""></option>
494
+ </select>
495
+ </div>
496
+ <div class="w-100">
497
+ <input class="submit_btn" type="submit" value="Submit" name="save"
498
+ onclick="bookSelectMovie('4');">
499
+ </div>
500
+ </div>
501
+ </div>
502
+ </div>
503
+ </div>
504
+ </div>
505
+
506
+ <div class="choose_cinema_mobDiv" style="display: none;" id="cinemaDropDown">
507
+ <h3>Choose Cinemas
508
+ <button id="" class="close_icon_mob float-right mt-0 choose_cinema_hide">
509
+ <img src="https://www.picturehouses.com/themes/html/images/close_icon_mob.png" alt="" class="img-fluid" />
510
+ </button>
511
+ </h3>
512
+
513
+ <div class="choose_cinema_innerDiv" id="cinemaDropDownList"></div>
514
+ </div>
515
+
516
+ <div class="choose_cinema_mobDiv" style="display: none;" id="filmDropDown">
517
+ <h3>Choose a Film
518
+ <button id="" class="close_icon_mob float-right mt-0 choose_film_hide">
519
+ <img src="https://www.picturehouses.com/themes/html/images/close_icon_mob.png" alt="" class="img-fluid" />
520
+ </button>
521
+ </h3>
522
+
523
+ <div class="choose_cinema_innerDiv" id="filmDropDownList"><div class="chooseFilmLoader"></div></div>
524
+ </div>
525
+
526
+ <div id="main-slider-with-content">
527
+ <section>
528
+ <div id="carouselExampleIndicators" class="carousel slide mainSlider innerSlider cinemaPage_slider"
529
+ data-ride="carousel">
530
+
531
+ <div class="scrollMenu_bar hideOnBigScreen">
532
+ <div class="scrollMenu_banner">
533
+ <div class="container-fluid">
534
+ <div class="row">
535
+ <div class="col-md-12 col-lg-9">
536
+ <ul>
537
+ <li>
538
+ <a href="https://www.picturehouses.com/cinema/duke-s-at-komedia" >
539
+ Duke&#039;s at Komedia Home
540
+ </a>
541
+ </li>
542
+ <li>
543
+ <a href="https://www.picturehouses.com/cinema/duke-s-at-komedia/food-and-drink" >
544
+ Food & Drink
545
+ </a>
546
+ </li>
547
+ <li>
548
+ <a href="https://www.picturehouses.com/cinema/duke-s-at-komedia/accessibility" >
549
+ Accessibility
550
+ </a>
551
+ </li>
552
+ <li>
553
+ <a href="https://www.picturehouses.com/cinema/duke-s-at-komedia/venue-hire" >
554
+ Venue Hire
555
+ </a>
556
+ </li>
557
+ <li>
558
+ <a href="https://www.picturehouses.com/cinema/duke-s-at-komedia/information" class="active" >
559
+ Information
560
+ </a>
561
+ </li>
562
+
563
+ </ul>
564
+ </div>
565
+ </div>
566
+ </div>
567
+ </div>
568
+ </div>
569
+
570
+ <div class="carousel-inner">
571
+ <ol class="carousel-indicators">
572
+ <li data-target="#carouselExampleIndicators" data-slide-to="0"
573
+ class="active" ></li>
574
+
575
+ <li data-target="#carouselExampleIndicators" data-slide-to="1"
576
+ ></li>
577
+
578
+ <li data-target="#carouselExampleIndicators" data-slide-to="2"
579
+ ></li>
580
+
581
+ <li data-target="#carouselExampleIndicators" data-slide-to="3"
582
+ ></li>
583
+
584
+ <li data-target="#carouselExampleIndicators" data-slide-to="4"
585
+ ></li>
586
+
587
+ <li data-target="#carouselExampleIndicators" data-slide-to="5"
588
+ ></li>
589
+
590
+ </ol>
591
+ <div class="carousel-item active ">
592
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_174238811667dabb94b0cc6.jpg" class="w-100 lazyload"
593
+ alt="Welcometo Duke&#039;s At Komedia, Brighton" />
594
+ <div class="carousel-caption cinema_carousel">
595
+ <h1 class="title">Welcome to<br>Duke's At Komedia</h1>
596
+ <p class="subheader">Aged 16-25? See more for less!</p>
597
+ <p class="body">Enjoy £5.99 tickets from Monday to Thursday.</p>
598
+ <a href="https://www.picturehouses.com/blog/welcome-to-u25" class="explore_btn imgInne_btn">More info</a>
599
+ </div>
600
+ </div>
601
+ <div class="carousel-item ">
602
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/images/uploads/Discover25_M.jpg" class="w-100 lazyload"
603
+ alt="Welcome to&lt;br&gt;Duke&#039;s At Komedia" />
604
+ <div class="carousel-caption cinema_carousel">
605
+ <h1 class="title">Welcome to<br>Duke's At Komedia</h1>
606
+ <h3 class="header">Discover.</h3>
607
+ <p class="subheader">Discover stunning cinema. See something different and brilliant at our weekly previews. Members pay just £3.</p>
608
+ <a href="https://www.picturehouses.com/event-details/0000000007/discover/100" class="explore_btn imgInne_btn">See what&#039;s on</a>
609
+ </div>
610
+ </div>
611
+ <div class="carousel-item ">
612
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/images/uploads/Cinema%20Images/CacciaAndTails_M-min.jpg" class="w-100 lazyload"
613
+ alt="Welcometo Duke&#039;s At Komedia, Brighton" />
614
+ <div class="carousel-caption cinema_carousel">
615
+ <h1 class="title">Welcome to<br>Duke's At Komedia</h1>
616
+ <h3 class="header">Meet Caccia and Tails!</h3>
617
+ <p class="body">Caccia & Tails have taken over our cafe with their exceptional Italian street food and cocktails.</p>
618
+ </div>
619
+ </div>
620
+ <div class="carousel-item ">
621
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/images/uploads/National%20Partner/AveenoWWB_M.jpg" class="w-100 lazyload"
622
+ alt="Welcome toDuke&#039;s At Komedia" />
623
+ <div class="carousel-caption cinema_carousel">
624
+ <h1 class="title">Welcome to<br>Duke's At Komedia</h1>
625
+ <h3 class="header">Watch With Baby</h3>
626
+ <p class="subheader">Supported by Aveeno Baby</p>
627
+ <a href="https://www.picturehouses.com/aveeno" class="explore_btn imgInne_btn">Learn More</a>
628
+ </div>
629
+ </div>
630
+ <div class="carousel-item ">
631
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15670743375d67a82153279.jpg" class="w-100 lazyload"
632
+ alt="Welcome to Dukes at Komedia, Brighton" />
633
+ <div class="carousel-caption cinema_carousel">
634
+ <h1 class="title">Welcome to <br>Dukes at Komedia, Brighton</h1>
635
+ <h3 class="header">The younger sister to Brighton's iconic Duke of York's.</h3>
636
+ </div>
637
+ </div>
638
+ <div class="carousel-item ">
639
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_173166208967371109936dd.jpg" class="w-100 lazyload"
640
+ alt="Welcome&lt;br&gt;to Duke&#039;s At Komedia, Brighton" />
641
+ <div class="carousel-caption cinema_carousel">
642
+ <h1 class="title">Welcome<br>to Duke's At Komedia, Brighton</h1>
643
+ <h3 class="header">Membership with Kia</h3>
644
+ <a href="https://www.picturehouses.com/membership" class="explore_btn imgInne_btn">More Info</a>
645
+ </div>
646
+ </div>
647
+ </div>
648
+
649
+ <div class="scrollMenu_bar hideOnMob">
650
+ <div class="scrollMenu_banner">
651
+ <div class="container-fluid">
652
+ <div class="row">
653
+ <div class="col-md-12 col-lg-9">
654
+ <ul>
655
+ <li>
656
+ <a href="https://www.picturehouses.com/cinema/duke-s-at-komedia" >
657
+ Duke&#039;s at Komedia Home
658
+ </a>
659
+ </li>
660
+ <li>
661
+ <a href="https://www.picturehouses.com/cinema/duke-s-at-komedia/food-and-drink" >
662
+ Food & Drink
663
+ </a>
664
+ </li>
665
+ <li>
666
+ <a href="https://www.picturehouses.com/cinema/duke-s-at-komedia/accessibility" >
667
+ Accessibility
668
+ </a>
669
+ </li>
670
+ <li>
671
+ <a href="https://www.picturehouses.com/cinema/duke-s-at-komedia/venue-hire" >
672
+ Venue Hire
673
+ </a>
674
+ </li>
675
+ <li>
676
+ <a href="https://www.picturehouses.com/cinema/duke-s-at-komedia/information" class="active" >
677
+ Information
678
+ </a>
679
+ </li>
680
+
681
+ </ul>
682
+ </div>
683
+
684
+ <div class="col-md-3 col-lg-3">
685
+ <ul class="innerBanner_adrass float-right">
686
+ <li class="topSocial_icons">
687
+ <a class="" target="_blank" href="">
688
+ <i class="fa fa-facebook" aria-hidden="true"></i>
689
+ </a>
690
+ <a class="" target="_blank" href="">
691
+ <i class="fa fa-twitter" aria-hidden="true"></i>
692
+ </a>
693
+ <a class="" target="_blank" href="">
694
+ <i class="fa fa-instagram" aria-hidden="true"></i>
695
+ </a>
696
+ </li>
697
+ </ul>
698
+ </div>
699
+ </div>
700
+ </div>
701
+ </div>
702
+ </div>
703
+ </div>
704
+ </section>
705
+ </div>
706
+ </section>
707
+
708
+ <section class="relesed_cinemas">
709
+ <div class="container-fluid">
710
+ <div class="row">
711
+ <div class="col-md-10 offset-md-1">
712
+ <div class="textareaContent row px-3">
713
+ <div class="col-lg-6"> <div class="ourStory_div">
714
+ <h2 class="highlMar venueLine_head"><span>Our Story</span></h2>
715
+ <p>The younger, more contemporary, sister to the historic Duke of York's opened in December 2012. Duke's at Komedia is a two-screen cinema and bar situated predominantly in the upstairs portion of the established Komedia comedy club.</p><p> The cinema shows a heady mix of quality blockbusters and independent films to the culturally-rich Brighton community.<br></p> <div class="cinemaAdrass"><i class="fas fa-map-marker-alt"></i>Duke's at Komedia<br>44–47 Gardner Street<br>Brighton<br>East Sussex<br>BN1 1UN</div> </div> </div> <div class="col-lg-6"> <img style="width: 100%;" src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/page_content_images/ph_15603376070.jpeg" data-filename="4B7A5151.jpg"><br> </div>
716
+ </div>
717
+ </div>
718
+ </div>
719
+ </div>
720
+ </section>
721
+
722
+ <section class="relesed_cinemas comingDiv" id="opening-times">
723
+ <div class="container-fluid">
724
+ <div class="row">
725
+ <div class="col-md-10 offset-md-1 col-lg-10 offset-lg-1 text-left">
726
+ <h2 class="highlMar venueLine_head"><span>Opening Times</span></h2>
727
+ </div>
728
+ </div>
729
+
730
+ <div class="row comingsoon_div explore_picHouse presents_box open_time">
731
+ <div class="col-md-10 offset-md-1 textareaContent">
732
+ <div class="cinemaAdrass openingTime">We open half an hour before the first film of the day.</div><div class="cinemaAdrass openingTime">Due to our license, unaccompanied children under the age of 18 are not permitted on our premises after 22.00 every day. This includes films that are due to end after this time. We apologise for any inconvenience this may cause.</div>
733
+ </div>
734
+ </div>
735
+ </div>
736
+ </section>
737
+
738
+
739
+ <section class="spotlight_div spotlight2_div premium_adDiv centreModeSlider">
740
+ <div class="container-fluid">
741
+ <div class="row">
742
+ <div class="col-md-10 offset-md-1">
743
+ <div id="carouselExampleControls1" class="carousel slide" data-ride="carousel">
744
+ <div class="carousel-inner">
745
+ <div class="carousel-item active "
746
+ data-interval="20000">
747
+ <img src="https://www.picturehouses.com/themes/html/images/loading-img.jpg"
748
+ data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15723642645db85fe87e9dc.jpg"
749
+ class="d-block w-100 lazyload"
750
+ alt="Friends and partners of"
751
+ title="Friends and partners of">
752
+ <div class="carousel-caption">
753
+ <div class="carousel-caption-innerDiv">
754
+ <h2>Friends and partners of</h2>
755
+
756
+ <h1>Duke At Komedia's</h1>
757
+
758
+ <h4>Get ready for unmissable Member discounts</h4>
759
+
760
+
761
+ <a href="https://www.picturehouses.com/partner/duke-s-at-komedia-local-partners" title="Find out more"
762
+ class="explore_btn imgInne_btn">Find out more</a>
763
+ </div>
764
+ </div>
765
+ </div>
766
+ </div>
767
+ </div>
768
+ </div>
769
+ </div>
770
+ </div>
771
+ </section>
772
+
773
+
774
+
775
+ <section class="relesed_cinemas comingDiv t-p-area" id="ticket-prices">
776
+ <div class="container-fluid">
777
+ <div class="row">
778
+ <div class="col-md-10 offset-md-1 col-lg-10 offset-lg-1 text-left">
779
+ <h2 class="highlMar venueLine_head"><span>Ticket Prices</span></h2>
780
+ </div>
781
+ </div>
782
+
783
+ <div class="row textareaContent">
784
+ <div class="col-md-10 offset-md-1"> <div class="row mb-4"><div class="col-md-12"><div><span style="font-family: StagSans-Medium;">Ticket prices vary. Please check the specific film and time you are interested in attending for prices.</span></div><div><br></div><p><span style="letter-spacing: 0.1px; font-family: StagSans-Medium;">Please note that peak or altered pricing may apply for certain films, special events and holiday periods. More information on pricing is available in our </span><a href="https://www.picturehouses.com/faq" target="_blank" style="background-color: rgb(255, 255, 255); letter-spacing: 0.1px; font-family: StagSans-Medium;">FAQs </a><span style="letter-spacing: 0.1px; font-family: StagSans-Medium;">and </span><a href="http://www.picturehouses.com/terms&conditions" target="_blank" style="background-color: rgb(255, 255, 255); letter-spacing: 0.1px; font-family: StagSans-Medium;">Terms & Conditions.</a><br></p><p><span style="letter-spacing: 0.1px;">We add an 85p booking fee per ticket (excluding tickets for Picturehouse Members) to bookings made online or over the phone. This fee doesn't apply to tickets you buy in person at the cinema.</span></p><p><span style="letter-spacing: 0.1px;">3D films may cost £1.30 extra per person, not including 3D glasses (you can buy these at the cinema for an extra £1, free for Members, or bring your own).</span><br></p><p>*Family tickets are for four people, at least two of whom must be under 15. Not applicable to premium-priced screenings.</p><p><b><br></b><span style="font-family: StagSans-Medium;">Have a question about our prices? We might have the answer in our </span><a href="https://www.picturehouses.com/faq" style=""><span style="font-family: StagSans-Medium;">FAQs</span></a><span style="font-family: StagSans-Medium;">.</span></p><p><span style="font-family: StagSans-Medium;"><br></span></p><h3 style="font-family: Roboto, sans-serif, Helvetica, Arial, sans-serif; color: rgb(0, 0, 0);"><font face="StagSans-Medium">Happy Mondays</font></h3><p>All day every Monday (excluding bank holidays), you can enjoy great value tickets with <a href="https://www.picturehouses.com/happymondays" target="_blank">Happy Mondays</a>.</p><p>Picturehouse Members get to save even more. Please check Monday listings for details.</p><p><br></p><p><br></p><p></p><p></p>
785
+ <h2 class="highlMar venueLine_head"><span>Clubs & Groups</span></h2><p></p><div><p></p><h3><span style="font-family: StagSans-Medium;">Relaxed Screenings</span></h3><p><a href="https://www.picturehouses.com/event-details/0000000151/relaxed-screenings" target="_blank">Relaxed screenings </a>are specially designed to make cinema-going easier and more accessible to those who may need additional support when they visit. These screenings are ideal for neurodivergent audiences of all ages, those living with dementia, and their families, friends, and carers, but all are welcome.
786
+ </p><p>
787
+ Relaxed screenings will show films without adverts or trailers. Lights are left on low, the volume is reduced, and the audience is free to move around and take breaks from the screen whenever needed.
788
+ </p><p>
789
+ We typically show:        <br>A new release every second Monday of the month    <br>A family-friendly film every third Sunday of the month<br>A classic film every last Friday of the month (with interval) (<a href="https://www.picturehouses.com/cinema/duke-of-york-s-picturehouse" target="_blank">at Duke of York's</a>)</p><p></p><p>Whilst we do our best to ensure these screenings happen consistently, please note that on occasion the regular slot may change. Make sure to <a href="https://www.picturehouses.com/event-details/0000000151/relaxed-screenings" target="_blank">check local listings </a>ahead of your screening.</p><p><br></p>
790
+ <h3><span style="font-family: StagSans-Medium;">Watch with Baby</span></h3><p><span style="letter-spacing: 0.1px;">The </span><a href="https://www.picturehouses.com/event-details/0000000008/watch-with-baby" target="_blank" style="letter-spacing: 0.1px; background-color: rgb(255, 255, 255);">Watch with Baby</a><span style="letter-spacing: 0.1px;"> club is for parents and guardians with babies under one year old.</span></p><p>Watch with Baby at Duke's At Komedia takes place on Thursdays at 11.00. </p><p>Babies go free. Adults are only admitted if accompanying a baby.<br></p><p><br></p><h3><span style="font-family: StagSans-Medium;">Toddler Time </span></h3><p>Join us on Tuesdays at 11.00 for 30 minutes of episodes for preschool children and their parents and carers. </p><p>A great way to <a href="https://www.picturehouses.com/event-details/0000000009/toddler-time">introduce</a> your toddler to the experience of the cinema! Adults are only admitted if accompanying a child.<br></p><p><br></p><h3><span style="font-family: StagSans-Medium;">Kids Club</span></h3><p>For children and their parents or carers. Adults are only admitted if accompanying a child.</p><p><br></p><h3><span style="font-family: StagSans-Medium;">Discover & Rediscover  </span></h3><p>New and Classic films on the big screen where they belong.<br></p><p><br></p><h3><span style="font-family: StagSans-Medium;">Silver Screen   </span></h3><p>Enjoy discounted tickets and free tea or filter coffee at our Silver Screen shows. </p><p>Silver Screen runs Mondays & Wednesdays before 17.00. Non-members are welcome - the usual ticket prices apply.</p><p><span style="letter-spacing: 0.1px;">Click </span><a href="https://www.picturehouses.com/event-details/0000000095/silver-screen" target="_blank" style="background-color: rgb(255, 255, 255); letter-spacing: 0.1px;">here</a><span style="letter-spacing: 0.1px;"> for upcoming screenings.</span><br></p><p><br></p><h3><span style="font-family: StagSans-Medium;">Screen Arts   </span></h3>Ticket prices vary.<p></p><p>Bringing <a href="https://www.picturehouses.com/screen-arts" style="">world-class productions</a> of theatre, ballet, opera and live music to the big screen.</p><p><br></p><h3 style="font-family: Roboto, sans-serif, Helvetica, Arial, sans-serif; color: rgb(0, 0, 0);"><span style="font-family: StagSans-Medium;">U25 </span></h3><p><span style="font-family: StagSans-Medium;"><a href="https://www.picturehouses.com/blog/welcome-to-u25" target="_blank">U25</a></span> is for anyone ages 16–25. Simply sign up for a MyPicturehouse Account and enter your date of birth to let us know you fall into that age bracket.</p></div></div> </div> <div class="clearfix"></div> </div>
791
+
792
+ </div>
793
+ </div>
794
+ </section>
795
+ <section class="relesed_cinemas" id="location">
796
+ <div class="container-fluid">
797
+ <div class="row">
798
+ <div class="col-md-10 offset-md-1 col-lg-10 offset-lg-1 text-left">
799
+ <h2 class="highlMar venueLine_head"><span>Location</span></h2>
800
+ </div>
801
+ </div>
802
+
803
+ <div class="row">
804
+ <div class="col-md-10 offset-md-1">
805
+ <div class="location_map">
806
+
807
+ <iframe
808
+ src="https://maps.google.com/maps?q=50.8248,-0.1394&hl=es;z=14&amp;output=embed"
809
+ frameborder="0" style="border:0" allowfullscreen></iframe>
810
+
811
+
812
+ </div>
813
+ </div>
814
+ </div>
815
+ </div>
816
+ </section>
817
+
818
+ <section class="relesed_cinemas" id="travel-information">
819
+ <div class="container-fluid">
820
+ <div class="row">
821
+ <div class="col-md-10 offset-md-1 col-lg-10 offset-lg-1 text-left">
822
+ <h2 class="highlMar venueLine_head"><span>Travel Information</span></h2>
823
+ </div>
824
+ </div>
825
+
826
+ <div class="row">
827
+ <div class="col-md-10 offset-md-1">
828
+ <div class="travel_information">
829
+ <div class="row">
830
+ <div class="col-lg-2 col-md-3 col-sm-3 text-center">
831
+ <img src="https://www.picturehouses.com/themes/html/images/travel_icon1.png" class="img-fluid"
832
+ alt="" />
833
+ <h3>By Bus</h3>
834
+ </div>
835
+ <div class="col-lg-10 col-md-9 col-sm-9">
836
+ <div class="travel_infoInner textareaContent">
837
+ <p>The nearest bus stops to the cinema are Old Steine or North Road East which are serviced by most buses in the city.</p>
838
+ </div>
839
+ </div>
840
+ </div>
841
+ </div>
842
+ <div class="travel_information">
843
+ <div class="row">
844
+ <div class="col-lg-2 col-md-3 col-sm-3 text-center">
845
+ <img src="https://www.picturehouses.com/themes/html/images/travel_icon2.png" class="img-fluid"
846
+ alt="" />
847
+ <h3>By Train</h3>
848
+ </div>
849
+ <div class="col-lg-10 col-md-9 col-sm-9">
850
+ <div class="travel_infoInner textareaContent">
851
+ <p> <span style="letter-spacing: 0.1px;">The nearest train station is Brighton Station (9 mins walk).</span><br></p>
852
+ </div>
853
+ </div>
854
+ </div>
855
+ </div>
856
+ <div class="travel_information">
857
+ <div class="row">
858
+ <div class="col-lg-2 col-md-3 col-sm-3 text-center">
859
+ <img src="https://www.picturehouses.com/themes/html/images/travel_icon5.png" class="img-fluid"
860
+ alt="" />
861
+ <h3>By Foot</h3>
862
+ </div>
863
+ <div class="col-lg-10 col-md-9 col-sm-9">
864
+ <div class="travel_infoInner textareaContent">
865
+ <p> <p>There are spaces to lock up your bicycle on Gardner Street.<br></p></p>
866
+ </div>
867
+ </div>
868
+ </div>
869
+ </div>
870
+ <div class="travel_information">
871
+ <div class="row">
872
+ <div class="col-lg-2 col-md-3 col-sm-3 text-center">
873
+ <img src="https://www.picturehouses.com/themes/html/images/travel_icon6.png" class="img-fluid"
874
+ alt="" />
875
+ <h3>By Car</h3>
876
+ </div>
877
+ <div class="col-lg-10 col-md-9 col-sm-9">
878
+ <div class="travel_infoInner textareaContent">
879
+ <p> <a href="https://www.ncp.co.uk/find-a-car-park/car-parks/brighton-theatre/" target="_blank">Church Road Car Park</a> is nearby.<br>
880
+ <p><span style="font-family: StagSans-Medium;">Nearest KIA Charging Station:</span> Trafalgar Street Car Park, BN1 4DZ (Type 2)</p>
881
+ <img src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/page_content_images/ph_17225092490.png" data-filename="Kia_Logo_Black_resized (1).png" style="width: 10%;"></p>
882
+ </div>
883
+ </div>
884
+ </div>
885
+ </div>
886
+ </div>
887
+ </div>
888
+ </div>
889
+ </section>
890
+
891
+
892
+
893
+ <section class="relesed_cinemas galleryDesktopView">
894
+ <div class="container-fluid">
895
+ <div class="row">
896
+ <div class="col-md-10 offset-md-1 text-left">
897
+ <h2 class="highlMar venueLine_head"><span>Duke&#039;s At Komedia Gallery</span></h2>
898
+ <!-- <h2 class="highlMar venueLine_head"><span>Gallery</span></h2>-->
899
+ </div>
900
+ </div>
901
+ </div>
902
+
903
+
904
+ <!----- CR Slider ------->
905
+ <div class="container-fluid">
906
+ <div class="row">
907
+ <div class="col-md-10 offset-md-1 ">
908
+ <div class="cr_slider_wrap">
909
+ <ul>
910
+ <li class="slide_1 active_slide "
911
+ >
912
+ <p><img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619794175d19ea194b986.jpg" class="lazyload"
913
+ alt="">
914
+ </p>
915
+ </li>
916
+ <li class="slide_2 active_slide "
917
+ >
918
+ <p><img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619794695d19ea4d78654.jpg" class="lazyload"
919
+ alt="">
920
+ </p>
921
+ </li>
922
+ <li class="slide_3 active_slide "
923
+ >
924
+ <p><img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619793065d19e9aa6fba6.jpg" class="lazyload"
925
+ alt="">
926
+ </p>
927
+ </li>
928
+ <li class="slide_4 active_slide "
929
+ >
930
+ <p><img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619795255d19ea850bcd6.jpg" class="lazyload"
931
+ alt="">
932
+ </p>
933
+ </li>
934
+ <li >
935
+ <p><img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619794415d19ea31a21a2.jpg" class="lazyload"
936
+ alt="">
937
+ </p>
938
+ </li>
939
+ <li >
940
+ <p><img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619792025d19e942380f4.jpg" class="lazyload"
941
+ alt="">
942
+ </p>
943
+ </li>
944
+ <li >
945
+ <p><img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619792285d19e95c0bd35.jpg" class="lazyload"
946
+ alt="">
947
+ </p>
948
+ </li>
949
+ <li >
950
+ <p><img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619792565d19e978d0500.jpg" class="lazyload"
951
+ alt="">
952
+ </p>
953
+ </li>
954
+ <li >
955
+ <p><img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619792805d19e990ab2cf.jpg" class="lazyload"
956
+ alt="">
957
+ </p>
958
+ </li>
959
+ </ul>
960
+ <a href="javascript:void(0)" class="prev_gallery_button"> Prev</a>
961
+ <a href="javascript:void(0)" class="next_gallery_button"> Next</a>
962
+ </div>
963
+ <div class="col-md-12">
964
+ </div>
965
+ </div>
966
+ </div>
967
+ </div>
968
+ </section>
969
+
970
+ <!--Mobile view-->
971
+
972
+ <section class="relesed_cinemas comingDiv galleryMobileView">
973
+ <div class="container-fluid">
974
+ <div class="row">
975
+ <div class="col-md-5 offset-md-1 text-left">
976
+ <!--<h2>Gallery</h2>-->
977
+ <h2>Duke&#039;s At Komedia Gallery</h2>
978
+ </div>
979
+ <div class="col-md-5 text-right">
980
+ </div>
981
+ </div>
982
+
983
+ <div class="row explore_picHouse presents_box">
984
+ <div class="col-md-10 offset-md-1">
985
+ <div id="features7" class="blue">
986
+ <div class="slider responsive">
987
+ <div class="positionClass">
988
+ <div class="highlight_divs">
989
+ <a href="">
990
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619794175d19ea194b986.jpg" class="w-100 lazyload"
991
+ alt="" />
992
+ <div class="text-center showTime_div">
993
+ <p> </p>
994
+ </div>
995
+ </a>
996
+ </div>
997
+ </div>
998
+ <div class="positionClass">
999
+ <div class="highlight_divs">
1000
+ <a href="">
1001
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619794695d19ea4d78654.jpg" class="w-100 lazyload"
1002
+ alt="" />
1003
+ <div class="text-center showTime_div">
1004
+ <p> </p>
1005
+ </div>
1006
+ </a>
1007
+ </div>
1008
+ </div>
1009
+ <div class="positionClass">
1010
+ <div class="highlight_divs">
1011
+ <a href="">
1012
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619793065d19e9aa6fba6.jpg" class="w-100 lazyload"
1013
+ alt="" />
1014
+ <div class="text-center showTime_div">
1015
+ <p> </p>
1016
+ </div>
1017
+ </a>
1018
+ </div>
1019
+ </div>
1020
+ <div class="positionClass">
1021
+ <div class="highlight_divs">
1022
+ <a href="">
1023
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619795255d19ea850bcd6.jpg" class="w-100 lazyload"
1024
+ alt="" />
1025
+ <div class="text-center showTime_div">
1026
+ <p> </p>
1027
+ </div>
1028
+ </a>
1029
+ </div>
1030
+ </div>
1031
+ <div class="positionClass">
1032
+ <div class="highlight_divs">
1033
+ <a href="">
1034
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619794415d19ea31a21a2.jpg" class="w-100 lazyload"
1035
+ alt="" />
1036
+ <div class="text-center showTime_div">
1037
+ <p> </p>
1038
+ </div>
1039
+ </a>
1040
+ </div>
1041
+ </div>
1042
+ <div class="positionClass">
1043
+ <div class="highlight_divs">
1044
+ <a href="">
1045
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619792025d19e942380f4.jpg" class="w-100 lazyload"
1046
+ alt="" />
1047
+ <div class="text-center showTime_div">
1048
+ <p> </p>
1049
+ </div>
1050
+ </a>
1051
+ </div>
1052
+ </div>
1053
+ <div class="positionClass">
1054
+ <div class="highlight_divs">
1055
+ <a href="">
1056
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619792285d19e95c0bd35.jpg" class="w-100 lazyload"
1057
+ alt="" />
1058
+ <div class="text-center showTime_div">
1059
+ <p> </p>
1060
+ </div>
1061
+ </a>
1062
+ </div>
1063
+ </div>
1064
+ <div class="positionClass">
1065
+ <div class="highlight_divs">
1066
+ <a href="">
1067
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619792565d19e978d0500.jpg" class="w-100 lazyload"
1068
+ alt="" />
1069
+ <div class="text-center showTime_div">
1070
+ <p> </p>
1071
+ </div>
1072
+ </a>
1073
+ </div>
1074
+ </div>
1075
+ <div class="positionClass">
1076
+ <div class="highlight_divs">
1077
+ <a href="">
1078
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/slider/ph_15619792805d19e990ab2cf.jpg" class="w-100 lazyload"
1079
+ alt="" />
1080
+ <div class="text-center showTime_div">
1081
+ <p> </p>
1082
+ </div>
1083
+ </a>
1084
+ </div>
1085
+ </div>
1086
+
1087
+ </div>
1088
+ </div>
1089
+ </div>
1090
+ </div>
1091
+ </div>
1092
+ </section>
1093
+
1094
+
1095
+
1096
+ <div class="clearfix"></div>
1097
+
1098
+
1099
+
1100
+
1101
+ <div class="modal fade signin_modal" id="signin_modal">
1102
+ <div class="modal-dialog modal-dialog-centered">
1103
+ <div class="modal-content">
1104
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1105
+ <span aria-hidden="true">&times;</span>
1106
+ </button>
1107
+ <div class="modal-body">
1108
+
1109
+ <div class="row">
1110
+ <div class="col-md-6">
1111
+ <div class="left_container">
1112
+ <h3>My PictureHouse</h3>
1113
+ <p>Welcome to your MyPicturehouse login area. If you have not logged in before please
1114
+ activate your card.Sign in to access your Membership information:</p>
1115
+ <ul>
1116
+ <li>Check your remaining Member Free Tickets credits</li>
1117
+ <li>Find out your Membership expiry date</li>
1118
+ <li>Renew or upgrade your Membership</li>
1119
+ <li>See all your purchases and rate films!</li>
1120
+ </ul>
1121
+ <div class="picturehouse_btn">
1122
+ <ul>
1123
+ <li><a href="#">Activate Card</a></li>
1124
+ <li><a href="#">Become a Member</a></li>
1125
+ </ul>
1126
+ </div>
1127
+ <form action="/action_page.php">
1128
+ <div class="form-group">
1129
+ <input type="email" class="form-control" id="email"
1130
+ placeholder="Check Giftcard Balance">
1131
+ </div>
1132
+ <button type="submit" class="btn btn-default"
1133
+ style="background: #000; color: #fff">Check balance</button>
1134
+ </form>
1135
+ </div>
1136
+
1137
+ </div>
1138
+ <div class="col-md-6">
1139
+ <div class="right">
1140
+ <h3>Sign In</h3>
1141
+ <form action="https://www.picturehouses.com/login-post" method="post">
1142
+ <input type="hidden" name="_token" value="yqkjKtqO79ayoZWetEmaH5OykjfiaKSoSIYVgijS">
1143
+ <div class="form-group">
1144
+ <input type="text" class="form-control" name="username" id="username"
1145
+ placeholder="Username">
1146
+ </div>
1147
+ <div class="form-group">
1148
+ <input type="password" name="password" class="form-control"
1149
+ placeholder="Password">
1150
+ </div>
1151
+ <div class="form-group">
1152
+ </div>
1153
+ <button type="submit" class="btn btn-default">Sign in</button>
1154
+ <a href="#">Forgot password?</a>
1155
+ </form>
1156
+ </div>
1157
+ </div>
1158
+ </div>
1159
+
1160
+ </div>
1161
+ </div>
1162
+ </div>
1163
+ </div>
1164
+
1165
+ <div class="modal fade" id="subscription_popup" tabindex="-1" role="dialog"
1166
+ aria-labelledby="subscription_popup" aria-hidden="true">
1167
+ <div class="modal-dialog modal-dialog-centered" role="document">
1168
+ <div class="modal-content rs-area">
1169
+ <div class="modal-header border-bottom-0">
1170
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1171
+ <span aria-hidden="true">&times;</span>
1172
+ </button>
1173
+ </div>
1174
+ <div class="modal-body">
1175
+ <div class=" text-center">
1176
+ <p style="margin-bottom: 0">Please login to update your subscription </p>
1177
+ <div class="text-center">
1178
+
1179
+
1180
+ <a class="watchlist_signin_btn"
1181
+ href="https://web.picturehouses.com/sign-in?call-back-url=https://www.picturehouses.com/subscription"
1182
+ class="btn btn-secondary w-25 book_url"> Sign In </a>
1183
+
1184
+ </div>
1185
+ <div class="text-center">
1186
+
1187
+ <p>Not a MyPicturehouse Member ?</p>
1188
+ <a href="https://web.picturehouses.com/sign-in?call-back-url=https://www.picturehouses.com/subscription"
1189
+ class="watchlist_member_btn"> Become a member </a>
1190
+
1191
+ </div>
1192
+ </div>
1193
+ </div>
1194
+ <div class="modal-footer border-top-0">
1195
+
1196
+ </div>
1197
+ </div>
1198
+ </div>
1199
+ </div>
1200
+
1201
+ <footer class="footer">
1202
+ <div class="container-fluid">
1203
+ <div class="row">
1204
+ <div class="col-12 col-sm-6 offset-sm-3 text-center text-lg-left col-lg-3 offset-lg-1">
1205
+ <a href="https://www.picturehouses.com/">
1206
+ <img data-src="https://s3picturehouses.s3.eu-central-1.amazonaws.com/settings/ph1563896910.png" class="img-fluid lazyload"
1207
+ alt="MyPicturehouse" title="MyPicturehouse">
1208
+ </a>
1209
+ <p>Picturehouse Cinemas are a group of 25 neighbourhood cinemas in the United Kingdom, operated by Picturehouse Cinemas Ltd.<br />
1210
+ <br />
1211
+ Get the app!</p>
1212
+ <a href="https://play.google.com/store/apps/details?id=nz.co.vista.android.movie.picturehouse" title="Google Play" class="mr-1" target="_blank">
1213
+ <img src="https://www.picturehouses.com/themes/html/images/download-android-app.svg" width="118px"
1214
+ alt="google play icon" title="Google Play" />
1215
+ </a>
1216
+ <a href="https://itunes.apple.com/gb/app/picturehouses/id1176652161" title="App Store" target="_blank">
1217
+ <img src="https://www.picturehouses.com/themes/html/images/the-app-store-apple.svg" width="128px "
1218
+ alt="app store logo" title="App Store" />
1219
+ </a>
1220
+ </div>
1221
+
1222
+
1223
+ <div class="col-md-6 col-sm-6 col-lg-2 desktop_menus">
1224
+ <ul>
1225
+ <li>
1226
+ <a href="https://www.picturehouses.com/about-us" title="About Us">
1227
+ About Us
1228
+ </a>
1229
+ </li>
1230
+ <li>
1231
+ <a href="https://www.picturehouses.com/our-people-our-purpose" title="Our People, Our Purpose">
1232
+ Our People, Our Purpose
1233
+ </a>
1234
+ </li>
1235
+ <li>
1236
+ <a href="https://www.picturehouses.com/green" title="Green">
1237
+ Green
1238
+ </a>
1239
+ </li>
1240
+ <li>
1241
+ <a href="https://careers.cineworld.co.uk/" title="Careers">
1242
+ Careers
1243
+ </a>
1244
+ </li>
1245
+ <li>
1246
+ <a href="https://help.picturehouses.com/support/tickets/new" title="Contact Us">
1247
+ Contact Us
1248
+ </a>
1249
+ </li>
1250
+ <li>
1251
+ <a href="https://help.picturehouses.com/support/home" title="FAQs">
1252
+ FAQs
1253
+ </a>
1254
+ </li>
1255
+ <li>
1256
+ <a href="https://www.picturehouses.com/blog" title="Recommends">
1257
+ Recommends
1258
+ </a>
1259
+ </li>
1260
+ </ul>
1261
+ </div>
1262
+ <div class="col-md-6 col-sm-6 col-lg-2 desktop_menus">
1263
+ <ul>
1264
+ <li>
1265
+ <a href="https://www.picturehouses.com/family" title="Families">
1266
+ Families
1267
+ </a>
1268
+ </li>
1269
+ <li>
1270
+ <a href="https://www.picturehouses.com/u25" title="U25">
1271
+ U25
1272
+ </a>
1273
+ </li>
1274
+ <li>
1275
+ <a href="https://www.picturehouses.com/freshtakes" title="Fresh Takes">
1276
+ Fresh Takes
1277
+ </a>
1278
+ </li>
1279
+ <li>
1280
+ <a href="https://www.picturehouses.com/entertainment" target="_blnk" title="Picturehouse Entertainment">
1281
+ Picturehouse Entertainment
1282
+ </a>
1283
+ </li>
1284
+ <li>
1285
+ <a href="https://www.picturehouses.com/education" title="Picturehouse Education">
1286
+ Picturehouse Education
1287
+ </a>
1288
+ </li>
1289
+ <li>
1290
+ <a href="https://www.picturehouses.com/recommends" title="Recommends">
1291
+ Recommends
1292
+ </a>
1293
+ </li>
1294
+ <li>
1295
+ <a href="https://www.picturehouses.com/outdoor" title="Outdoor Cinema">
1296
+ Outdoor Cinema
1297
+ </a>
1298
+ </li>
1299
+ </ul>
1300
+ </div>
1301
+ <div class="col-md-6 col-sm-6 col-lg-2 desktop_menus">
1302
+ <ul>
1303
+ <li>
1304
+ <a href="https://www.picturehouses.com/venue-hire" title="Venue Hire">
1305
+ Venue Hire
1306
+ </a>
1307
+ </li>
1308
+ <li>
1309
+ <a href="https://www.picturehouses.com/corporate-offers" title="Corporate Offers">
1310
+ Corporate Offers
1311
+ </a>
1312
+ </li>
1313
+ <li>
1314
+ <a href="https://www.picturehouses.com/accessibility" title="Accessibility">
1315
+ Accessibility
1316
+ </a>
1317
+ </li>
1318
+ <li>
1319
+ <a href="https://www.picturehouses.com/privacy&amp;cookies" title="Privacy &amp; Cookies">
1320
+ Privacy &amp; Cookies
1321
+ </a>
1322
+ </li>
1323
+ <li>
1324
+ <a href="https://www.picturehouses.com/managecookies" title="Manage Cookies">
1325
+ Manage Cookies
1326
+ </a>
1327
+ </li>
1328
+ <li>
1329
+ <a href="https://www.picturehouses.com/terms&amp;conditions" title="Terms &amp; Conditions">
1330
+ Terms &amp; Conditions
1331
+ </a>
1332
+ </li>
1333
+ <li>
1334
+ <a href="https://www.picturehouses.com/termsofadmission" title="Terms of Admission">
1335
+ Terms of Admission
1336
+ </a>
1337
+ </li>
1338
+ </ul>
1339
+ </div>
1340
+ <div class="col-md-6 col-sm-6 col-lg-2 desktop_menus">
1341
+ <ul>
1342
+ <li>
1343
+ <a href="https://www.picturehouses.com/allergens" title="Allergen Information">
1344
+ Allergen Information
1345
+ </a>
1346
+ </li>
1347
+ </ul>
1348
+ </div>
1349
+
1350
+ <div class="col-md-6 col-sm-6 col-lg-2 mobile_menus">
1351
+ <ul>
1352
+ <li>
1353
+ <a href="https://www.picturehouses.com/about-us" title="About Us">
1354
+ About Us
1355
+ </a>
1356
+ </li>
1357
+ <li>
1358
+ <a href="https://www.picturehouses.com/our-people-our-purpose" title="Our People, Our Purpose">
1359
+ Our People, Our Purpose
1360
+ </a>
1361
+ </li>
1362
+ <li>
1363
+ <a href="https://www.picturehouses.com/green" title="Green">
1364
+ Green
1365
+ </a>
1366
+ </li>
1367
+ <li>
1368
+ <a href="https://careers.cineworld.co.uk/" title="Careers">
1369
+ Careers
1370
+ </a>
1371
+ </li>
1372
+ <li>
1373
+ <a href="https://help.picturehouses.com/support/tickets/new" title="Contact Us">
1374
+ Contact Us
1375
+ </a>
1376
+ </li>
1377
+ <li>
1378
+ <a href="https://help.picturehouses.com/support/home" title="FAQs">
1379
+ FAQs
1380
+ </a>
1381
+ </li>
1382
+ <li>
1383
+ <a href="https://www.picturehouses.com/blog" title="Recommends">
1384
+ Recommends
1385
+ </a>
1386
+ </li>
1387
+ <li>
1388
+ <a href="https://www.picturehouses.com/family" title="Families">
1389
+ Families
1390
+ </a>
1391
+ </li>
1392
+ <li>
1393
+ <a href="https://www.picturehouses.com/u25" title="U25">
1394
+ U25
1395
+ </a>
1396
+ </li>
1397
+ <li>
1398
+ <a href="https://www.picturehouses.com/freshtakes" title="Fresh Takes">
1399
+ Fresh Takes
1400
+ </a>
1401
+ </li>
1402
+ <li>
1403
+ <a href="https://www.picturehouses.com/entertainment" target="_blnk" title="Picturehouse Entertainment">
1404
+ Picturehouse Entertainment
1405
+ </a>
1406
+ </li>
1407
+ </ul>
1408
+ </div>
1409
+ <div class="col-md-6 col-sm-6 col-lg-2 mobile_menus">
1410
+ <ul>
1411
+ <li>
1412
+ <a href="https://www.picturehouses.com/education" title="Picturehouse Education">
1413
+ Picturehouse Education
1414
+ </a>
1415
+ </li>
1416
+ <li>
1417
+ <a href="https://www.picturehouses.com/recommends" title="Recommends">
1418
+ Recommends
1419
+ </a>
1420
+ </li>
1421
+ <li>
1422
+ <a href="https://www.picturehouses.com/outdoor" title="Outdoor Cinema">
1423
+ Outdoor Cinema
1424
+ </a>
1425
+ </li>
1426
+ <li>
1427
+ <a href="https://www.picturehouses.com/venue-hire" title="Venue Hire">
1428
+ Venue Hire
1429
+ </a>
1430
+ </li>
1431
+ <li>
1432
+ <a href="https://www.picturehouses.com/corporate-offers" title="Corporate Offers">
1433
+ Corporate Offers
1434
+ </a>
1435
+ </li>
1436
+ <li>
1437
+ <a href="https://www.picturehouses.com/accessibility" title="Accessibility">
1438
+ Accessibility
1439
+ </a>
1440
+ </li>
1441
+ <li>
1442
+ <a href="https://www.picturehouses.com/privacy&amp;cookies" title="Privacy &amp; Cookies">
1443
+ Privacy &amp; Cookies
1444
+ </a>
1445
+ </li>
1446
+ <li>
1447
+ <a href="https://www.picturehouses.com/managecookies" title="Manage Cookies">
1448
+ Manage Cookies
1449
+ </a>
1450
+ </li>
1451
+ <li>
1452
+ <a href="https://www.picturehouses.com/terms&amp;conditions" title="Terms &amp; Conditions">
1453
+ Terms &amp; Conditions
1454
+ </a>
1455
+ </li>
1456
+ <li>
1457
+ <a href="https://www.picturehouses.com/termsofadmission" title="Terms of Admission">
1458
+ Terms of Admission
1459
+ </a>
1460
+ </li>
1461
+ <li>
1462
+ <a href="https://www.picturehouses.com/allergens" title="Allergen Information">
1463
+ Allergen Information
1464
+ </a>
1465
+ </li>
1466
+ </ul>
1467
+ </div>
1468
+
1469
+ <div class="col-12 text-center text-lg-left col-lg-2"><!--footer change 31/05/2023-->
1470
+ <!-- <h4></h4>
1471
+ <section class="newsletter get-in-touch">
1472
+ <form class="newsletter-form" method="post" action="https://www.picturehouses.com/subscribers_mail">
1473
+ <input type="hidden" name="_token" value="yqkjKtqO79ayoZWetEmaH5OykjfiaKSoSIYVgijS" />
1474
+ <fieldset>
1475
+ <input type="email" class="newsletter-email" name="email" required placeholder="E-mail">
1476
+ <button type="submit" class="newsletter-submit">Subscribe</button>
1477
+ </fieldset>
1478
+ </form>
1479
+ </section>
1480
+ <br>-->
1481
+ <h3>Follow us On</h3>
1482
+ <ul class="social_icons">
1483
+ <li><a href="https://www.facebook.com/picturehouses/" title="Facebook" target="_blank"><img
1484
+ src="https://www.picturehouses.com/themes/html/images/facebook.svg" alt="facebook"
1485
+ title="Facebook" /></a></li>
1486
+ <li><a href="https://twitter.com/picturehouses" title="Twitter" target="_blank"><img
1487
+ src="https://www.picturehouses.com/themes/html/images/twitter.svg" alt="twitter" title="Twitter" /></a>
1488
+ </li>
1489
+ <li><a href="https://www.youtube.com/user/PicturehouseCinemas" title="Youtube" target="_blank"><img
1490
+ src="https://www.picturehouses.com/themes/html/images/youtube.svg" alt="youtube" title="Youtube" /></a>
1491
+ </li>
1492
+ <li><a href="https://www.instagram.com/picturehouses/" title="Instagram" target="_blank"><img
1493
+ src="https://www.picturehouses.com/themes/html/images/instagram.svg" alt="instagram"
1494
+ title="Instagram" /></a></li>
1495
+ </ul>
1496
+ </div>
1497
+ </div>
1498
+ </div>
1499
+
1500
+ <!-- Modal continue_modal-->
1501
+ <div class="modal fade notifyModal" id="notifyModal" style="z-index:999999999999;">
1502
+ <div class="modal-dialog modal-dialog-centered">
1503
+ <div class="modal-content rs-area">
1504
+ <div class="modal-header border-bottom-0">
1505
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1506
+ <span aria-hidden="true">&times;</span>
1507
+ </button>
1508
+ </div>
1509
+ <div class="modal-body">
1510
+ <div class=" text-center">
1511
+ <h3 class="notify_message" style="text-transform:initial;"></h3>
1512
+ </div>
1513
+ </div>
1514
+ <div class="modal-footer border-top-0">
1515
+ <div id="notify_progress_bar" style="width:100%;height:6px;position:absolute;top:0px;left:0px;">
1516
+ </div>
1517
+ </div>
1518
+ </div>
1519
+ </div>
1520
+ </div>
1521
+
1522
+ <div class="modal" id="filterModal">
1523
+ <div class="h-100 w-100 d-flex align-items-center p-3">
1524
+ <div class="modal-dialog w-100">
1525
+ <div class="modal-content">
1526
+ <!-- Modal body -->
1527
+ <div class="modal-body px-4">
1528
+ <button type="button" class="close" data-dismiss="modal"
1529
+ onclick="$('#filterModal').modal('hide');">&times;</button>
1530
+ <h3>FILTER</h3>
1531
+ <div class="filter_accord_mob">
1532
+ <div class="container-fluid px-0">
1533
+ <ul class="filter_accordionlist filter_accordionlist_mob" id="filter_accordionlist"></ul>
1534
+ </div>
1535
+ </div>
1536
+ </div>
1537
+ <div class="modal-footer text-center border-0 pt-0">
1538
+ <button class="btn-pink my-0" type="button" onclick="filterMovies()" style="cursor: pointer">Apply</button>
1539
+ </div>
1540
+ </div>
1541
+ </div>
1542
+ </div>
1543
+ </div>
1544
+
1545
+ <div class="footer_menu text-center">
1546
+ <div class="container-fluid">
1547
+ <div class="row">
1548
+ <div class="col-lg-10 offset-lg-1">
1549
+ <p>Copyright © Picturehouse Cinemas Ltd 2025. All rights reserved. v161025.1</p>
1550
+ </div>
1551
+ </div>
1552
+ </div>
1553
+ </div>
1554
+ </footer>
1555
+
1556
+ <div id="pop_up_html" style="display:none"></div>
1557
+
1558
+ <div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog"
1559
+ aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
1560
+ <div class="modal-dialog modal-dialog-centered" role="document">
1561
+ <div class="modal-content rs-area">
1562
+ <div class="modal-header border-bottom-0">
1563
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1564
+ <span aria-hidden="true">&times;</span>
1565
+ </button>
1566
+ </div>
1567
+ <div class="modal-body">
1568
+ <div class=" text-center">
1569
+ <div id="pop_msg_resticted"></div>
1570
+ <h3 class="pt-3">Would you like to continue?</h3>
1571
+ <div class="w-75 mx-auto">
1572
+ <button type="button" class="btn bg-white mr-4 w-25" data-dismiss="modal">No</button>
1573
+ <a href="" class="btn btn-secondary w-25 book_url">Yes</a>
1574
+ </div>
1575
+ </div>
1576
+ </div>
1577
+ <div class="modal-footer border-top-0">
1578
+
1579
+ </div>
1580
+ </div>
1581
+ </div>
1582
+ </div>
1583
+
1584
+ <div class="modal fade" id="exampleModalCenter1" tabindex="-1" role="dialog"
1585
+ aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
1586
+ <div class="modal-dialog modal-dialog-centered" role="document">
1587
+ <div class="modal-content rs-area">
1588
+ <div class="modal-header border-bottom-0">
1589
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1590
+ <span aria-hidden="true">&times;</span>
1591
+ </button>
1592
+ </div>
1593
+ <div class="modal-body">
1594
+ <div class=" text-center">
1595
+ <div id="pop_msg"></div>
1596
+ <div class="priority_form">
1597
+
1598
+ <input type="text" name="member_id" placeholder="Card Number" id="member_id"
1599
+ class="input_field member_id">
1600
+ <input type="hidden" id="ticket_url">
1601
+ <input type="button" value="Submit" onclick="checkMember()" class="submit">
1602
+
1603
+ </div>
1604
+ </div>
1605
+ </div>
1606
+ <div class="modal-footer border-top-0">
1607
+
1608
+ </div>
1609
+ </div>
1610
+ </div>
1611
+ </div>
1612
+
1613
+ <style>
1614
+ .mobile_menus {
1615
+ display: none;
1616
+ }
1617
+ .desktop_menus {
1618
+ display: block;
1619
+ }
1620
+ .mobileBooking_btn {
1621
+ display: none;
1622
+ }
1623
+
1624
+ @media only screen and (max-width: 991px) {
1625
+ .mobileBooking_btn {
1626
+ display: block;
1627
+ }
1628
+
1629
+ .mobile_booking_poup_btn {
1630
+ width: 50% !important;
1631
+ }
1632
+
1633
+ /* For text editor */
1634
+ .textareaContent iframe {
1635
+ max-width: 100% !important;
1636
+ }
1637
+
1638
+ .textareaContent img {
1639
+ max-width: 100% !important;
1640
+ height: auto !important;
1641
+ margin-bottom: 10px;
1642
+ }
1643
+
1644
+ .textareaContent p, .textareaContent .col-lg-6 {
1645
+ width: 100% !important;
1646
+ }
1647
+
1648
+ .textareaContent .cinemaAdrass {
1649
+ padding-left: 0px;
1650
+ }
1651
+ /* End text editor */
1652
+ }
1653
+
1654
+ /* For text editor common */
1655
+ .textareaContent ol, .textareaContent ul {
1656
+ padding: revert !important;
1657
+ }
1658
+ .textareaContent .cinemaAdrass {
1659
+ padding-left: 0px;
1660
+ }
1661
+ /* End text editor */
1662
+
1663
+ @media only screen and (max-width: 600px) {
1664
+ .mobile_menus {
1665
+ display: block;
1666
+ }
1667
+ .desktop_menus {
1668
+ display: none;
1669
+ }
1670
+
1671
+ .select2-results {
1672
+ max-height: 120px !important;
1673
+ }
1674
+ .mobileBooking_btn {
1675
+ display: block;
1676
+ }
1677
+ }
1678
+
1679
+ .loading {
1680
+ position: fixed;
1681
+ top: 0;
1682
+ left: 0;
1683
+ background: rgba(0, 0, 0, 0.6);
1684
+ z-index: 1000;
1685
+ width: 100%;
1686
+ height: 100%;
1687
+ display: none;
1688
+ z-index: 9999;
1689
+ }
1690
+
1691
+ /*#toster_status {
1692
+ text-align:center;
1693
+ color:white;
1694
+ top:calc(50% - 9px) !important;
1695
+ left:calc(50% - 128px) !important;
1696
+ position:absolute;
1697
+ }*/
1698
+ .boxSha_div .select2-container {
1699
+ width: 100%;
1700
+ top: 7px
1701
+ }
1702
+
1703
+ .custom-select.width_film::after {
1704
+ right: 12px;
1705
+ }
1706
+
1707
+ .header-menu-search li a,
1708
+ .header-menu-search .sign_in_btn a {
1709
+ color: #000 !important;
1710
+ }
1711
+
1712
+ .select2-container {
1713
+ width: 100%;
1714
+ }
1715
+
1716
+ li a.select2-choice {
1717
+ border-bottom: 1px solid #d8d7d6 !important;
1718
+ text-align: left !important;
1719
+ font-weight: normal !important;
1720
+ width: 100%;
1721
+ color: #000 !important;
1722
+
1723
+ font-size: 13px;
1724
+ margin: 0 !important;
1725
+ opacity: 1;
1726
+ padding: 0 !important;
1727
+ font-weight: normal !important;
1728
+ font-family: 'StagSans-Light';
1729
+ }
1730
+
1731
+ .select2-container .select2-choice abbr:before {
1732
+ background: #fff url('themes/close.png') !important;
1733
+ width: 20px;
1734
+ background-position: center center !important;
1735
+ background-repeat: no-repeat !important;
1736
+ }
1737
+
1738
+ .yt_load_btn {
1739
+ display: inline-block;
1740
+ border-radius: 6px;
1741
+ text-align: center;
1742
+ font-size: 16px;
1743
+ padding: 12px 20px;
1744
+ min-width: 150px;
1745
+ margin: 10px 0;
1746
+ background: #fff;
1747
+ color: #E2124D;
1748
+ cursor: pointer;
1749
+ }
1750
+
1751
+ .yt_load_btn:hover {
1752
+ background: #fff !important;
1753
+ color: #144270 !important;
1754
+ }
1755
+ </style>
1756
+
1757
+
1758
+ <!---------- slick slider ------------->
1759
+ <script src="https://www.picturehouses.com/themes/html/slider/js/slick.js" type="text/javascript">
1760
+ </script>
1761
+
1762
+ <script src="https://www.picturehouses.com/themes/html/slider/js/scripts.js" type="text/javascript">
1763
+ </script>
1764
+ <!---------- gallery slider ------------->
1765
+ <script src="https://www.picturehouses.com/themes/html/js/zepto.js" type="text/javascript" defer>
1766
+ </script>
1767
+ <script src="https://www.picturehouses.com/themes/html/js/jquery_gallery.js?v=061025.4" type="text/javascript"
1768
+ defer></script>
1769
+ <!---------- sroling menu ------------->
1770
+ <script src="https://www.picturehouses.com/themes/html/js/core.js?v=061025.4" type="text/javascript"></script>
1771
+ <script type="text/javascript"
1772
+ src="https://www.picturehouses.com/themes/admin/js/modules/materialadmin/libs/jquery-validation/dist/jquery.validate.min.js"
1773
+ defer></script>
1774
+ <script type="text/javascript"
1775
+ src="https://www.picturehouses.com/themes/admin/js/modules/materialadmin/libs/jquery-validation/dist/additional-methods.min.js"
1776
+ defer></script>
1777
+ <script type="text/javascript"
1778
+ src="https://www.picturehouses.com/themes/admin/js/modules/materialadmin/libs/toastr/toastr.js" defer>
1779
+ </script>
1780
+ <script
1781
+ src="https://www.picturehouses.com/themes/admin/js/modules/materialadmin/libs/select2/select2.min.js">
1782
+ </script>
1783
+
1784
+ <script src="https://www.picturehouses.com/themes/html/js/gallery.js" type="text/javascript"></script>
1785
+
1786
+
1787
+ <script>
1788
+ CURR_SCROLL_POS = $(window).scrollTop();
1789
+ $(".choose_film_hide").on('click',function () {
1790
+ mobileSelectorTriggered(false);
1791
+ $("#filmDropDown").hide();
1792
+ $(".searchCinemas").val('');
1793
+ $(".searchCinemas").trigger('keyup');
1794
+ $("#filmDropDownList label").show();
1795
+ });
1796
+ $(".choose_film_show").on('click',function () {
1797
+ mobileSelectorTriggered(true);
1798
+ $("#filmDropDown").show();
1799
+ });
1800
+ function filmListSearchBookTkt() {
1801
+ var value = $('#searchFilms').val().toLowerCase().trim();
1802
+ $("#filmDropDownList label").show().filter(function() {
1803
+ return $(this).text().toLowerCase().trim().indexOf(value) == -1;
1804
+ }).hide();
1805
+ };
1806
+ function cinemaListSearchBookTkt() {
1807
+ var value = $('#searchCinemas').val().toLowerCase().trim();
1808
+ $("#cinemaDropDownList label").show().filter(function() {
1809
+ return $(this).text().toLowerCase().trim().indexOf(value) == -1;
1810
+ }).hide();
1811
+ };
1812
+ function mobileSelectorTriggered(status=true){
1813
+ if(status) {
1814
+ CURR_SCROLL_POS = $(window).scrollTop();
1815
+ $('html, body').css('position', 'fixed');
1816
+ }else{
1817
+ $('html, body').css('position', '');
1818
+ $(window).scrollTop(CURR_SCROLL_POS);
1819
+ }
1820
+ }
1821
+ $(".choose_cinema_hide").on('click',function () {
1822
+ mobileSelectorTriggered(false);
1823
+ $("#cinemaDropDown").hide();
1824
+ $(".searchCinemas").val('');
1825
+ $(".searchCinemas").trigger('keyup');
1826
+ $("#searchCinemas label").show();
1827
+ });
1828
+ $(".choose_cinema_show").on('click',function () {
1829
+ mobileSelectorTriggered(true);
1830
+ $("#cinemaDropDown").show();
1831
+ });
1832
+
1833
+ function selectCinema(radioElem,form='') {
1834
+ var cinema_id = $(radioElem).find('input[type="radio"]').prop('checked', true);
1835
+ var appendElem = '<button class="selectedCinema"><span class="removeSlctdCinema" onclick="removeItem()">&#215; </span>' + $(radioElem).text() + '</button>';
1836
+
1837
+ $('.choose_cinema_show').html(appendElem);
1838
+ $(".choose_cinema_hide").trigger('click');
1839
+ if(form != '') {
1840
+ $('#cinema_id'+form).val(cinema_id.val());
1841
+ }
1842
+
1843
+ changeSelectCinema($('.cinema_radio_btn input[type="radio"]:checked').val(),'4')
1844
+ }
1845
+
1846
+ function removeItem() {
1847
+ $('.choose_cinema_show').find($(event.target).parents('.selectedCinema')).remove();
1848
+ $('.choose_cinema_show').html('Cinemas');
1849
+ $('.cinema_radio_btn input[type="radio"]:checked').prop('checked',false);
1850
+ $('#cinema_id4').val('');
1851
+ changeSelectCinema('', 4);
1852
+ removeFilmItem();
1853
+ event.stopPropagation();
1854
+ }
1855
+
1856
+ function selectFilm(radioElem,form='') {
1857
+ var movie = $(radioElem).find('input[type="radio"]').prop('checked', true);
1858
+ var appendElem = '<button class="selectedCinema"><span class="removeSlctdCinema" onclick="removeFilmItem()">&#215; </span>' + $(radioElem).text() + '</button>';
1859
+
1860
+ $('.choose_film_show').html(appendElem);
1861
+ $(".choose_film_hide").trigger('click');
1862
+ if(form == 4) {
1863
+ $('#select_movie_name'+form).attr('data-name',$(radioElem).text());
1864
+ $('#select_movie_name'+form).val(movie.val());
1865
+ }
1866
+
1867
+ changeSelectMovie("movie",movie.val(),'4');
1868
+ }
1869
+
1870
+ function removeFilmItem() {
1871
+ $('.choose_film_show').find($(event.target).parents('.selectedCinema')).remove();
1872
+ $('.choose_film_show').html('Films');
1873
+ $('.film_radio_btn input[type="radio"]:checked').prop('checked',false);
1874
+ $('#select_movie_name4').attr('data-name','');
1875
+ $('#select_movie_name4').val('');
1876
+ changeSelectMovie("movie","",'4');
1877
+ event.stopPropagation();
1878
+ }
1879
+
1880
+ </script>
1881
+
1882
+ <script>
1883
+ $('.carousel').on('touchstart', function(event) {
1884
+ const xClick = event.originalEvent.touches[0].pageX;
1885
+ $(this).one('touchmove', function(event) {
1886
+ const xMove = event.originalEvent.touches[0].pageX;
1887
+ const sensitivityInPx = 5;
1888
+
1889
+ if (Math.floor(xClick - xMove) > sensitivityInPx) {
1890
+ $(this).carousel('next');
1891
+ } else if (Math.floor(xClick - xMove) < -sensitivityInPx) {
1892
+ $(this).carousel('prev');
1893
+ }
1894
+ });
1895
+ $(this).on('touchend', function() {
1896
+ $(this).off('touchmove');
1897
+ });
1898
+ });
1899
+
1900
+ $(document).ready(function() {
1901
+
1902
+ $('p').each(function() {
1903
+ const $this = $(this);
1904
+ if($this.html().replace(/\s|&nbsp;/g, '').length === 0) {
1905
+ $this.remove();
1906
+ }
1907
+ });
1908
+
1909
+ //For Missing Header Banner
1910
+ if ($("#main-slider-with-content").html().trim() == "") {
1911
+ if ($(window).width() >= 992) {
1912
+ $("#main-slider-with-content").css("background", "#3c342c");
1913
+ $("#main-slider-with-content").css("height", "110px");
1914
+ }
1915
+ } else {
1916
+ if ($(window).width() >= 992) {
1917
+ if ($("#main-slider-with-content #carouselExampleIndicators").html().trim() == "") {
1918
+ $("#main-slider-with-content").css("background", "#3c342c");
1919
+ $("#main-slider-with-content").css("height", "110px");
1920
+ }
1921
+ }
1922
+ }
1923
+ });
1924
+
1925
+ var callOnPageLoad;
1926
+
1927
+ function deferImageLoad() {
1928
+ var imgDefer = document.getElementsByTagName('img');
1929
+ // for (var i = 0; i < imgDefer.length; i++) {
1930
+ // if (imgDefer[i].getAttribute('data-src')) {
1931
+ // imgDefer[i].setAttribute('src', imgDefer[i].getAttribute('data-src'));
1932
+ // }
1933
+ // }
1934
+ }
1935
+
1936
+
1937
+
1938
+ $(document).ready(function() {
1939
+ // Notification if the process was a success
1940
+
1941
+ // Notification if the process was a failure
1942
+
1943
+ // Notification if the process was a failure due to data posted
1944
+ });
1945
+
1946
+ document.onreadystatechange = function() {
1947
+ var state = document.readyState;
1948
+ if (state == 'interactive') {
1949
+ $('#loaderModal').modal('show');
1950
+ } else if (state == 'complete') {
1951
+ callOnPageLoadFunction();
1952
+ // callOnPageLoad = setTimeout(callOnPageLoadFunction, 2000);
1953
+ $('#loaderModal').modal('hide');
1954
+
1955
+ }
1956
+ };
1957
+
1958
+ // function bannerHeader() {
1959
+
1960
+ // if ($("#emergencybanner").is(":visible") && $("#popup").is(":visible") && $("#popupbanner").is(":visible")) {
1961
+ // $('#popupbanner').css({'top': '-1px', 'position': 'sticky', 'z-index': '9999'});
1962
+ // $('#emergencybanner').css({'top': $('#popupbanner').outerHeight()-2, 'position': 'sticky', 'z-index': '9999'});
1963
+ // $('#sticky').css({
1964
+ // 'top': '245px'
1965
+ // });
1966
+ // }
1967
+ // else if ($("#popup").is(":visible") && ($("#popupbanner").is(":visible") || $("#emergencybanner").is(":visible"))) {
1968
+ // $('#sticky').css({
1969
+ // 'top': '170px'
1970
+ // });
1971
+ // }
1972
+ // else if (!$("#popup").is(":visible") && $("#popupbanner").is(":visible") && $("#emergencybanner").is(":visible")) {
1973
+ // $('#popupbanner').css({'top': '-1px', 'position': 'sticky', 'z-index': '9999'});
1974
+ // $('#emergencybanner').css({'top': $('#popupbanner').outerHeight()-2, 'position': 'sticky', 'z-index': '9999'});
1975
+ // $('#sticky').css({
1976
+ // 'top': '115px'
1977
+ // });
1978
+ // }
1979
+ // else if (!$("#popup").is(":visible") && ($("#popupbanner").is(":visible") || $("#emergencybanner").is(":visible"))) {
1980
+ // $('#sticky').css({
1981
+ // 'top': '65px'
1982
+ // });
1983
+ // }
1984
+ // else if ($("#popup").is(":visible")) {
1985
+ // $('#sticky').css({
1986
+ // 'top': '105px'
1987
+ // });
1988
+ // }
1989
+ // else {
1990
+ // $('#sticky').css({
1991
+ // 'top': '0px'
1992
+ // });
1993
+ // }
1994
+
1995
+ // }
1996
+ function bannerHeader() {
1997
+ var totBannerHeight = Array.from($('.cookiesTop_div:visible')).map(el => el.clientHeight).reduce((a, b) => a + b, 0);
1998
+
1999
+ $('#sticky').css({ 'top': totBannerHeight+'px' });
2000
+ $('.cookiesTop_div').each(function(){
2001
+ var prevBannerHeight = Array.from($(this).prevAll('.cookiesTop_div:visible')).map(el => el.clientHeight).reduce((a, b) => a + b, 0);
2002
+ $(this).css({ 'top': prevBannerHeight+'px' });
2003
+ $(this).css({ 'position': 'sticky' });
2004
+ $(this).css({ 'z-index': '999' });
2005
+ });
2006
+ }
2007
+
2008
+ function cookieBaner() {
2009
+ var element = $('#cookieid').val();
2010
+ var a = localStorage.getItem('popState');
2011
+ if (a != element) {
2012
+ $('#popup').show();
2013
+ } else {
2014
+ $('#popup').fadeOut();
2015
+ }
2016
+
2017
+ }
2018
+
2019
+ function emergencyBaner() {
2020
+ var element = $('#emergencyid').val();
2021
+ var a = localStorage.getItem('popEmergency');
2022
+ if (a != element) {
2023
+ $('#emergencybanner').show();
2024
+ } else {
2025
+ $('#emergencybanner').fadeOut();
2026
+ }
2027
+
2028
+ }
2029
+
2030
+ function popupBaner() {
2031
+ var element = $('#popupbannerid').val();
2032
+ var a = localStorage.getItem('popMarketing');
2033
+ if (a != element) {
2034
+ $('#popupbanner').show();
2035
+ } else {
2036
+ $('#popupbanner').fadeOut();
2037
+ }
2038
+
2039
+ }
2040
+
2041
+ // $(".quickbkdrop").click(function(){
2042
+ // $(".quickBookDropdown").toggle();
2043
+ // });
2044
+
2045
+ function notifyError(type, title, msg) {
2046
+ toastr.clear();
2047
+ toastr.options = {
2048
+ "closeButton": "true",
2049
+ "progressBar": "false",
2050
+ "debug": "false",
2051
+ "positionClass": "toast-top-right",
2052
+ "showDuration": "330",
2053
+ "hideDuration": "330",
2054
+ "timeOut": "10000",
2055
+ "extendedTimeOut": "1000",
2056
+ "showEasing": "swing",
2057
+ "hideEasing": "swing",
2058
+ "showMethod": "slideDown",
2059
+ "hideMethod": "slideUp",
2060
+ "onclick": null
2061
+ }
2062
+ if (type == 'error') {
2063
+ notify_message('error', msg);
2064
+ // toastr.error(msg,title);
2065
+ } else {
2066
+ notify_message('success', msg);
2067
+ // toastr.success(msg,title);
2068
+ }
2069
+ }
2070
+
2071
+ function callOnPageLoadFunction() {
2072
+ cookieBaner();
2073
+ emergencyBaner();
2074
+ popupBaner();
2075
+
2076
+ var element = $('#cookieid').val();
2077
+
2078
+ $('#popup-close').click(function() {
2079
+ localStorage.setItem('popState', element);
2080
+ $('#popup').fadeOut(); $('#popup').hide();
2081
+ var totBannerHeight = Array.from($('.cookiesTop_div:visible')).map(el => el.clientHeight).reduce((a, b) => a + b, 0);
2082
+ $('#sticky').css({ 'top': totBannerHeight });
2083
+ $('.cookiesTop_div').each(function(){
2084
+ var prevBannerHeight = Array.from($(this).prev('.cookiesTop_div:visible')).map(el => el.clientHeight).reduce((a, b) => a + b, 0);
2085
+ $(this).css({ 'top': prevBannerHeight });
2086
+ });
2087
+ });
2088
+
2089
+ $('#popupbanner-close').click(function() {
2090
+ $('#popupbanner').fadeOut();
2091
+ $('#popupbanner').hide();
2092
+ var totBannerHeight = Array.from($('.cookiesTop_div:visible')).map(el => el.clientHeight).reduce((a, b) => a + b, 0);
2093
+ $('#sticky').css({ 'top': totBannerHeight });
2094
+ $('.cookiesTop_div').each(function(){
2095
+ var prevBannerHeight = Array.from($(this).prev('.cookiesTop_div:visible')).map(el => el.clientHeight).reduce((a, b) => a + b, 0);
2096
+ $(this).css({ 'top': prevBannerHeight });
2097
+ });
2098
+ });
2099
+
2100
+
2101
+ var element1 = $('#emergencyid').val();
2102
+ $('#emergencybanner-close').click(function() {
2103
+ var height = Array.from($(this).parents('.cookiesTop_div').prev('.cookiesTop_div:visible')).map(el => el.clientHeight).reduce((a, b) => a + b, 0);
2104
+ localStorage.setItem('popEmergency', element1);
2105
+ $('#emergencybanner').fadeOut();
2106
+ $('#emergencybanner').hide();
2107
+ var totBannerHeight = Array.from($('.cookiesTop_div:visible')).map(el => el.clientHeight).reduce((a, b) => a + b, 0);
2108
+ $('#sticky').css({ 'top': totBannerHeight });
2109
+ $('.cookiesTop_div').each(function(){
2110
+ var prevBannerHeight = Array.from($(this).prev('.cookiesTop_div:visible')).map(el => el.clientHeight).reduce((a, b) => a + b, 0);
2111
+ $(this).css({ 'top': prevBannerHeight });
2112
+ });
2113
+ });
2114
+
2115
+ var element2 = $('#popupbannerid').val();
2116
+ $('#popupbanner-close').click(function() {
2117
+ localStorage.setItem('popMarketing', element2)
2118
+ $('#popupbanner').fadeOut();
2119
+ });
2120
+
2121
+ // deferImageLoad();
2122
+ cinamaList();
2123
+ loadScheduledMovies('', 2, '');
2124
+
2125
+ $('#loaderModal').modal({
2126
+ backdrop: 'static',
2127
+ keyboard: false
2128
+ });
2129
+ $('#loaderModal').modal('hide');
2130
+
2131
+ $('#videoPop_box').modal({
2132
+ backdrop: 'static',
2133
+ keyboard: false
2134
+ });
2135
+ $('#videoPop_box').modal('hide');
2136
+
2137
+ $('#videoPop_box .close').click(function() {
2138
+ $('#trailer_ifream').prop('src', '');
2139
+ });
2140
+
2141
+ $('body').click(function() {
2142
+ $('.navbar-toggler').addClass('collapsed');
2143
+ $('.navbar-collapse').removeClass('show');
2144
+ });
2145
+
2146
+ $(document).ready(function() {
2147
+ bannerHeader();
2148
+
2149
+ $(".navbar-toggler").click(function(event) {
2150
+ $(".navbar-collapse").collapse('hide');
2151
+ });
2152
+
2153
+ $('.select_movie_date_div').addClass("readonly_select");
2154
+ $('#select_movie_date0').prop("disabled", true);
2155
+ $('#select_movie_date1').prop("disabled", true);
2156
+ $('#select_movie_date2').prop("disabled", true);
2157
+
2158
+ $('#select_movie_time0').prop("disabled", true);
2159
+ $('#select_movie_time1').prop("disabled", true);
2160
+ $('#select_movie_time2').prop("disabled", true);
2161
+ });
2162
+
2163
+ $(window).scroll(function() {
2164
+ if ($(this).scrollTop() > 0 && !mobileCheck()) {
2165
+ $('.navbar-toggler').addClass('collapsed');
2166
+ $('.navbar-collapse').removeClass('show');
2167
+ $('.quickbkdrop ').removeClass('active');
2168
+ $('.quickBookDropdown').hide();
2169
+ $('#select2-drop').hide();
2170
+ }
2171
+ });
2172
+ // clearTimeout(callOnPageLoad);
2173
+ }
2174
+
2175
+ /** changes for mob screen */
2176
+ window.mobileCheck = function() {
2177
+ let check = false;
2178
+ (function(a){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4))) check = true;})(navigator.userAgent||navigator.vendor||window.opera);
2179
+ return check;
2180
+ };
2181
+ /** changes for mob screen **/
2182
+
2183
+ var intervals = [];
2184
+ function notify_message(type, message) {
2185
+ if (type == 'success') {
2186
+ hml = "<span class='text-success1'>" + message + "</span>";
2187
+ } else if (type == 'warning') {
2188
+ hml = "<span class='text-warning1'>" + message + "</span>";
2189
+ } else {
2190
+ hml = "<span class='text-danger1'>" + message + "</span>";
2191
+ }
2192
+ $('.notify_message').html(hml);
2193
+ $('.notifyModal').modal('show');
2194
+
2195
+ var elem = document.getElementById("notify_progress_bar");
2196
+
2197
+ if (type == 'success') {
2198
+ elem.style.backgroundColor = '#28a745';
2199
+ } else if (type == 'warning') {
2200
+ elem.style.backgroundColor = '#ffc107';
2201
+ } else {
2202
+ elem.style.backgroundColor = '#dc3545';
2203
+ }
2204
+
2205
+ for ( var i = 0; i < intervals.length; ++i ) {
2206
+ clearInterval(intervals[i]);
2207
+ if(i == intervals.length - 1) {
2208
+ intervals = [];
2209
+ }
2210
+ }
2211
+
2212
+ var width = 100;
2213
+ var id = setInterval(frame, 50);
2214
+ intervals.push(id);
2215
+
2216
+ function frame() {
2217
+ if (width <= 0) {
2218
+ clearInterval(id);
2219
+ $('.notifyModal').modal('hide');
2220
+ } else {
2221
+ width -= 0.5;
2222
+ elem.style.width = width + '%';
2223
+ }
2224
+ }
2225
+ }
2226
+
2227
+ function searchAjax() {
2228
+ var search_field = $('#search_field').val();
2229
+ $('.ajaxSearchResult').addClass('d-none');
2230
+ if (search_field.length >= 3) {
2231
+ $('.spin_loader').removeClass('d-none');
2232
+ $('.search_field').addClass('search_field_active');
2233
+
2234
+ $.ajax({
2235
+ url: "https://www.picturehouses.com/searchAjax?search=" + search_field,
2236
+ type: "GET",
2237
+
2238
+ cache: false,
2239
+ success: function(data) {
2240
+ $('.spin_loader').addClass('d-none');
2241
+ $('.ajaxSearchResult').removeClass('d-none');
2242
+ htm = "<ul>";
2243
+ if (data.length == 0) {
2244
+ htm += "<li><a href='javascript:void()'>No results found</a></li>";
2245
+ }
2246
+
2247
+ $.each(data, function(idx, obj) {
2248
+ htm += "<li><a href='" + obj.url + "'>" + obj.title + "</a></li>";
2249
+ });
2250
+ htm += "</ul>";
2251
+
2252
+
2253
+ $('.ajaxSearchResult').html(htm);
2254
+ }
2255
+ });
2256
+ }
2257
+ }
2258
+
2259
+ $(document).ready(function() {
2260
+ // $(document).on('touchend', function(){
2261
+ // $('.select2-search input').prop('focus',false);
2262
+ // });
2263
+
2264
+ // $("select").on('select2:open', function (e) {
2265
+ // $('.select2-search input').prop('focus',false);
2266
+ // });
2267
+
2268
+ if (window.matchMedia('screen and (max-width: 768px)').matches) {
2269
+ $(".select_movie_date").select2({ minimumResultsForSearch: -1 });
2270
+ $(".select_movie_time").select2({ minimumResultsForSearch: -1 });
2271
+ } else {
2272
+ $(".select_movie_date").select2();
2273
+ $(".select_movie_time").select2();
2274
+ }
2275
+
2276
+
2277
+ // var imgDefer = document.getElementsByTagName('img');
2278
+ // for (var i=0; i<imgDefer.length; i++) {
2279
+ // if(imgDefer[i].getAttribute('data-src')) {
2280
+ // imgDefer[i].setAttribute('src',imgDefer[i].getAttribute('data-src'));
2281
+ // }
2282
+ // }
2283
+
2284
+ // setInterval("loadDeferedImages()", 1000);
2285
+
2286
+ // cinamaList();
2287
+ });
2288
+
2289
+ $('.mobile_booking_poup_btn').click(function() {
2290
+ $('#mobileBooking').modal('show');
2291
+ });
2292
+
2293
+ CINEMA_LIST = [];
2294
+ CINEMA_LIST_SLUG = [];
2295
+ SCHEDULED_MOVIES = [];
2296
+
2297
+ function changeSelectCinema(cinema_id, from) {
2298
+ $('#loaderModal').show();
2299
+ if(from != 4){
2300
+ var sel_movie = $("#select_movie_name" + from).select2('val');
2301
+ var movie_name = $("#select_movie_name" + from).val();
2302
+ } else {
2303
+ var sel_movie = $("#select_movie_name" + from).val();
2304
+ var movie_name = $("#select_movie_name" + from).attr('data-name');
2305
+ }
2306
+ var sel_date = $("#select_movie_date" + from).select2('val');
2307
+
2308
+ if (cinema_id != '' || movie_name != '') {
2309
+ $('.buttonsearch_normal').addClass('buttonsearch_block');
2310
+ $('.buttonsearch_block').removeClass('buttonsearch_normal');
2311
+ } else {
2312
+ $('.buttonsearch_block').addClass('buttonsearch_normal');
2313
+ $('.buttonsearch_block').removeClass('buttonsearch_block');
2314
+ }
2315
+ $("#select_movie_name" + from).empty();
2316
+ $("#select_movie_name" + from).append($('<option >', {
2317
+ value: "",
2318
+ text: ""
2319
+ }));
2320
+
2321
+ $("#select_movie_date" + from).empty();
2322
+ $("#select_movie_date" + from).append($('<option >', {
2323
+ value: "",
2324
+ text: "DATES"
2325
+ }));
2326
+
2327
+ $('.select_movie_date_div').removeClass("readonly_select");
2328
+ $('#select_movie_date' + from).prop("disabled", false);
2329
+
2330
+ $("#select_movie_time" + from).html("<option value=''>TIMES</option>");
2331
+ $('#select_movie_time' + from).prop("disabled", true);
2332
+ $('.select_movie_time_div').addClass("readonly_select");
2333
+
2334
+ // RESET ON CLEAR
2335
+ if (cinema_id == "") {
2336
+ $("#cinema_id" + from).empty();
2337
+ $("#cinema_id" + from).append($('<option >', {
2338
+ value: "",
2339
+ text: ""
2340
+ }));
2341
+
2342
+ $.each(CINEMA_LIST, function(idx, obj) {
2343
+ $("#cinema_id" + from).append($('<option>', {
2344
+ value: idx,
2345
+ text: obj
2346
+ }));
2347
+ });
2348
+
2349
+ if (window.matchMedia('screen and (max-width: 768px)').matches) {
2350
+ $(".select2-cinema-list").select2({
2351
+ placeholder: "CINEMAS",
2352
+ allowClear: true,
2353
+ shouldFocusInput: function() {
2354
+ return false;
2355
+ }
2356
+ });
2357
+ } else {
2358
+ $(".select2-cinema-list").select2({
2359
+ placeholder: "CINEMAS",
2360
+ allowClear: true,
2361
+ });
2362
+ }
2363
+
2364
+ }
2365
+
2366
+ var DATES = [];
2367
+ var filmListItems = '';
2368
+
2369
+ for (var i = 0; i < SCHEDULED_MOVIES.length; i++) {
2370
+ var details = SCHEDULED_MOVIES[i];
2371
+
2372
+ // FINDING AVAILABLE MOVIES AT CINEMA
2373
+ console.log(cinema_id, details.available_cinemas);
2374
+ if ($.inArray(cinema_id, details.available_cinemas) !== -1 || cinema_id == "") {
2375
+ if (sel_movie == details.ScheduledFilmId) {
2376
+ $("#select_movie_name" + from).append($('<option>', {
2377
+ value: details.ScheduledFilmId,
2378
+ text: details.Title,
2379
+ selected: "selected"
2380
+ }));
2381
+
2382
+ filmListItems = filmListItems +
2383
+ '<label class="custom_radio_btn film_radio_btn" onclick="selectFilm(this,4);">'
2384
+ + details.Title +
2385
+ '<input type="radio" name="film_radio" checked value="' + details.ScheduledFilmId + '">'
2386
+ +'<span class="checkmark"></span>'
2387
+ +'</label>';
2388
+ } else {
2389
+ $("#select_movie_name" + from).append($('<option>', {
2390
+ value: details.ScheduledFilmId,
2391
+ text: details.Title
2392
+ }));
2393
+
2394
+ filmListItems = filmListItems +
2395
+ '<label class="custom_radio_btn film_radio_btn" onclick="selectFilm(this,4);">'
2396
+ + details.Title +
2397
+ '<input type="radio" name="film_radio" value="' + details.ScheduledFilmId + '">'
2398
+ +'<span class="checkmark"></span>'
2399
+ +'</label>';
2400
+ }
2401
+ }
2402
+
2403
+ // FINDING AVAILABLE DATES OF CINEMA
2404
+ if (cinema_id != "" && sel_movie == "") {
2405
+ if ($.inArray(cinema_id, details.available_cinemas) !== -1) {
2406
+ for (var j = 0; j < details.show_times.length; j++) {
2407
+ var showtime = details.show_times[j];
2408
+
2409
+ if (showtime.CinemaId == cinema_id) {
2410
+ var found = false;
2411
+
2412
+ for (d = 0; d < DATES.length; d++) {
2413
+ if (DATES[d].key == showtime.date_f) {
2414
+ found = true;
2415
+ break;
2416
+ }
2417
+ }
2418
+
2419
+ if (!found) {
2420
+ DATES.push({
2421
+ "key": showtime.date_f,
2422
+ "name": showtime.date
2423
+ });
2424
+ }
2425
+ }
2426
+ }
2427
+ }
2428
+ } else if (cinema_id != "" && sel_movie != "") {
2429
+ if ($.inArray(cinema_id, details.available_cinemas) !== -1) {
2430
+ for (var j = 0; j < details.show_times.length; j++) {
2431
+ var showtime = details.show_times[j];
2432
+
2433
+ if (showtime.CinemaId == cinema_id && showtime.ScheduledFilmId == sel_movie) {
2434
+ var found = false;
2435
+
2436
+ for (d = 0; d < DATES.length; d++) {
2437
+ if (DATES[d].key == showtime.date_f) {
2438
+ found = true;
2439
+ break;
2440
+ }
2441
+ }
2442
+
2443
+ if (!found) {
2444
+ DATES.push({
2445
+ "key": showtime.date_f,
2446
+ "name": showtime.date
2447
+ });
2448
+ }
2449
+ }
2450
+ }
2451
+ }
2452
+ } else if (sel_movie != "") {
2453
+ for (var j = 0; j < details.show_times.length; j++) {
2454
+ var showtime = details.show_times[j];
2455
+
2456
+ if (showtime.ScheduledFilmId == sel_movie) {
2457
+ var found = false;
2458
+
2459
+ for (d = 0; d < DATES.length; d++) {
2460
+ if (DATES[d].key == showtime.date_f) {
2461
+ found = true;
2462
+ break;
2463
+ }
2464
+ }
2465
+
2466
+ if (!found) {
2467
+ DATES.push({
2468
+ "key": showtime.date_f,
2469
+ "name": showtime.date
2470
+ });
2471
+ }
2472
+ }
2473
+ }
2474
+ }
2475
+ }
2476
+ filmListItems = '<input type="text" class="searchCinemas" id="searchFilms" onkeyup="filmListSearchBookTkt()" placeholder="Search..."/>'+filmListItems;
2477
+
2478
+ $('#filmDropDownList').html(filmListItems);
2479
+
2480
+ DATES = sortByKeyAsc(DATES, "key");
2481
+
2482
+ found_select_date = false;
2483
+ for (var i = 0; i < DATES.length; i++) {
2484
+ var details = DATES[i];
2485
+
2486
+ var specific_date = new Date(details.key);
2487
+ var current_date = new Date();
2488
+ current_date.setHours(0, 0, 0, 0);
2489
+
2490
+ if (specific_date.getTime() >= current_date.getTime()) {
2491
+ if (sel_date == details.key) {
2492
+ found_select_date = true;
2493
+
2494
+ $("#select_movie_date" + from).append($('<option>', {
2495
+ value: details.key,
2496
+ text: details.name,
2497
+ selected: "selected"
2498
+ }));
2499
+ } else {
2500
+ $("#select_movie_date" + from).append($('<option>', {
2501
+ value: details.key,
2502
+ text: details.name
2503
+ }));
2504
+ }
2505
+ }
2506
+ }
2507
+
2508
+ if (DATES.length == 0) {
2509
+ $('#select_movie_date' + from).prop("disabled", true);
2510
+ }
2511
+
2512
+ if (found_select_date) {
2513
+ changeSelectMovie('date', sel_date, from);
2514
+ }
2515
+
2516
+ if (window.matchMedia('screen and (max-width: 768px)').matches) {
2517
+ $(".select2-movie-list").select2({
2518
+ placeholder: "FILMS",
2519
+ allowClear: true,
2520
+ shouldFocusInput: function() {
2521
+ return false;
2522
+ }
2523
+ });
2524
+ } else {
2525
+ $(".select2-movie-list").select2({
2526
+ placeholder: "FILMS",
2527
+ allowClear: true
2528
+ })
2529
+ }
2530
+
2531
+ if (window.matchMedia('screen and (max-width: 768px)').matches) {
2532
+ $("#select_movie_date" + from).select2({ minimumResultsForSearch: -1 });
2533
+ $("#select_movie_time" + from).select2({ minimumResultsForSearch: -1 });
2534
+ } else {
2535
+ $("#select_movie_date" + from).select2();
2536
+ $("#select_movie_time" + from).select2();
2537
+ }
2538
+
2539
+ $('#loaderModal').hide();
2540
+ }
2541
+
2542
+ function sortByKeyAsc(array, key) {
2543
+ return array.sort(function(a, b) {
2544
+ var x = a[key];
2545
+ var y = b[key];
2546
+ return ((x < y) ? -1 : ((x > y) ? 1 : 0));
2547
+ });
2548
+ }
2549
+
2550
+ function loadScheduledMovies(cinema_id, from, movie_id) {
2551
+ $.ajax({
2552
+ url: "https://www.picturehouses.com/api/scheduled-movies-ajax",
2553
+ type: "POST",
2554
+ data: {
2555
+ cinema_id: cinema_id
2556
+ },
2557
+ beforeSend: function(xhr) {
2558
+
2559
+ var token = "eyJpdiI6InRMMjVYdHVKM1lDYTFzYklxM3ZRUmc9PSIsInZhbHVlIjoiL0hqamJaRUNiQVRuWUFZUUhkMjhlY3gybnU4NmlvcytWWHNNNkFmVGdjS2Era0VaanRXNlp0RzFLWHZIY0lYU21xcVR3d3lmUEZJVkQxamt1WlpPS3c9PSIsIm1hYyI6ImM4ZDRiNGM1NzZmNjdkNWJiMTBlOTg5MTdlYzdhZDBmMmJmYmM3NDY3ODBmNzNlNGM1YTA4NTEzOTVlMmU5Y2QiLCJ0YWciOiIifQ==";
2560
+ if (token) {
2561
+ return xhr.setRequestHeader('X-XSRF-TOKEN', token);
2562
+ }
2563
+ },
2564
+ cache: false,
2565
+ success: function(data) {
2566
+ data = JSON.parse(data);
2567
+ $('#loaderModal').hide();
2568
+ if (data.response == "success") {
2569
+ SCHEDULED_MOVIES = data.movies;
2570
+
2571
+ if ($(".select_movie_name ").length) {
2572
+ $(".select_movie_name ").empty();
2573
+ $(".select_movie_name ").append($('<option >', {
2574
+ value: "",
2575
+ text: ""
2576
+ }));
2577
+ }
2578
+
2579
+ var filmListItems = '';
2580
+ for (i = 0; i < data.movies.length; i++) {
2581
+ var details = data.movies[i];
2582
+
2583
+ var url = "https://www.picturehouses.com/api/movies/checkout" + "/" + cinema_id + "/" + details
2584
+ .next_show_session_id;
2585
+
2586
+ var html = '<li>' +
2587
+ '<a href="' + url + '">' +
2588
+ '<img data-src="' + details.image_url + '" class="img-responsive lazyload" alt="' + details
2589
+ .Title + '" onerror="imgError(this)" />' +
2590
+ '</a>' +
2591
+ '</li>';
2592
+
2593
+ $(".released_movies").append(html);
2594
+
2595
+ if ($(".select_movie_name ").length) {
2596
+ if (movie_id == details.ScheduledFilmId) {
2597
+ $(".select_movie_name ").append($('<option>', {
2598
+ value: details.ScheduledFilmId,
2599
+ text: details.Title,
2600
+ selected: "selected"
2601
+ }));
2602
+ } else {
2603
+ $(".select_movie_name ").append($('<option>', {
2604
+ value: details.ScheduledFilmId,
2605
+ text: details.Title
2606
+ }));
2607
+ }
2608
+ }
2609
+
2610
+ filmListItems = filmListItems +
2611
+ '<label class="custom_radio_btn film_radio_btn" onclick="selectFilm(this,4);">'
2612
+ + details.Title +
2613
+ '<input type="radio" name="film_radio" value="' + details.ScheduledFilmId + '">'
2614
+ +'<span class="checkmark"></span>'
2615
+ +'</label>';
2616
+ }
2617
+ filmListItems = '<input type="text" class="searchCinemas" id="searchFilms" onkeyup="filmListSearchBookTkt()" placeholder="Search..."/>'+filmListItems;
2618
+ $('#filmDropDownList').html(filmListItems);
2619
+ } else {
2620
+ $('#select_movie_time' + from).prop("disabled", true);
2621
+ $('.select_movie_time_div').addClass("readonly_select");
2622
+ $(".select_movie_name ").empty();
2623
+ $(".select_movie_name ").append($('<option >', {
2624
+ value: "",
2625
+ text: "No films or events found"
2626
+ }));
2627
+ $("#released_movies").hide();
2628
+ }
2629
+
2630
+ if (window.matchMedia('screen and (max-width: 768px)').matches) {
2631
+ $(".select2-movie-list").select2({
2632
+ placeholder: "FILMS",
2633
+ allowClear: true,
2634
+ shouldFocusInput: function() {
2635
+ return false;
2636
+ }
2637
+ });
2638
+ } else {
2639
+ $(".select2-movie-list").select2({
2640
+ placeholder: "FILMS",
2641
+ allowClear: true
2642
+ })
2643
+ }
2644
+ },
2645
+ error: function() {
2646
+ //loadScheduledMovies();
2647
+ }
2648
+ });
2649
+ }
2650
+
2651
+ function changeSelectMovie(id, value, from) {
2652
+ $('#loaderModal').show();
2653
+
2654
+ // var sel_date = $("#select_movie_date" + from).select2('val');
2655
+
2656
+ // var sel_cinema = $("#cinema_id" + from).select2('val');
2657
+ // var sel_movie = $("#select_movie_name" + from).select2('val');
2658
+ var sel_date = $("#select_movie_date" + from).select2('val');
2659
+ var sel_time = $("#select_movie_time" + from).select2('val');
2660
+
2661
+ // var movie_name = $("#select_movie_name" + from).val();
2662
+
2663
+ if(from != 4){
2664
+ var sel_movie = $("#select_movie_name" + from).select2('val');
2665
+ var movie_name = $("#select_movie_name" + from).val();
2666
+ var sel_cinema = $("#cinema_id" + from).select2('val');
2667
+ } else {
2668
+ var sel_cinema = $("#cinema_id" + from).val();
2669
+ var sel_movie = $("#select_movie_name" + from).val();
2670
+ var movie_name = $("#select_movie_name" + from).attr('data-name');
2671
+ }
2672
+
2673
+ if (sel_cinema != '' || movie_name != '') {
2674
+ $('.buttonsearch_normal').addClass('buttonsearch_block');
2675
+ $('.buttonsearch_block').removeClass('buttonsearch_normal');
2676
+ } else {
2677
+ $('.buttonsearch_block').addClass('buttonsearch_normal');
2678
+ $('.buttonsearch_block').removeClass('buttonsearch_block');
2679
+ }
2680
+ // Movie Select
2681
+ if (id == "movie") {
2682
+ // RESET MOVIES
2683
+ if (value == "") {
2684
+ cinamaList("",from);
2685
+ $("#select_movie_date" + from).val("");
2686
+ $("#select_movie_date" + from).select2().trigger('change');
2687
+ changeSelectCinema(sel_cinema, from);
2688
+ } else {
2689
+ $("#select_movie_date" + from).html("<option value=''>DATES</option>");
2690
+ $("#select_movie_time" + from).html("<option value=''>TIMES</option>");
2691
+
2692
+ $('.select_movie_date_div').removeClass("readonly_select");
2693
+ $('#select_movie_date' + from).prop("disabled", false);
2694
+
2695
+ var DATES = [];
2696
+
2697
+ for (var i = 0; i < SCHEDULED_MOVIES.length; i++) {
2698
+ var details = SCHEDULED_MOVIES[i];
2699
+
2700
+ if (details.ScheduledFilmId == value) {
2701
+ var option_html = "";
2702
+ var option_other_html = "";
2703
+ var option_count = 0;
2704
+ var default_option = "";
2705
+ var defaultCinemaListItem = "";
2706
+ var cinemaListItems = "";
2707
+ // var i=0;
2708
+ $.each(CINEMA_LIST, function(idx, obj) {
2709
+
2710
+
2711
+ selected = '';
2712
+
2713
+ if ($.inArray(idx, details.available_cinemas) !== -1) {
2714
+ if (option_count == 0) {
2715
+ default_option = "<option value='" + idx + "' selected>" + obj +
2716
+ "</option>";
2717
+ defaultCinemaListItem = '<label class="custom_radio_btn cinema_radio_btn" onclick="selectCinema(this,4);">'
2718
+ + obj +
2719
+ '<input type="radio" name="radio" checked value="' + idx + '">'
2720
+ +'<span class="checkmark"></span>'
2721
+ +'</label>';
2722
+ }
2723
+
2724
+ option_count++;
2725
+
2726
+ if (sel_cinema == idx) {
2727
+ default_option = "<option value='" + idx + "' selected>" + obj +
2728
+ "</option>";
2729
+ option_html += default_option;
2730
+ defaultCinemaListItem = '<label class="custom_radio_btn cinema_radio_btn" onclick="selectCinema(this,4);">'
2731
+ + obj +
2732
+ '<input type="radio" name="radio" checked value="' + idx + '">'
2733
+ +'<span class="checkmark"></span>'
2734
+ +'</label>';
2735
+ cinemaListItems += defaultCinemaListItem;
2736
+ } else {
2737
+ option_html += "<option value='" + idx + "' " + selected + ">" + obj +
2738
+ "</option>";
2739
+ cinemaListItems += '<label class="custom_radio_btn cinema_radio_btn" onclick="selectCinema(this,4);">'
2740
+ + obj +
2741
+ '<input type="radio" name="radio" '+selected+' value="' + idx + '">'
2742
+ +'<span class="checkmark"></span>'
2743
+ +'</label>';
2744
+ }
2745
+ } else {
2746
+ option_other_html += "<option value='" + idx + "'" + selected + ">" + obj +
2747
+ "</option>";
2748
+ }
2749
+
2750
+
2751
+ });
2752
+
2753
+ if (option_count == 1) {
2754
+ option_html = default_option;
2755
+ cinemaListItems = defaultCinemaListItem;
2756
+ }
2757
+
2758
+ if($('.cinema_radio_btn input[type="radio"]:checked').val() !== undefined){
2759
+ elem = $('.cinema_radio_btn input[type="radio"]:checked');
2760
+ var appendElem = '<button class="selectedCinema"><span class="removeSlctdCinema" onclick="removeItem()">&#215; </span>' + elem.parents('.cinema_radio_btn').text() + '</button>';
2761
+ $('.choose_cinema_show').html(appendElem);
2762
+ $('#cinema_id'+from).val(elem.val());
2763
+ } else {
2764
+ $('.choose_cinema_show').html('Cinemas');
2765
+ $('.cinema_radio_btn input[type="radio"]:checked').prop('checked',false);
2766
+ $('#cinema_id'+from).val('');
2767
+ }
2768
+ cinemaListItems = '<input type="text" class="searchCinemas" id="searchCinemas" onkeyup="cinemaListSearchBookTkt()" placeholder="Search..."/>'+cinemaListItems;
2769
+ $('#cinemaDropDownList').html(cinemaListItems);
2770
+
2771
+
2772
+
2773
+ $("#cinema_id" + from).empty();
2774
+ $("#cinema_id" + from).append($('<option >', {
2775
+ value: "",
2776
+ text: ""
2777
+ }));
2778
+ $("#cinema_id" + from).append("<optgroup label='Available in'>" + option_html + '</optgroup>');
2779
+ // if (option_other_html != "") {
2780
+ // $("#cinema_id" + from).append("<optgroup label='Other Cinemas'>" + option_other_html + '</optgroup>');
2781
+ // }
2782
+
2783
+ // FINDING AVAILABLE DATES OF MOVIE
2784
+ if (sel_cinema != "" && sel_movie == "") {
2785
+ if ($.inArray(sel_cinema, details.available_cinemas) !== -1) {
2786
+ for (var j = 0; j < details.show_times.length; j++) {
2787
+ var showtime = details.show_times[j];
2788
+
2789
+ if (showtime.CinemaId == sel_cinema) {
2790
+ var found = false;
2791
+
2792
+ for (d = 0; d < DATES.length; d++) {
2793
+ if (DATES[d].key == showtime.date_f) {
2794
+ found = true;
2795
+ break;
2796
+ }
2797
+ }
2798
+
2799
+ if (!found) {
2800
+ DATES.push({
2801
+ "key": showtime.date_f,
2802
+ "name": showtime.date
2803
+ });
2804
+ }
2805
+ }
2806
+ }
2807
+ }
2808
+ } else if (sel_cinema != "" && sel_movie != "") {
2809
+ if ($.inArray(sel_cinema, details.available_cinemas) !== -1) {
2810
+ for (var j = 0; j < details.show_times.length; j++) {
2811
+ var showtime = details.show_times[j];
2812
+
2813
+ if (showtime.CinemaId == sel_cinema && showtime.ScheduledFilmId == sel_movie) {
2814
+ var found = false;
2815
+
2816
+ for (d = 0; d < DATES.length; d++) {
2817
+ if (DATES[d].key == showtime.date_f) {
2818
+ found = true;
2819
+ break;
2820
+ }
2821
+ }
2822
+
2823
+ if (!found) {
2824
+ DATES.push({
2825
+ "key": showtime.date_f,
2826
+ "name": showtime.date
2827
+ });
2828
+ }
2829
+ }
2830
+ }
2831
+ }
2832
+ } else if (sel_movie != "") {
2833
+ for (var j = 0; j < details.show_times.length; j++) {
2834
+ var showtime = details.show_times[j];
2835
+
2836
+ if (showtime.ScheduledFilmId == sel_movie) {
2837
+ var found = false;
2838
+
2839
+ for (d = 0; d < DATES.length; d++) {
2840
+ if (DATES[d].key == showtime.date_f) {
2841
+ found = true;
2842
+ break;
2843
+ }
2844
+ }
2845
+
2846
+ if (!found) {
2847
+ DATES.push({
2848
+ "key": showtime.date_f,
2849
+ "name": showtime.date
2850
+ });
2851
+ }
2852
+ }
2853
+ }
2854
+ }
2855
+ }
2856
+ }
2857
+
2858
+ DATES = sortByKeyAsc(DATES, "key");
2859
+
2860
+ for (var i = 0; i < DATES.length; i++) {
2861
+ var details = DATES[i];
2862
+
2863
+ var specific_date = new Date(details.key);
2864
+ var current_date = new Date();
2865
+ current_date.setHours(0, 0, 0, 0);
2866
+
2867
+ if (specific_date.getTime() >= current_date.getTime()) {
2868
+ if (sel_date == details.key) {
2869
+ $("#select_movie_date" + from).append($('<option>', {
2870
+ value: details.key,
2871
+ text: details.name,
2872
+ selected: "selected"
2873
+ }));
2874
+ } else {
2875
+ $("#select_movie_date" + from).append($('<option>', {
2876
+ value: details.key,
2877
+ text: details.name
2878
+ }));
2879
+ }
2880
+ }
2881
+ }
2882
+
2883
+ if (window.matchMedia('screen and (max-width: 768px)').matches) {
2884
+ $(".select2-cinema-list").select2({
2885
+ placeholder: "CINEMAS",
2886
+ allowClear: true,
2887
+ shouldFocusInput: function() {
2888
+ return false;
2889
+ }
2890
+ });
2891
+ } else {
2892
+ $(".select2-cinema-list").select2({
2893
+ placeholder: "CINEMAS",
2894
+ allowClear: true,
2895
+ });
2896
+ }
2897
+
2898
+ if (sel_date != "") {
2899
+ changeSelectMovie("date", sel_date, from);
2900
+ }
2901
+ }
2902
+ }
2903
+
2904
+ // Date Select
2905
+ else if (id == "date") {
2906
+ $("#select_movie_time" + from).html("<option value=''>TIMES</option>");
2907
+
2908
+ // RESET MOVIES
2909
+ if (value == "") {
2910
+ changeSelectCinema(sel_cinema, from);
2911
+ } else {
2912
+ if (sel_movie == "") {
2913
+ $(".select_movie_name ").empty();
2914
+ $(".select_movie_name ").append($('<option >', {
2915
+ value: "",
2916
+ text: ""
2917
+ }));
2918
+ }
2919
+
2920
+ var movie_list = [];
2921
+
2922
+ for (var i = 0; i < SCHEDULED_MOVIES.length; i++) {
2923
+ var details = SCHEDULED_MOVIES[i];
2924
+
2925
+ // IF MOVIE SELECTED
2926
+ if (details.ScheduledFilmId == sel_movie && sel_movie != "") {
2927
+
2928
+ $('.film_radio_btn input[type="radio"][value="'+sel_movie+'"]').prop('checked',true);
2929
+ if (sel_cinema != "" && sel_movie != "") {
2930
+ if (details.show_times.length != 0) {
2931
+ $('#select_movie_time' + from).prop("disabled", false);
2932
+ $('.select_movie_time_div').removeClass("readonly_select");
2933
+ } else {
2934
+ $('#select_movie_time' + from).prop("disabled", true);
2935
+ $('.select_movie_time_div').addClass("readonly_select");
2936
+ }
2937
+
2938
+ var pop_up_html = "";
2939
+
2940
+ for (var j = 0; j < details.show_times.length; j++) {
2941
+ var session = details.show_times[j];
2942
+
2943
+ if (session.date_f == value && (sel_cinema == "" || sel_cinema == session.CinemaId)) {
2944
+
2945
+ $("#select_movie_time" + from).append($('<option>', {
2946
+ value: session.SessionId,
2947
+ text: timeConvertor(session.time + ':00')
2948
+ }));
2949
+
2950
+ var pop_msg_html = "";
2951
+ var pop_msg_resticted_html = "";
2952
+
2953
+ // console.log(session.attributes);
2954
+
2955
+ $.each(session.attributes, function(index, obj) {
2956
+ if (obj.display_type == 3 || obj.display_type == 4) {
2957
+
2958
+ if (obj.display_type == 3) {
2959
+ pop_msg_html +=
2960
+ '<h3 class="pt-3" style="color: #000; text-transform: uppercase">' +
2961
+ obj.attribute_full + '</h3>' +
2962
+ '<p style="color: #000 padding-top: 15px; font-size: 16px">' +
2963
+ obj.description + '</p>';
2964
+ } else if (obj.display_type == 4) {
2965
+ pop_msg_resticted_html +=
2966
+ '<p style="color: #000 padding-top: 15px; font-size: 16px">' +
2967
+ obj.description + '</p>';
2968
+ }
2969
+ }
2970
+ });
2971
+
2972
+ if (pop_msg_html != "")
2973
+ pop_up_html += "<div id='pop_up_" + session.SessionId + "'>" + pop_msg_html +
2974
+ "</div>";
2975
+ if (pop_msg_resticted_html != "")
2976
+ pop_up_html += "<div id='pop_msg_resticted_" + session.SessionId + "'>" +
2977
+ pop_msg_resticted_html + "</div>";
2978
+ }
2979
+ }
2980
+
2981
+ $("#pop_up_html").html(pop_up_html);
2982
+ } else {
2983
+ $('#select_movie_time' + from).prop("disabled", true);
2984
+ $('.select_movie_time_div').addClass("readonly_select");
2985
+ }
2986
+ }
2987
+ // NO MOVIE SELECTED
2988
+ else {
2989
+ if ($.inArray(sel_cinema, details.available_cinemas) !== -1) {
2990
+ var filmListItems = "";
2991
+ for (var j = 0; j < details.show_times.length; j++) {
2992
+ var session = details.show_times[j];
2993
+
2994
+ if (session.date_f == value && sel_cinema == session.CinemaId) {
2995
+
2996
+ var found = false;
2997
+
2998
+ for (d = 0; d < movie_list.length; d++) {
2999
+ if (movie_list[d].key == details.ScheduledFilmId) {
3000
+ found = true;
3001
+ break;
3002
+ }
3003
+ }
3004
+
3005
+ if (!found) {
3006
+ movie_list.push({
3007
+ "key": details.ScheduledFilmId,
3008
+ "name": details.Title
3009
+ });
3010
+
3011
+ $("#select_movie_name" + from).append($('<option>', {
3012
+ value: details.ScheduledFilmId,
3013
+ text: details.Title
3014
+ }));
3015
+
3016
+ // filmListItems = filmListItems +
3017
+ // '<label class="custom_radio_btn film_radio_btn" onclick="selectFilm(this);">'
3018
+ // + details.Title +
3019
+ // '<input type="radio" name="film_radio" value="' + details.ScheduledFilmId + '">'
3020
+ // +'<span class="checkmark"></span>'
3021
+ // +'</label>';
3022
+ }
3023
+ }
3024
+ }
3025
+
3026
+ // $('#filmDropDownList').html(filmListItems);
3027
+ }
3028
+ }
3029
+ }
3030
+
3031
+ if (window.matchMedia('screen and (max-width: 768px)').matches) {
3032
+ $(".select2-movie-list").select2({
3033
+ placeholder: "FILMS",
3034
+ allowClear: true,
3035
+ shouldFocusInput: function() {
3036
+ return false;
3037
+ }
3038
+ });
3039
+ } else {
3040
+ $(".select2-movie-list").select2({
3041
+ placeholder: "FILMS",
3042
+ allowClear: true
3043
+ })
3044
+ }
3045
+ }
3046
+ }
3047
+
3048
+ if (window.matchMedia('screen and (max-width: 768px)').matches) {
3049
+ $("#select_movie_date" + from).select2({ minimumResultsForSearch: -1 });
3050
+ $("#select_movie_time" + from).select2({ minimumResultsForSearch: -1 });
3051
+ } else {
3052
+ $("#select_movie_date" + from).select2();
3053
+ $("#select_movie_time" + from).select2();
3054
+ }
3055
+
3056
+ $('#loaderModal').hide();
3057
+ }
3058
+
3059
+ function timeConvertor(time) {
3060
+
3061
+ var PM = time.match('PM') ? true : false
3062
+
3063
+ time = time.split(':')
3064
+ var min = time[1].split(' ');
3065
+
3066
+ if (PM) {
3067
+ var hour = 12 + parseInt(time[0], 10)
3068
+ min = time[1].replace('PM', '')
3069
+ var sec = time[2].replace('PM', '')
3070
+ } else {
3071
+ var hour = time[0]
3072
+ min = time[1].replace('AM', '')
3073
+ var sec = time[2].replace('AM', '')
3074
+ }
3075
+
3076
+ return hour + ':' + min;
3077
+ }
3078
+
3079
+ /**
3080
+ * Function to book selected movie
3081
+ */
3082
+ function bookSelectMovie(from) {
3083
+ var cinema_id = $("#cinema_id" + from).val();
3084
+ var ori_cinema_id = $("#cinema_id" + from).val();
3085
+ var movie_id = $("#select_movie_name" + from).val();
3086
+
3087
+
3088
+ // var movie_name = $("#select_movie_name"+from).text();
3089
+ var movie_name = '';
3090
+ var date = $("#select_movie_date" + from).select2('val');
3091
+ var time = $("#select_movie_time" + from).select2('val');
3092
+ if (cinema_id == '' && movie_id == '' && movie_name == '' && date == '' && time == '') {
3093
+ return true;
3094
+ }
3095
+
3096
+ var movie_name = "";
3097
+ if (movie_id != "" && from != 4) {
3098
+ movie_name = $("#select_movie_name" + from).select2('data').text;
3099
+ }
3100
+ if(movie_id != "" && from == 4) {
3101
+ movie_name = $("#select_movie_name" + from).attr('data-name');
3102
+ }
3103
+
3104
+ if (movie_name != '') {
3105
+ movie_name = cleanURLMaker(movie_name);
3106
+ }
3107
+
3108
+ if (cinema_id != '' && movie_id != "" && date != "" && time != "") {
3109
+ var url = "https://web.picturehouses.com/order/showtimes/" + cinema_id +"-"+ time+"/seats"; // for vista
3110
+ if ($("#pop_msg_resticted_" + time).length != 0) {
3111
+ $('.book_url').attr('href', url);
3112
+ $("#pop_msg_resticted").html($("#pop_msg_resticted_" + time).html());
3113
+ $('#exampleModalCenter').modal('show');
3114
+ } else if ($("#pop_up_" + time).length != 0) {
3115
+ $('#ticket_url').val(url);
3116
+ $("#pop_msg").html($("#pop_up_" + time).html());
3117
+ $('#exampleModalCenter1').modal('show');
3118
+ } else {
3119
+ window.location.assign(url);
3120
+ }
3121
+ } else {
3122
+
3123
+ if (cinema_id == '') {
3124
+
3125
+ cinema_id = '000';
3126
+ }
3127
+ if (ori_cinema_id == "" && movie_id != "" && date != '') {
3128
+ var redirect_url = "https://www.picturehouses.com/movie-details/" + cinema_id + "/" + movie_id + "/" + movie_name +
3129
+ "?date=" + date;
3130
+ window.location.assign(redirect_url);
3131
+ } else if (cinema_id != "" && movie_id != '' && date != '') {
3132
+ var redirect_url = "https://www.picturehouses.com/movie-details/" + cinema_id + "/" + movie_id + "/" + movie_name +
3133
+ "?date=" + date;
3134
+ window.location.assign(redirect_url);
3135
+ } else if (cinema_id != "" && movie_id != '') {
3136
+ var redirect_url = "https://www.picturehouses.com/movie-details/" + cinema_id + "/" + movie_id + "/" + movie_name;
3137
+ window.location.assign(redirect_url);
3138
+ } else if (cinema_id != "" && date != '') {
3139
+ var redirect_url = "https://www.picturehouses.com/cinema/" + cinema_id + "?date=" + date;
3140
+ window.location.assign(redirect_url);
3141
+ } else if (cinema_id != "" && movie_id != '' && date != '') {
3142
+ var redirect_url = "https://www.picturehouses.com/movie-details/" + cinema_id + "/" + movie_id + "/" + movie_name;
3143
+ window.location.assign(redirect_url);
3144
+ } else if (cinema_id != "") {
3145
+ var redirect_url = "https://www.picturehouses.com/cinema/" + CINEMA_LIST_SLUG[cinema_id];
3146
+ window.location.assign(redirect_url);
3147
+ } else {
3148
+ return false;
3149
+ }
3150
+ }
3151
+ return false;
3152
+ }
3153
+
3154
+ /**
3155
+ * Load Cinema List
3156
+ */
3157
+ function cinamaList(e, from) {
3158
+
3159
+ var city = $(e).val();
3160
+ var address = '';
3161
+ $.ajax({
3162
+ url: "https://www.picturehouses.com/ajax-cinema-list",
3163
+ type: "POST",
3164
+ data: {
3165
+ _token: "yqkjKtqO79ayoZWetEmaH5OykjfiaKSoSIYVgijS",
3166
+
3167
+ },
3168
+ cache: false,
3169
+ success: function(data) {
3170
+ data = JSON.parse(data);
3171
+ //var cinemaArr = [];
3172
+ if (data.status == "success") {
3173
+ CINEMA_LIST = data.cinemaloc;
3174
+
3175
+ for (i = 0; i < data.cinema_list.length; i++) {
3176
+ CINEMA_LIST_SLUG[data.cinema_list[i].cinema_id] = data.cinema_list[i].slug;
3177
+ }
3178
+
3179
+ var html = '<option value=""></option>';
3180
+ var cinemaListItems = "";
3181
+ var selectedCinema = $('#cinema_id'+from).val();
3182
+ $.each(data.cinemaloc, function(idx, obj) {
3183
+
3184
+ html = html + '<option value="' + idx + '">' +obj +'</option>';
3185
+ //cinemaArr.push(obj);
3186
+ if(selectedCinema == idx) {
3187
+ selected = "checked";
3188
+ } else {
3189
+ selected = "";
3190
+ }
3191
+
3192
+ cinemaListItems = cinemaListItems +
3193
+ '<label class="custom_radio_btn cinema_radio_btn" onclick="selectCinema(this,4);">'
3194
+ + obj +
3195
+ '<input type="radio" name="radio" '+selected+' value="' + idx + '">'
3196
+ +'<span class="checkmark"></span>'
3197
+ +'</label>';
3198
+ });
3199
+ cinemaListItems = '<input type="text" class="searchCinemas" id="searchCinemas" onkeyup="cinemaListSearchBookTkt()" placeholder="Search..."/>'+cinemaListItems;
3200
+ $('#cinemaDropDownList').html(cinemaListItems);
3201
+
3202
+ $(".cinema_id").html(html);
3203
+ $(".select_cinema_id_quick").html(html);
3204
+
3205
+ if (window.matchMedia('screen and (max-width: 768px)').matches) {
3206
+ $(".select2-cinema-list").select2({
3207
+ placeholder: "CINEMAS",
3208
+ allowClear: true,
3209
+ shouldFocusInput: function() {
3210
+ return false;
3211
+ }
3212
+ });
3213
+ } else {
3214
+ $(".select2-cinema-list").select2({
3215
+ placeholder: "CINEMAS",
3216
+ allowClear: true,
3217
+ });
3218
+ }
3219
+
3220
+ //console.log(cinemaArr,'-------')
3221
+ /* $("#cinema_id1").select2({
3222
+ placeholder: "CINEMAS",
3223
+ data: cinemaArr
3224
+ });*/
3225
+ }
3226
+ }
3227
+ });
3228
+ }
3229
+
3230
+ // function cinamaCityList() {
3231
+
3232
+
3233
+ // $.ajax({
3234
+ // url: "{route("ajaxCinemaCityList") }}",
3235
+ // type: "POST",
3236
+ // data: {
3237
+ // _token:"{csrf_token()}}"
3238
+ // },
3239
+ // cache: false,
3240
+ // success: function (data) {
3241
+
3242
+ // if(data) {
3243
+ // var html = '<option value=""></option>';
3244
+ // $.each(data, function(idx, obj) {
3245
+
3246
+ // html = html + '<option value="' + obj.address2 + '">'
3247
+ // + obj.address2
3248
+ // + '</option>';
3249
+ // });
3250
+
3251
+ // $(".select_cinema_city").html(html);
3252
+ // $(".select_cinema_city_quick").html(html);
3253
+ // $(".select2-cinema-city-list").select2({
3254
+ // placeholder: "Choose Cinema City",
3255
+ // allowClear: true
3256
+ // });
3257
+ // }
3258
+ // }
3259
+ // });
3260
+ // }
3261
+
3262
+ // $('#loaderModal').modal({
3263
+ // backdrop: 'static',
3264
+ // keyboard: false
3265
+ // });
3266
+ // $('#loaderModal').modal('hide');
3267
+
3268
+ // $('#videoPop_box').modal({
3269
+ // backdrop: 'static',
3270
+ // keyboard: false
3271
+ // });
3272
+ // $('#videoPop_box').modal('hide');
3273
+
3274
+ // $('#videoPop_box .close').click(function(){
3275
+ // $('#trailer_ifream').prop('src', '');
3276
+ // });
3277
+
3278
+ function trailerUrl(url, movieId) {
3279
+ id = getId(url);
3280
+ movieId = movieId != false ? movieId.toUpperCase() : movieId;
3281
+ if (id != 'error') {
3282
+ youtube_url = 'https://www.youtube-nocookie.com/embed/' + id;
3283
+ $('#trailer_ifream').prop('src', youtube_url);
3284
+ $('#videoPop_box').modal('show');
3285
+ if (movieId != false)
3286
+ mt('send', 'TrackMovieTrailer', {
3287
+ 'movieId': movieId,
3288
+ 'viewDateTime': new Date()
3289
+ });
3290
+ }
3291
+
3292
+
3293
+ }
3294
+
3295
+ function getId(url) {
3296
+
3297
+ var regExp = /^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/;
3298
+ var match = url.match(regExp);
3299
+
3300
+ if (match && match[2].length == 11) {
3301
+ return match[2];
3302
+ } else {
3303
+ return 'error';
3304
+ }
3305
+ }
3306
+
3307
+ // $("img").error(function () {
3308
+ // $(this).unbind("error").attr("src", "https://www.picturehouses.com/themes/icon-no-image.svg");
3309
+ // });
3310
+
3311
+ function get24hTime(str) {
3312
+
3313
+ str = String(str).toLowerCase().replace(/\s/g, '');
3314
+ var has_am = str.indexOf('am') >= 0;
3315
+ var has_pm = str.indexOf('pm') >= 0;
3316
+ // first strip off the am/pm, leave it either hour or hour:minute
3317
+ str = str.replace('am', '').replace('pm', '');
3318
+ // if hour, convert to hour:00
3319
+ if (str.indexOf(':') < 0) str = str + ':00';
3320
+ // now it's hour:minute
3321
+ // we add am/pm back if striped out before
3322
+ if (has_am) str += ' am';
3323
+ if (has_pm) str += ' pm';
3324
+ // now its either hour:minute, or hour:minute am/pm
3325
+ // put it in a date object, it will convert to 24 hours format for us
3326
+ var da = new Date();
3327
+ var strDate = da.getFullYear() + "/" + (da.getMonth() + 1) + "/" + da.getDate();
3328
+ var d = new Date("10/31/2025" + str);
3329
+ //console.log(strDate);
3330
+
3331
+ // make hours and minutes double digits
3332
+ var doubleDigits = function(n) {
3333
+ return (parseInt(n) < 10) ? "0" + n : String(n);
3334
+ };
3335
+ return doubleDigits(d.getHours()) + ':' + doubleDigits(d.getMinutes());
3336
+ }
3337
+
3338
+ // $('body').click(function(){
3339
+ // $('.navbar-toggler').addClass('collapsed');
3340
+ // $('.navbar-collapse').removeClass('show');
3341
+
3342
+ // });
3343
+ // $(document).ready(function () {
3344
+ // $(".navbar-toggler").click(function(event) {
3345
+ // $(".navbar-collapse").collapse('hide');
3346
+ // });
3347
+ // });
3348
+ // $(window).scroll(function() {
3349
+
3350
+ // if ($(this).scrollTop()>0)
3351
+ // {
3352
+ // $('.navbar-toggler').addClass('collapsed');
3353
+ // $('.navbar-collapse').removeClass('show');
3354
+ // $('.quickbkdrop ').removeClass('active');
3355
+ // $('.quickBookDropdown').hide();
3356
+ // }
3357
+
3358
+ // });
3359
+
3360
+ function watchlisthome() {
3361
+ $('#watchlist_popup').modal('show'); setMovieCookie('watchlist')
3362
+
3363
+ return false;
3364
+ }
3365
+
3366
+ $('.watchlist_signin_btn').click(function() {
3367
+ setCookie();
3368
+ });
3369
+
3370
+ function setCookie(flag) {
3371
+
3372
+ var url = window.location.href;
3373
+ var exdays = 2;
3374
+ var cookieName = "current_url";
3375
+ var d = new Date();
3376
+ d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
3377
+ var expires = "expires=" + d.toUTCString();
3378
+ document.cookie = cookieName + "=" + url + ";" + expires + ";path=/";
3379
+ if (flag == 1)
3380
+ deleteMovieCookie();
3381
+ }
3382
+
3383
+ function setMovieCookie(movie_details) {
3384
+ var exdays = 1;
3385
+ var cookieName = "watchlist_movie";
3386
+ var d = new Date();
3387
+ d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
3388
+ var expires = "expires=" + d.toUTCString();
3389
+ document.cookie = cookieName + "=" + movie_details + ";" + expires + ";path=/";
3390
+ }
3391
+
3392
+ function deleteMovieCookie() {
3393
+ movie_details = '';
3394
+ var exdays = 1;
3395
+ var cookieName = "watchlist_movie";
3396
+ var d = new Date();
3397
+ d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
3398
+ var expires = "expires=" + d.toUTCString();
3399
+ document.cookie = cookieName + "=" + movie_details + ";" + expires + ";path=/";
3400
+ }
3401
+
3402
+ function checkMember() {
3403
+ for ( var i = 0; i < intervals.length; ++i ) {
3404
+ clearInterval(intervals[i]);
3405
+ if(i == intervals.length - 1) {
3406
+ intervals = [];
3407
+ }
3408
+ }
3409
+
3410
+ var member_id = $('.member_id').val();
3411
+ if (member_id == '') {
3412
+ notifyError('error', 'Error', 'Required member id');
3413
+ return false;
3414
+ } else {
3415
+ $('#loaderModal').modal('show');
3416
+ $.ajax({
3417
+ url: "https://www.picturehouses.com/api/validate-member",
3418
+ type: "POST",
3419
+ beforeSend: function(xhr) {
3420
+ var token = "eyJpdiI6IkpZQ2UycDNDcHpwaVowczEwR3Yranc9PSIsInZhbHVlIjoiRjRGWExCRnhhaHI0MTFncitRMXk1RFJ0MC91a1BIa0svVEtqbVJXNEo5elFRZk1vYUZSZE5rbDFuR0JuUmFCa3I4RkVCMEl2OVBBNkNFZEV3OFJQQ3c9PSIsIm1hYyI6ImJlMzc3YTMwMzVkYjYxNjcyM2Q0NTEyMDNlYjZmZGE2ZmQwMTk3YmUwMzJhZTA3NzI1MzE3NmMyOTU0NzQwNzQiLCJ0YWciOiIifQ==";
3421
+ if (token) {
3422
+ return xhr.setRequestHeader('X-XSRF-TOKEN', token);
3423
+ }
3424
+ },
3425
+ data: {
3426
+ member_id: member_id,
3427
+ device_id: "2131085012",
3428
+ card_number: true,
3429
+ user_session_id: "1761912296"
3430
+ },
3431
+ cache: false,
3432
+ success: function(data) {
3433
+ if (data.response == 'success') {
3434
+ window.location.assign($("#ticket_url").val());
3435
+ } else {
3436
+ notifyError('error', 'Error', data.message);
3437
+ }
3438
+ $('#loaderModal').modal('hide');
3439
+ }
3440
+ });
3441
+ }
3442
+ }
3443
+
3444
+ function cleanURLMaker(val) {
3445
+ val = val.replace(/\W/g, '-');
3446
+ val = "-" + val + "-"; // Add dash at start and end
3447
+ val = val.replace(/-+/g, '-');
3448
+ val = val.substr(1).slice(0, -1); // Remove first and last character - to removes dash
3449
+
3450
+ return val.toLowerCase();
3451
+ }
3452
+
3453
+ $(function() {
3454
+ if (window.matchMedia('screen and (max-width: 768px)').matches) {
3455
+ $('.carousel').carousel({
3456
+ interval: 5000,
3457
+ });
3458
+ }
3459
+ //$('.mobileBooking div').find('#cinema_id1').on({ 'touchstart' : function(){ });
3460
+
3461
+ $(".mobileBooking").find('.mobile_select').on('select2-opening', function() {
3462
+ $('.select2-search input').prop('focus', false);
3463
+ $("#carouselExampleIndicators").carousel('pause');
3464
+
3465
+ // $('html, body').animate({
3466
+ // scrollTop: $(".filmEvent").offset().top
3467
+ // }, 500);
3468
+ // $("#cinema_id1").blur()
3469
+ });
3470
+
3471
+ $(".mobileBooking").find('.mobile_select').on('select2-close', function() {
3472
+ $('body input').prop('focus', false);
3473
+ $("#carouselExampleIndicators").carousel('cycle');
3474
+
3475
+ $('html, body').animate({
3476
+ //scrollTop: $(".filmEvent").offset().top
3477
+ }, 600);
3478
+ // $("#cinema_id1").blur()
3479
+ });
3480
+ });
3481
+
3482
+ var ACTIVE_FILTERS = [];
3483
+ </script>
3484
+
3485
+ <script src="https://www.picturehouses.com/themes/html/js/jquery.pano.js"></script>
3486
+
3487
+
3488
+ <script>
3489
+ $(document).ready(function() {
3490
+ $(window).bind('scroll', function() {
3491
+ var navHeight = $(window).height() - 70;
3492
+ if ($(window).scrollTop() <= navHeight) {
3493
+ // $('.scrollMenu_bar').addClass('fixed');
3494
+ // } else {
3495
+ // $('.scrollMenu_bar').removeClass('fixed');
3496
+ $('.relesed_cinemas').removeClass('mystyle');
3497
+ }
3498
+ });
3499
+
3500
+ });
3501
+
3502
+
3503
+ var link = window.location + '';
3504
+ var data = link.split("#");
3505
+
3506
+
3507
+ // $(document).ready(function(){
3508
+ if (typeof data[1] !== "undefined") {
3509
+ $('#' + data[1]).addClass("mystyle");
3510
+ // $('#container').stop().animate({
3511
+ // scrollTop: $('#'+data[1]).offset().top
3512
+ // }, 600, function() {
3513
+ // location.hash = target; //attach the hash (#jumptarget) to the pageurl
3514
+ // });
3515
+ //
3516
+ // return false;
3517
+ //// var divLoc = $('#'+data[1]).offset();
3518
+ //// $('html, body').animate({scrollTop: divLoc.top}, "slow");
3519
+ }
3520
+ // });
3521
+ </script>
3522
+
3523
+
3524
+
3525
+ <script>
3526
+ $(document).ready(function() {
3527
+ $("img").error(function() {
3528
+ $(this).unbind("error").attr("src", "https://www.picturehouses.com/themes/icon-no-image.svg");
3529
+ });
3530
+ $(document).on('change', '.filter-switch input:checkbox', function() {
3531
+ if($(this).hasClass("active")) {
3532
+ console.log($(this).val());
3533
+ $(this).removeClass("active");
3534
+ }
3535
+ else {
3536
+ $(this).addClass("active");
3537
+ }
3538
+ });
3539
+ });
3540
+
3541
+ $('.showAllDates-switch input:checkbox').change(function() {
3542
+ if($(this).is(":checked")) {
3543
+ $(this).addClass("active");
3544
+ } else {
3545
+ $(this).removeClass("active");
3546
+ }
3547
+ });
3548
+
3549
+ function filterModalOpen() {
3550
+ $('.filter-switch input:checkbox').each(function () {
3551
+ $(this).removeClass("active");
3552
+
3553
+ if($(this).attr("name") == 'filter_item' && ACTIVE_FILTERS.includes($(this).val())) {
3554
+ $(this).addClass("active");
3555
+ }
3556
+ });
3557
+ $('#filterModal').modal('show');
3558
+ }
3559
+
3560
+
3561
+ function checkShowNotFound(){
3562
+ if($('.movie_deatils_list').is(":visible")) {
3563
+ $("#movie_list_not_found").hide();
3564
+ $("#movie_list").show();
3565
+ }else{
3566
+ $("#movie_list").hide();
3567
+ $("#movie_list_not_found").show();
3568
+ }
3569
+ }
3570
+
3571
+ function hideNoFilmDates(){
3572
+ $("#show_all_date_list").children(".show_all_dates_class").each(function () {
3573
+ if($(this).find(".date_list").is(":visible") && !$(this).children(".cinemaList_box").is(":visible")) {
3574
+ $(this).find(".date_list").addClass('d-none');
3575
+ }
3576
+ });
3577
+ checkShowNotFound();
3578
+ }
3579
+
3580
+ function filterMovies(reset = true, filters = false) {
3581
+ $("#movie_list_not_found").hide();
3582
+ var url_data = "";
3583
+ var filter_data = "";
3584
+ var i = 1;
3585
+ ACTIVE_FILTERS = [];
3586
+ if(reset){
3587
+ $('.movie_deatils_list').addClass('d-none');
3588
+ $('.time_list').addClass('d-none');
3589
+ }
3590
+ var mov_filter = $('#select_movie_list').val();
3591
+ var mov_filter_active = true;
3592
+ if(mov_filter == undefined || mov_filter == '') {
3593
+ mov_filter_active = false;
3594
+ }
3595
+ var selected_filters = $('.filter-switch input:checkbox');
3596
+ /*if(filters != false) {
3597
+ filter_data = filters.toLowerCase().replace(/[^a-z0-9-_]/g, ' ').trim().replace(
3598
+ / +/g, '_');
3599
+ ACTIVE_FILTERS.push(filters);
3600
+
3601
+ if(mov_filter_active == false || mov_filter == 'all') {
3602
+ $('.' + filter_data).removeClass('d-none');
3603
+ } else {
3604
+ $('.' + mov_filter + '.'+filter_data).removeClass('d-none');
3605
+ $('.' + mov_filter + '.'+filter_data + ' .'+filter_data+'.movie_deatils_list').removeClass('d-none');
3606
+ }
3607
+ }*/
3608
+ selected_filters.each(function () {
3609
+ if (this.checked) {
3610
+ $(this).addClass("active");
3611
+ filter_data = $(this).val().toLowerCase().replace(/[^a-z0-9-_]/g, ' ').trim().replace(
3612
+ / +/g, '_');
3613
+
3614
+ ACTIVE_FILTERS.push($(this).val());
3615
+
3616
+ if(mov_filter_active == false || mov_filter == 'all') {
3617
+ $('.' + filter_data).removeClass('d-none');
3618
+ } else {
3619
+ $('.' + mov_filter + '.'+filter_data).removeClass('d-none');
3620
+ $('.' + mov_filter + '.'+filter_data + ' .'+filter_data+'.movie_deatils_list').removeClass('d-none');
3621
+ }
3622
+
3623
+ if (i != 1) {
3624
+ url_data += ','
3625
+ }
3626
+ url_data += filter_data;
3627
+ i++;
3628
+ }
3629
+ });
3630
+
3631
+
3632
+ if (filter_data == ''){
3633
+ if(mov_filter_active == true) {
3634
+ if (mov_filter !== 'all') {
3635
+ $('.' + mov_filter).removeClass('d-none');
3636
+ $('.' + mov_filter + ' .movie_deatils_list').removeClass('d-none');
3637
+ }else{
3638
+ $('.movie_deatils_list').removeClass('d-none');
3639
+ $('.time_list').removeClass('d-none');
3640
+ }
3641
+ } else {
3642
+ $('.movie_deatils_list').removeClass('d-none');
3643
+ $('.time_list').removeClass('d-none');
3644
+ }
3645
+ }
3646
+ hideNoFilmDates();
3647
+
3648
+ window.history.replaceState(null, null, "?filter=" + url_data);
3649
+
3650
+ $('#filterModal').modal('hide')
3651
+ }
3652
+
3653
+ $('#searchCinema_modal').on('hidden.bs.modal', function () {
3654
+ $('#mobile_search').val('');
3655
+ });
3656
+ </script>
3657
+
3658
+ <script>
3659
+ function loadYT(el){
3660
+ const iframe = document.createElement('iframe');
3661
+ iframe.setAttribute('title','YouTube Video');
3662
+ iframe.setAttribute('allow','accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share');
3663
+ iframe.setAttribute('allowfullscreen','');
3664
+ iframe.setAttribute('referrerpolicy','strict-origin-when-cross-origin');
3665
+ iframe.src = el.dataset.src; // youtube-nocookie domain
3666
+ el.replaceWith(iframe);
3667
+ }
3668
+
3669
+ // OneTrust example: run when Marketing is granted
3670
+ function onConsentReady(){
3671
+ const ok = (typeof OneTrust !== 'undefined')
3672
+ ? OneTrust.IsConsentGiven('C0004') // your Marketing category ID in OneTrust
3673
+ : false;
3674
+
3675
+ if(ok){
3676
+ document.querySelectorAll('.yt-consent').forEach(loadYT);
3677
+ }
3678
+ }
3679
+ if(window.OptanonWrapper){ OptanonWrapper = (function(orig){ return function(){ orig&&orig(); onConsentReady(); }; })(window.OptanonWrapper); } else { window.OptanonWrapper = onConsentReady; }
3680
+ // Optional “click to load after consent” button
3681
+ document.addEventListener('click', e=>{
3682
+ if(e.target.closest('.yt-load')){
3683
+ // If you use Google Consent Mode, check ad/personalization consent here before loading
3684
+ loadYT(e.target.closest('.yt-consent'));
3685
+ }
3686
+ });
3687
+ </script>
3688
+ </body>
3689
+
3690
+ </html>