web/cineconf/paris.php
changeset 901 1c802a62425f
parent 868 84d49f436e3d
child 902 da2081e8c847
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/cineconf/paris.php	Wed May 15 16:37:54 2013 +0200
@@ -0,0 +1,88 @@
+<?php
+
+$config = array("rep" => basename(__DIR__));
+
+include_once '../common.php';
+
+/**
+ * Do we already have a valid Access Token or need to go get one?
+ */
+
+if (!isset($_SESSION['TWITTER_ACCESS_TOKEN']) ) {
+	
+	$_SESSION['TWITTER_REDIRECT_URL'] = URL_ROOT . basename(__DIR__) . '/' . basename(__FILE__);
+	// Permanent redirection
+	header("HTTP/1.1 301 Moved Permanently");
+	header("Location: client.php?CONNECT=true&rep=".basename(__DIR__));
+	exit();
+	
+}
+
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+   "http://www.w3.org/TR/html4/strict.dtd">
+
+<html lang="fr">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <title>Avant-Première Hanna Arendt : Tweet Wall</title>
+    <meta http-equiv="X-UA-Compatible" content="IE=9" />
+    
+    <!-- CSS -->
+    <link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>" type="text/css" media="screen, projection"/>
+    <link rel="stylesheet" href="style.css" type="text/css" media="screen, projection"/>
+
+    <!-- JAVASCRIPT -->
+    <script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script>
+    <script type="text/javascript" src="<?php echo(registry_url('jquery-mousewheel','js'))?>"></script>
+    <script type="text/javascript" src="<?php echo(registry_url('jquery-scrollto','js'))?>"></script>
+    <script type="text/javascript" src="<?php echo(registry_url('underscore','js'))?>"></script>
+    <script type="text/javascript" src="<?php echo(registry_url('raphael','js'))?>"></script>
+
+    <script type="text/javascript">
+	<?php if (isset($_GET['favuser'])) {
+			echo 'var favUser="'.$_GET['favuser'].'";';
+		}
+	?>
+    </script>
+    
+    <script type="text/javascript" src="script.js"></script>
+    
+  </head>
+  <body>
+		<div id="main">
+			<div id="visionplayer_1101">
+				<!--<img src="carton.png" />-->
+			</div>
+			<div id="vizcontainer">
+
+				<div class="barre">
+					<form id="recherche">
+						<input autocomplete="off" class="greyed" id="inp_q" value="Rechercher" />
+						<input id="inp_submit" type="submit" />
+						<input id="inp_reset" type="reset" />
+						<div id="time_controls">
+							<div id="time_legende"></div>
+							<div id="time_scale"></div>
+							<a href="#" id="time_zoomout"></a>
+							<a href="#" id="time_zoomin"></a>
+						</div>
+						<div id="recherche_annot">
+							Rechercher par polémique : <span id="rech_list_annot"></span>
+							<br />
+						</div>
+					</form>
+				</div>
+
+				<div id="tweetviz">
+					<ul id="tweetlist"></ul>
+					<div id="timeline"></div>
+					<div id="scrollcont">
+						<div id="scrollin"></div>
+					</div>
+				</div>
+			</div>
+
+		</div>
+  	</body>
+</html>
\ No newline at end of file