picturehouse_uk 3.0.14 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +6 -3
  3. data/CHANGELOG.md +19 -0
  4. data/{LICENSE.txt → COMM-LICENSE} +0 -0
  5. data/LICENSE +617 -0
  6. data/README.md +5 -4
  7. data/Rakefile +12 -0
  8. data/lib/picturehouse_uk.rb +2 -4
  9. data/lib/picturehouse_uk/cinema.rb +133 -124
  10. data/lib/picturehouse_uk/internal/parser/address.rb +20 -8
  11. data/lib/picturehouse_uk/internal/parser/screenings.rb +70 -28
  12. data/lib/picturehouse_uk/internal/title_sanitizer.rb +61 -65
  13. data/lib/picturehouse_uk/performance.rb +60 -0
  14. data/lib/picturehouse_uk/version.rb +2 -2
  15. data/picturehouse_uk.gemspec +5 -6
  16. data/rake/fixture_creator.rb +42 -0
  17. data/test/fixtures/Duke_Of_Yorks/cinema.html +3408 -0
  18. data/test/fixtures/{info/Duke_Of_Yorks.html → Duke_Of_Yorks/info.html} +192 -185
  19. data/test/fixtures/Duke_Of_Yorks/whats_on.html +3159 -0
  20. data/test/fixtures/Dukes_At_Komedia/cinema.html +4764 -0
  21. data/test/fixtures/{info/Dukes_At_Komedia.html → Dukes_At_Komedia/info.html} +161 -172
  22. data/test/fixtures/Dukes_At_Komedia/whats_on.html +4429 -0
  23. data/test/fixtures/National_Media_Museum/cinema.html +9200 -0
  24. data/test/fixtures/National_Media_Museum/info.html +606 -0
  25. data/test/fixtures/National_Media_Museum/whats_on.html +8850 -0
  26. data/test/fixtures/Phoenix_Picturehouse/cinema.html +8274 -0
  27. data/test/fixtures/{info/Phoenix_Picturehouse.html → Phoenix_Picturehouse/info.html} +165 -176
  28. data/test/fixtures/Phoenix_Picturehouse/whats_on.html +7986 -0
  29. data/test/fixtures/home.html +148 -157
  30. data/test/lib/picturehouse_uk/cinema_test.rb +107 -136
  31. data/test/lib/picturehouse_uk/internal/parser/{address_parser_test.rb → address_test.rb} +3 -3
  32. data/test/lib/picturehouse_uk/internal/parser/screenings_test.rb +8 -10
  33. data/test/lib/picturehouse_uk/internal/website_test.rb +6 -3
  34. data/test/lib/picturehouse_uk/{screening_test.rb → performance_test.rb} +20 -44
  35. data/test/live/integration_test.rb +8 -25
  36. data/test/support/fake_website.rb +24 -0
  37. data/test/test_helper.rb +12 -2
  38. metadata +50 -49
  39. data/.rdoc_options +0 -16
  40. data/lib/picturehouse_uk/film.rb +0 -59
  41. data/lib/picturehouse_uk/screening.rb +0 -70
  42. data/test/fixture_updater.rb +0 -73
  43. data/test/fixtures/cinema/Duke_Of_Yorks.html +0 -2984
  44. data/test/fixtures/cinema/Dukes_At_Komedia.html +0 -5518
  45. data/test/fixtures/cinema/National_Media_Museum.html +0 -10266
  46. data/test/fixtures/cinema/Phoenix_Picturehouse.html +0 -5202
  47. data/test/fixtures/whats_on/Duke_Of_Yorks.html +0 -2737
  48. data/test/fixtures/whats_on/Dukes_At_Komedia.html +0 -5132
  49. data/test/fixtures/whats_on/National_Media_Museum.html +0 -9690
  50. data/test/fixtures/whats_on/Phoenix_Picturehouse.html +0 -4916
  51. data/test/lib/picturehouse_uk/film_test.rb +0 -141
@@ -6,10 +6,9 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
  <meta name="description" content="Picturehouse Cinemas are located in city centres and are architecturally unique venues that provide café bars, restaurants and live events alongside the traditional movie-going experience.">
8
8
  <title>Picturehouses - Cinema information for Phoenix Picturehouse</title>
9
- <link href="/css/picturehouse.min.css?v=1.3.5" rel="stylesheet">
10
- <link type="image/x-icon" href="/images/icons/favicon.gif" rel="shortcut icon"/>
11
- <link type="image/x-icon" href="/images/icons/favicon.gif" rel="icon"/>
9
+ <link href="/css/picturehouse.min.css?v=1.7.8" rel="stylesheet">
12
10
  <!--[if lt IE 9]>
11
+ <script src="https://cdn.polyfill.io/v1/polyfill.min.js?features=default|always"></script>
13
12
  <script src="/js/vendor/html5shiv.min.js"></script>
14
13
  <script src="/js/vendor/respond.min.js"></script>
15
14
  <![endif]-->
@@ -46,7 +45,7 @@
46
45
  <script>document.getElementsByTagName("body")[0].className += " js-enabled";</script>
47
46
  <a href="#main" class="sr-only">Skip to main content</a>
48
47
 
49
- <div class="interim-banner container-fluid">
48
+ <div class="interim-banner container-fluid hidden-print">
50
49
  <div class="container">
51
50
  <form method="post" action="/dismiss/cookies">
52
51
  <button type="submit" class="pull-right close" aria-label="Close">
