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