web/select.php
author ymh <ymh.work@gmail.com>
Sun, 23 Sep 2018 17:14:07 +0200
changeset 1479 2b510a3a0f7d
parent 1427 8b3d57a519eb
child 1557 7c67caaafdeb
permissions -rw-r--r--
Added tag V06.008 for changeset adb28b75f2c7
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']) ) {
1427
8b3d57a519eb remove dependency to Zend 1. Use composer to reduce the number of dependencies
ymh <ymh.work@gmail.com>
parents: 1366
diff changeset
    18
    // /**
8b3d57a519eb remove dependency to Zend 1. Use composer to reduce the number of dependencies
ymh <ymh.work@gmail.com>
parents: 1366
diff changeset
    19
    //  * Guess we need to go get one!
8b3d57a519eb remove dependency to Zend 1. Use composer to reduce the number of dependencies
ymh <ymh.work@gmail.com>
parents: 1366
diff changeset
    20
    //  */
8b3d57a519eb remove dependency to Zend 1. Use composer to reduce the number of dependencies
ymh <ymh.work@gmail.com>
parents: 1366
diff changeset
    21
    // $token = $consumer->getRequestToken();
8b3d57a519eb remove dependency to Zend 1. Use composer to reduce the number of dependencies
ymh <ymh.work@gmail.com>
parents: 1366
diff changeset
    22
    // $_SESSION['TWITTER_REQUEST_TOKEN'] = serialize($token);
546
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    23
1427
8b3d57a519eb remove dependency to Zend 1. Use composer to reduce the number of dependencies
ymh <ymh.work@gmail.com>
parents: 1366
diff changeset
    24
    // /**
8b3d57a519eb remove dependency to Zend 1. Use composer to reduce the number of dependencies
ymh <ymh.work@gmail.com>
parents: 1366
diff changeset
    25
    //  * Now redirect user to Twitter site so they can log in and
8b3d57a519eb remove dependency to Zend 1. Use composer to reduce the number of dependencies
ymh <ymh.work@gmail.com>
parents: 1366
diff changeset
    26
    //  * approve our access
8b3d57a519eb remove dependency to Zend 1. Use composer to reduce the number of dependencies
ymh <ymh.work@gmail.com>
parents: 1366
diff changeset
    27
    //  */
8b3d57a519eb remove dependency to Zend 1. Use composer to reduce the number of dependencies
ymh <ymh.work@gmail.com>
parents: 1366
diff changeset
    28
    // $consumer->redirect();
8b3d57a519eb remove dependency to Zend 1. Use composer to reduce the number of dependencies
ymh <ymh.work@gmail.com>
parents: 1366
diff changeset
    29
    $get_twitter_request_token();
546
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
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    32
633
dfcbb21a8eac Added FENS 2012
Raphael Velt <raph.velt@gmail.com>
parents: 549
diff changeset
    33
$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
    34
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
    35
    $big_visual_url = URL_ROOT."$rep/".$translate->_('config__client_visual');
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    36
}
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    37
633
dfcbb21a8eac Added FENS 2012
Raphael Velt <raph.velt@gmail.com>
parents: 549
diff changeset
    38
$head_logo = URL_ROOT."$rep/images/head-logo.png";
546
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    39
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
    40
    $head_logo = URL_ROOT."$rep/".$translate->_('config__head_logo');
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
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    43
    $embed = (isset($_REQUEST['embed']) && $_REQUEST['embed']);
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    44
    $videoWidth = ( $embed ? 442 : 480 );
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    45
    $videoHeight = ( $embed ? 250 : 320 );
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    46
?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    47
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    48
   "http://www.w3.org/TR/html4/strict.dtd">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    49
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    50
<html lang="<?php echo($actual); ?>">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    51
  <head>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    52
    <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
    53
    <title>Live Video and Annotation</title>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    54
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    55
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    56
    <!-- FONT -->
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    57
    <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
    58
    <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
    59
    
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    60
    <!-- CSS -->
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    61
    <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
    62
    <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
    63
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    64
    <!-- JAVASCRIPT -->
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    65
    <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
    66
    
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    67
    <script type="text/javascript">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    68
    
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    69
      var _gaq = _gaq || [];
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    70
      _gaq.push(['_setAccount', 'UA-23581291-1']);
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    71
      _gaq.push(['_trackPageview']);
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    72
      _gaq.push(['_setAllowAnchor', true]);
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    73
    
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    74
      (function() {
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    75
        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
    76
        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
    77
        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
    78
      })();
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    79
    
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    80
    </script>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    81
    
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    82
  </head>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    83
  <body>
1366
Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
parents: 797
diff changeset
    84
    <!--div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div-->