@@ -61,6 +60,12 @@
61
60
  <div class="component header">
62
61
  <div class="container navbar-global-offset hidden-xs">
63
62
  <div class="row">
63
+ <form class="form-inline pull-right top-mg-xs" role="form">
64
+ <div class="form-group">
65
+ <label class="sr-only" for="search-site">Search</label>
66
+ <input type="text" class="form-control form-control-sm search-site top-mg-xs" id="search-site" placeholder="Film search">
67
+ </div>
68
+ </form>
64
69
  <nav class="pull-right">
65
70
  <!--
66
71
  <ul class="list-inline list-icons pull-left hidden-sm">
@@ -68,8 +73,6 @@
68
73
  <li><a href="#" data-icon="}" class="icon"><span class="sr-only">Email us</span></a></li>
69
74
  </ul>-->
70
75
 
71
- <ul class="spaced-list pull-left hide">
72
- </ul>
73
76
 
74
77
  <ul class="list-inline list-icons pull-left hidden-sm left-mg">
75
78
  <li><a href="https://www.facebook.com/PhoenixPicturehouse" data-icon="@" class="icon" target="_blank"><span class="sr-only">Picturehouse on Facebook</span></a></li>
@@ -83,8 +86,8 @@
83
86
  <li><a href="/">Home</a></li>
84
87
  <li><a href="/cinemas/">Cinemas</a></li>
85
88
  <li><a href="/Picturehouse_Recommends">Recommends</a></li>
86
- <li><a href="http://picturehouseblog.co.uk/" target="_blank">Picturehouse Blog</a></li>
87
- <li><a href="http://corporate.picturehouses.co.uk/" target="_blank">Corporate</a></li>
89
+ <li><a href="http://picturehouseblog.co.uk/" target="_blank">Blog</a></li>
90
+ <li><a href="http://www.picturehouseeducation.blogspot.co.uk/#!http://picturehouseeducation.blogspot.com/p/about-us.html" target="_blank">Education</a></li>
88
91
  <li><a href="http://www.picturehouseentertainment.co.uk/" target="_blank">Picturehouse Entertainment</a></li>
89
92
  </ul>
90
93
  </nav>
@@ -109,28 +112,18 @@
109
112
  </div>
110
113
  <nav id="burger-menu" class="collapse clear">
111
114
  <ul class="nav nav-pills nav-stacked">
112
- <li class="nav-dark">
113
- <div class="navbar-inverse">
114
- <form class="form-inline text-right" role="form">
115
- <div class="form-group">
116
- <label class="sr-only" for="searchSiteMobile">Search</label>
117
- <input type="text" class="form-control form-control-sm" id="searchSiteMobile" placeholder="Search">
118
- </div>
119
- <button data-icon='"' class="icon icon-inverse btn-link"></button>
120
- </form>
121
- </div>
122
- </li>
123
- <li><a href="/cinema/Phoenix_Picturehouse">Cinema home</a></li>
115
+ <li><a href="/cinema/Phoenix_Picturehouse">Cinema Home</a></li>
124
116
  <li><a href="/cinema/Phoenix_Picturehouse/Whats_On">Full listings</a></li>
125
- <li><a href="/cinema/info/Phoenix_Picturehouse#membership">Membership</a></li>
126
- <li><a href="/cinema/info/Phoenix_Picturehouse#ticket-prices">Ticket prices</a></li>
127
- <li><a href="/cinema/info/Phoenix_Picturehouse#access">Access</a></li>
128
- <li><a href="/cinema/info/Phoenix_Picturehouse">Cinema information</a></li>
117
+ <li><a href="/cinema/Phoenix_Picturehouse/buy-membership">Membership</a></li>
118
+ <li><a href="/cinema/info/Phoenix_Picturehouse#ticket-prices">Ticket Prices</a></li>
119
+ <li><a href="/cinema/info/Phoenix_Picturehouse#disabled-access">Access</a></li>
120
+ <li><a href="/cinema/info/Phoenix_Picturehouse">Cinema Information</a></li>
129
121
  <li class="nav-darker"><a href="/">Home</a></li>
130
122
  <li class="nav-darker"><a href="/cinemas">Cinemas</a></li>
131
- <li class="nav-darker"><a href="/Picturehouse_Membership">Membership</a></li>
132
- <li class="nav-darker"><a href="http://corporate.picturehouses.co.uk/">Picturehouse Corporate</a></li>
133
- <li class="nav-darker"><a href="http://www.picturehouseentertainment.co.uk/">Picturehouse Entertainment</a></li>
123
+ <li class="nav-darker"><a href="/Picturehouse_Recommends">Recommends</a></li>
124
+ <li class="nav-darker"><a href="http://picturehouseblog.co.uk/" target="_blank">Blog</a></li>
125
+ <li class="nav-darker"><a href="http://www.picturehouseeducation.blogspot.co.uk/#!http://picturehouseeducation.blogspot.com/p/about-us.html" target="_blank">Education</a></li>
126
+ <li class="nav-darker"><a href="http://www.picturehouseentertainment.co.uk/" target="_blank">Picturehouse Entertainment</a></li>
134
127
  </ul>
135
128
  </nav>
136
129
  </div>
@@ -142,16 +135,14 @@
142
135
  <div class="row">
143
136
  <nav class="pull-left">
144
137
  <ul class="spaced-list spaced-list-inverse">
