web/cineconf/paris.php
author ymh <ymh.work@gmail.com>
Mon, 20 Nov 2023 18:10:58 +0100
changeset 1557 7c67caaafdeb
parent 950 8320167038ca
permissions -rw-r--r--
enmi 22
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
1557
7c67caaafdeb enmi 22
ymh <ymh.work@gmail.com>
parents: 950
diff changeset
    11
if (!isset($_SESSION['SOCIAL_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
950
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
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    23
?>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    24
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    25
   "http://www.w3.org/TR/html4/strict.dtd">
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    26
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    27
<html lang="fr">
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    28
  <head>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    29
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
948
c670e8888357 Title fix
Raphael Velt <raph.velt@gmail.com>
parents: 942
diff changeset
    30
    <title>Avant-Première Ne m'oublie pas : Tweet Wall</title>
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    31
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    32
    
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    33
    <!-- CSS -->
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    34
    <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
    35
    <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
    36
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    37
    <!-- JAVASCRIPT -->
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    38
    <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
    39
    <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
    40
    <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
    41
    <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
    42
    <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
    43
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    44
    <script type="text/javascript">
942
620ba7e347c1 Cineconf for Kaspar Hauser
Raphael Velt <raph.velt@gmail.com>
parents: 902
diff changeset
    45
	var favUser='<?php
620ba7e347c1 Cineconf for Kaspar Hauser
Raphael Velt <raph.velt@gmail.com>
parents: 902
diff changeset
    46
            if (isset($_GET['favuser'])) {
620ba7e347c1 Cineconf for Kaspar Hauser
Raphael Velt <raph.velt@gmail.com>
parents: 902
diff changeset
    47
                echo $_GET['favuser'];
620ba7e347c1 Cineconf for Kaspar Hauser
Raphael Velt <raph.velt@gmail.com>
parents: 902
diff changeset
    48
            } else {
950
8320167038ca Changed twitter user for cineconf
Raphael Velt <raph.velt@gmail.com>
parents: 948
diff changeset
    49
                echo $favuser;
942
620ba7e347c1 Cineconf for Kaspar Hauser
Raphael Velt <raph.velt@gmail.com>
parents: 902
diff changeset
    50
            }
620ba7e347c1 Cineconf for Kaspar Hauser
Raphael Velt <raph.velt@gmail.com>
parents: 902
diff changeset
    51
            ?>';
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    52
    </script>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    53
    
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    54
    <script type="text/javascript" src="script.js"></script>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    55
    
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    56
  </head>
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    57
  <body>
854
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    58
		<div id="main">
868
84d49f436e3d carton ha
Raphael Velt <raph.velt@gmail.com>
parents: 858
diff changeset
    59
			<div id="visionplayer_1101">
901
1c802a62425f Changes on Cineconf
Raphael Velt <raph.velt@gmail.com>
parents: 868
diff changeset
    60
				<!--<img src="carton.png" />-->
868
84d49f436e3d carton ha
Raphael Velt <raph.velt@gmail.com>
parents: 858
diff changeset
    61
			</div>
854
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    62
			<div id="vizcontainer">
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    63
854
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    64
				<div class="barre">
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    65
					<form id="recherche">
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    66
						<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
    67
						<input id="inp_submit" type="submit" />
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    68
						<input id="inp_reset" type="reset" />
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    69
						<div id="time_controls">
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    70
							<div id="time_legende"></div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    71
							<div id="time_scale"></div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    72
							<a href="#" id="time_zoomout"></a>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    73
							<a href="#" id="time_zoomin"></a>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    74
						</div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    75
						<div id="recherche_annot">
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    76
							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
    77
							<br />
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
					</form>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    80
				</div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    81
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    82
				<div id="tweetviz">
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    83
					<ul id="tweetlist"></ul>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    84
					<div id="timeline"></div>
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    85
					<div id="scrollcont">
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    86
						<div id="scrollin"></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
				</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
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    91
		</div>
854
4c377df66569 Style adjustments for Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents: 842
diff changeset
    92
  	</body>
836
9de4ed65f00c Added Hanna Arendt
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    93
</html>