546
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    85
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    86
        <div id="container">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    87
            
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    88
                <div class="barre">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    89
                    <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
    90
                    <div id="minilogo"></div>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    91
                    <ul class="menu">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    92
                        <li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    93
                            <a href="<?php echo(URL_ROOT); ?>" class="menuLink">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    94
                                <?php print $translate->_("Accueil"); ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    95
                            </a>
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
                        <li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    98
                            <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
    99
                                <?php print $translate->_("Programme"); ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   100
                            </a>
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
                        <li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   103
                            <a href="../about.php" class="menuLink" >
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   104
                                <?php print $translate->_("A propos"); ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   105
                            </a>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   106
                        </li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   107
                    </ul>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   108
                    <ul class="menu">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   109
                        <li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   110
                            <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
   111
                                <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
   112
                                <?php print $translate->_("Japonais"); ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   113
                            </a></li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   114
                        <li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   115
                            <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
   116
                                <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
   117
                                <?php print $translate->_("Français"); ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   118
                            </a>
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
                        <li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   121
                            <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
   122
                                <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
   123
                                <?php print $translate->_("Anglais"); ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   124
                            </a>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   125
                        </li>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   126
                    </ul>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   127
                </div>
797
c3543cde84c8 added latest edito + museo + group pages
Raphael Velt <raph.velt@gmail.com>
parents: 633
diff changeset
   128
                <ul>
549
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   129
<?php
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   130
    $basepath = dirname(__FILE__)."/";
633
dfcbb21a8eac Added FENS 2012
Raphael Velt <raph.velt@gmail.com>
parents: 549
diff changeset
   131
    $partenaires = $translate->_('config__partenaires');
549
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   132
    foreach ($config['event_list'] as $i => $rep) {
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
        include("$basepath$rep/config.php");
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
        set_config_translations($config, $translate);
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   137
            
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   138
        $tail_img = $translate->_('config__archive_img');
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   139
        if(is_array($tail_img)) {
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   140
            $tail_img = $tail_img[0];
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   141
        }
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   142
        $archive_title = $translate->_('config__archive_title');
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   143
        if(is_array($archive_title)) {
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   144
            $archive_title = $archive_title[0];
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   145
        }
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   146
        $archive_description = $translate->_('config__archive_description');
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   147
        if(is_array($archive_description)) {
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   148
            $archive_description = $archive_description[0];
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
    
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   151
?>
797
c3543cde84c8 added latest edito + museo + group pages
Raphael Velt <raph.velt@gmail.com>
parents: 633
diff changeset
   152
		            <div class="archivesVideoBox">
c3543cde84c8 added latest edito + museo + group pages
Raphael Velt <raph.velt@gmail.com>
parents: 633
diff changeset
   153
		                <a href="<?php echo URL_ROOT . $rep ?>">
c3543cde84c8 added latest edito + museo + group pages
Raphael Velt <raph.velt@gmail.com>
parents: 633
diff changeset
   154
		                    <img src="<?php echo URL_ROOT . "$rep/$tail_img" ?>" width="270" height="150"/>
c3543cde84c8 added latest edito + museo + group pages
Raphael Velt <raph.velt@gmail.com>
parents: 633
diff changeset
   155
		                </a>
c3543cde84c8 added latest edito + museo + group pages
Raphael Velt <raph.velt@gmail.com>
parents: 633
diff changeset
   156
		                <h3 class="AVBtitle"><?php echo $archive_title ?></h3>
c3543cde84c8 added latest edito + museo + group pages
Raphael Velt <raph.velt@gmail.com>
parents: 633
diff changeset
   157
		                <p class="AVBtext"><?php echo $archive_description; ?></p>
c3543cde84c8 added latest edito + museo + group pages
Raphael Velt <raph.velt@gmail.com>
parents: 633
diff changeset
   158
		            </div>
549
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   159
<?php
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
    }
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   162
623960a74176 corrections
Raphael Velt <raph.velt@gmail.com>
parents: 547
diff changeset
   163
 ?>
797
c3543cde84c8 added latest edito + museo + group pages
Raphael Velt <raph.velt@gmail.com>
parents: 633
diff changeset
   164
 				</ul>
546
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   165
            </div>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   166
            <div class="footer">
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   167
                <hr />
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   168
         <?php
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   169
                include  dirname(__FILE__).'/'.$rep.'/config.php';
633
dfcbb21a8eac Added FENS 2012
Raphael Velt <raph.velt@gmail.com>
parents: 549
diff changeset
   170
                echo $partenaires;
546
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
                if (isset($_SESSION['TWITTER_ACCESS_TOKEN'])){
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   173
                    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
   174
                }
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   175
         ?>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   176
            </div>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   177
        </div>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   178
  </body>
fd35749faca9 Last commit before weekend
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
   179
</html>