1 <?php |
|
2 |
|
3 $config = array("rep" => basename(__DIR__)); |
|
4 |
|
5 include_once '../common.php'; |
|
6 |
|
7 /** |
|
8 * Do we already have a valid Access Token or need to go get one? |
|
9 */ |
|
10 |
|
11 if (!isset($_SESSION['TWITTER_ACCESS_TOKEN']) ) { |
|
12 |
|
13 $_SESSION['TWITTER_REDIRECT_URL'] = URL_ROOT . basename(__DIR__) . '/' . basename(__FILE__); |
|
14 // Permanent redirection |
|
15 header("HTTP/1.1 301 Moved Permanently"); |
|
16 header("Location: client.php?CONNECT=true&rep=".basename(__DIR__)); |
|
17 exit(); |
|
18 |
|
19 } |
|
20 |
|
21 ?> |
|
22 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" |
|
23 "http://www.w3.org/TR/html4/strict.dtd"> |
|
24 |
|
25 <html lang="fr"> |
|
26 <head> |
|
27 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
28 <title>Avant-Première Hanna Arendt : Tweet Wall</title> |
|
29 <meta http-equiv="X-UA-Compatible" content="IE=9" /> |
|
30 |
|
31 <!-- CSS --> |
|
32 <link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>" type="text/css" media="screen, projection"/> |
|
33 <link rel="stylesheet" href="style.css" type="text/css" media="screen, projection"/> |
|
34 |
|
35 <!-- JAVASCRIPT --> |
|
36 <script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script> |
|
37 <script type="text/javascript" src="<?php echo(registry_url('jquery-mousewheel','js'))?>"></script> |
|
38 <script type="text/javascript" src="<?php echo(registry_url('jquery-scrollto','js'))?>"></script> |
|
39 <script type="text/javascript" src="<?php echo(registry_url('underscore','js'))?>"></script> |
|
40 <script type="text/javascript" src="<?php echo(registry_url('raphael','js'))?>"></script> |
|
41 |
|
42 <script type="text/javascript"> |
|
43 <?php if (isset($_GET['favuser'])) { |
|
44 echo 'var favUser="'.$_GET['favuser'].'";'; |
|
45 } |
|
46 ?> |
|
47 </script> |
|
48 |
|
49 <script type="text/javascript" src="script.js"></script> |
|
50 |
|
51 </head> |
|
52 <body> |
|
53 <div id="main"> |
|
54 <div id="visionplayer_1101"> |
|
55 <img src="carton.png" /> |
|
56 </div> |
|
57 <div id="vizcontainer"> |
|
58 |
|
59 <div class="barre"> |
|
60 <form id="recherche"> |
|
61 <input autocomplete="off" class="greyed" id="inp_q" value="Rechercher" /> |
|
62 <input id="inp_submit" type="submit" /> |
|
63 <input id="inp_reset" type="reset" /> |
|
64 <div id="time_controls"> |
|
65 <div id="time_legende"></div> |
|
66 <div id="time_scale"></div> |
|
67 <a href="#" id="time_zoomout"></a> |
|
68 <a href="#" id="time_zoomin"></a> |
|
69 </div> |
|
70 <div id="recherche_annot"> |
|
71 Rechercher par polémique : <span id="rech_list_annot"></span> |
|
72 <br /> |
|
73 </div> |
|
74 </form> |
|
75 </div> |
|
76 |
|
77 <div id="tweetviz"> |
|
78 <ul id="tweetlist"></ul> |
|
79 <div id="timeline"></div> |
|
80 <div id="scrollcont"> |
|
81 <div id="scrollin"></div> |
|
82 </div> |
|
83 </div> |
|
84 </div> |
|
85 |
|
86 </div> |
|
87 </body> |
|
88 </html> |
|