web/cineconf/paris.php
author Raphael Velt <raph.velt@gmail.com>
Wed, 15 May 2013 16:37:54 +0200
changeset 901 1c802a62425f
parent 868 web/hanna-arendt/paris.php@84d49f436e3d
child 902 da2081e8c847
permissions -rw-r--r--
Changes on Cineconf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     1
<?php
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     2
838
7c4a269eb53a Trying to fix bug on ha
Raphael Velt <raph.velt@gmail.com>
parents: 836
diff changeset
     3
$config = array("rep" => basename(__DIR__));
7c4a269eb53a Trying to fix bug on ha
Raphael Velt <raph.velt@gmail.com>
parents: 836
diff changeset
     4
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     5
include_once '../common.php';
838
7c4a269eb53a Trying to fix bug on ha
Raphael Velt <raph.velt@gmail.com>
parents: 836
diff changeset
     6
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     7
/**
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     8
 * Do we already have a valid Access Token or need to go get one?
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     9
 */
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    10
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    11
if (!isset($_SESSION['TWITTER_ACCESS_TOKEN']) ) {
840
9c645bec23c4 Bugfix for oauth redirects
Raphael Velt <raph.velt@gmail.com>
parents: 838
diff changeset
    12
	
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    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");
842
44b97c5679c0 Redirect correct
Raphael Velt <raph.velt@gmail.com>
parents: 840
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();
9c645bec23c4 Bugfix for oauth redirects
Raphael Velt <raph.velt@gmail.com>
parents: 838
diff changeset
    18
	
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    19
}
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    20
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    21
?>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    22
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    23
   "http://www.w3.org/TR/html4/strict.dtd">
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    24
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    25
<html lang="fr">
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    26
  <head>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    27
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    28
    <title>Avant-Première Hanna Arendt : Tweet Wall</title>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    29
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    30
    
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    31
    <!-- CSS -->
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    32
    <link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>" type="text/css" media="screen, projection"/>
854
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    33
    <link rel="stylesheet" href="style.css" type="text/css" media="screen, projection"/>
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    34
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    35
    <!-- JAVASCRIPT -->
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    36
    <script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    37
    <script type="text/javascript" src="<?php echo(registry_url('jquery-mousewheel','js'))?>"></script>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    38
    <script type="text/javascript" src="<?php echo(registry_url('jquery-scrollto','js'))?>"></script>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    39
    <script type="text/javascript" src="<?php echo(registry_url('underscore','js'))?>"></script>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    40
    <script type="text/javascript" src="<?php echo(registry_url('raphael','js'))?>"></script>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    41
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    42
    <script type="text/javascript">
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    43
	<?php if (isset($_GET['favuser'])) {
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    44
			echo 'var favUser="'.$_GET['favuser'].'";';
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    45
		}
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    46
	?>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    47
    </script>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    48
    
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    49
    <script type="text/javascript" src="script.js"></script>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    50
    
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    51
  </head>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    52
  <body>
854
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    53
		<div id="main">
868
84d49f436e3d carton ha
Raphael Velt <raph.velt@gmail.com>
parents: 858
diff changeset
    54
			<div id="visionplayer_1101">
901
1c802a62425f Changes on Cineconf
Raphael Velt <raph.velt@gmail.com>
parents: 868
diff changeset
    55
				<!--<img src="carton.png" />-->
868
84d49f436e3d carton ha
Raphael Velt <raph.velt@gmail.com>
parents: 858
diff changeset
    56
			</div>
854
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    57
			<div id="vizcontainer">
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    58
854
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    59
				<div class="barre">
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    60
					<form id="recherche">
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    61
						<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
    62
						<input id="inp_submit" type="submit" />
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    63
						<input id="inp_reset" type="reset" />
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    64
						<div id="time_controls">
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    65
							<div id="time_legende"></div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    66
							<div id="time_scale"></div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    67
							<a href="#" id="time_zoomout"></a>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    68
							<a href="#" id="time_zoomin"></a>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    69
						</div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    70
						<div id="recherche_annot">
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    71
							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
    72
							<br />
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    73
						</div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    74
					</form>
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
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    77
				<div id="tweetviz">
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    78
					<ul id="tweetlist"></ul>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    79
					<div id="timeline"></div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    80
					<div id="scrollcont">
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    81
						<div id="scrollin"></div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    82
					</div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    83
				</div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    84
			</div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    85
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    86
		</div>
854
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    87
  	</body>
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    88
</html>