web/tweetwall.php
changeset 507 7f7fdf4eb06c
parent 502 b035e0787bb0
child 932 a7653f7d1412
equal deleted inserted replaced
487:323b5f770fa0 507:7f7fdf4eb06c
       
     1 <?php
       
     2 
       
     3 if(!isset($_REQUEST['rep'])) {
       
     4     include_once dirname(__FILE__).'/common.php';
       
     5     header('Location: ' . URL_ROOT . "$C_default_rep/tweetwall.php" );
       
     6     exit();
       
     7 }
       
     8 
       
     9 $rep = $_REQUEST['rep'];
       
    10 include_once dirname(__FILE__).'/'.$rep.'/config.php';
       
    11 
       
    12 include_once 'common.php';
       
    13 
       
    14 $head_logo = URL_ROOT."$rep/images/head_logo.gif";
       
    15 if($translate->_('config__head_logo') != 'config__head_logo' && $translate->_('config__head_logo') != null ) {
       
    16     $head_logo = URL_ROOT."$rep/".$translate->_('config__head_logo');
       
    17 }
       
    18 ?>
       
    19 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
       
    20    "http://www.w3.org/TR/html4/strict.dtd">
       
    21 
       
    22 <html lang="<?php echo($actual); ?>">
       
    23   <head>
       
    24     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
       
    25     <title>Tweet Wall</title>
       
    26     <meta http-equiv="X-UA-Compatible" content="IE=9" />
       
    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     
       
    32     <!-- CSS -->
       
    33     <link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>" type="text/css" media="screen, projection"/>
       
    34 
       
    35     <!-- JAVASCRIPT -->
       
    36     <script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script>
       
    37     <script type="text/javascript" src="<?php echo(registry_url('jquery-mousewheel','js'))?>"></script>
       
    38     <script type="text/javascript" src="<?php echo(registry_url('jquery-scrollto','js'))?>"></script>
       
    39     <script type="text/javascript" src="<?php echo(registry_url('underscore','js'))?>"></script>
       
    40     <script type="text/javascript" src="<?php echo(registry_url('raphael','js'))?>"></script>
       
    41     
       
    42     <script type="text/javascript">
       
    43         <?php if (isset($config['hashtag'])) echo "var tracking_keywords = ".json_encode(array($config['hashtag'])).";"; ?>
       
    44 
       
    45         <?php if (isset($config['js_config'])) echo $config['js_config']; ?>
       
    46     </script>
       
    47     <script type="text/javascript" src="<?php echo(registry_url('twcx-main','js'))?>"></script>
       
    48 
       
    49     <script type="text/javascript">
       
    50     
       
    51       var _gaq = _gaq || [];
       
    52       _gaq.push(['_setAccount', 'UA-23581291-1']);
       
    53       _gaq.push(['_trackPageview']);
       
    54       _gaq.push(['_setAllowAnchor', true]);
       
    55     
       
    56       (function() {
       
    57         var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
       
    58         ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
       
    59         var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
       
    60       })();
       
    61     
       
    62     </script>
       
    63     
       
    64   </head>
       
    65   <body class="tweetwall">
       
    66     <div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div>
       
    67 
       
    68         <div id="container">
       
    69 
       
    70                     <div class="barre">
       
    71                 <img src="<?php echo($head_logo); ?>" width="171" height="63" />
       
    72                         <form id="recherche">
       
    73                             <input autocomplete="off" class="greyed" id="inp_q" value="<?php echo $translate->_('Rechercher'); ?>" />
       
    74                             <input id="inp_submit" type="submit" />
       
    75                             <input id="inp_reset" type="reset" />
       
    76                             <div id="time_controls">
       
    77                                 <div id="time_legende"></div>
       
    78                                 <div id="time_scale"></div>
       
    79                                 <a href="#" id="time_zoomout"></a>
       
    80                                 <a href="#" id="time_zoomin"></a>
       
    81                             </div>
       
    82                             <div id="recherche_annot">
       
    83                                 <?php echo $translate->_('SearchByPolemic'); ?> : <span id="rech_list_annot"></span><br />
       
    84                             </div>
       
    85                         </form>
       
    86                     </div>
       
    87             
       
    88                 <div id="tweetviz">
       
    89                     <ul id="tweetlist"></ul>
       
    90                     <div id="timeline"></div>
       
    91                     <div id="scrollcont">
       
    92                         <div id="scrollin"></div>
       
    93                     </div>
       
    94                 </div>
       
    95             </div>
       
    96         </div>
       
    97 <!--        <div id="hovertweet">
       
    98             <div id="hovercontent"></div>
       
    99             <div id="hoverarrow"></div>
       
   100 </div> -->
       
   101   </body>
       
   102 </html>