1 <?php |
|
2 |
|
3 /** |
|
4 * include some common code (like we did in the 90s) |
|
5 * People still do this? ;) |
|
6 */ |
|
7 // configuration |
|
8 include 'common.php'; |
|
9 // objet actuel |
|
10 include_once 'config.php'; |
|
11 |
|
12 ?> |
|
13 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
14 <html lang="<?php echo($actual); ?>"> |
|
15 <head> |
|
16 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
17 <title>Polemic tweet - <?php echo($config['title']); ?></title> |
|
18 <meta name="keywords" content="<?php echo($config['keywords']); ?>"><!-- add timestampedmetadata --> |
|
19 <!--<meta name="description" content="PoelmicTweet.fr : debate mapping, opinion, conference, video">--> |
|
20 <meta name="description" content="<?php echo($config['description']); ?>"> |
|
21 <meta name="robots" content="index, follow"> |
|
22 |
|
23 <!-- ICI : <?php echo($_SERVER['DOCUMENT_ROOT']); ?> --> |
|
24 <!-- JAVASCRIPT --> |
|
25 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> |
|
26 <script type="text/javascript" src="../res/raphael/raphael-min.js"></script> |
|
27 <script type="text/javascript" src="../res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.pack.js"></script> |
|
28 <script type="text/javascript" src="../res/niceforms/niceforms.js"></script> |
|
29 |
|
30 <!-- Framework CSS --> |
|
31 <link rel="stylesheet" href="../res/blueprint/screen.css" type="text/css" media="screen, projection"> |
|
32 <link rel="stylesheet" href="../res/blueprint/print.css" type="text/css" media="print"> |
|
33 <link rel="stylesheet" href="../res/blueprint/plugins/fancy-type/screen.css" type="text/css" media="screen, projection"> |
|
34 <link rel="stylesheet" href="../res/css/custom.css" type="text/css" media="screen, projection"> |
|
35 <link rel="stylesheet" href="../res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.css" media="screen"> |
|
36 |
|
37 <!-- FONT --> |
|
38 <link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin' rel='stylesheet' type='text/css'> |
|
39 <link href='http://fonts.googleapis.com/css?family=PT+Sans&subset=latin' rel='stylesheet' type='text/css'> |
|
40 <link href='http://fonts.googleapis.com/css?family=Geo&subset=latin' rel='stylesheet' type='text/css'> |
|
41 |
|
42 <style type="text/css"> |
|
43 .tweetButton{float:left;margin-right:5px;} |
|
44 .videoLivePlayer{border:1px solid #c3c3c3;width:650px;height:638px;} |
|
45 .videoLive{width:650px;height:640px;background:#fff;float:right;margin-top:20px;padding:5px;} |
|
46 |
|
47 .tweetExplain{background-image:url(../images/tweetExplainBgd.gif);width:250px;height:640px;padding:10px;position:absolute; margin-top:70px;} |
|
48 .footer{margin-top:740px;width:960px;height:20px;position:absolute;text-align:center;} |
|
49 .tooltip{ |
|
50 z-index: 10000000000; |
|
51 } |
|
52 #tip{ |
|
53 position : absolute; |
|
54 padding : 3px; |
|
55 z-index: 10000000000; |
|
56 max-width: 200px; |
|
57 } |
|
58 #tip { |
|
59 display: none; |
|
60 background: transparent url("../images/white_arrow_long.png"); |
|
61 font-size: 12px; |
|
62 height: 125px; |
|
63 width: 180px; |
|
64 padding: 10px; |
|
65 padding-left: 15px; |
|
66 padding-top: 15px; |
|
67 padding-right: 15px; |
|
68 color: black; |
|
69 z-index: 10000000000; |
|
70 font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; |
|
71 overflow:hidden; |
|
72 } |
|
73 #chartTimeline{ |
|
74 padding-top: 0px; |
|
75 z-index: 9; |
|
76 position : absolute; |
|
77 } |
|
78 |
|
79 </style> |
|
80 <script type="text/javascript"> |
|
81 |
|
82 var _gaq = _gaq || []; |
|
83 _gaq.push(['_setAccount', 'UA-23581291-1']); |
|
84 _gaq.push(['_trackPageview']); |
|
85 |
|
86 (function() { |
|
87 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
|
88 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
|
89 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
|
90 })(); |
|
91 |
|
92 </script> |
|
93 <script type="text/javascript"> |
|
94 $(document).ready(function() { |
|
95 $("#Embeded").fancybox({ |
|
96 'width' : 360, |
|
97 'height' : 360, |
|
98 'autoDimensions' : false, |
|
99 'transitionIn' : 'none', |
|
100 'transitionOut' : 'none', |
|
101 'type' : 'iframe' |
|
102 }); |
|
103 |
|
104 }); |
|
105 </script> |
|
106 |
|
107 </head> |
|
108 <script type="text/javascript"> |
|
109 // Configuration Polemical Timeline |
|
110 var config = { |
|
111 target:"chartTimeline", |
|
112 x:8, |
|
113 y:418, |
|
114 width:650, |
|
115 height:480, |
|
116 heightmax:480, |
|
117 duration:<?php echo($config['duration']); ?>, |
|
118 metadata:"<?php echo($config['metadata']); ?>" |
|
119 } |
|
120 </script> |
|
121 <script type='text/javascript' src='../res/metadataplayer.polemic/src/js/polemic.js'></script> |
|
122 |
|
123 <body> |
|
124 |
|
125 |
|
126 <!-- tooltip --> |
|
127 <div id="tip"> |
|
128 <div id="tipcolor" style="height:10px;width:10px"></div> |
|
129 <div id="tiptext"></div> |
|
130 </div> |
|
131 |
|
132 <div class="container"> |
|
133 <img src="../images/ENMI_2010_logo.gif" class="logo"> |
|
134 <ul class="menu"> |
|
135 <li class="menuUnderline"><a href="../" class="menuLink" id="Accueil"> |
|
136 <?php print $translate->_("Accueil"); ?></a></li> |
|
137 <li class="menuUnderline"><a href="embed_form.php" class="menuLink" id="Embeded"> |
|
138 <?php print $translate->_("Partager"); ?></a></li> |
|
139 <li > </li> |
|
140 </ul> |
|
141 |
|
142 <ul class="menu lang" > |
|
143 <li class="menuUnderline"><a href="<?php URL_ROOT ?>?lang=ja_JP" class="menuLink" > |
|
144 <img src='../images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> /> |
|
145 <?php print $translate->_("Japonais"); ?></a></li> |
|
146 <li class="menuUnderline"><a href="<?php URL_ROOT ?>?lang=fr" class="menuLink"> |
|
147 <img src='../images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> /> |
|
148 <?php print $translate->_("Français"); ?></a></li> |
|
149 <li ><a href="<?php URL_ROOT ?>?lang=en" class="menuLink"> |
|
150 <img src='../images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> /> |
|
151 <?php print $translate->_("Anglais"); ?></a></li> |
|
152 </ul> |
|
153 |
|
154 <!-- EXPLICATION --> |
|
155 <div class="tweetExplain" > |
|
156 <h3 class="tweetWriterTitle"><?php print $translate->_("ClientTitle1 :"); ?> </h3><br/> |
|
157 <?php print $translate->_("ExplicationPT"); ?> |
|
158 </div> |
|
159 |
|
160 |
|
161 <!-- INFOS SUR LA CONF |
|
162 <div class="tweetExplain" > |
|
163 <h3 class="tweetWriterTitle"><?php echo($config['title']); ?></h3><br/> |
|
164 <?php echo($config['description']); ?> |
|
165 </div> |
|
166 --> |
|
167 |
|
168 |
|
169 |
|
170 |
|
171 <div class="videoLive" > |
|
172 <div class="videoLivePlayer"> |
|
173 |
|
174 <div id="chartTimeline"> </div> |
|
175 <script type="text/javascript"> |
|
176 var paper = Raphael(document.getElementById("chartTimeline"),config.width, config.height); |
|
177 </script> |
|
178 |
|
179 <script type='text/javascript' src='../res/metadataplayer/src/js/LdtPlayer.js'></script> |
|
180 <script type="text/javascript"> |
|
181 $.extend(__IriSP.lib,{jQueryToolTip:"../res/metadataplayer/res/js/jquery.tools.min.js"}); |
|
182 </script> |
|
183 |
|
184 <div id="player_project_13b0aa52-336b-11e0-b233-00145ea49a02_embed" class="iri_player_embed"> </div> |
|
185 <script type="text/javascript"> |
|
186 var configMP = { |
|
187 /*metadata:{ |
|
188 format:'cinelab', |
|
189 src:'metadata.json', |
|
190 load:'json'},*/ |
|
191 metadata:{ |
|
192 format:'cinelab', |
|
193 src:'<?php echo($config['metadata']); ?>', |
|
194 load:'jsonp'}, |
|
195 gui:{ |
|
196 width:650, |
|
197 height:480, |
|
198 mode:'video', |
|
199 container:'player_project_13b0aa52-336b-11e0-b233-00145ea49a02_embed', |
|
200 debug:false, |
|
201 css:'../res/css/LdtPlayer.css'}, |
|
202 |
|
203 player:{ |
|
204 type:'jwplayer', |
|
205 src:'http://www.iri.centrepompidou.fr//dev/ldt/static/ldt/swf/player.swf'} |
|
206 }; |
|
207 __IriSP.init(configMP); |
|
208 </script> |
|
209 </div> |
|
210 </div> |
|
211 |
|
212 |
|
213 <div class="footer"> |
|
214 <hr> |
|
215 <?php echo($config['partenaires']); ?> |
|
216 </div> |
|
217 |
|
218 </div> |
|
219 |
|
220 </body> |
|
221 </html> |
|