| author | ymh <ymh.work@gmail.com> |
| Mon, 20 Nov 2023 18:10:58 +0100 | |
| changeset 1557 | 7c67caaafdeb |
| parent 962 | 48e363766bb7 |
| permissions | -rw-r--r-- |
| 836 | 1 |
<?php |
2 |
||
| 838 | 3 |
$config = array("rep" => basename(__DIR__)); |
4 |
||
| 836 | 5 |
include_once '../common.php'; |
| 838 | 6 |
|
| 836 | 7 |
/** |
8 |
* Do we already have a valid Access Token or need to go get one? |
|
9 |
*/ |
|
10 |
||
| 1557 | 11 |
if (!isset($_SESSION['SOCIAL_ACCESS_TOKEN'])) { |
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
12 |
|
| 836 | 13 |
$_SESSION['TWITTER_REDIRECT_URL'] = URL_ROOT . basename(__DIR__) . '/' . basename(__FILE__); |
|
840
9c645bec23c4
Bugfix for oauth redirects
Raphael Velt <raph.velt@gmail.com>
parents:
838
diff
changeset
|
14 |
// Permanent redirection |
|
9c645bec23c4
Bugfix for oauth redirects
Raphael Velt <raph.velt@gmail.com>
parents:
838
diff
changeset
|
15 |
header("HTTP/1.1 301 Moved Permanently"); |
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
16 |
header("Location: client.php?CONNECT=true&rep=" . basename(__DIR__)); |
|
840
9c645bec23c4
Bugfix for oauth redirects
Raphael Velt <raph.velt@gmail.com>
parents:
838
diff
changeset
|
17 |
exit(); |
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
18 |
|
| 836 | 19 |
} |
|
950
8320167038ca
Changed twitter user for cineconf
Raphael Velt <raph.velt@gmail.com>
parents:
948
diff
changeset
|
20 |
|
|
8320167038ca
Changed twitter user for cineconf
Raphael Velt <raph.velt@gmail.com>
parents:
948
diff
changeset
|
21 |
include 'favuser.php'; |
|
8320167038ca
Changed twitter user for cineconf
Raphael Velt <raph.velt@gmail.com>
parents:
948
diff
changeset
|
22 |
|
| 836 | 23 |
?> |
24 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" |
|
25 |
"http://www.w3.org/TR/html4/strict.dtd"> |
|
26 |
||
27 |
<html lang="fr"> |
|
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
28 |
<head> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
29 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
962
48e363766bb7
modif embed
Thibaut Cavalié <thibaut.cavalie@iri.centrepompidou.fr>
parents:
950
diff
changeset
|
30 |
<title>Avant-Première Un Chateau en Italie : Tweet Wall</title> |
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
31 |
<meta http-equiv="X-UA-Compatible" content="IE=9" /> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
32 |
|
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
33 |
<!-- CSS --> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
34 |
<link rel="stylesheet" href="<?php echo(registry_url('tweetcast', 'css')); ?>" type="text/css" media="screen, projection"/> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
35 |
<link rel="stylesheet" href="style.css" type="text/css" media="screen, projection"/> |
| 836 | 36 |
|
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
37 |
<!-- JAVASCRIPT --> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
38 |
<script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
39 |
<script type="text/javascript" src="<?php echo(registry_url('jquery-mousewheel','js'))?>"></script> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
40 |
<script type="text/javascript" src="<?php echo(registry_url('jquery-scrollto','js'))?>"></script> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
41 |
<script type="text/javascript" src="<?php echo(registry_url('underscore','js'))?>"></script> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
42 |
<script type="text/javascript" src="<?php echo(registry_url('raphael','js'))?>"></script> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
43 |
|
| 862 | 44 |
<script type="text/javascript"> |
45 |
var favUser='<?php |
|
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
46 |
if (isset($_GET['favuser'])) { |
| 862 | 47 |
echo $_GET['favuser']; |
48 |
} else { |
|
|
950
8320167038ca
Changed twitter user for cineconf
Raphael Velt <raph.velt@gmail.com>
parents:
948
diff
changeset
|
49 |
echo $favuser; |
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
50 |
} |
| 862 | 51 |
?>'; |
52 |
</script> |
|
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
53 |
|
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
54 |
<script type="text/javascript" src="script.js"></script> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
55 |
|
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
56 |
</head> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
57 |
<body> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
58 |
<div id="main"> |
|
962
48e363766bb7
modif embed
Thibaut Cavalié <thibaut.cavalie@iri.centrepompidou.fr>
parents:
950
diff
changeset
|
59 |
<!--Cinecast Player - Start--> |
|
48e363766bb7
modif embed
Thibaut Cavalié <thibaut.cavalie@iri.centrepompidou.fr>
parents:
950
diff
changeset
|
60 |
<div id="visionplayer_1101"></div> |
|
48e363766bb7
modif embed
Thibaut Cavalié <thibaut.cavalie@iri.centrepompidou.fr>
parents:
950
diff
changeset
|
61 |
<script type="text/javascript" src="http://events.globecastwebtv.com/embed/1101?w=836&h=440"></script> |
|
48e363766bb7
modif embed
Thibaut Cavalié <thibaut.cavalie@iri.centrepompidou.fr>
parents:
950
diff
changeset
|
62 |
<!--Cinecast Player - End--> |
| 836 | 63 |
|
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
64 |
<div id="vizcontainer"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
65 |
<div class="barre"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
66 |
<form id="recherche"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
67 |
<input autocomplete="off" class="greyed" id="inp_q" value="Rechercher" /> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
68 |
<input id="inp_submit" type="submit" /> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
69 |
<input id="inp_reset" type="reset" /> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
70 |
<div id="time_controls"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
71 |
<div id="time_legende"></div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
72 |
<div id="time_scale"></div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
73 |
<a href="#" id="time_zoomout"></a> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
74 |
<a href="#" id="time_zoomin"></a> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
75 |
</div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
76 |
<div id="recherche_annot"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
77 |
Rechercher par polémique : <span id="rech_list_annot"></span> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
78 |
<br /> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
79 |
</div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
80 |
</form> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
81 |
</div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
82 |
|
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
83 |
<div id="tweetviz"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
84 |
<ul id="tweetlist"></ul> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
85 |
<div id="timeline"></div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
86 |
<div id="scrollcont"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
87 |
<div id="scrollin"></div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
88 |
</div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
89 |
</div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
90 |
</div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
91 |
|
| 836 | 92 |
</div> |
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
93 |
</body> |
| 836 | 94 |
</html> |