web/select.php
author Raphael Velt <raph.velt@gmail.com>
Thu, 17 Jan 2013 15:18:47 +0100
changeset 766 d106d2109ff3
parent 633 dfcbb21a8eac
child 797 c3543cde84c8
permissions -rw-r--r--
Added ENMI 2012 videos
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
546
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     1
<?php
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     2
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     3
if(!isset($_REQUEST['rep'])) {
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     4
    include_once dirname(__FILE__).'/common.php';
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     5
    header('Location: ' . URL_ROOT . "$C_default_rep/select.php" );
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     6
    exit();
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     7
}
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     8
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     9
$rep = $_REQUEST['rep'];
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    10
include dirname(__FILE__).'/'.$rep.'/config.php';
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    11
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    12
include_once 'common.php';
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    13
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    14
/**
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    15
 * Do we already have a valid Access Token or need to go get one?
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    16
 */
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    17
if (!isset($_SESSION['TWITTER_ACCESS_TOKEN']) && isset($_GET['CONNECT']) ) {
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    18
    /**
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    19
     * Guess we need to go get one!
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    20
     */
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    21
    $token = $consumer->getRequestToken();
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    22
    $_SESSION['TWITTER_REQUEST_TOKEN'] = serialize($token);
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    23
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    24
    /**
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    25
     * Now redirect user to Twitter site so they can log in and
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    26
     * approve our access
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    27
     */
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    28
    $consumer->redirect();
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    29
}
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    30
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    31
633
dfcbb21a8eac Added FENS 2012
Raphael Velt <raph.velt@gmail.com>
parents: 549
diff changeset
    32
$big_visual_url = URL_ROOT."/$rep/images/big-visuel.jpg";
546
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    33
if($translate->_('config__client_visual') != 'config__client_visual' && $translate->_('config__client_visual') != null ) {
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    34
    $big_visual_url = URL_ROOT."$rep/".$translate->_('config__client_visual');
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    35
}
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    36
633
dfcbb21a8eac Added FENS 2012
Raphael Velt <raph.velt@gmail.com>
parents: 549
diff changeset
    37
$head_logo = URL_ROOT."$rep/images/head-logo.png";
546
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    38
if($translate->_('config__head_logo') != 'config__head_logo' && $translate->_('config__head_logo') != null ) {
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    39
    $head_logo = URL_ROOT."$rep/".$translate->_('config__head_logo');
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    40
}
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    41
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    42
    $embed = (isset($_REQUEST['embed']) && $_REQUEST['embed']);
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    43
    $videoWidth = ( $embed ? 442 : 480 );
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    44
    $videoHeight = ( $embed ? 250 : 320 );
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    45
?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    46
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    47
   "http://www.w3.org/TR/html4/strict.dtd">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    48
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    49
<html lang="<?php echo($actual); ?>">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    50
  <head>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    51
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    52
    <title>Live Video and Annotation</title>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    53
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    54
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    55
    <!-- FONT -->
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    56
    <link href='<?php echo(registry_url('PT-Sans_Narrow','font'))?>' rel='stylesheet' type='text/css'>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    57
    <link href='<?php echo(registry_url('PT-Sans','font'))?>' rel='stylesheet' type='text/css'>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    58
    
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    59
    <!-- CSS -->
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    60
    <link rel="stylesheet" href="<?php echo(registry_url('fancybox','css'));?>" type="text/css" media="screen">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    61
    <link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>?42" type="text/css" media="screen, projection"/>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    62
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    63
    <!-- JAVASCRIPT -->
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    64
    <script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    65
    
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    66
    <script type="text/javascript">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    67
    
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    68
      var _gaq = _gaq || [];
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    69
      _gaq.push(['_setAccount', 'UA-23581291-1']);
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    70
      _gaq.push(['_trackPageview']);
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    71
      _gaq.push(['_setAllowAnchor', true]);
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    72
    
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    73
      (function() {
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    74
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    75
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    76
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    77
      })();
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    78
    
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    79
    </script>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    80
    
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    81
  </head>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    82
  <body>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    83
    <div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    84
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    85
        <div id="container">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    86
            
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    87
                <div class="barre">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    88
                    <img id="headlogo" src="<?php echo($head_logo); ?>" width="171" height="63" />
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    89
                    <div id="minilogo"></div>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    90
                    <ul class="menu">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    91
                        <li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    92
                            <a href="<?php echo(URL_ROOT); ?>" class="menuLink">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    93
                                <?php print $translate->_("Accueil"); ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    94
                            </a>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    95
                        </li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    96
                        <li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    97
                            <a href="<?php echo($translate->_('config__link')); ?>" class="menuLink" target="_blank" id='Program'>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    98
                                <?php print $translate->_("Programme"); ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    99
                            </a>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   100
                        </li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   101
                        <li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   102
                            <a href="../about.php" class="menuLink" >
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   103
                                <?php print $translate->_("A propos"); ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   104
                            </a>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   105
                        </li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   106
                    </ul>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   107
                    <ul class="menu">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   108
                        <li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   109
                            <a href="<?php URL_ROOT ?>client.php?lang=ja_JP" class="menuLink" >
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   110
                                <img src='<?php echo(URL_ROOT); ?>images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> />
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   111
                                <?php print $translate->_("Japonais"); ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   112
                            </a></li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   113
                        <li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   114
                            <a href="<?php URL_ROOT ?>client.php?lang=fr" class="menuLink">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   115
                                <img src='<?php echo(URL_ROOT); ?>images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> />
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   116
                                <?php print $translate->_("Français"); ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   117
                            </a>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   118
                        </li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   119
                        <li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   120
                            <a href="<?php URL_ROOT ?>client.php?lang=en" class="menuLink">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   121
                                <img src='<?php echo(URL_ROOT); ?>images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> />
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   122
                                <?php print $translate->_("Anglais"); ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   123
                            </a>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   124
                        </li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   125
                    </ul>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   126
                </div>
