| author | Raphael Velt <raph.velt@gmail.com> |
| Sun, 08 Sep 2013 14:23:14 +0200 | |
| changeset 942 | 620ba7e347c1 |
| parent 902 | da2081e8c847 |
| child 948 | c670e8888357 |
| 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 |
||
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
11 |
if (!isset($_SESSION['TWITTER_ACCESS_TOKEN'])) { |
|
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 |
} |
20 |
?> |
|
21 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" |
|
22 |
"http://www.w3.org/TR/html4/strict.dtd"> |
|
23 |
||
24 |
<html lang="fr"> |
|
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
25 |
<head> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
26 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
942
620ba7e347c1
Cineconf for Kaspar Hauser
Raphael Velt <raph.velt@gmail.com>
parents:
902
diff
changeset
|
27 |
<title>Avant-Première Kaspar Hauser : Tweet Wall</title> |
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
28 |
<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
|
29 |
|
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
30 |
<!-- CSS --> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
31 |
<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
|
32 |
<link rel="stylesheet" href="style.css" type="text/css" media="screen, projection"/> |
| 836 | 33 |
|
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
34 |
<!-- JAVASCRIPT --> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
35 |
<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
|
36 |
<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
|
37 |
<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
|
38 |
<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
|
39 |
<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
|
40 |
|
| 862 | 41 |
<script type="text/javascript"> |
42 |
var favUser='<?php |
|
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
43 |
if (isset($_GET['favuser'])) { |
| 862 | 44 |
echo $_GET['favuser']; |
45 |
} else { |
|
|
942
620ba7e347c1
Cineconf for Kaspar Hauser
Raphael Velt <raph.velt@gmail.com>
parents:
902
diff
changeset
|
46 |
echo 'AVPKaspar'; |
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
47 |
} |
| 862 | 48 |
?>'; |
49 |
</script> |
|
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
50 |
|
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
51 |
<script type="text/javascript" src="script.js"></script> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
52 |
|
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
53 |
</head> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
54 |
<body> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
55 |
<div id="main"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
56 |
<div id="visionplayer_1101"></div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
57 |
|
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
58 |
<script type="text/javascript" src="http://embeddedplayer.visionip.tv/embed/1101?w=836&h=440" ></script> |
| 836 | 59 |
|
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
60 |
<div id="vizcontainer"> |
| 836 | 61 |
|
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
62 |
<div class="barre"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
63 |
<form id="recherche"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
64 |
<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
|
65 |
<input id="inp_submit" type="submit" /> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
66 |
<input id="inp_reset" type="reset" /> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
67 |
<div id="time_controls"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
68 |
<div id="time_legende"></div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
69 |
<div id="time_scale"></div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
70 |
<a href="#" id="time_zoomout"></a> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
71 |
<a href="#" id="time_zoomin"></a> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
72 |
</div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
73 |
<div id="recherche_annot"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
74 |
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
|
75 |
<br /> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
76 |
</div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
77 |
</form> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
78 |
</div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
79 |
|
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
80 |
<div id="tweetviz"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
81 |
<ul id="tweetlist"></ul> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
82 |
<div id="timeline"></div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
83 |
<div id="scrollcont"> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
84 |
<div id="scrollin"></div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
85 |
</div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
86 |
</div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
87 |
</div> |
|
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
88 |
|
| 836 | 89 |
</div> |
|
854
4c377df66569
Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
842
diff
changeset
|
90 |
</body> |
| 836 | 91 |
</html> |