145
- <li><a href="/cinema/Phoenix_Picturehouse">Cinema home</a></li>
146
- <li><a href="/cinema/Phoenix_Picturehouse/Whats_On">Full listings</a></li>
147
- <li><a href="/cinema/info/Phoenix_Picturehouse#membership">Membership</a></li>
138
+ <li><a href="/cinema/Phoenix_Picturehouse">Cinema Home</a></li>
139
+ <li><a href="/cinema/Phoenix_Picturehouse/Whats_On">Full listings</a></li>
148
140
 
141
+ <li><a href="/cinema/Phoenix_Picturehouse/buy-membership">Membership</a></li>
149
142
 
150
- <li><a href="/cinema/info/Phoenix_Picturehouse#ticket-prices">Ticket prices</a></li>
151
- <li><a href="/cinema/info/Phoenix_Picturehouse#disabled-access">Access</a></li>
152
-
153
- <li><a href="/cinema/info/Phoenix_Picturehouse">Cinema information</a></li>
154
-
143
+ <li><a href="/cinema/info/Phoenix_Picturehouse#ticket-prices">Ticket Prices</a></li>
144
+ <li><a href="/cinema/info/Phoenix_Picturehouse#disabled-access">Access</a></li>
145
+ <li><a href="/cinema/info/Phoenix_Picturehouse">Cinema Information</a></li>
155
146
  </ul>
156
147
  </nav>
157
148
  </div>
@@ -179,7 +170,7 @@
179
170
  <h1 id="phoenix-picturehouse">Phoenix Picturehouse</h1>
180
171
  <h2 id="contact-us">Contact Us</h2>
181
172
  <p>Phoenix Picturehouse, Oxford<br>57 Walton Street<br>Oxford<br>OX2 6AE</p>
