picturehouse_uk 1.0.2 → 2.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 +2 -1
  3. data/CHANGELOG.md +18 -0
  4. data/README.md +7 -10
  5. data/Rakefile +20 -7
  6. data/lib/picturehouse_uk.rb +4 -1
  7. data/lib/picturehouse_uk/cinema.rb +51 -100
  8. data/lib/picturehouse_uk/film.rb +22 -8
  9. data/lib/picturehouse_uk/internal/address_parser.rb +72 -0
  10. data/lib/picturehouse_uk/internal/cinema_page.rb +35 -0
  11. data/lib/picturehouse_uk/internal/film_with_screenings_parser.rb +87 -37
  12. data/lib/picturehouse_uk/internal/title_sanitizer.rb +49 -0
  13. data/lib/picturehouse_uk/internal/website.rb +39 -0
  14. data/lib/picturehouse_uk/screening.rb +63 -19
  15. data/lib/picturehouse_uk/version.rb +2 -2
  16. data/picturehouse_uk.gemspec +11 -11
  17. data/test/fixture_updater.rb +43 -0
  18. data/test/fixtures/address-fragments/duke-of-yorks.html +39 -0
  19. data/test/fixtures/address-fragments/hackney-picturehouse.html +12 -0
  20. data/test/fixtures/cinema/Duke_Of_Yorks.html +4370 -0
  21. data/test/fixtures/cinema/Duke_Of_Yorks/film_last.html +45 -0
  22. data/test/fixtures/cinema/Duke_Of_Yorks/film_second.html +37 -0
  23. data/test/fixtures/{abbeygate-contact-us.html → contact_us/Duke_Of_Yorks.html} +635 -156
  24. data/test/fixtures/{dukes-at-komedia-contact-us.html → contact_us/Dukes_At_Komedia.html} +582 -98
  25. data/test/fixtures/{picturehouses-homepage.html → home.html} +642 -146
  26. data/test/lib/picturehouse_uk/cinema_test.rb +127 -307
  27. data/test/lib/picturehouse_uk/film_test.rb +65 -16
  28. data/test/lib/picturehouse_uk/internal/address_parser_test.rb +55 -0
  29. data/test/lib/picturehouse_uk/internal/cinema_page_test.rb +51 -0
  30. data/test/lib/picturehouse_uk/internal/film_with_screenings_parser_test.rb +44 -151
  31. data/test/lib/picturehouse_uk/internal/title_sanitizer_test.rb +131 -0
  32. data/test/lib/picturehouse_uk/internal/website_test.rb +64 -0
  33. data/test/lib/picturehouse_uk/screening_test.rb +149 -21
  34. data/test/live/integration_test.rb +68 -0
  35. data/test/test_helper.rb +3 -1
  36. metadata +40 -43
  37. data/test/fixtures/dukes-at-komedia-cinema.html +0 -7148
  38. data/test/fixtures/film_node/blue-jasmine-done.html +0 -53
  39. data/test/fixtures/film_node/blue-jasmine-future.html +0 -55
  40. data/test/fixtures/film_node/bolshoi-spartacus.html +0 -26
  41. data/test/fixtures/film_node/captain-phillips-with-silver-screen-and-subtitles.html +0 -103
  42. data/test/fixtures/film_node/fifth-estate-with-big-scream.html +0 -73
  43. data/test/fixtures/film_node/london-film-festival-with-toddler-time.html +0 -46
  44. data/test/fixtures/film_node/met-encore-rusalka-as-live.html +0 -26
  45. data/test/fixtures/film_node/nt-encore-hamlet.html +0 -26
  46. data/test/fixtures/film_node/planes-with-kids-club.html +0 -77
  47. data/test/fixtures/film_node/royal-opera-house-don-quixote.html +0 -26
  48. data/test/fixtures/film_node/rsc-encore-richard-ii.html +0 -28
  49. data/test/fixtures/film_node/rsc-live-richard-ii.html +0 -41
  50. data/test/fixtures/film_node/rsc-live-the-two-gentlemen-of-verona-zero-cert.html +0 -19
  51. data/test/fixtures/hackney-contact-us.html +0 -998
@@ -19,17 +19,19 @@ xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en">
19
19
  var trailer = {height:288,width:510};
20
20
  </script>
21
21
 
22
+ <meta name="robots" content="noindex">
23
+
22
24
 
23
25
 
24
- <link rel="stylesheet" href="/site-media/css/cityscreen/global.201308021435.css" />
26
+ <link rel="stylesheet" href="https://d2t98m0n7ql7on.cloudfront.net/site-media/css/cityscreen/global.201312092207.css" />
25
27
 
26
28
 
27
29
  <!--[if IE 6]>
28
- <link rel="stylesheet" href="/site-media/css/cityscreen/ie6.v3.min.css" type="text/css" />
30
+ <link rel="stylesheet" href="https://d2t98m0n7ql7on.cloudfront.net/site-media/css/cityscreen/ie6.v3.min.css" type="text/css" />
29
31
  <![endif]-->
30
32
 
31
33
  <!--[if IE 7]>
32
- <link rel="stylesheet" href="/site-media/css/cityscreen/ie7.v1.min.css" type="text/css" />
34
+ <link rel="stylesheet" href="https://d2t98m0n7ql7on.cloudfront.net/site-media/css/cityscreen/ie7.v1.min.css" type="text/css" />
33
35
  <![endif]-->
34
36
  <meta name="google-site-verification" content="tfGR4gRo-YG-57LfPFX3Pjv0VqsFRPKIs2ioVOH-3f8" />
35
37
 
@@ -47,25 +49,25 @@ xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en">
47
49
 
48
50
 
49
51
 
50
- <script type="text/javascript" charset="utf-8" src="/site-media/js/libs/jquery-1.9.1.js"></script>
51
- <script src="/site-media/js/libs/jquery-migrate-1.1.0.js"></script>
52
- <script type="text/javascript" charset="utf-8" src="/site-media/js/libs/typeahead.js"></script>
53
- <script src="/site-media/js/libs/hogan-2.0.0.js"></script>
54
- <script src="/site-media/js/libs/jquery.tools.min.js"></script>
52
+ <script type="text/javascript" charset="utf-8" src="https://d2t98m0n7ql7on.cloudfront.net/site-media/js/libs/jquery-1.9.1.js"></script>
53
+ <script src="https://d2t98m0n7ql7on.cloudfront.net/site-media/js/libs/jquery-migrate-1.1.0.js"></script>
54
+ <script type="text/javascript" charset="utf-8" src="https://d2t98m0n7ql7on.cloudfront.net/site-media/js/libs/typeahead.js"></script>
55
+ <script src="https://d2t98m0n7ql7on.cloudfront.net/site-media/js/libs/hogan-2.0.0.js"></script>
56
+ <script src="https://d2t98m0n7ql7on.cloudfront.net/site-media/js/libs/jquery.tools.min.js"></script>
55
57
 
56
58
  <link rel="stylesheet" type="text/css" href="http://partner.mymovies.net/html5/jqtools/1.css"/>
57
59
  <link href="http://partner.mymovies.net/html5/css/video-js.css" rel="stylesheet" type="text/css">
58
- <script src="http://partner.mymovies.net/html5/js/video_ovrly.js" type="text/javascript"></script>
60
+ <script src="http://partner.mymovies.net/html5/js/video_ovrly.js" type="text/javascript"></script>
59
61
  <script SRC="http://flvplayer.mymovies.net/includes/sdc_tag.js" type="text/javascript"></script>
60
62
 
61
- <script type="text/javascript" charset="utf-8" src="/site-media/js/cityscreen/site.201308042128.js"></script>
63
+ <script type="text/javascript" charset="utf-8" src="https://d2t98m0n7ql7on.cloudfront.net/site-media/js/cityscreen/site.20140714.js"></script>
62
64
 
