4 /** |
4 /** |
5 * include some common code (like we did in the 90s) |
5 * include some common code (like we did in the 90s) |
6 * People still do this? ;) |
6 * People still do this? ;) |
7 */ |
7 */ |
8 |
8 |
9 include_once dirname(__FILE__).'/config.php'; |
9 include_once dirname(__FILE__).'/common.php'; |
10 include_once dirname(__FILE__).'/'.$C_default_rep.'/config.php'; |
10 include_once dirname(__FILE__).'/'.$C_default_rep.'/config.php'; |
11 include_once dirname(__FILE__).'/common.php'; |
11 |
12 |
12 |
13 /** |
13 /** |
14 * Do we already have a valid Access Token or need to go get one? |
14 * Do we already have a valid Access Token or need to go get one? |
15 */ |
15 */ |
16 if (!isset($_SESSION['TWITTER_ACCESS_TOKEN']) && isset($_GET['CONNECT']) ) { |
16 if (!isset($_SESSION['TWITTER_ACCESS_TOKEN']) && isset($_GET['CONNECT']) ) { |
34 <head> |
34 <head> |
35 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
35 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
36 <title>Polemic tweet - Live Video and Annotation</title> |
36 <title>Polemic tweet - Live Video and Annotation</title> |
37 |
37 |
38 <!-- Framework CSS --> |
38 <!-- Framework CSS --> |
39 <link rel="stylesheet" href="res/blueprint/screen.css" type="text/css" media="screen, projection"> |
39 <link rel="stylesheet" href="<?php echo(registry_url('blueprint-screen','css'));?>" type="text/css" media="screen, projection"/> |
40 <link rel="stylesheet" href="res/blueprint/print.css" type="text/css" media="print"> |
40 <link rel="stylesheet" href="<?php echo(registry_url('blueprint-print','css'));?>" type="text/css" media="print"/> |
41 <!--[if lt IE 8]><link rel="stylesheet" href="blueprint/ie.css" type="text/css" media="screen, projection"><![endif]--> |
41 <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo(registry_url('blueprint-ie','css'));?>" type="text/css" media="screen, projection"><![endif]--> |
42 |
42 <link rel="stylesheet" href="<?php echo(registry_url('blueprint-plugins-fancy-type','css'));?>" type="text/css" media="screen, projection"/> |
43 <!-- Import fancy-type plugin for the sample page. --> |
43 <link rel="stylesheet" href="<?php echo(registry_url('custom','css'));?>" type="text/css" media="screen, projection"/> |
44 |
44 <link rel="stylesheet" href="<?php echo(registry_url('tabs-slideshow','css'));?>" type="text/css" media="screen, projection"> |
45 <link rel="stylesheet" href="res/blueprint/plugins/fancy-type/screen.css" type="text/css" media="screen, projection"> |
|
46 <link rel="stylesheet" href="res/css/custom.css" type="text/css" media="screen, projection"> |
|
47 <link rel="stylesheet" href="res/css/tabs-slideshow.css" type="text/css" media="screen, projection"> |
|
48 <link rel="stylesheet" type="text/css" href="res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.css" media="screen"> |
|
49 <link rel="stylesheet" type="text/css" href="res/niceforms/niceforms-custom.css" media="screen" > |
|
50 |
45 |
51 <!-- JAVASCRIPT --> |
46 <!-- JAVASCRIPT --> |
52 <script type="text/javascript" src="<?php echo(registry_url('jquery','js'));?>"></script> |
47 <script type="text/javascript" src="<?php echo(registry_url('jquery','js'));?>"></script> |
53 <script type="text/javascript" src="<?php echo(registry_url('jquery-tools','js'));?>"></script> |
48 <script type="text/javascript" src="<?php echo(registry_url('jquery-tools','js'));?>"></script> |
54 <script type="text/javascript" src="<?php echo(registry_url('jquery-mousewheel','js'));?>"></script> |
49 <script type="text/javascript" src="<?php echo(registry_url('jquery-mousewheel','js'));?>"></script> |
55 <script type="text/javascript" src="<?php echo(registry_url('fancybox','js'));?>"></script> |
|
56 <script type="text/javascript" src="<?php echo(registry_url('niceforms','js'));?>"></script> |
|
57 <script type="text/javascript" src="<?php echo(registry_url('tw-widget','js'));?>"></script> |
|
58 |
50 |
59 <!-- FONT --> |
51 <!-- FONT --> |
60 <link href='<?php echo(registry_url('PT-Sans_Narrow','font'));?>' rel='stylesheet' type='text/css'> |
52 <link href='<?php echo(registry_url('PT-Sans_Narrow','font'));?>' rel='stylesheet' type='text/css'> |
61 <link href='<?php echo(registry_url('PT-Sans','font'));?>' rel='stylesheet' type='text/css'> |
53 <link href='<?php echo(registry_url('PT-Sans','font'));?>' rel='stylesheet' type='text/css'> |
62 <link href='<?php echo(registry_url('Geo','font'));?>' rel='stylesheet' type='text/css'> |
54 <link href='<?php echo(registry_url('Geo','font'));?>' rel='stylesheet' type='text/css'> |
71 }); |
63 }); |
72 $("#ACCES").click(function() { |
64 $("#ACCES").click(function() { |
73 document.location.href="<?php echo(URL_ROOT.$C_default_rep); ?>/client.php"; |
65 document.location.href="<?php echo(URL_ROOT.$C_default_rep); ?>/client.php"; |
74 }); |
66 }); |
75 $(".archivesVideoBox").mouseover(function() { |
67 $(".archivesVideoBox").mouseover(function() { |
76 //$(this).animate({'backgroundColor'}); |
|
77 //$(this).css({'backgroundColor':'#d6d6d6'}); |
|
78 $(this).css({'backgroundColor':'#fff'}); |
68 $(this).css({'backgroundColor':'#fff'}); |
79 $(this).cursor = "pointer"; |
69 $(this).cursor = "pointer"; |
80 }).mouseout(function() { |
70 }).mouseout(function() { |
81 //$(this).css({'backgroundColor':'#f6f6f6'}); |
|
82 $(this).css({'backgroundColor':'#f2f2f2'}); |
71 $(this).css({'backgroundColor':'#f2f2f2'}); |
83 }); |
72 }); |
84 |
73 |
85 //<!-- SLIDER --> |
74 //<!-- SLIDER --> |
86 $(".slidetabs").tabs(".images > div", { |
75 $(".slidetabs").tabs(".images > div", { |