182
- <p>Box Office Number: 0871 902 5736<br>Email: <a href="mailto:phoenix@picturehouses.co.uk">phoenix@picturehouses.co.uk</a><br>General Manager: Martin Langley</p>
173
+ <p>Box Office Number: 0871 902 5736 (calls cost 13p per minute plus your telephone company&#39;s access charge)<br>Email: <a href="mailto:phoenix@picturehouses.co.uk">phoenix@picturehouses.co.uk</a><br>General Manager: David Williams</p>
183
174
  <hr>
184
175
  <h2 id="location">Location</h2>
185
176
  <p>Phoenix Picturehouse is located in the heart of Oxford and is easily accessible by public transport.<br><strong>Address:</strong> 57 Walton Street, Oxford OX2 6AE</p>
@@ -193,7 +184,7 @@
193
184
  <p>Please note there is limited parking space in the area. For more information please visit the <a href="http://www.oxford.gov.uk/PageRender/decTS/Parking_occw.htm">Oxford City Council website</a></p>
194
185
  <hr>
195
186
  <h2 id="box-office">Box Office</h2>
196
- <p>The cinema will open at least 15 minutes before the start of the first film each day.<br>Our telephone lines are open 9.30am 8.30pm, seven days a week. Please call 0871 902 5736 (calls cost 10p a minute from a BT landline).<br>You can book tickets online by clicking on the time of a film.<br>Admission is subject to our <a href="/Terms">Terms of Admission</a>.</p>
187
+ <p>The cinema will open at least 15 minutes before the start of the first film each day.<br>Our telephone lines are open from 9.00am to 8.30pm, seven days a week. Please call 0871 902 5736 (calls cost 13p per minute plus your telephone company&#39;s access charge).<br>You can book tickets online by clicking on the time of a film.<br>Admission is subject to our <a href="/Terms">Terms of Admission</a>.</p>
197
188
  <hr>
198
189
  <h2 id="membership">Membership</h2>
199
190
  <p><strong>Individual</strong></p>
@@ -214,15 +205,14 @@
214
205
  <li>10% off the Member’s food and drinks</li>
215
206
  <li>Picturehouse publications posted to your home (worth £8) (not included in Student Membership)</li>
216
207
  <li>Discounts at all Picturehouse Cinemas nationwide</li>
217
- <li>One free Jameson, and 20% off Jameson all year round</li>
208
+ <li>Two free Jamesons on sign-up and 20% off Jameson all year round</li>
218
209
  <li>No booking fees</li>
219
210
  </ul>
220
211
  <h5 id="plus">Plus</h5>
221
212
  <ul>
222
- <li>Three months&#39; subscription to <a href="https://mubi.com/picturehouse_90">MUBI</a> to watch movies online for free.</li>
223
- <li>20% off your total bill at <a href="http://www.strada.co.uk/">Strada</a> (up to four people, offer excludes any alcohol discount)</li>
213
+ <li>A three month subscription to <a href="https://mubi.com/picturehouse_90">MUBI</a> to watch films online.</li>
224
214
  <li>25% off your total bill at <a href="http://www.gbk.co.uk/">Gourmet Burger Kitchen</a> (up to four people, excludes Bluewater)</li>
225
- <li>50% off membership of <a href="https://shootingpeople.org/home">Shooting People</a>, the network for independent film</li>
215
+ <li>50% off membership of <a href="https://shootingpeople.org/home">Shooting People</a>, the network for independent film (new sign ups only)</li>
226
216
  <li>10% off an annual subscription to <a href="http://www.littlewhitelies.co.uk/">Little White Lies</a> movie magazine</li>
227
217
  <li>10% off your total bill at <a href="http://www.hotelchocolat.co.uk/">Hotel Chocolat</a> (in store only)</li>
228
218
  <li>20% off food at <a href="http://www.giraffe.net/">Giraffe</a>, all day Monday – Friday and after 6.00 on Sunday (excludes Castleford, James Street London, King&#39;s Cross Station and airports; Valentine&#39;s Day, Mother&#39;s Day, Father&#39;s Day and Bank Holidays. One card per table. Not valid for set menus)</li>
@@ -230,17 +220,19 @@
230
220
  <p><strong>Retired Membership</strong><br>Available to those who are over 60 and retired. You must bring proof of status to the cinema.</p>
231
221
  <p><strong>Student Membership</strong><br>Available to those in full-time or part-time secondary or higher education (age 15+), including mature students. You must bring proof of status to the cinema. <a href="#student-membership">Find out more</a></p>
232
222
  <p>For full details, and to buy or renew your Membership, call 0871 902 5736 or visit your local Picturehouse.</p>
233
- <p><a href="/Terms/Terms_and_Conditions">Terms and Conditions</a></p>
223
+ <h2 id="-membership-helpline-picturehouse_membership-"><a href="/Picturehouse_Membership">Membership Helpline</a></h2>
224
+ <p>Members can call a dedicated helpline for anything concerning their Picturehouse Membership. Whether you want to find out when your Membership expires, check how many free tickets you have left or simply discuss your benefits and renewal options, we are here to help on <strong>020 7733 2229</strong>.</p>
225
+ <p><strong>Please note that while you can renew your Membership on this helpline, you cannot book tickets on this number</strong>. To book tickets, please call 0871 902 5747 (calls cost 13p per minute plus your telephone company’s access charge).</p>
226
+ <p><a href="/Terms/Terms_and_Conditions#membership">Terms and Conditions</a></p>
234
227
  <hr>
235
228
  <h2 id="local-partners">Local Partners</h2>
236
229
  <p>Your <strong>Phoenix Picturehouse</strong> Membership also entitles you to the following discounts and offers:</p>
237
- <p>20% off standard tickets (maximum two tickets per Member) at <a href="http://www.oxfordplayhouse.com/">Oxford Playhouse</a> – the very best in drama, dance, music and comedy<br>11-12 Beaumont Street, OX1 2LW</p>
238
- <p>20% off your bill, every day except Friday and Saturday at <a href="http://www.lochfyne.com/">Loch Fyne</a> – elegant fish and seafood restaurant<br>55 Walton Street, OX2 6AE</p>
239
- <p>10% off, every day of the week at <a href="http://www.gdcafe.com/website/index.php/Locations/LC/">G&amp;D’s</a> – Oxford’s own ice cream café<br>Little Clarendon Street, OX1 2HS</p>
230
+ <p>20% off standard tickets (maximum two tickets per Member) at <a href="http://www.oxfordplayhouse.com/">Oxford Playhouse</a> – the very best in drama, dance, music and comedy<br>Address: 11-12 Beaumont Street, OX1 2LW</p>
231
+ <p>20% off your bill, every day except Friday and Saturday at <a href="http://www.lochfyne.com/">Loch Fyne</a> – elegant fish and seafood restaurant<br>Address: 55 Walton Street, OX2 6AE</p>
240
232
  <p>£1 off any haircut at The Edge Barber
241
- 101a Walton Street, OX2 6EB</p>
242
- <p>10% off, every day of the week at <a href="http://www.manosfoodbar.com/">Manos Cafe and Delicatessen</a> – authentic Greek café<br>105 Walton Street, OX2 6EB</p>
243
- <p>15% off your bill at <a href="http://www.arzoooxford.com/">Arzoo</a> – Indian restaurant<br>107–108 Walton Street, OX2 6AJ</p>
233
+ Address: 101a Walton Street, OX2 6EB</p>
234
+ <p>10% off every day of the week at <a href="http://www.manosfoodbar.com/">Manos Cafe And Delicatessen</a> – authentic Greek café<br>105 Walton Street, OX2 6EB</p>
235
+ <p>15% off your bill at <a href="http://www.arzoooxford.com/">Arzoo</a> – Indian restaurant<br>Address: 107–108 Walton Street, OX2 6AJ</p>
244
236
  <p>Local business offers are subject to change.
245
237
  Please present your Membership card to take advantage of the offers.</p>
246
238
  <hr>
@@ -273,60 +265,61 @@ See the best in theatre, dance and opera for the measly sum of £10, and take a
273
265
  <p>Our <strong>Gift Cards</strong> can be used to buy anything for sale in any Picturehouse Cinema – whether it&#39;s a ticket or two for a cracking film, or a cup of coffee in one of our café bars. </p>
274
266
  <p><strong>They&#39;re simple, flexible and top-up-able!</strong></p>
275
267
  <p><strong>Using Gift Cards at the cinema</strong><br>You can use your Gift Card to purchase anything for sale. The exact amount will be taken off the card, and any money left over will remain on the card for another time. If there isn’t enough money on the card to cover your purchase, just pay by another method. There are no time limits on the card.</p>
276
- <p><strong>Using Gift Cards over the phone</strong><br>Simply quote your Gift Card number when making a purchase over the phone. We strongly advise you to set up a PIN.</p>
268
+ <p>Gift Cards can only be used at Box Office and cannot be used over the phone or online.</p>
277
269
  <hr>
278
270
  <h2 id="ticket-prices">Ticket Prices</h2>
279
- <p>Peak Prices (Tuesday to Friday from 5.00, all day Saturday, Sunday and Bank Holidays)</p>
271
+ <p><strong>Peak</strong><br>Tue-Fri from 5pm; all day Sat &amp; Sun</p>
280
272
  <ul>
281
- <li>Adult £10.00</li>
282
- <li>Member £8.00</li>
283
- <li>Retired £9.00</li>
284
- <li>Retired Member £7.00</li>
285
- <li>Student £9.00</li>
286
- <li>Student Member £7.00</li>
273
+ <li>Adult £10.50</li>
274
+ <li>Member £8.50</li>
275
+ <li>Retired £9.50</li>
276
+ <li>Retired Member £7.50</li>
277
+ <li>Student £9.50</li>
278
+ <li>Student Member £7.50</li>
287
279
  <li>Child £6.00</li>
288
- <li>Family of 4 £28.00</li>
280
+ <li>Family £28.00</li>
289
281
  </ul>
290
- <p>Matinees (Tuesday to Friday before 5.00)</p>
282
+ <p><strong>Matinees &amp; Late-night Shows</strong><br>Tue-Fri to 5pm</p>
291
283
  <ul>
292
- <li>Adult £9.00</li>
293
- <li>Member £7.00</li>
294
- <li>Retired £8.00</li>
295
- <li>Retired Member £6.00</li>
296
- <li>Student £8.00</li>
297
- <li>Student Member £6.00</li>
284
+ <li>Adult £9.50</li>
285
+ <li>Member £7.50</li>
286
+ <li>Retired £8.50</li>
287
+ <li>Retired Member £6.50</li>
288
+ <li>Student £8.50</li>
289
+ <li>Student Member £6.50</li>
298
290
  <li>Child £6.00</li>
299
- <li>Family of 4 £26.00</li>
291
+ <li>Family £26.00</li>
300
292
  </ul>
301
- <p>Mondays</p>
293
+ <p><strong>All day Monday</strong><br />
294
+ Except Bank Holidays</p>
302
295
  <ul>
303
- <li>Adult £8.00</li>
304
- <li>Member £6.00</li>
296
+ <li>Adult £7.00</li>
297
+ <li>Member £5.00</li>
305
298
  <li>Retired £7.00</li>
306
299
  <li>Retired Member £5.00</li>
307
300
  <li>Student £7.00</li>
308
301
  <li>Student Member £5.00</li>
309
- <li>Child £6.00</li>
310
- <li>Family of 4 £24.00</li>
302
+ <li>Child £5.00</li>
303
+ <li>Family £19.00</li>
311
304
  </ul>
312
305
  <h3 id="silver-screen-club">Silver Screen Club</h3>
313
- <p>For the over-60s. Membership is free, and members can enjoy a free tea or coffee and biscuits at the weekly Silver Screen shows. Silver Screen members’ tickets are £5 for Silver Screen shows. Non-members are also welcome – the usual ticket prices apply. </p>
314
- <h3 id="big-scream-club">Big Scream Club</h3>
315
- <p>For parents and guardians with babies under one year old. Membership is £5 and valid until the baby’s first birthday. Tickets are at the Picturehouse Members’ rate (see above), babies come free. Only customers with babies will be admitted.</p>
306
+ <p>For the over-60s. Membership is free, and members can enjoy a free tea or coffee and biscuits at the weekly Silver Screen shows. Silver Screen members’ tickets are £5.50 for Silver Screen shows. Non-members are also welcome – the usual ticket prices apply. </p>
307
+ <h3 id="big-scream">Big Scream</h3>
308
+ <p>For parents and guardians with babies under one year old. Membership is free and valid until the baby’s first birthday. Tickets are £7.50, babies come free. Only customers with babies will be admitted.</p>
316
309
  <h3 id="toddler-time">Toddler Time</h3>
317
- <p>For preschool children and their parents and guardians. Membership is free. Tickets for members are £3, free for accompanying adults. The usual ticket prices apply to non-members and their parents. No adult unaccompanied by a toddler will be admitted.</p>
310
+ <p>For preschool children and their parents and carers. Tickets are £3 for children, free for accompanying adults. No adult unaccompanied by a toddler will be admitted.</p>
318
311
  <h3 id="unemployed">Unemployed</h3>
319
- <p>Unemployed people can purchase a ticket at child ticket prices, Tuesday to Thursday before 4.00.</p>
312
+ <p>The unemployed can purchase a ticket at child ticket prices Tuesday to Thursday before 4.00pm.</p>
320
313
  <h3 id="kids-club">Kids&#39; Club</h3>
321
- <p>For children aged three to 12. Membership is £4 a year, including the first visit free. Tickets for members and accompanying adults are £1.50 each. Non-members and accompanying adults pay £4 each. No adult unaccompanied by a child will be admitted.</p>
314
+ <p>For children aged three to 12. Tickets for children and accompanying adults are £1.50 each. No adult unaccompanied by a child will be admitted.</p>
322
315
  <h3 id="autism-friendly-screenings">Autism-Friendly Screenings</h3>
323
- <p>All tickets for Autism-Friendly Screenings are £3.</p>
316
+ <p>All tickets for Autism-Friendly Screenings are £3.00</p>
324
317
  <h3 id="schools-screenings">Schools&#39; Screenings</h3>
325
318
  <p>Schools’ screenings are £3.50 per pupil, or £4 for premium films. Accompanying teachers come free.<br>To request information on our schools&#39; programme or to organise a trip, please contact <a href="http://cinemaplus.org.uk/schools-screenings-primary/">Cinema Plus</a>.</p>
326
319
  <h3 id="community-screenings">Community Screenings</h3>
327
320
  <p>£4 for all tickets.<br>To request a community group visit to a film in our main programme, please contact the Picturehouse Education department.</p>
328
321
  <h3 id="3d-screenings">3D Screenings</h3>
329
- <p>3D films cost £2 extra per person, including 3D glasses. If you bring your own glasses, please request a 70p refund at the cinema. </p>
322
+ <p>3D films cost £1.30 extra per person, not including 3D glasses. These cost an additional 70p, and can be purchased at the cinema if you do not have your own.</p>
330
323
  <p><strong>Student tickets</strong> are available to those in full-time secondary or higher education.</p>
331
324
  <p><strong>Retired tickets</strong> are available to those over 60 who are retired.</p>
332
325
  <p><strong>Child tickets</strong> are available to those under 15.</p>
@@ -366,27 +359,29 @@ See the best in theatre, dance and opera for the measly sum of £10, and take a
366
359
  <div class="container">
367
360
  <div class="row">
368
361
  <div class="col-xs-12 col-sm-9">
369
- <ul class="spaced-list">
362
+ <ul class="spaced-list btm-mg-sm">
370
363
  <li><a href="/Privacy" target="_blank">Privacy &amp; Data Protection</a></li>
371
- <li><a href="/Terms/Terms_And_Conditions" target="_blank">Terms &amp; Conditions</a></li>
364
+ <li><a href="/Terms/Terms_And_Conditions" target="_blank">Competition T&amp;Cs</a></li>
372
365
  <li><a href="/Terms" target="_blank">Terms of Admission</a></li>
373
366
  <li><a href="/Contact">Contact Us</a></li>
374
367
  <li><a href="/Contact#jobs" target="_blank">Jobs</a></li>
375
368
  <li><a href="/FAQs" target="_blank">FAQs</a></li>
376
- <li><a href="http://corporate.picturehouses.co.uk/venue-hire/" target="_blank">Venue hire</a></li>
369
+ <li><a href="http://corporate.picturehouses.co.uk/venue-hire/" target="_blank">Venue Hire</a></li>
370
+ <li><a href="http://corporate.picturehouses.co.uk/" target="_blank">Corporate</a></li>
377
371
  </ul>
378
372
  </div>
379
373
  <div class="col-xs-12 col-sm-3 pull-right">
380
374
  <select name="select-cinema" title="Select cinema" id="select-cinema" class="form-control btm-mg" data-auto-link="true">
381
375
  <option value="">Select a cinema</option>
382
376
  <option data-href="/cinema/Clapham_Picturehouse">London — Clapham Picturehouse</option>
377
+ <option data-href="/cinema/Crouch_End_Picturehouse">London — Crouch End Picturehouse</option>
383
378
  <option data-href="/cinema/East_Dulwich_Picturehouse">London — East Dulwich</option>
384
379
  <option data-href="/cinema/Gate_Picturehouse">London — Gate Picturehouse</option>
385
380
  <option data-href="/cinema/Greenwich_Picturehouse">London — Greenwich Picturehouse</option>
386
381
  <option data-href="/cinema/Hackney_Picturehouse">London — Hackney Picturehouse</option>
387
382
  <option data-href="/cinema/Picturehouse_Central">London — Picturehouse Central</option>
388
383
  <option data-href="/cinema/Ritzy_Picturehouse">London — The Ritzy</option>
389
- <option data-href="/cinema/Stratford_London">London — Stratford Picturehouse</option>
384
+ <option data-href="/cinema/Stratford_London">Stratford, London — Stratford Picturehouse</option>
390
385
  <option data-href="/cinema/The_Little">Bath — Little Theatre Cinema</option>
391
386
  <option data-href="/cinema/National_Media_Museum">Bradford — Bradford at National Media Museum</option>
392
387
  <option data-href="/cinema/Duke_Of_Yorks">Brighton — Duke of York&#x27;s Picturehouse</option>
@@ -408,7 +403,7 @@ See the best in theatre, dance and opera for the measly sum of £10, and take a
408
403
  <p>Picturehouse Cinemas Limited is a limited company registered in England as company number 2310403 and its registered office is Power Road Studios, 114 Power Road, Chiswick, London, W4 5PY.</p>
409
404
  <p>&copy; 2015 Picturehouse Cinemas Ltd.</p>
410
405
  </div>
411
-
406
+
412
407
  </div>
413
408
  </div>
414
409
  </div>
@@ -416,106 +411,72 @@ See the best in theatre, dance and opera for the measly sum of £10, and take a
416
411
 
417
412
  <!-- TODO: Server side include modal window if needed -->
418
413
 
419
- <script src="/js/vendor/jquery-1.11.1.min.js"></script>
420
- <script src="/js/vendor/jquery-ui.min.js"></script><!-- TODO: Only use what's needed -->
421
- <script src="/js/picturehouse/index.js?v=1.3.5"></script>
422
- <script src="/js/vendor/jquery.rateit.min.js"></script>
423
- <script src="/js/vendor/jquery.cycle2.min.js"></script>
414
+ <!-- CDN links -->
415
+ <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
416
+ <script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/js/bootstrap.min.js"></script>
417
+ <script src="//cdnjs.cloudflare.com/ajax/libs/knockout/3.3.0/knockout-min.js"></script>
418
+ <script src="//cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20140415/jquery.cycle2.min.js"></script>
424
419
  <script src="/js/vendor/jquery.cycle2.carousel.min.js"></script>
425
420
  <script>$.fn.cycle.defaults.autoSelector = '.slideshow';</script>
426
421
 
422
+ <script src="/js/vendor/jquery.rateit.min.js"></script>
423
+ <script src="/js/vendor/jquery-ui.min.js"></script>
424
+ <script src="/js/vendor/bind.js"></script>
425
+ <script>
426
+ var cinemaId = parseInt("014", 10);
427
+ </script>
428
+
429
+ <script src="/js/picturehouse.min.js?v=1.7.8"></script>
430
+
431
+
427
432
  <!-- KnockoutJS ViewModels -->
428
- <script src="/js/viewmodels/basket.js"></script>
429
- <script src="/js/viewmodels/seating.js"></script>
433
+ <script src="/js/viewmodels/basket.js?v=1.7.8"></script>
434
+ <script src="/js/viewmodels/seating.js?v=1.7.8"></script>
430
435
 
431
436
  <script type="text/javascript">
432
437
  // Create closure.
433
438
  (function( $ ) {
439
+ 'user strict';
434
440
 
435
- // Init tooltips
436
- $('[data-toggle="tooltip"]').tooltip({});
437
-
438
- $('.nav-collapse')
439
- .on('show.bs.collapse', function () {
440
- var $element = $(this);
441
- var $parent = $element.parent();
442
- $parent.prev().css("width", "0");
443
- $parent.removeClass("col-sm-9");
444
-
445
- // If there is a data-iframe attribute, then load this in to an iframe
446
- if ($element.find("[data-iframe]").length > 0) {
447
- var $iframeContainer = $element.find("[data-iframe]");
448
- var iframe = $('<iframe>', {
449
- "src": $iframeContainer.data("iframe"),
450
- "frameborder": "0",
451
- "allowfullscreen": ""
452
- });
453
- $iframeContainer.append(iframe);
454
- $iframeContainer.removeAttr("data-iframe");
455
- }
456
- })
457
- .on('hide.bs.collapse', function () {
458
- var $parent = $(this).parent();
459
- $parent.prev().css("width", "");
460
- $parent.addClass("col-sm-9");
461
- });
462
-
463
- if ($( "#cinema-search" ).length) {
441
+ if ($( '#cinema-search' ).length) {
464
442
  // TODO: Will this be dynamically pulled from db?
465
443
  var availableTags = [
466
- { id: "Clapham_Picturehouse", label: "London - Clapham Picturehouse" },
467
- { id: "East_Dulwich_Picturehouse", label: "London - East Dulwich" },
468
- { id: "Gate_Picturehouse", label: "London - Gate Picturehouse" },
469
- { id: "Greenwich_Picturehouse", label: "London - Greenwich Picturehouse" },
470
- { id: "Hackney_Picturehouse", label: "London - Hackney Picturehouse" },
471
- { id: "Picturehouse_Central", label: "London - Picturehouse Central" },
472
- { id: "Ritzy_Picturehouse", label: "London - The Ritzy" },
473
- { id: "Stratford_London", label: "London - Stratford Picturehouse" },
474
- { id: "The_Little", label: "Bath - Little Theatre Cinema" },
475
- { id: "National_Media_Museum", label: "Bradford - Bradford at National Media Museum" },
476
- { id: "Duke_Of_Yorks", label: "Brighton - Duke of York&#x27;s Picturehouse" },
477
- { id: "Dukes_At_Komedia", label: "Brighton - Duke&#x27;s at Komedia" },
478
- { id: "Arts_Picturehouse_Cambridge", label: "Cambridge - Arts Picturehouse Cambridge" },
479
- { id: "Cameo_Picturehouse", label: "Edinburgh - The Cameo" },
480
- { id: "Exeter_Picturehouse", label: "Exeter - Exeter Picturehouse" },
481
- { id: "Regal_Picturehouse", label: "Henley - Regal Picturehouse" },
482
- { id: "Cinema_City", label: "Norwich - Cinema City" },
483
- { id: "Picturehouse_At_Fact", label: "Liverpool - Picturehouse at FACT" },
484
- { id: "Phoenix_Picturehouse", label: "Oxford - Phoenix Picturehouse" },
485
- { id: "Harbour_Lights", label: "Southampton - Harbour Lights" },
486
- { id: "Stratford_Upon_Avon", label: "Stratford Upon Avon - Stratford Upon Avon" },
487
- { id: "York_Picturehouse", label: "York - City Screen Picturehouse" },
488
- ];
489
- $( "#cinema-search" ).autocomplete({
490
- source: availableTags,
491
- select: function( event, ui ) {
492
- window.location = "/cinema/" + ui.item.id;
493
- }
494
- });
495
- }
496
-
497
- $('#quickbook-popover').popover({
498
- html : true,
499
- content: function() {
500
- return $("#quickbook-popover-content").html();
501
- }
502
- });
503
-
504
- $('[data-hide-element]').each(function() {
505
- var $element = $(this);
506
- var tabToHide = $element.data("hideElement");
507
-
508
-
509
- setTimeout(
510
- function(){ $element.children().eq(tabToHide - 1).removeClass("active"); },
511
- 1
512
- );
513
- });
444
+ { id: "Clapham_Picturehouse", label: "London - Clapham Picturehouse" },
445
+ { id: "Crouch_End_Picturehouse", label: "London - Crouch End Picturehouse" },
446
+ { id: "East_Dulwich_Picturehouse", label: "London - East Dulwich" },
447
+ { id: "Gate_Picturehouse", label: "London - Gate Picturehouse" },
448
+ { id: "Greenwich_Picturehouse", label: "London - Greenwich Picturehouse" },
449
+ { id: "Hackney_Picturehouse", label: "London - Hackney Picturehouse" },
450
+ { id: "Picturehouse_Central", label: "London - Picturehouse Central" },
451
+ { id: "Ritzy_Picturehouse", label: "London - The Ritzy" },
452
+ { id: "Stratford_London", label: "Stratford, London - Stratford Picturehouse" },
453
+ { id: "The_Little", label: "Bath - Little Theatre Cinema" },
454
+ { id: "National_Media_Museum", label: "Bradford - Bradford at National Media Museum" },
455
+ { id: "Duke_Of_Yorks", label: "Brighton - Duke of York&#x27;s Picturehouse" },
456
+ { id: "Dukes_At_Komedia", label: "Brighton - Duke&#x27;s at Komedia" },
457
+ { id: "Arts_Picturehouse_Cambridge", label: "Cambridge - Arts Picturehouse Cambridge" },
458
+ { id: "Cameo_Picturehouse", label: "Edinburgh - The Cameo" },
459
+ { id: "Exeter_Picturehouse", label: "Exeter - Exeter Picturehouse" },
460
+ { id: "Regal_Picturehouse", label: "Henley - Regal Picturehouse" },
461
+ { id: "Cinema_City", label: "Norwich - Cinema City" },
462
+ { id: "Picturehouse_At_Fact", label: "Liverpool - Picturehouse at FACT" },
463
+ { id: "Phoenix_Picturehouse", label: "Oxford - Phoenix Picturehouse" },
464
+ { id: "Harbour_Lights", label: "Southampton - Harbour Lights" },
465
+ { id: "Stratford_Upon_Avon", label: "Stratford Upon Avon - Stratford Upon Avon" },
466
+ { id: "York_Picturehouse", label: "York - City Screen Picturehouse" },
467
+ ];
468
+ $( "#cinema-search" ).autocomplete({
469
+ source: availableTags,
470
+ select: function( event, ui ) {
471
+ window.location = "/cinema/" + ui.item.id;
472
+ }
473
+ });
474
+ }
514
475
 
515
476
  })( jQuery );
516
477
  </script>
517
478
 
518
- <div class="modal fade in" id="sign-in-modal" aria-hidden="false">
479
+ <div class="modal fade in" id="sign-in-modal" aria-hidden="false">
519
480
  <div class="modal-dialog">
520
481
  <div class="modal-content">
521
482
  <div class="modal-header">
@@ -525,14 +486,17 @@ See the best in theatre, dance and opera for the measly sum of £10, and take a
525
486
  <div class="modal-body">
526
487
  <form method="post" action="/sign-in">
527
488
  <div class="form-group">
528
- <label for="account-email">Membership number:</label>
529
- <input type="text" name="number" id="number" class="form-control" value="" placeholder="Enter your membership card number..." required />
489
+ <label for="number">Email:</label>
490
+ <input type="text" name="number" id="number" class="form-control" value="" required />
530
491
  </div>
531
492
  <div class="form-group">
532
- <label for="account-password">Password:</label>
533
- <input type="password" name="membership-password" id="membership-password" class="form-control" placeholder="Enter your password..." required />
493
+ <label for="membership-password">
494
+ Password:<br />
495
+ <small>This may be your surname if you have not set a password before.</small>
496
+ </label>
497
+ <input type="password" name="membership-password" id="membership-password" class="form-control" required />
534
498
  </div>
535
- <p class="text-right"><a href="mailto:customerservice@picturehouses.co.uk?subject=Reset password&amp;body=Please provide your membership number and registered email address, and we'll email you back your new password.">Request a new password</a></p>
499
+ <p class="text-right"><a target="_blank" href="http://ticketing.picturehouses.com/Browsing/Loyalty/ForgotPassword">Forgotten password?</a></p>
536
500
  <!-- <div class="form-group">
537
501
  <div class="checkbox">
538
502
  <label for="account-remember">
@@ -545,9 +509,34 @@ See the best in theatre, dance and opera for the measly sum of £10, and take a
545
509
  <button type="submit" class="btn btn-primary pull-right">Sign in</button>
546
510
  </div>
547
511
  </form>
548
- </div> </div>
512
+ </div>
513
+ </div>
549
514
  </div>
550
515
  </div>
551
-
516
+
517
+ <div class="modal fade in" id="member-priority-modal" aria-hidden="false">
518
+ <div class="modal-dialog">
519
+ <div class="modal-content">
520
+ <div class="modal-header">
521
+ <p class="h2 display-inline">Verify membership number</p>
522
+ <a href="#" data-icon="V" class="icon pull-right" data-dismiss="modal"><span class="sr-only">Close</span></a>
523
+ </div>
524
+ <div class="modal-body">
525
+ <form method="post" action="/verify-member">
526
+ <div class="form-group">
527
+ <label for="number">Membership number:</label>
528
+ <input type="text" name="number" id="number" class="form-control" value="" required />
529
+ </div>
530
+
531
+ <div class="clearfix top-mg-lg">
532
+ <button type="submit" class="btn btn-primary pull-right">Verify</button>
533
+ </div>
534
+ </form>
535
+ </div>
536
+ </div>
537
+ </div>
538
+ </div>
539
+
540
+
552
541
  </body>
553
- </html>
542
+ </html>