web/archives.php
changeset 248 ffb0a6d08000
parent 236 af97b1520964
child 251 d81cc587cc4d
equal deleted inserted replaced
247:e6b328970ee8 248:ffb0a6d08000
       
     1 <?php
       
     2 error_reporting(E_ALL);
       
     3 ini_set('display_errors', '1');
       
     4 /**
       
     5  * include some common code (like we did in the 90s)
       
     6  * People still do this? ;)
       
     7  */
       
     8 include_once './common.php';
       
     9 
       
    10 
       
    11 ?>
       
    12 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
       
    13 <html lang="<?php echo($actual); ?>">
       
    14   <head>
       
    15     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
       
    16     <title>Polemic tweet - Live Video and Annotation</title>
       
    17 
       
    18     <!-- Framework CSS -->
       
    19     <link rel="stylesheet" href="<?php echo(registry_url('blueprint-screen','css'));?>" type="text/css" media="screen, projection"/>
       
    20     <link rel="stylesheet" href="<?php echo(registry_url('blueprint-print','css'));?>" type="text/css" media="print"/>
       
    21     <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo(registry_url('blueprint-ie','css'));?>" type="text/css" media="screen, projection"><![endif]--> 
       
    22 	<link rel="stylesheet" href="<?php echo(registry_url('blueprint-plugins-fancy-type','css'));?>" type="text/css" media="screen, projection"/>
       
    23 	<link rel="stylesheet" href="<?php echo(registry_url('custom','css'));?>" type="text/css" media="screen, projection"/>
       
    24 
       
    25 	<!-- JAVASCRIPT --> 
       
    26 	<script type="text/javascript" src="<?php echo(registry_url('jquery','js'));?>"></script>
       
    27 
       
    28 	<!-- FONT -->
       
    29 	<link href='<?php echo(registry_url('PT-Sans_Narrow','font'));?>' rel='stylesheet' type='text/css'>
       
    30 	<link href='<?php echo(registry_url('PT-Sans','font'));?>' rel='stylesheet' type='text/css'>
       
    31 	<link href='<?php echo(registry_url('Geo','font'));?>' rel='stylesheet' type='text/css'>
       
    32 
       
    33 	<script type="text/javascript">
       
    34 
       
    35 		$(function() {
       
    36 			$(".archivesVideoBox").mouseover(function() {
       
    37 				$(this).css({'backgroundColor':'#fff'});
       
    38 				$(this).cursor = "pointer";
       
    39 			}).mouseout(function() {
       
    40 				$(this).css({'backgroundColor':'#f2f2f2'});
       
    41 			});
       
    42 		});
       
    43 
       
    44 		var _gaq = _gaq || [];
       
    45 		_gaq.push(['_setAccount', 'UA-23581291-1']);
       
    46 		_gaq.push(['_trackPageview']);
       
    47 		
       
    48 		(function() {
       
    49 		    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
       
    50 		    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
       
    51 		    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
       
    52 		})();
       
    53 	
       
    54 	</script>
       
    55   </head>
       
    56   <body>
       
    57 	<div id="sendUsFeedBack"><a href="https://spreadsheets.google.com/spreadsheet/viewform?hl=en_US&formkey=dDZILVdXVHRzd0xhWGVZXzkweHN2RGc6MQ#gid=0" target="_blank"><img src="/images/sendusfeedback.png"></a></div>
       
    58     <div class="container">
       
    59       <img src="images/ENMI_2010_logo.gif" class="logo">
       
    60 	  <ul class="menu"> 
       
    61 		  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>" class="menuLink">
       
    62 		  	<?php print $translate->_("Accueil"); ?></a></li>
       
    63 		  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>about.php" class="menuLink">
       
    64 		  	<?php print $translate->_("A propos"); ?></a></li>
       
    65 		  <li ><a href="mailto:contact@iri.centrepompidou.fr" class="menuLink" >
       
    66 		  	<?php print $translate->_("Contact"); ?></a></li>
       
    67 	  </ul>
       
    68 	  <ul class="menu"> 
       
    69 		  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>archives.php" class="menuLink">
       
    70 		  	<?php print $translate->_("Archives"); ?></a></li>
       
    71 	  </ul>
       
    72 	  
       
    73 	  
       
    74 	  <ul class="menu lang" > 
       
    75 	  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>archives.php?lang=ja_JP" class="menuLink" >
       
    76 	       <img src='images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> />
       
    77 	        <?php print $translate->_("Japonais"); ?></a></li>
       
    78 	  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>archives.php?lang=fr" class="menuLink">
       
    79 	       <img src='images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> />
       
    80 	       <?php print $translate->_("Français"); ?></a></li>
       
    81 	  <li ><a href="<?php echo(URL_ROOT); ?>archives.php?lang=en" class="menuLink">
       
    82 	       <img src='images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> />
       
    83 	       <?php print $translate->_("Anglais"); ?></a></li>
       
    84 	  </ul>
       
    85 	</div>
       
    86 	<div class="container">
       
    87 	  <!-- --> 
       
    88 	  <div class="archivesBoxArchives">
       
    89 		<div class="archivesBoxContainer">
       
    90 			<!-- -->
       
    91 			<h3 class="archivesTitle"><?php print $translate->_("Archive Title :"); ?></h3>
       
    92 			<!-- -->
       
    93 			<div id="all_archives">
       
    94 			    <?php display_archives_list($archives_list, "archive_box_3", URL_ROOT, dirname(__FILE__)."/"); ?>
       
    95 			</div>
       
    96 		</div>
       
    97 	  </div>
       
    98 	 
       
    99       <div class="footer">
       
   100 		<hr>
       
   101 		<?php
       
   102 			print $translate->_("footer text home"); 
       
   103 			if (isset($_SESSION['TWITTER_ACCESS_TOKEN'])){
       
   104 					echo("| 	<a href='clear.php'  class='footerLink'>".$translate->_("D&eacute;connexion")."</a>");
       
   105 			}
       
   106 		 ?>
       
   107 		  <input type="text" id="txt" size="3" style="visibility:hidden;"/>
       
   108 	  </div>   
       
   109 	
       
   110 
       
   111     </div>
       
   112 	
       
   113   </body>
       
   114 </html>