80 $translate->setLocale( $_SESSION['lang']); |
80 $translate->setLocale( $_SESSION['lang']); |
81 $actual = $_SESSION['lang']; |
81 $actual = $_SESSION['lang']; |
82 |
82 |
83 } |
83 } |
84 |
84 |
85 /* NEXT CONFERENCE AND CLIENT PAGE INFORMATION |
85 $js_registry = array( |
86 */ |
86 'local' => array( |
87 /* CLIENT VAR LIVE */ |
87 'jquery' => URL_ROOT.'res/js/jquery-1.4.3.min.js', |
88 |
88 'raphael' => URL_ROOT.'res/raphael/raphael-min.js', |
89 $C_hashtag = "#CHI07"; |
89 'jquery-ui' => URL_ROOT.'res/js/jquery-ui-1.8.13.min.js', |
90 $C_link = "http://www.iri.centrepompidou.fr/evenement/interfaces-de-demain/"; |
90 'niceforms' => URL_ROOT.'res/niceforms/niceforms.js', |
91 $C_title = "Interfaces de demain"; |
91 'jquery-url' => URL_ROOT.'res/js/jquery.url.js', |
92 $C_abstract = "VIDEO SHOWCASE Interfaces de demain: Du sol à la table interactive en passant par le mur… |
92 'ldtplayer' => URL_ROOT.'res/metadataplayer/src/js/LdtPlayer.js', |
93 07 Juillet de 19h à 21h Salle Piazza "; |
93 'fancybox' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.pack.js', |
94 $C_REP = "sig-chi-paris-2011/"; |
94 'jquery-tools' => URL_ROOT.'res/metadataplayer/res/js/jquery.tools.min.js', |
95 $C_description = "VIDEO SHOWCASE Interfaces de demain: Du sol à la table interactive en passant par le mur…<br/> |
95 'tw-widget' => URL_ROOT.'res/js/tw_widget.js', |
96 |
96 'jquery-mousewheel' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.mousewheel-3.0.4.pack.js', |
97 7th July 2011, 7:00 – 9:00 pm : Salle Piazza au Centre Pompidou <br/> |
97 ), |
98 ACM SigCHI Paris vous propose un panorama des dernières recherches en interaction homme-machine le 7 juillet 2011, de 19h à 21h au Centre Pompidou (salle Piazza). Des chercheurs vous présenteront les dernières avancées sous forme d’une diffusion vidéo organisée en 5 thèmes : |
98 'cdn' => array( |
99 <ul> |
99 'jquery' => 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js', |
100 <li> nouvelles technologies</li> |
100 'raphael' => URL_ROOT.'res/raphael/raphael-min.js', |
101 <li> tables interactives</li> |
101 'jquery-ui' => 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js', |
102 <li> interaction tactile</li> |
102 'niceforms' => URL_ROOT.'res/niceforms/niceforms.js', |
103 <li> interaction gestuelle</li> |
103 'jquery-url' => URL_ROOT.'res/js/jquery.url.js', |
104 <li> visualisation d’informations</li> |
104 'ldtplayer' => URL_ROOT.'res/metadataplayer/src/js/LdtPlayer.js', |
105 </ul> |
105 'fancybox' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.fancybox-1.3.4.pack.js', |
106 La diffusion sera suivie d’une discussion informelle autour d’un apéritif. |
106 'jquery-tools' => 'http://cdn.jquerytools.org/1.2.5/jquery.tools.min.js', |
107 Cet événement est organisé par le LRI (Université Paris-Sud et CNRS), l’INRIA, Telecom ParisTech et l’IRI. "; |
107 'tw-widget' => 'http://widgets.twimg.com/j/2/widget.js', |
108 |
108 'jquery-mousewheel' => URL_ROOT.'res/jquery.fancybox/fancybox/jquery.mousewheel-3.0.4.pack.js', |
109 $C_partenaires = "<a href='http://www.iri.centrepompidou.fr/' class='footerLink' target='_blank'> IRI </a> |
109 ) |
110 | <a href='http://www.lri.fr/' class='footerLink' target='_blank' > LRI </a> |
110 ); |
111 | <a href='http://www.inria.fr/' class='footerLink' target='_blank' > INRIA</a> |
111 |
112 | <a href='http://www.cnrs.fr/telecom' class='footerLink' target='_blank' > CNRS</a> |
112 $font_registry = array( |
113 | <a href='http://www.telecom-paristech.fr/' class='footerLink' target='_blank' > telecom paris tech</a>"; |
113 'local' => array( |
114 $C_islive = true; |
114 'PT-Sans_Narrow' => URL_ROOT.'res/fonts/PT_Sans-Narrow-Web-Regular.css', |
115 |
115 'PT-Sans' => URL_ROOT.'res/fonts/PT_Sans-Web-Regular.css', |
116 |
116 'Geo' => URL_ROOT.'res/fonts/Geo-Regular.css' |
|
117 ), |
|
118 'cdn' => array( |
|
119 'PT-Sans_Narrow' => 'http://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin', |
|
120 'PT-Sans' => 'http://fonts.googleapis.com/css?family=PT+Sans&subset=latin', |
|
121 'Geo' => 'http://fonts.googleapis.com/css?family=Geo&subset=latin' |
|
122 ) |
|
123 ); |
|
124 |
|
125 $archives_list = array( |
|
126 "rsln", "rsln-opendata", "rsln-mercedes-bunz", |
|
127 "enmi2011-technologie-confiance", "CPV", "fens_FabLab_Design_Metadata", |
|
128 array("mashup","conference"), array("mashup","tableronde"), "sig-chi-paris-2011" |
|
129 ); |
|
130 |
|
131 function registry_url($key, $type, $registry_def=null) { |
|
132 |
|
133 global $js_registry, $font_registry, $C_default_registry; |
|
134 |
|
135 if($registry_def != null) { |
|
136 $registry = $registry_def; |
|
137 } |
|
138 elseif(isset($C_default_registry)) { |
|
139 $registry = $C_default_registry; |
|
140 } |
|
141 else { |
|
142 $registry = 'local'; |
|
143 } |
|
144 $registry_name = $type."_registry"; |
|
145 return ${ |
|
146 $registry_name}[$registry][$key]; |
|
147 |
|
148 } |
|
149 |
|
150 function get_archive_box($rep, $metadata, $url_root, $basepath) { |
|
151 |
|
152 include("$basepath$rep/config.php"); |
|
153 |
|
154 $id = "abox_$rep".(($metadata!=null)?"_$metadata":""); |
|
155 $hash = ($metadata!=null)?"#metadata=$metadata":""; |
|
156 $tail_img = $config['archive_img']; |
|
157 if(is_array($tail_img)) { |
|
158 $tail_img = $tail_img[$metadata]; |
|
159 } |
|
160 $archive_title = $config['archive_title']; |
|
161 if(is_array($archive_title)) { |
|
162 $archive_title = $archive_title[$metadata]; |
|
163 } |
|
164 $archive_description = $config['archive_description']; |
|
165 if(is_array($archive_description)) { |
|
166 $archive_description = $archive_description[$metadata]; |
|
167 } |
|
168 |
|
169 |
|
170 $res = "<div id=\"$id\" class=\"archivesVideoBox\">\n"; |
|
171 $res .= " <a href=\"$rep/polemicaltimeline.php$hash\">\n"; |
|
172 $res .= " <img src=\"$url_root$rep/$tail_img\" width=\"270\" height=\"150\"/>"; |
|
173 $res .= " </a>"; |
|
174 $res .= " <div class=\"AVBtitle\">$archive_title</div>\n"; |
|
175 $res .= " <div class=\"AVBtext\">\n"; |
|
176 $res .= " $archive_description\n"; |
|
177 $res .= " </div>\n"; |
|
178 $res .= "</div>\n"; |
|
179 |
|
180 return $res; |
|
181 |
|
182 } |
|
183 |
|
184 function display_archives_list($archives_list, $box_class, $url_root, $basepath) { |
|
185 for($i=0;$i<count($archives_list);$i++) { |
|
186 if(($i % 3)==0) { |
|
187 print(" <div class=\"$box_class\">\n"); |
|
188 } |
|
189 $archive_ref = $archives_list[$i]; |
|
190 |
|
191 $archive_name = $archive_ref; |
|
192 $metadata = null; |
|
193 if(is_array($archive_ref)) { |
|
194 $archive_name = $archive_ref[0]; |
|
195 $metadata = $archive_ref[1]; |
|
196 } |
|
197 print(get_archive_box($archive_name,$metadata, $url_root, $basepath)); |
|
198 if(($i % 3)==2 || $i == (count($archives_list)-1)) { |
|
199 print(" </div>\n"); |
|
200 } |
|
201 } |
|
202 } |
|
203 |
|
204 |