549
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   127
<?php
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   128
    $basepath = dirname(__FILE__)."/";
633
dfcbb21a8eac Added FENS 2012
Raphael Velt <raph.velt@gmail.com>
parents: 549
diff changeset
   129
    $partenaires = $translate->_('config__partenaires');
549
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   130
    foreach ($config['event_list'] as $i => $rep) {
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   131
        
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   132
        include("$basepath$rep/config.php");
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   133
        
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   134
        set_config_translations($config, $translate);
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   135
            
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   136
        $tail_img = $translate->_('config__archive_img');
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   137
        if(is_array($tail_img)) {
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   138
            $tail_img = $tail_img[0];
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   139
        }
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   140
        $archive_title = $translate->_('config__archive_title');
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   141
        if(is_array($archive_title)) {
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   142
            $archive_title = $archive_title[0];
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   143
        }
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   144
        $archive_description = $translate->_('config__archive_description');
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   145
        if(is_array($archive_description)) {
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   146
            $archive_description = $archive_description[0];
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   147
        }
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   148
    
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   149
?>
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   150
            <div class="archivesVideoBox">
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   151
                <a href="<?php echo URL_ROOT . $rep ?>">
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   152
                    <img src="<?php echo URL_ROOT . "$rep/$tail_img" ?>" width="270" height="150"/>
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   153
                </a>
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   154
                <h3 class="AVBtitle"><?php echo $archive_title ?></h3>
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   155
                <p class="AVBtext"><?php echo $archive_description; ?></p>
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   156
            </div>
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   157
<?php
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   158
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   159
    }
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   160
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   161
 ?>
546
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   162
            </div>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   163
            <div class="footer">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   164
                <hr />
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   165
         <?php
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   166
                include  dirname(__FILE__).'/'.$rep.'/config.php';
633
dfcbb21a8eac Added FENS 2012
Raphael Velt <raph.velt@gmail.com>
parents: 549
diff changeset
   167
                echo $partenaires;
546
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   168
                
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   169
                if (isset($_SESSION['TWITTER_ACCESS_TOKEN'])){
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   170
                    echo("| <a href='clear.php' class='footerLink'>".$translate->_("D&eacute;connexion")."</a>");
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   171
                }
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   172
         ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   173
            </div>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   174
        </div>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   175
  </body>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   176
</html>