63
- <link type="image/x-icon" href="/site-media/images/cityscreen/favicon.gif" rel="shortcut icon"/>
64
- <link type="image/x-icon" href="/site-media/images/cityscreen/favicon.gif" rel="icon"/>
65
+ <link type="image/x-icon" href="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/favicon.gif" rel="shortcut icon"/>
66
+ <link type="image/x-icon" href="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/favicon.gif" rel="icon"/>
65
67
 
66
68
  <script type="text/javascript">
67
- function twitterPop(str) {
68
- mywindow = window.open('http://twitter.com/share?url='+str,"Tweet_widow","channelmode=no,directories=no,location=no,menubar=no,scrollbars=no,toolbar=no,status=no,width=500,height=375,left=300,top=200");
69
+ function twitterPop(text, url) {
70
+ mywindow = window.open('http://twitter.com/share?text='+text+'&url='+url,"Tweet_widow","channelmode=no,directories=no,location=no,menubar=no,scrollbars=no,toolbar=no,status=no,width=500,height=375,left=300,top=200");
69
71
  mywindow.focus();
70
72
  }
71
73
  </script>
@@ -111,10 +113,10 @@ docCookies = {
111
113
  jQuery(document).ready(function(){
112
114
  if ((docCookies.getItem('accepted') === null)) {
113
115
  console.log('cookie');
114
- jQuery('body').append('<div id="cookie_message" style="background-color: rgb(255, 255, 225); color: rgb(51, 51, 51); position: fixed; top: 0px; left: 0px; right: 0px; padding: 7px 120px 7px 36px; vertical-align: middle; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(68, 68, 68); font-size: 12px; font-family: Arial, Helvetica, sans-serif; z-index: 9999; box-shadow: rgb(0, 0, 0) 0px 0px 5px; "><p class="wolfblock" style="text-align: left; font-size: 1.1em !important; width: 600px; float: left; margin: 0px; padding: 0px; line-height: 16px; ">This site uses cookies to help make it more useful and reliable. By using the site or by dismissing this banner you are consenting to their use.</p><a href="#" id="cookie_accepted">Do not show this message again</a></div></div>');
116
+ jQuery('body').append('<div id="cookie_message" style="background-color: rgb(255, 255, 225); color: rgb(51, 51, 51); position: fixed; bottom: 0px; left: 0px; right: 0px; padding: 7px 120px 7px 36px; vertical-align: middle; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(68, 68, 68); font-size: 12px; font-family: Arial, Helvetica, sans-serif; z-index: 9999; box-shadow: rgb(0, 0, 0) 0px 0px 5px; "><p class="wolfblock" style="text-align: left; font-size: 1.1em !important; width: 600px; float: left; margin: 0px; padding: 0px; line-height: 16px; ">This site uses cookies to help make it more useful and reliable. By using the site or by dismissing this banner you are consenting to their use.</p><a href="#" id="cookie_accepted">Do not show this message again</a></div></div>');
115
117
  jQuery('#cookie_accepted').click(function() {
116
118
  jQuery('#cookie_message').hide();
117
- docCookies.setItem('accepted', 'dismissed', new Date(2014, 1, 1), '/');
119
+ docCookies.setItem('accepted', 'dismissed', 86400*365*30, '/');
118
120
  });
119
121
  }
120
122
  });
@@ -127,19 +129,38 @@ if ((docCookies.getItem('accepted') === null)) {
127
129
  setup_api();
128
130
  </script>
129
131
 
132
+ <script type="text/javascript">
133
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
134
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
135
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
136
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
137
+ ga('create', 'UA-7911463-2', 'picturehouses.co.uk');
138
+ ga('require', 'displayfeatures');
139
+ ga('send', 'pageview');
140
+ </script>
141
+
142
+
130
143
  <script type="text/javascript">
131
144
  newman_prefix = 'newman';
132
- document.write(unescape("%3Cscript src='" + websales_url + "/jswebsales/static/customer.201308042153.js' type='text/javascript'%3E%3C/script%3E"));
145
+ document.write(unescape("%3Cscript src='" + websales_url + "/jswebsales/static/customer.201404272310.js' type='text/javascript'%3E%3C/script%3E"));
133
146
  </script>
134
147
 
148
+
149
+
150
+
151
+
135
152
  <script type="text/javascript">
136
153
  jQuery(document).ready(function(){
154
+
155
+
156
+
137
157
  jQuery('#searchForm').replaceWith('<div class="demo" style="float:right; margin-right:10px;"><form rel="nofollow" action="/Search/"><input class="typeahead" name="header_search" type="text" placeholder="Search..."></form></div>');
138
158
 
139
159
  var url = '/fs/';
140
160
  if ('global' !== 'global') {
141
- url = '/cinema/' + url;
161
+ url = '/cinema//fs/';
142
162
  }
163
+ if (location.protocol !== 'https:') {
143
164
  jQuery('.typeahead').typeahead({
144
165
  name:'films',
145
166
  prefetch:{url:url,
@@ -151,12 +172,18 @@ if ((docCookies.getItem('accepted') === null)) {
151
172
  var $typeahead = jQuery(this);
152
173
  var v = $typeahead.val();
153
174
  if (v !== '') {
154
- _gaq.push(['_trackEvent', 'Search', 'Typing', v]);
175
+ ga('send', 'event', {
176
+ eventCategory:'Search',
177
+ eventAction:'Typing',
178
+ eventValue:v});
155
179
  }
156
180
  })
157
181
  .on('typeahead:selected', function(evt, item) {
158
182
  var $typeahead = jQuery(this);
159
- _gaq.push(['_trackEvent', 'Search', 'Selected', $typeahead.val()]);
183
+ ga('send', 'event', {
184
+ eventCategory:'Search',
185
+ eventAction:'Selected',
186
+ eventValue:$typeahead.val()});
160
187
  window.location.href = item.uri + '?utm_source=' + window.location.pathname + '&utm_medium=search&utm_campaign=selected';
161
188
  })
162
189
  .on('typeahead:closed', function(evt, item) {
@@ -165,7 +192,10 @@ if ((docCookies.getItem('accepted') === null)) {
165
192
  })
166
193
  .on('typeahead:autocompleted', function (evt, item) {
167
194
  var $typeahead = jQuery(this);
168
- _gaq.push(['_trackEvent', 'Search', 'Autocompleted', $typeahead.val()]);
195
+ ga('send', 'event', {
196
+ eventCategory:'Search',
197
+ eventAction:'Autocompleted',
198
+ eventValue:$typeahead.val()});
169
199
  window.location.href = item.uri + '?utm_source=' + window.location.pathname + '&utm_medium=search&utm_campaign=autocompleted';
170
200
  }) ;
171
201
  jQuery('div.demo form input.typeahead').bind('keypress', function(e) {
@@ -173,30 +203,61 @@ if ((docCookies.getItem('accepted') === null)) {
173
203
  jQuery('div.demo form').submit();
174
204
  }
175
205
  });
206
+ }
176
207
  initialize_api('', '', 'global');
177
208
  });
178
209
  </script>
210
+ <!-- Start: GPT Sync -->
211
+
212
+ <script type='text/javascript'>
213
+
214
+ var gptadslots=[];
215
+
216
+ (function(){
217
+
218
+ var useSSL = 'https:' == document.location.protocol;
219
+
220
+ var src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js';
221
+
222
+ document.write('<scr' + 'ipt src="' + src + '"></scr' + 'ipt>');
223
+
224
+ })();
225
+
226
+ </script>
227
+ <script type="text/javascript">
228
+
229
+
230
+ //Adslot 1 declaration
231
+
232
+ gptadslots[1]= googletag.defineSlot('/116061662/UK_PictureHouses', [[300,250]],'div-gpt-ad-144738139352026482-1').addService(googletag.pubads());
233
+
234
+
235
+
236
+ //Adslot 2 declaration
237
+
238
+ gptadslots[2]= googletag.defineSlot('/116061662/UK_PictureHouses/Homepage', [[300,250]],'div-gpt-ad-144738139352026482-2').addService(googletag.pubads());
239
+
240
+
241
+
242
+ googletag.pubads().enableSyncRendering();
243
+
244
+ googletag.enableServices();
245
+
246
+ </script>
247
+
248
+ <!-- End: GPT -->
179
249
  </head>
180
250
 
181
251
  <body>
182
252
 
183
253
  <div id="wrapper">
184
254
 
255
+ <link rel="stylesheet" href="https://d2t98m0n7ql7on.cloudfront.net/site-media/css/cityscreen/venues.2014091904.css" />
256
+
257
+ <div id="con_header" class="header_global" sold="">
258
+
259
+
185
260
 
186
- <div id="con_header" class="clapham headerglobal"
187
-
188
-
189
-
190
-
191
-
192
-
193
- style="background: url('/site-media/images/cityscreen/headers/header_global.gif');">
194
-
195
-
196
-
197
-
198
-
199
-
200
261
  <h1>
201
262
 
202
263
  <a href="/" id="header_logo" alt="Picturehouse Cinemas"></a>
@@ -268,13 +329,361 @@ if ((docCookies.getItem('accepted') === null)) {
268
329
 
269
330
  </div>
270
331
 
332
+
333
+ <style>
334
+ #precomplete_form {
335
+ width:270px;
336
+ }
337
+ #precomplete_formfancybox-link {
338
+ visibility: none;
339
+ }
340
+ </style>
341
+
342
+ <a href="#precomplete_form" id="precomplete_formfancybox-link" class="fancybox-link"></a>
343
+ <div class="hide">
344
+ <div id="precomplete_form" class="popup-form g-clear">
345
+ <form method="post" action="" name="info_form">
346
+ <div class="form-left-part">
347
+ <h3>Additional Information</h3>
348
+
349
+ <p id="precomplete_msg">To complete your registration, please choose your favourite cinema:</p>
350
+
351
+ <div id="precomplete_email_holder">
352
+ <label for="">Email address</label>
353
+ <span class="text">
354
+ <i class="t-tl"></i><i class="t-tr"></i>
355
+ <input type="text" id="precomplete_email" name="loginemail"/>
356
+ </span>
357
+ </div>
358
+
359
+
360
+ <div class="clearall"></div>
361
+
362
+ <div id="precomplete_venue_holder">
363
+ <label for="">Favourite cinema</label>
364
+ <select id="precomplete_venue">
365
+
366
+
367
+ <option value="cph">Clapham Picturehouse</option>
368
+
369
+
370
+
371
+ <option value="EDP">East Dulwich Picturehouse</option>
372
+
373
+
374
+
375
+ <option value="gate">Gate Picturehouse</option>
376
+
377
+
378
+
379
+ <option value="gnw">Greenwich Picturehouse</option>
380
+
381
+
382
+
383
+ <option value="hck">Hackney Picturehouse</option>
384
+
385
+
386
+
387
+ <option value="PHC">Picturehouse Central</option>
388
+
389
+
390
+
391
+ <option value="ritz">Ritzy Picturehouse</option>
392
+
393
+
394
+
395
+ <option value="se">Stratford, London</option>
396
+
397
+
398
+
399
+ <option value="bath">The Little</option>
400
+
401
+
402
+
403
+ <option value="NMM">Picturehouse at the NMM</option>
404
+
405
+
406
+
407
+ <option value="DAK">Duke&#39;s At Komedia</option>
408
+
409
+
410
+
411
+ <option value="doyb">Duke of York&#39;s</option>
412
+
413
+
414
+
415
+ <option value="camb">Arts Picturehouse Cambridge</option>
416
+
417
+
418
+
419
+ <option value="edbg">Cameo Picturehouse</option>
420
+
421
+
422
+
423
+ <option value="xtr">Exeter Picturehouse</option>
424
+
425
+
426
+
427
+ <option value="rgl">Regal Picturehouse</option>
428
+
429
+
430
+
431
+ <option value="fact">Picturehouse at FACT</option>
432
+
433
+
434
+
435
+ <option value="nor">Cinema City</option>
436
+
437
+
438
+
439
+ <option value="oxfd">Phoenix Picturehouse</option>
440
+
441
+
442
+
443
+ <option value="hlsh">Harbour Lights</option>
444
+
445
+
446
+
447
+ <option value="soa">Stratford-upon-Avon</option>
448
+
449
+
450
+
451
+ <option value="york">York Picturehouse</option>
452
+
453
+
454
+ </select>
455
+ </div>
456
+
457
+ <span class="button">
458
+ <i class="b-tl"></i><i class="b-tr"></i>
459
+ <input type="button" value="Complete Registration" id="completebutton"/>
460
+ </span>
461
+ </div>
462
+ </form>
463
+ </div>
464
+ </div>
465
+
466
+ <script>
467
+ // START OF UTILS
468
+ function qs(key) {
469
+ key = key.replace(/[*+?^$.\[\]{}()|\\\/]/g, "\\$&"); // escape RegEx meta chars
470
+ var match = location.search.match(new RegExp("[?&]"+key+"=([^&]+)(&|$)"));
471
+ return match && decodeURIComponent(match[1].replace(/\+/g, " "));
472
+ }
473
+
474
+ if (typeof String.prototype.startsWith != 'function') {
475
+ // see below for better implementation!
476
+ String.prototype.startsWith = function (str){
477
+ return this.indexOf(str) == 0;
478
+ };
479
+ }
480
+ // END OF UTILS
481
+
482
+ function isPrecompleteForm() {
483
+ if (window.location.hash.indexOf("#precomplete_form") != -1) {
484
+ jQuery("a#precomplete_formfancybox-link")[0].click()
485
+ }
486
+ };
487
+
488
+ var precomplete_hookup = function() {
489
+ jQuery('a#precomplete_formfancybox-link').fancybox({
490
+ transitionIn: 'elastic',
491
+ transitionOut: 'elastic',
492
+ onComplete: function(){
493
+ jQuery('#precomplete_form span.button .b-tl').each(function(){
494
+ jQuery(this).width( jQuery(this).parent().width() )
495
+ });
496
+ }
497
+ });
498
+ jQuery('#completebutton').click(precomplete_finish);
499
+ };
500
+
501
+ var setup_precomplete_form = function() {
502
+ setup = window.location.hash
503
+
504
+ if (setup.indexOf("email") == -1) {
505
+ jQuery("#precomplete_email_holder").hide()
506
+ } else {
507
+ jQuery("#precomplete_email_holder").show()
508
+ }
509
+ if (setup.indexOf("venue_id") == -1) {
510
+ jQuery("#precomplete_venue_holder").hide()
511
+ } else {
512
+ jQuery("#precomplete_venue_holder").show()
513
+ }
514
+ };
515
+
516
+ var precomplete_finish = function() {
517
+ var url = qs('redirect');
518
+ if (setup.indexOf("email") != -1) {
519
+ url += "&email=" + jQuery("#precomplete_email").val()
520
+ }
521
+ if (setup.indexOf("venue_id") != -1) {
522
+ url += "&venue_id=" + jQuery("#precomplete_venue").val()
523
+ }
524
+
525
+ window.location.href = url
526
+ };
527
+
528
+ jQuery(document).ready(function () {
529
+ precomplete_hookup();
530
+ setup_precomplete_form()
531
+ isPrecompleteForm()
532
+ })
533
+
534
+ </script>
535
+
536
+
271
537
  <div class="hide">
272
538
  <div id="login_form" class="popup-form g-clear">
539
+ <style>
540
+ #socialauth_error_msg {
541
+ color:red;
542
+ margin:0;
543
+ line-height:12px;
544
+ margin-bottom:-7px;
545
+ }
546
+ </style>
547
+
548
+ <p id="socialauth_error_msg"></p>
549
+
550
+ <script>
551
+ console.log("START ALERT SETUP SCRIPT")
552
+
553
+ // START OF UTILS
554
+ function getHashParams() {
555
+
556
+ var hashParams = {};
557
+ var e,
558
+ a = /\+/g, // Regex for replacing addition symbol with a space
559
+ r = /([^&;=]+)=?([^&;]*)/g,
560
+ d = function (s) { return decodeURIComponent(s.replace(a, " ")); },
561
+ q = window.location.hash.substring(1);
562
+
563
+ while (e = r.exec(q))
564
+ hashParams[d(e[1])] = d(e[2]);
565
+
566
+ return hashParams;
567
+ }
568
+ // END OF UTILS
569
+
570
+ function isErrorMsg() {
571
+ // Is there a socialauth error message?
572
+ if (window.location.hash.indexOf("#socialauth_error_msg") != -1) {
573
+
574
+ // Found a SocialAuth error signal, preparing to display msg.
575
+ var msg = getHashParams()["socialauth_error_msg"]
576
+ if (msg) {
577
+ jQuery("#socialauth_error_msg").html(msg);
578
+ jQuery("#socialauth_error_msg").show();
579
+ };
580
+
581
+ // Open login dialog.
582
+ var rt = jQuery("a#login_formfancybox-link").fancybox().trigger('click');
583
+ } else {
584
+ jQuery("#socialauth_error_msg").hide();
585
+ }
586
+ };
587
+
588
+ isErrorMsg()
589
+
590
+ </script>
591
+
273
592
  <form method="post" action="/loyalty/login_process" name="login_form">
274
593
  <div class="form-left-part">
594
+
595
+ <style>
596
+
597
+ .social_auth_widget {
598
+ margin-bottom: 10px;
599
+ }
600
+
601
+ .social_button {
602
+ width: 270px;
603
+ height: 30px;
604
+ margin-bottom: 8px;
605
+ }
606
+
607
+ .social_auth_widget a,
608
+ .social_auth_widget a:link,
609
+ .social_auth_widget a:visited,
610
+ .social_auth_widget a:hover,
611
+ .social_auth_widget a:active
612
+ {
613
+ color: inherit;
614
+ text-decoration: none;
615
+ }
616
+
617
+ .social_button h4 {
618
+ display: inline;
619
+ padding-left: 6px;
620
+ vertical-align: -webkit-baseline-middle;
621
+ color: #fff;
622
+ font-size: 129%;
623
+ letter-spacing: 0.2px;
624
+ }
625
+
626
+ .social_button.safari h4 {
627
+ vertical-align: middle !important;
628
+ }
629
+
630
+ .social_auth_widget #facebook_button {
631
+ background-color: #4a629d;
632
+ border-radius: 3px;
633
+ }
634
+
635
+ .social_auth_widget #google-plus_button {
636
+ background-color: #ca363a;
637
+ border-radius: 3px;
638
+ }
639
+
640
+ .social_button img {
641
+ margin-left: 10px;
642
+ margin-top: 2.5px;
643
+ }
644
+
645
+ .social_button.safari img {
646
+ margin-top: 3px;
647
+ }
648
+
649
+ </style>
650
+
651
+ <div class="social_auth_widget">
652
+ <a href="/socialauth/login/facebook/">
653
+ <div class="social_button" id="facebook_button">
654
+ <img src="/site-media/images/social/facebook_login.png" alt="Login with Facebook"></img>
655
+ <h4>Sign in with Facebook</h4>
656
+ </div>
657
+ </a>
658
+ <a href="/socialauth/login/google-plus/">
659
+ <div class="social_button" id="google-plus_button">
660
+ <img src="/site-media/images/social/google-plus_login.png" alt="Login with Google+"></img>
661
+ <h4>Sign in with Google+</h4>
662
+ </div>
663
+ </a>
664
+ </div>
665
+
666
+ <script>
667
+ (function () {
668
+
669
+ var source = encodeURI(document.URL)
670
+ jQuery(".social_auth_widget a").each(function (i,v) {
671
+ v.href = v.href + "?source_page=" + source
672
+ })
673
+
674
+ var safari = jQuery.browser.safari != undefined;
675
+ if (safari) {
676
+ jQuery(".social_button").addClass("safari");
677
+ }
678
+ })()
679
+ </script>
680
+
681
+
682
+
683
+
684
+
275
685
  <h3>Sign in</h3>
276
686
  <p class="error login_form" style="color:red; margin:0; line-height:1em; display:None;"></p>
277
-
278
687
  <label for="">Email address</label>
279
688
  <span class="text">
280
689
  <i class="t-tl"></i><i class="t-tr"></i>
@@ -309,15 +718,101 @@ if ((docCookies.getItem('accepted') === null)) {
309
718
  </form>
310
719
 
311
720
  <div class="form-right-part">
312
- <h3>Create an account</h3>
313
- <p>You must be an existing Picturehouse Member to register for an online account.</p>
721
+ <h3>Create a MyPicturehouse account</h3>
314
722
  <p class="error register_form" style="color:red; margin:0; line-height:1em; display:None;"></p>
315
723
 
316
- <label for="">Membership number (8 digits)</label>
317
- <span class="text">
318
- <i class="t-tl"></i><i class="t-tr"></i>
319
- <input type="text" id="membership_myphcustomer_num"/>
320
- </span>
724
+ <label for="">Favourite cinema</label>
725
+ <select id="membership_myphvenue_id">
726
+
727
+
728
+ <option value="cph">Clapham Picturehouse</option>
729
+
730
+
731
+
732
+ <option value="EDP">East Dulwich Picturehouse</option>
733
+
734
+
735
+
736
+ <option value="gate">Gate Picturehouse</option>
737
+
738
+
739
+
740
+ <option value="gnw">Greenwich Picturehouse</option>
741
+
742
+
743
+
744
+ <option value="hck">Hackney Picturehouse</option>
745
+
746
+
747
+
748
+ <option value="PHC">Picturehouse Central</option>
749
+
750
+
751
+
752
+ <option value="ritz">Ritzy Picturehouse</option>
753
+
754
+
755
+
756
+ <option value="se">Stratford, London</option>
757
+
758
+
759
+
760
+ <option value="bath">The Little</option>
761
+
762
+
763
+
764
+ <option value="NMM">Picturehouse at the NMM</option>
765
+
766
+
767
+
768
+ <option value="DAK">Duke&#39;s At Komedia</option>
769
+
770
+
771
+
772
+ <option value="doyb">Duke of York&#39;s</option>
773
+
774
+
775
+
776
+ <option value="camb">Arts Picturehouse Cambridge</option>
777
+
778
+
779
+
780
+ <option value="edbg">Cameo Picturehouse</option>
781
+
782
+
783
+
784
+ <option value="xtr">Exeter Picturehouse</option>
785
+
786
+
787
+
788
+ <option value="rgl">Regal Picturehouse</option>
789
+
790
+
791
+
792
+ <option value="fact">Picturehouse at FACT</option>
793
+
794
+
795
+
796
+ <option value="nor">Cinema City</option>
797
+
798
+
799
+
800
+ <option value="oxfd">Phoenix Picturehouse</option>
801
+
802
+
803
+
804
+ <option value="hlsh">Harbour Lights</option>
805
+
806
+
807
+
808
+ <option value="soa">Stratford-upon-Avon</option>
809
+
810
+
811
+
812
+ <option value="york">York Picturehouse</option>
813
+
814
+
815
+ </select>
321
816
 
322
817
  <div class="clearall"></div>
323
818
 
@@ -329,11 +824,6 @@ if ((docCookies.getItem('accepted') === null)) {
329
824
 
330
825
  <div class="clearall"></div>
331
826
 
332
- <a class="lightgreen" href="#" id="noemailbutton" title="">I don't have a registered email address.</a>
333
-
334
- <div class="clearall"></div>
335
- <br />
336
-
337
827
  <span class="button">
338
828
  <i class="b-tl"></i><i class="b-tr"></i>
339
829
  <input type="submit" id="createaccountbutton" value="Create account" />
@@ -343,10 +833,7 @@ if ((docCookies.getItem('accepted') === null)) {
343
833
  <br />
344
834
 
345
835
  <h4>The benefits</h4>
346
-
347
- Rate films, receive recommendations, view history. Speed up your online booking.
348
- <br />Manage account and subscriptions.
349
- <br />+ More coming soon.
836
+ Speed up online booking, rate films, receive recommendations, view your film history, manage your private account, signup for coming soon, manage subscriptions and preferences.
350
837
  </div>
351
838
 
352
839
  </div>
@@ -392,8 +879,8 @@ if ((docCookies.getItem('accepted') === null)) {
392
879
  <p>Please provide the following details to set up your account.</p>
393
880
 
394
881
  <p class="error" style="color:red; padding:0; margin:0; line-height:1em; display:None;"></p>
395
- <label for="">Membership number</label>
396
- <span class="text">
882
+ <label style="display:none;" for="">Membership number</label>
883
+ <span class="text" style="display:none;">
397
884
  <i class="t-tl"></i><i class="t-tr"></i>
398
885
  <input type="text" id="registercustomer_num" name="registercustomer_num"/>
399
886
  </span>
@@ -449,7 +936,11 @@ if ((docCookies.getItem('accepted') === null)) {
449
936
 
450
937
 
451
938
 
939
+
940
+
452
941
 
942
+
943
+
453
944
  <div id="con_menu">
454
945
  <!-- Main menu -->
455
946
  <div id="menumain" style="font-size:14px;">
@@ -614,6 +1105,8 @@ if ((docCookies.getItem('accepted') === null)) {
614
1105
 
615
1106
 
616
1107
  </div>
1108
+
1109
+
617
1110
 
618
1111
 
619
1112
  <div id="con_content">
@@ -646,6 +1139,24 @@ if ((docCookies.getItem('accepted') === null)) {
646
1139
  </a> </li>
647
1140
 
648
1141
 
1142
+ <li>
1143
+
1144
+ <a href="/cinema/East_Dulwich_Picturehouse/" style="width:240px;">
1145
+ <span class="left"
1146
+
1147
+ >London</span>
1148
+ <span class="right"
1149
+
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+
1156
+ >East Dulwich Picturehouse</span>
1157
+ </a> </li>
1158
+
1159
+
649
1160
  <li>
650
1161
 
651
1162
  <a href="/cinema/Gate_Picturehouse/" style="width:240px;">
@@ -698,7 +1209,7 @@ if ((docCookies.getItem('accepted') === null)) {
698
1209
 
699
1210
  <li>
700
1211
 
701
- <a href="/cinema/Ritzy_Picturehouse/" style="width:240px;">
1212
+ <a href="/cinema/Picturehouse_Central/" style="width:240px;">
702
1213
  <span class="left"
703
1214
 
704
1215
  >London</span>
@@ -708,13 +1219,13 @@ if ((docCookies.getItem('accepted') === null)) {
708
1219
 
709
1220
 
710
1221
 
711
- >Ritzy Picturehouse</span>
1222
+ >Picturehouse Central</span>
712
1223
  </a> </li>
713
1224
 
714
1225
 
715
1226
  <li>
716
1227
 
717
- <a href="/cinema/Stratford_London/" style="width:240px;">
1228
+ <a href="/cinema/Ritzy_Picturehouse/" style="width:240px;">
718
1229
  <span class="left"
719
1230
 
720
1231
  >London</span>
@@ -722,27 +1233,27 @@ if ((docCookies.getItem('accepted') === null)) {
722
1233
 
723
1234
 
724
1235
 
725
-
726
-
727
1236
 
728
1237
 
729
- >Stratford East Picturehouse</span>
1238
+ >Ritzy Picturehouse</span>
730
1239
  </a> </li>
731
1240
 
732
1241
 
733
1242
  <li>
734
1243
 
735
- <a href="/cinema/Belmont_Picturehouse/" style="width:240px;">
1244
+ <a href="/cinema/Stratford_London/" style="width:240px;">
736
1245
  <span class="left"
737
1246
 
738
- >Aberdeen</span>
1247
+ >London</span>
739
1248
  <span class="right"
740
1249
 
741
1250
 
742
1251
 
1252
+
1253
+
743
1254
 
744
1255
 
745
- >Belmont Picturehouse</span>
1256
+ >Stratford East Picturehouse</span>
746
1257
  </a> </li>
747
1258
 
748
1259
 
@@ -766,23 +1277,23 @@ if ((docCookies.getItem('accepted') === null)) {
766
1277
 
767
1278
  <li>
768
1279
 
769
- <a href="/cinema/Dukes_At_Komedia/" style="width:240px;">
1280
+ <a href="/cinema/Picturehouse_At_National_Media_Museum/" style="width:240px;">
770
1281
  <span class="left"
771
1282
 
772
- >Brighton</span>
1283
+ >Bradford</span>
773
1284
  <span class="right"
774
1285
 
775
1286
 
776
-
1287
+ style="width:110px;"
777
1288
 
778
1289
 
779
- >Duke&#39;s At Komedia</span>
1290
+ >Picturehouse At National Media Museum</span>
780
1291
  </a> </li>
781
1292
 
782
1293
 
783
1294
  <li>
784
1295
 
785
- <a href="/cinema/Duke_Of_Yorks/" style="width:240px;">
1296
+ <a href="/cinema/Dukes_At_Komedia/" style="width:240px;">
786
1297
  <span class="left"
787
1298
 
788
1299
  >Brighton</span>
@@ -790,31 +1301,27 @@ if ((docCookies.getItem('accepted') === null)) {
790
1301
 
791
1302
 
792
1303
 
793
-
794
-
795
1304
 
796
1305
 
797
- >Duke of York&#39;s Picturehouse</span>
1306
+ >Duke&#39;s At Komedia</span>
798
1307
  </a> </li>
799
1308
 
800
1309
 
801
1310
  <li>
802
1311
 
803
- <a href="/cinema/Abbeygate_Picturehouse/" style="width:240px;">
1312
+ <a href="/cinema/Duke_Of_Yorks/" style="width:240px;">
804
1313
  <span class="left"
805
1314
 
806
- >Bury St Edmunds</span>
1315
+ >Brighton</span>
807
1316
  <span class="right"
808
1317
 
809
1318
 
810
1319
 
811
1320
 
812
- style="width:110px;"
813
-
814
1321
 
815
1322
 
816
1323
 
817
- >Abbeygate Picturehouse</span>
1324
+ >Duke of York&#39;s Picturehouse</span>
818
1325
  </a> </li>
819
1326
 
820
1327
 
@@ -997,7 +1504,7 @@ if ((docCookies.getItem('accepted') === null)) {
997
1504
  <a href="/News/" class="global">Latest News</a>
998
1505
 
999
1506
 
1000
- <a style="margin-left:20px;" href="/News.rss" class="global"><img src="/site-media/images/feed-icon-14x14.png" alt="News feed"></a>
1507
+ <a style="margin-left:20px;" href="/News.rss" class="global"><img src="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/feed-icon-14x14.png" alt="News feed"></a>
1001
1508
 
1002
1509
  </h1>
1003
1510
  </div>
@@ -1006,17 +1513,17 @@ if ((docCookies.getItem('accepted') === null)) {
1006
1513
  <div class="item">
1007
1514
  <div class="imageholder noborder">
1008
1515
 
1009
- <a class="txt2 global" href="/News/item/Nt_Live_National_Theatres_War_Horse/">
1516
+ <a class="txt2 global" href="/News/item/Citizenfour_Plus_Panel_Discussion_Live_Via_Satellite/">
1010
1517
 
1011
1518
 
1012
1519
 
1013
- <img src="/newman/static/atchs/Content/mi/mipsa.jpeg" height="80" width="80">
1520
+ <img src="https://d2t98m0n7ql7on.cloudfront.net/newman/static/atchs/Content/41/413vs.jpeg" height="80" width="80">
1014
1521
 
1015
1522
 
1016
1523
  </a>
1017
1524
  </div>
1018
1525
 
1019
- <a class="txt2 global" href="/News/item/Nt_Live_National_Theatres_War_Horse/">NT Live: National Theatre&#39;s War Horse</a>
1526
+ <a class="txt2 global" href="/News/item/Citizenfour_Plus_Panel_Discussion_Live_Via_Satellite/">CITIZENFOUR Premiere plus Discussion Live via Satellite</a>
1020
1527
 
1021
1528
 
1022
1529
  <br>
@@ -1025,7 +1532,7 @@ if ((docCookies.getItem('accepted') === null)) {
1025
1532
 
1026
1533
  <span>
1027
1534
 
1028
- Encores now on sale! <a href="/News/item/Nt_Live_National_Theatres_War_Horse/" class="global" style="padding-left:5px; font-size:11px;">more...</a></span>
1535
+ From the London Film Festival <a href="/News/item/Citizenfour_Plus_Panel_Discussion_Live_Via_Satellite/" class="global" style="padding-left:5px; font-size:11px;">more...</a></span>
1029
1536
 
1030
1537
 
1031
1538
  </i>
@@ -1038,17 +1545,17 @@ if ((docCookies.getItem('accepted') === null)) {
1038
1545
  <div class="item">
1039
1546
  <div class="imageholder noborder">
1040
1547
 
1041
- <a class="txt2 global" href="/News/item/Screen_Arts_At_Picturehouse_Cinemas/">
1548
+ <a class="txt2 global" href="/News/item/The_Old_Vics_The_Crucible/">
1042
1549
 
1043
1550
 
1044
1551
 
1045
- <img src="/newman/static/atchs/Global/qj/qjzew.jpeg" height="80" width="80">
1552
+ <img src="/newman/static/atchs/Content/mw/mwcch.jpeg" height="80" width="80">
1046
1553
 
1047
1554
 
1048
1555
  </a>
1049
1556
  </div>
1050
1557
 
1051
- <a class="txt2 global" href="/News/item/Screen_Arts_At_Picturehouse_Cinemas/">Screen Arts at Picturehouse Cinemas</a>
1558
+ <a class="txt2 global" href="/News/item/The_Old_Vics_The_Crucible/">The Old Vic&#39;s The Crucible</a>
1052
1559
 
1053
1560
 
1054
1561
  <br>
@@ -1057,7 +1564,7 @@ if ((docCookies.getItem('accepted') === null)) {
1057
1564
 
1058
1565
  <span>
1059
1566
 
1060
- The best of opera, theatre, ballet and more <a href="/News/item/Screen_Arts_At_Picturehouse_Cinemas/" class="global" style="padding-left:5px; font-size:11px;">more...</a></span>
1567
+ Arthur Miller's drama, captured live on stage <a href="/News/item/The_Old_Vics_The_Crucible/" class="global" style="padding-left:5px; font-size:11px;">more...</a></span>
1061
1568
 
1062
1569
 
1063
1570
  </i>
@@ -1070,17 +1577,17 @@ if ((docCookies.getItem('accepted') === null)) {
1070
1577
  <div class="item">
1071
1578
  <div class="imageholder noborder">
1072
1579
 
1073
- <a class="txt2 global" href="/News/item/Win_A_Weekend_For_Two_In_Paris_By_Pre_Booking_Your_Tickets_To_Le_Week_End/">
1580
+ <a class="txt2 global" href="/News/item/Guardian_Live_Russell_Brand_In_Conversation/">
1074
1581
 
1075
1582
 
1076
1583
 
1077
- <img src="/newman/static/atchs/Global/1v/1v9u1.jpeg" height="80" width="80">
1584
+ <img src="https://d2t98m0n7ql7on.cloudfront.net/newman/static/atchs/Content/15/15vyd.jpeg" height="80" width="80">
1078
1585
 
1079
1586
 
1080
1587
  </a>
1081
1588
  </div>
1082
1589
 
1083
- <a class="txt2 global" href="/News/item/Win_A_Weekend_For_Two_In_Paris_By_Pre_Booking_Your_Tickets_To_Le_Week_End/">Win a Weekend for Two in Paris by Booking Your Tickets for LE WEEK-END!</a>
1590
+ <a class="txt2 global" href="/News/item/Guardian_Live_Russell_Brand_In_Conversation/">Guardian Live: In Conversation with Russell Brand</a>
1084
1591
 
1085
1592
 
1086
1593
  <br>
@@ -1089,7 +1596,7 @@ if ((docCookies.getItem('accepted') === null)) {
1089
1596
 
1090
1597
  <span>
1091
1598
 
1092
- Roger Michell's new film is in cinemas from 11 October <a href="/News/item/Win_A_Weekend_For_Two_In_Paris_By_Pre_Booking_Your_Tickets_To_Le_Week_End/" class="global" style="padding-left:5px; font-size:11px;">more...</a></span>
1599
+ Thursday 23 October <a href="/News/item/Guardian_Live_Russell_Brand_In_Conversation/" class="global" style="padding-left:5px; font-size:11px;">more...</a></span>
1093
1600
 
1094
1601
 
1095
1602
  </i>
@@ -1102,17 +1609,17 @@ if ((docCookies.getItem('accepted') === null)) {
1102
1609
  <div class="item">
1103
1610
  <div class="imageholder noborder">
1104
1611
 
1105
- <a class="txt2 global" href="/News/item/The_Picturehouse_Bikeathon_Is_Back/">
1612
+ <a class="txt2 global" href="/News/item/Culture_Shock_Presents_Withnail_I_Newly_Resotored/">
1106
1613
 
1107
1614
 
1108
1615
 
1109
- <img src="/newman/static/atchs/Global/1a/1ad6v.jpeg" height="80" width="80">
1616
+ <img src="https://d2t98m0n7ql7on.cloudfront.net/newman/static/atchs/Global/bl/blnqi.gif" height="80" width="80">
1110
1617
 
1111
1618
 
1112
1619
  </a>
1113
1620
  </div>
1114
1621
 
1115
- <a class="txt2 global" href="/News/item/The_Picturehouse_Bikeathon_Is_Back/">The Picturehouse Bikeathon is Back! </a>
1622
+ <a class="txt2 global" href="/News/item/Culture_Shock_Presents_Withnail_I_Newly_Resotored/">Culture Shock presents WITHNAIL &amp; I – Newly Restored!</a>
1116
1623
 
1117
1624
 
1118
1625
  <br>
@@ -1121,7 +1628,7 @@ if ((docCookies.getItem('accepted') === null)) {
1121
1628
 
1122
1629
  <span>
1123
1630
 
1124
- Raising money for Plan UK <a href="/News/item/The_Picturehouse_Bikeathon_Is_Back/" class="global" style="padding-left:5px; font-size:11px;">more...</a></span>
1631
+ The finest cult comedy known to humanity <a href="/News/item/Culture_Shock_Presents_Withnail_I_Newly_Resotored/" class="global" style="padding-left:5px; font-size:11px;">more...</a></span>
1125
1632
 
1126
1633
 
1127
1634
  </i>
@@ -1134,17 +1641,17 @@ if ((docCookies.getItem('accepted') === null)) {
1134
1641
  <div class="item">
1135
1642
  <div class="imageholder noborder">
1136
1643
 
1137
- <a class="txt2 global" href="/News/item/Discover_Tuesdays_Presents_The_Crash_Reel/">
1644
+ <a class="txt2 global" href="/News/item/Book_Now_For_Christopher_Nolans_Interstellar/">
1138
1645
 
1139
1646
 
1140
1647
 
1141
- <img src="/newman/static/atchs/Content/sh/shmqx.jpeg" height="80" width="80">
1648
+ <img src="https://d2t98m0n7ql7on.cloudfront.net/newman/static/atchs/Content/id/idqj1.jpeg" height="80" width="80">
1142
1649
 
1143
1650
 
1144
1651
  </a>
1145
1652
  </div>
1146
1653
 
1147
- <a class="txt2 global" href="/News/item/Discover_Tuesdays_Presents_The_Crash_Reel/">Discover Tuesdays presents THE CRASH REEL</a>
1654
+ <a class="txt2 global" href="/News/item/Book_Now_For_Christopher_Nolans_Interstellar/">Book Now for Christopher Nolan&#39;s INTERSTELLAR</a>
1148
1655
 
1149
1656
 
1150
1657
  <br>
@@ -1153,7 +1660,7 @@ if ((docCookies.getItem('accepted') === null)) {
1153
1660
 
1154
1661
  <span>
1155
1662
 
1156
- Tuesday 15 October <a href="/News/item/Discover_Tuesdays_Presents_The_Crash_Reel/" class="global" style="padding-left:5px; font-size:11px;">more...</a></span>
1663
+ Opening on Friday 7 November <a href="/News/item/Book_Now_For_Christopher_Nolans_Interstellar/" class="global" style="padding-left:5px; font-size:11px;">more...</a></span>
1157
1664
 
1158
1665
 
1159
1666
  </i>
@@ -1166,17 +1673,17 @@ if ((docCookies.getItem('accepted') === null)) {
1166
1673
  <div class="item">
1167
1674
  <div class="imageholder noborder">
1168
1675
 
1169
- <a class="txt2 global" href="/News/item/Competition_Commission_Outcome/">
1676
+ <a class="txt2 global" href="/News/item/Vintage_Sundays_Presents_To_Kill_A_Mockingbird/">
1170
1677
 
1171
1678
 
1172
1679
 
1173
- <img src="/newman/static/atchs/Global/bi/bivc5.jpeg" height="80" width="80">
1680
+ <img src="https://d2t98m0n7ql7on.cloudfront.net/newman/static/atchs/Content/z9/z9bu1.jpeg" height="80" width="80">
1174
1681
 
1175
1682
 
1176
1683
  </a>
1177
1684
  </div>
1178
1685
 
1179
- <a class="txt2 global" href="/News/item/Competition_Commission_Outcome/">Competition Commission Outcome</a>
1686
+ <a class="txt2 global" href="/News/item/Vintage_Sundays_Presents_To_Kill_A_Mockingbird/">Vintage Sundays presents TO KILL A MOCKINGBIRD</a>
1180
1687
 
1181
1688
 
1182
1689
  <br>
@@ -1185,7 +1692,7 @@ if ((docCookies.getItem('accepted') === null)) {
1185
1692
 
1186
1693
  <span>
1187
1694
 
1188
- The CC have published their final decision <a href="/News/item/Competition_Commission_Outcome/" class="global" style="padding-left:5px; font-size:11px;">more...</a></span>
1695
+ Sunday 19 October <a href="/News/item/Vintage_Sundays_Presents_To_Kill_A_Mockingbird/" class="global" style="padding-left:5px; font-size:11px;">more...</a></span>
1189
1696
 
1190
1697
 
1191
1698
  </i>
@@ -1200,7 +1707,7 @@ if ((docCookies.getItem('accepted') === null)) {
1200
1707
  <a href="/News/" class="txt3 global">All News</a>
1201
1708
 
1202
1709
 
1203
- <a style="margin-left:20px;" href="/News.rss" class="global"><img src="/site-media/images/feed-icon-14x14.png" alt="News feed"></a>
1710
+ <a style="margin-left:20px;" href="/News.rss" class="global"><img src="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/feed-icon-14x14.png" alt="News feed"></a>
1204
1711
 
1205
1712
  </div>
1206
1713
  <div class="box2_bottom"></div>
@@ -1216,31 +1723,20 @@ if ((docCookies.getItem('accepted') === null)) {
1216
1723
 
1217
1724
 
1218
1725
  <div class="ad">
1219
- <!-- List of tags for the site: Picturehouses, Format "Standard" -->
1220
1726
 
1221
- <!-- REMINDER: this function must be pasted inside the website pages. -->
1222
1727
 
1223
- <script type="text/javascript">
1224
- sas_tmstp=Math.round(Math.random()*10000000000);sas_masterflag=1;
1225
- function SmartAdServer(sas_pageid,sas_formatid,sas_target) {
1226
- if (sas_masterflag==1) {sas_masterflag=0;sas_master='M';} else {sas_master='S';};
1227
- document.write('<scr'+'ipt src="https://www4.smartadserver.com/call/pubj/' + sas_pageid + '/' + sas_formatid + '/' + sas_master + '/' + sas_tmstp + '/' + escape(sas_target) + '?"></scr'+'ipt>');
1228
- }
1229
- </script>
1230
- <!-- Page : ros -->
1728
+ <!-- Beginning Sync AdSlot 2 for Ad unit UK_PictureHouses/Homepage ### size: [[300,250]] -->
1729
+ <div id='div-gpt-ad-144738139352026482-2'>
1730
+ <script type='text/javascript'>
1731
+ googletag.display('div-gpt-ad-144738139352026482-2');
1732
+ </script>
1733
+ </div>
1734
+ <!-- End AdSlot 2 -->
1735
+
1231
1736
 
1232
- <script type="text/javascript">
1233
- sas_pageid='23668/160918'; // Page : Picturehouses/ros
1234
- sas_formatid=10021; // Format : MPU 300x250
1235
- sas_target=''; // Targeting
1236
- SmartAdServer(sas_pageid,sas_formatid,sas_target);
1237
- </script>
1238
- <noscript>
1239
- <a href="https://www4.smartadserver.com/call/pubjumpi/23668/160918/10021/M/[timestamp]/?" target="_blank">
1240
- <img src="https://www4.smartadserver.com/call/pubi/23668/160918/10021/M/[timestamp]/?" border="0" alt="" /></a>
1241
- </noscript>
1242
1737
  </div>
1243
1738
 
1739
+
1244
1740
 
1245
1741
 
1246
1742
 
@@ -1249,11 +1745,17 @@ function SmartAdServer(sas_pageid,sas_formatid,sas_target) {
1249
1745
 
1250
1746
 
1251
1747
 
1252
- <a onClick="_gaq.push(['_trackEvent','advert', 'internal', 'click'])" href="/film/The_Perverts_Guide_To_Ideology/" target="_blank">
1253
- <img src="/newman/static/atchs/Global/d8/d8rrv.gif"/>
1748
+ <a href="/News/item/Guardian_Live_Russell_Brand_In_Conversation/">
1749
+ <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="300" height="250" id="Richard Curtiss" align="middle">
1750
+ <param name="allowScriptAccess" value="sameDomain" />
1751
+ <param name="allowFullScreen" value="false" />
1752
+ <param name="movie" value="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/GuardianLive_MPUBrand.swf" />
1753
+ <param name="quality" value="high" />
1754
+ <param name="bgcolor" value="#333333" />
1755
+ <embed src="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/GuardianLive_MPUBrand.swf" quality="high" bgcolor="#333333" width="300" height="250" name="kuma" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
1756
+ </object>
1254
1757
  </a>
1255
1758
 
1256
-
1257
1759
 
1258
1760
 
1259
1761
  </div>
@@ -1262,7 +1764,7 @@ function SmartAdServer(sas_pageid,sas_formatid,sas_target) {
1262
1764
 
1263
1765
 
1264
1766
 
1265
- <a href="http://www.facebook.com/picturehouses" style="margin-right: 10px;" class="button_facebook"> </a> <a href="http://twitter.com/picturehouses" class="button_twitter"> </a> <a href="/Connect/Email_News/" style="margin-top: 10px;" class="button_newsletter"> </a><a style="margin-right: 10px; margin-top: 10px; background: url(http://www.picturehouses.co.uk/site-media/images/cityscreen/button_entertainment.gif) no-repeat top left; width: 143px; height: 56px; display: inline-block;" target="_blank" href="http://www.picturehouseentertainment.co.uk/"> </a> <a style="background: url(http://www.picturehouses.co.uk/site-media/images/cityscreen/button_membership.gif) no-repeat top left; width: 143px; height: 56px; display: inline-block;" href="http://www.picturehouses.co.uk/Picturehouse_Membership/"> </a></div>
1767
+ <a class="button_facebook" style="margin-right: 10px;" href="http://www.facebook.com/picturehouses"> </a> <a class="button_twitter" href="http://twitter.com/picturehouses"> </a> <a style="background: url(https://cityscreen.clients.newmanonline.org.uk/atchs/Global/lo/lowtw.jpeg) no-repeat top left; margin-top: 10px; width:299px;height:51px;display:inline-block;" href="/Connect/Email_News/"> </a><a style="background: url(/site-media/images/Abbeygate.jpg) no-repeat top left; height: 56px; display: inline-block; width: 299px; margin-top: 10px;" target="_blank" href="http://www.abbeygatecinema.co.uk/"></a><a href="http://www.picturehouseentertainment.co.uk/" target="_blank" style="margin-right: 10px; margin-top: 10px; background: url(https://cityscreen.clients.newmanonline.org.uk/atchs/Global/fx/fx94g.jpeg) no-repeat top left; width: 143px; height: 56px; display: inline-block;"> </a> <a href="http://www.picturehouses.co.uk/Picturehouse_Membership/" style="background: url(https://cityscreen.clients.newmanonline.org.uk/atchs/Global/72/722wr.jpeg) no-repeat top left; width: 143px; height: 56px; display: inline-block;"> </a></div>
1266
1768
 
1267
1769
 
1268
1770
 
@@ -1275,7 +1777,7 @@ function SmartAdServer(sas_pageid,sas_formatid,sas_target) {
1275
1777
  <div class="toplinks txt4">
1276
1778
  <div class="right footer_select" style="width:314px;">
1277
1779
 
1278
- <img src="/site-media/images/cityscreen/logo_small.gif" id="logo_small" style="position:relative; left:80px; top:-7px;">
1780
+ <img src="https://d2t98m0n7ql7on.cloudfront.net/site-media/images/cityscreen/logo_small.gif" id="logo_small" style="position:relative; left:80px; top:-7px;">
1279
1781
 
1280
1782
  <form>
1281
1783
  <select name="selectnav" class="selectnav">
@@ -1297,7 +1799,7 @@ function SmartAdServer(sas_pageid,sas_formatid,sas_target) {
1297
1799
  <span class="separator">|</span>
1298
1800
 
1299
1801
 
1300
- <a href="/Contact/Jobs/">Jobs </a> <!-- class="global" -->
1802
+ <a href="/Jobs/">Jobs </a> <!-- class="global" -->
1301
1803
 
1302
1804
  <span class="separator">|</span>
1303
1805
 
@@ -1357,21 +1859,6 @@ value=0&amp;label=ihOBCNmJwAMQ5-n62QM&amp;guid=ON&amp;script=0"/>
1357
1859
  </div>
1358
1860
 
1359
1861
 
1360
- <script type="text/javascript">
1361
-
1362
- var _gaq = _gaq || [];
1363
- _gaq.push(['_setAccount', 'UA-7911463-2']);
1364
- _gaq.push(['_trackPageview']);
1365
-
1366
- (function() {
1367
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
1368
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
1369
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
1370
- })();
1371
-
1372
- </script>
1373
-
1374
-
1375
1862
 
1376
1863
  <div id="fb-root"></div>
1377
1864
  <script>(function(d, s, id) {
@@ -1387,7 +1874,10 @@ value=0&amp;label=ihOBCNmJwAMQ5-n62QM&amp;guid=ON&amp;script=0"/>
1387
1874
  <script type="text/javascript">
1388
1875
  function load_trailers(filmid) {
1389
1876
  var film = jQuery('#' + filmid).attr('title');
1390
- _gaq.push(['_trackEvent', 'Trailers', 'Play', film]);
1877
+ ga('send', 'event', {
1878
+ eventCategory:'Trailers',
1879
+ eventAction:'Play',
1880
+ eventValue:film});
1391
1881
  var h ='<div style="font-family:Arial, Helvetica, sans-serif;" id="trailer_header">';
1392
1882
  if (jQuery('#' + filmid).find('span').length > 1) {
1393
1883
  h = h + '<select id="trailerField">';
@@ -1414,14 +1904,20 @@ value=0&amp;label=ihOBCNmJwAMQ5-n62QM&amp;guid=ON&amp;script=0"/>
1414
1904
  var fti= f.attr('fti');
1415
1905
  triggerEnd();
1416
1906
  if (mtid === 'ftr') {
1417
- _gaq.push(['_trackEvent', 'Features', 'Change', film]);
1907
+ ga('send', 'event', {
1908
+ eventCategory:'Features',
1909
+ eventAction:'Change',
1910
+ eventValue:film});
1418
1911
  _V_("mm_video").src([
1419
1912
  { type: "video/mp4", src: "http://ml5vid.mymovies.net/filmmedia/film/fid" + fid + "/features/avfid" + mid + "/html5/700.mp4" },
1420
1913
  { type: "video/webm", src: "http://ml5vid.mymovies.net/filmmedia/film/fid" + fid + "/features/avfid" + mid + "/html5/700.webm" },
1421
1914
  { type: "video/ogg", src: "http://ml5vid.mymovies.net/filmmedia/film/fid" + fid + "/features/avfid" + mid + "/html5/700.ogv" }
1422
1915
  ]);
1423
1916
  } else {
1424
- _gaq.push(['_trackEvent', 'Trailers', 'Change', film]);
1917
+ ga('send', 'event', {
1918
+ eventCategory:'Trailers',
1919
+ eventAction:'Change',
1920
+ eventValue:film});
1425
1921
  _V_("mm_video").src([
1426
1922
  { type: "video/mp4", src: "http://ml5vid.mymovies.net/filmmedia/film/fid" + fid + "/trailers/trid" + mid + "/html5/700.mp4" },
1427
1923
  { type: "video/webm", src: "http://ml5vid.mymovies.net/filmmedia/film/fid" + fid + "/trailers/trid" + mid + "/html5/700.webm" },