| author | ymh <ymh.work@gmail.com> |
| Thu, 07 Nov 2024 22:38:14 +0100 | |
| changeset 1571 | 4a1e6952afe5 |
| parent 1560 | d441b50586ba |
| permissions | -rw-r--r-- |
| 501 | 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"> |
|
| 932 | 43 |
<?php |
44 |
if (isset($config['tracking_keywords']) && count($config['tracking_keywords'])) { |
|
45 |
echo "var tracking_keywords = ".json_encode($config['tracking_keywords']).';'; |
|
46 |
} elseif (isset($config['hashtag'])) { |
|
47 |
echo "var tracking_keywords = ".json_encode(array($config['hashtag'])).";"; |
|
48 |
} |
|
49 |
?> |
|
| 501 | 50 |
|
51 |
<?php if (isset($config['js_config'])) echo $config['js_config']; ?> |
|
52 |
</script> |
|
| 1557 | 53 |
<?php if (isset($_SESSION['SOCIAL_ACCESS_TOKEN'])) { ?> |
| 501 | 54 |
<script type="text/javascript" src="<?php echo(registry_url('twcx-main','js'))?>"></script> |
| 1560 | 55 |
<?php } ?> |
| 501 | 56 |
</head> |
57 |
<body class="tweetwall"> |
|
58 |
||
59 |
<div id="container"> |
|
60 |
||
|
502
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
61 |
<div class="barre"> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
62 |
<img src="<?php echo($head_logo); ?>" width="171" height="63" /> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
63 |
<form id="recherche"> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
64 |
<input autocomplete="off" class="greyed" id="inp_q" value="<?php echo $translate->_('Rechercher'); ?>" /> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
65 |
<input id="inp_submit" type="submit" /> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
66 |
<input id="inp_reset" type="reset" /> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
67 |
<div id="time_controls"> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
68 |
<div id="time_legende"></div> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
69 |
<div id="time_scale"></div> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
70 |
<a href="#" id="time_zoomout"></a> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
71 |
<a href="#" id="time_zoomin"></a> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
72 |
</div> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
73 |
<div id="recherche_annot"> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
74 |
<?php echo $translate->_('SearchByPolemic'); ?> : <span id="rech_list_annot"></span><br /> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
75 |
</div> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
76 |
</form> |
|
b035e0787bb0
iri homepage iframe correction
Raphael Velt <raph.velt@gmail.com>
parents:
501
diff
changeset
|
77 |
</div> |
| 501 | 78 |
|
| 1557 | 79 |
<?php if (isset($_SESSION['SOCIAL_ACCESS_TOKEN'])) { ?> |
| 932 | 80 |
|
| 501 | 81 |
<div id="tweetviz"> |
82 |
<ul id="tweetlist"></ul> |
|
83 |
<div id="timeline"></div> |
|
84 |
<div id="scrollcont"> |
|
85 |
<div id="scrollin"></div> |
|
86 |
</div> |
|
87 |
</div> |
|
| 932 | 88 |
|
89 |
<?php } else {?> |
|
90 |
||
| 1571 | 91 |
<p class="connect-message"><a href="<?php echo URL_ROOT.$rep; ?>/client.php?CONNECT=true"><?php echo $translate->_('You must be connected with your account to read the conversation'); ?></a></p> |
| 932 | 92 |
|
93 |
<?php } ?> |
|
| 501 | 94 |
</div> |
95 |
</div> |
|
96 |
<!-- <div id="hovertweet"> |
|
97 |
<div id="hovercontent"></div> |
|
98 |
<div id="hoverarrow"></div> |
|
99 |
</div> --> |
|
100 |
</body> |
|
101 |
</html> |