web/logout.php
changeset 988 954019f62866
child 1001 df016fc8bbdb
equal deleted inserted replaced
987:18cb05f027a0 988:954019f62866
       
     1 <?php
       
     2 include_once 'common.php';
       
     3 logout();
       
     4 
       
     5 $data = authenticate($C_event_users, $translate);
       
     6 
       
     7 $dest_url = URL_ROOT;
       
     8 
       
     9 if(isset($data) && !isset($data['error']) && isset($data['name']) && !empty($data['name'])) {
       
    10 	$dest_url = URL_ROOT."/event_form.php";
       
    11 }
       
    12 
       
    13 ?>
       
    14 <!DOCTYPE html>
       
    15 <html lang="<?php echo($actual); ?>">
       
    16 <head>
       
    17     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
       
    18     <title>Polemic Tweet &mdash; logout</title>
       
    19     <meta http-equiv="X-UA-Compatible" content="IE=9" />
       
    20     <meta http-equiv="refresh" content="1;url=<?php echo($dest_url);?>">
       
    21 
       
    22     <!-- FONT -->
       
    23     <link href='<?php echo(registry_url('PT-Sans_Narrow','font'))?>' rel='stylesheet' type='text/css'>
       
    24     <link href='<?php echo(registry_url('PT-Sans','font'))?>' rel='stylesheet' type='text/css'>
       
    25     
       
    26     <!-- CSS -->
       
    27     <link rel="stylesheet" href="<?php echo(registry_url('blueprint-screen','css'));?>" type="text/css" media="screen, projection"/>
       
    28     <link rel="stylesheet" href="<?php echo(registry_url('blueprint-print','css'));?>" type="text/css" media="print"/>
       
    29     <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo(registry_url('blueprint-ie','css'));?>" type="text/css" media="screen, projection"><![endif]-->
       
    30 	<link rel="stylesheet" href="<?php echo(registry_url('blueprint-plugins-fancy-type','css'));?>" type="text/css" media="screen, projection"/>
       
    31 	<link rel="stylesheet" href="<?php echo(registry_url('custom','css'));?>" type="text/css" media="screen, projection"/>
       
    32 
       
    33 	<script type="text/javascript">
       
    34             window.location.href = "<?php echo($dest_url);?>";
       
    35     </script>
       
    36     <!-- JAVASCRIPT -->
       
    37     <script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script>
       
    38     <script type="text/javascript" src="<?php echo(registry_url('underscore','js'))?>"></script>
       
    39     
       
    40 </head>
       
    41 <body>
       
    42 	<div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div>
       
    43     <div class="container">
       
    44       <img src="images/ENMI_2010_logo.gif" class="logo">
       
    45 	  <ul class="menu">
       
    46 		  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>" class="menuLink">
       
    47 		  	<?php print $translate->_("Accueil"); ?></a></li>
       
    48 		  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>about.php" class="menuLink">
       
    49 		  	<?php print $translate->_("A propos"); ?></a></li>
       
    50 		  <li ><a href="mailto:contact@iri.centrepompidou.fr" class="menuLink" >
       
    51 		  	<?php print $translate->_("Contact"); ?></a></li>
       
    52 	  </ul>
       
    53 	  <ul class="menu">
       
    54 		  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>archives.php" class="menuLink">
       
    55 		  	<?php print $translate->_("Archives"); ?></a></li>
       
    56 	  </ul>
       
    57 	  
       
    58 	  
       
    59 	  <ul class="menu lang" >
       
    60 	  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>index.php?lang=ja_JP" class="menuLink" >
       
    61 	       <img src='images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> />
       
    62 	        <?php print $translate->_("Japonais"); ?></a></li>
       
    63 	  <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>index.php?lang=fr" class="menuLink">
       
    64 	       <img src='images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> />
       
    65 	       <?php print $translate->_("Français"); ?></a></li>
       
    66 	  <li ><a href="<?php echo(URL_ROOT); ?>index.php?lang=en" class="menuLink">
       
    67 	       <img src='images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> />
       
    68 	       <?php print $translate->_("Anglais"); ?></a></li>
       
    69 	  </ul>
       
    70 	</div>
       
    71 	<div class="container">
       
    72 	If you are not redirected automatically, follow the <a href='<?php echo($dest_url);?>'>link</a>
       
    73     </body>
       
    74 	</div>
       
    75   </body>
       
    76 </html>