|
871
|
1 |
<?php |
|
|
2 |
|
|
|
3 |
/** |
|
|
4 |
* include some common code (like we did in the 90s) |
|
|
5 |
* People still do this? ;) |
|
|
6 |
*/ |
|
|
7 |
$rep = $_REQUEST['rep']; |
|
|
8 |
include_once dirname(__FILE__).'/'.$rep.'/config.php'; |
|
|
9 |
// configuration |
|
|
10 |
include 'common.php'; |
|
|
11 |
// objet actuel |
|
|
12 |
$baseurl = URL_ROOT; |
|
|
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 |
$url = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; |
|
|
20 |
|
|
|
21 |
?> |
|
|
22 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
|
23 |
<html lang="<?php echo($actual); ?>"> |
|
|
24 |
<head> |
|
|
25 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
|
26 |
<title>Polemic tweet - <?php echo($translate->_('config__title')); ?></title> |
|
|
27 |
<meta name="keywords" content="<?php echo($translate->_('config__keywords')); ?>"> |
|
|
28 |
|
|
|
29 |
<meta name="description" content="<?php echo(strip_tags($translate->_('config__description'))); ?>"> |
|
|
30 |
<meta name="robots" content="index, follow"> |
|
|
31 |
|
|
|
32 |
<!-- JAVASCRIPT --> |
|
|
33 |
<script type="text/javascript" src="<?php echo(registry_url('metadataplayer','js'));?>"></script> |
|
|
34 |
|
|
|
35 |
<!-- Framework CSS --> |
|
|
36 |
<link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>?v=11072012" type="text/css" media="screen, projection"/> |
|
|
37 |
|
|
|
38 |
<!-- FONT --> |
|
|
39 |
<link href='<?php echo(registry_url('PT-Sans_Narrow','font'));?>' rel='stylesheet' type='text/css'/> |
|
|
40 |
<link href='<?php echo(registry_url('PT-Sans','font'));?>' rel='stylesheet' type='text/css'/> |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
<script type="text/javascript"> |
|
|
44 |
|
|
|
45 |
IriSP.libFiles.defaultDir = "<?php echo(registry_url('libdir','js'));?>"; |
|
|
46 |
IriSP.widgetsDir = "<?php echo(registry_url('ldtwidgets','js'));?>"; |
|
|
47 |
IriSP.libFiles.locations.jwPlayerSWF = "<?php echo(URL_ROOT); ?>res/mediaplayer/player.swf"; |
|
|
48 |
IriSP.language = "<?php echo($actual) ?>"; |
|
|
49 |
|
|
|
50 |
var _metadata = { |
|
|
51 |
url: '<?php echo(get_metadata_url($translate->_('config__metadata')));?>', |
|
|
52 |
format: 'ldt' |
|
|
53 |
}; |
|
|
54 |
var _config = { |
|
|
55 |
width: 550, |
|
|
56 |
container: 'LdtPlayer', |
|
|
57 |
default_options: { |
|
|
58 |
metadata: _metadata |
|
|
59 |
}, |
|
|
60 |
css:'<?php echo(registry_url('metadataplayer','css'));?>', |
|
|
61 |
widgets: [ |
|
|
62 |
{ |
|
|
63 |
type: "JwpPlayer", |
|
|
64 |
height: 360, |
|
940
|
65 |
width: 550, |
|
|
66 |
url_transform: function(u) { |
|
|
67 |
return u.replace('ddc_player/video', 'ddc_player/mp4:video'); |
|
|
68 |
} |
|
871
|
69 |
}, |
|
|
70 |
{ type: "Slider" }, |
|
|
71 |
{ |
|
|
72 |
type: "Controller", |
|
|
73 |
disable_annotate_btn: true |
|
|
74 |
}, |
|
|
75 |
{ |
|
|
76 |
type: "Polemic", |
|
|
77 |
polemics: [] |
|
|
78 |
}, |
|
|
79 |
{ |
|
|
80 |
type: "Segments", |
|
|
81 |
annotation_type: "chap" |
|
|
82 |
}, |
|
|
83 |
{ |
|
|
84 |
type: "Annotation", |
|
|
85 |
annotation_type: "chap" |
|
|
86 |
}, |
|
|
87 |
{ type: "Tweet" }, |
|
|
88 |
{ type: "Mediafragment"}, |
|
|
89 |
{ |
|
|
90 |
type: "Renkan", |
|
|
91 |
container: "RenkanContainer", |
|
|
92 |
data: "<?php echo($translate->_('config__renkan'));?>" |
|
|
93 |
} |
|
|
94 |
] |
|
|
95 |
}; |
|
|
96 |
|
|
|
97 |
</script> |
|
|
98 |
<script type="text/javascript"> |
|
|
99 |
var _gaq = _gaq || []; |
|
|
100 |
_gaq.push(['_setAccount', 'UA-23581291-1']); |
|
|
101 |
_gaq.push(['_trackPageview', location.pathname + location.search + location.hash]); |
|
|
102 |
_gaq.push(['_setAllowAnchor', true]); |
|
|
103 |
|
|
|
104 |
(function() { |
|
|
105 |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
|
|
106 |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
|
|
107 |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
|
|
108 |
})(); |
|
|
109 |
</script> |
|
|
110 |
<style type="text/css"> |
|
|
111 |
.ldtrenkan-main { |
|
|
112 |
width: 1160px; margin: 0 auto; min-height: 400px; clear:both; |
|
|
113 |
} |
|
|
114 |
.ldtrenkan-main h1{ |
|
|
115 |
padding: 10px 0 8px; font-size: 20px; font-family: "PT Sans Narrow"; font-weight: bold; color: #0068C4; |
|
|
116 |
} |
|
|
117 |
#LdtPlayer { |
|
|
118 |
float: left; width: 550px; |
|
|
119 |
} |
|
|
120 |
#RenkanContainer { |
|
|
121 |
float: right; width: 600px; height: 500px; margin-left: 10px; |
|
|
122 |
} |
|
|
123 |
</style> |
|
|
124 |
</head> |
|
|
125 |
<body> |
|
|
126 |
<div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div> |
|
|
127 |
|
|
|
128 |
<!-- tooltip --> |
|
|
129 |
</div> |
|
|
130 |
<div id="container"> |
|
|
131 |
<div class="barre"> |
|
|
132 |
<img id="headlogo" src="<?php echo($head_logo); ?>" width="171" height="63" /> |
|
|
133 |
<div id="minilogo"></div> |
|
|
134 |
<ul class="menu"> |
|
|
135 |
<li> |
|
|
136 |
<a href="<?php echo(URL_ROOT); ?>" class="menuLink"> |
|
|
137 |
<?php print $translate->_("Accueil"); ?> |
|
|
138 |
</a> |
|
|
139 |
</li> |
|
|
140 |
<li> |
|
|
141 |
<a href="<?php echo($translate->_('config__link')); ?>" class="menuLink" target="_blank" id='Program'> |
|
|
142 |
<?php print $translate->_("Programme"); ?> |
|
|
143 |
</a> |
|
|
144 |
</li> |
|
|
145 |
<li> |
|
|
146 |
<a href="../about.php" class="menuLink" > |
|
|
147 |
<?php print $translate->_("A propos"); ?> |
|
|
148 |
</a> |
|
|
149 |
</li> |
|
|
150 |
</ul> |
|
|
151 |
<ul class="menu"> |
|
|
152 |
<li> |
|
|
153 |
<a href="<?php URL_ROOT ?>polemicaltimeline.php?lang=ja_JP" class="menuLink" > |
|
|
154 |
<img src='<?php echo(URL_ROOT); ?>images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> /> |
|
|
155 |
<?php print $translate->_("Japonais"); ?> |
|
|
156 |
</a></li> |
|
|
157 |
<li> |
|
|
158 |
<a href="<?php URL_ROOT ?>polemicaltimeline.php?lang=fr" class="menuLink"> |
|
|
159 |
<img src='<?php echo(URL_ROOT); ?>images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> /> |
|
|
160 |
<?php print $translate->_("Français"); ?> |
|
|
161 |
</a> |
|
|
162 |
</li> |
|
|
163 |
<li> |
|
|
164 |
<a href="<?php URL_ROOT ?>polemicaltimeline.php?lang=en" class="menuLink"> |
|
|
165 |
<img src='<?php echo(URL_ROOT); ?>images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> /> |
|
|
166 |
<?php print $translate->_("Anglais"); ?> |
|
|
167 |
</a> |
|
|
168 |
</li> |
|
|
169 |
</ul> |
|
|
170 |
|
|
|
171 |
<div class="embedbar"> |
|
|
172 |
<!-- AddThis Button BEGIN --> |
|
|
173 |
<div class="addthis_toolbox addthis_default_style addthis_32x32_style"> |
|
|
174 |
<a class="addthis_button_facebook"></a> |
|
|
175 |
<a class="addthis_button_twitter"></a> |
|
|
176 |
<a class="addthis_button_email"></a> |
|
|
177 |
<a class="addthis_button_compact"></a> |
|
|
178 |
</div> |
|
|
179 |
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script> |
|
|
180 |
<!-- AddThis Button END --> |
|
|
181 |
</div> |
|
|
182 |
</div> |
|
|
183 |
|
|
|
184 |
<!-- EXPLICATION --> |
|
|
185 |
|
|
|
186 |
</div> |
|
|
187 |
<div class="ldtrenkan-main" > |
|
|
188 |
<h1><?php echo($translate->_('config__title')); ?></h1> |
|
|
189 |
<div id="LdtPlayer"></div> |
|
|
190 |
<div id="RenkanContainer"></div> |
|
|
191 |
</div> |
|
|
192 |
<script type="text/javascript"> |
|
|
193 |
var _myPlayer = new IriSP.Metadataplayer(_config); |
|
|
194 |
</script> |
|
|
195 |
|
|
|
196 |
<div class="footer"> |
|
|
197 |
|
|
|
198 |
<hr> |
|
|
199 |
<?php echo($translate->_('config__partenaires')); ?> |
|
|
200 |
</div> |
|
|
201 |
|
|
|
202 |
</div> |
|
|
203 |
|
|
|
204 |
</body> |
|
|
205 |
</html> |