8c4a0c30 |
1 | {**************************************************************************} |
2 | {* *} |
3 | {* Copyright (C) 2003-2007 Polytechnique.org *} |
4 | {* http://opensource.polytechnique.org/ *} |
5 | {* *} |
6 | {* This program is free software; you can redistribute it and/or modify *} |
7 | {* it under the terms of the GNU General Public License as published by *} |
8 | {* the Free Software Foundation; either version 2 of the License, or *} |
9 | {* (at your option) any later version. *} |
10 | {* *} |
11 | {* This program is distributed in the hope that it will be useful, *} |
12 | {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} |
13 | {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} |
14 | {* GNU General Public License for more details. *} |
15 | {* *} |
16 | {* You should have received a copy of the GNU General Public License *} |
17 | {* along with this program; if not, write to the Free Software *} |
18 | {* Foundation, Inc., *} |
19 | {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} |
20 | {* *} |
21 | {**************************************************************************} |
22 | |
23 | <script type="text/javascript"> |
24 | {literal} |
25 | function ficheXorg(id) |
26 | { |
27 | window.open('{/literal}{if $no_annu}https://{#globals.core.secure_domain#}/{/if}{literal}profile/'+id,'_blank','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=840,height=600'); |
28 | } |
29 | {/literal} |
30 | {if !$no_annu} |
31 | {literal} |
32 | function clickOnCity(id) |
33 | { |
34 | var f = document.getElementById('search_form'); |
35 | var url = f.action; |
36 | f.action += unescape('%26')+'cityid=' + id; |
37 | f.submit(); |
38 | f.action = url; |
39 | document.getElementById('search_results').style.height = '250px'; |
40 | } |
41 | var mapid = 0; |
42 | function goToCountry(id) |
43 | { |
44 | mapid = id; |
45 | } |
46 | function searchMapId(f) |
47 | { |
48 | var url = f.action; |
49 | f.action += unescape('%26')+'mapid=' + mapid; |
50 | f.submit(); |
51 | f.action = url; |
52 | document.getElementById('search_results').style.height = '250px'; |
53 | } |
54 | {/literal} |
55 | {/if} |
56 | |
57 | </script> |
58 | |
59 | {if !$request_geodesix} |
60 | |
61 | {if $smarty.request.only_current neq 'on'} |
62 | <p class="center"> |
35fa92e8 |
63 | [<a href="{$platal->ns}{$plset_base}/geoloc{$plset_search}only_current=on">Ne voir que les adresses principales</a>] |
8c4a0c30 |
64 | </p> |
65 | {/if} |
66 | |
67 | <p class="center"> |
68 | <object |
69 | classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" |
70 | codebase="{$protocole}://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" |
71 | width="600" |
72 | height="450" |
73 | align="middle"> |
90ccb062 |
74 | <param name="movie" value="{$platal->ns}{$plset_base}/geoloc/dynamap.swf"/> |
8c4a0c30 |
75 | <param name="bgcolor" value="#ffffff"/> |
76 | <param name="wmode" value="opaque"/> |
77 | <param name="quality" value="high"/> |
35fa92e8 |
78 | <param name="flashvars" value="initfile={$platal->ns|urlencode}{$plset_base|urlencode}%2Fgeoloc%2Finit{$plset_search_enc}"/> |
8c4a0c30 |
79 | <embed |
90ccb062 |
80 | src="{$platal->ns}{$plset_base}/geoloc/dynamap.swf" |
8c4a0c30 |
81 | quality="high" |
82 | bgcolor="#ffffff" |
83 | width="600" |
84 | height="450" |
85 | name="dynamap" |
86 | id="dynamap" |
87 | align="middle" |
35fa92e8 |
88 | flashvars="initfile={$platal->ns|urlencode}{$plset_base|urlencode}%2Fgeoloc%2Finit{$plset_search_enc}" |
8c4a0c30 |
89 | type="application/x-shockwave-flash" |
90 | menu="false" |
91 | wmode="opaque" |
92 | salign="tl" |
93 | pluginspage="{$protocole}://www.macromedia.com/go/getflashplayer"/> |
94 | </object> |
95 | </p> |
96 | <p class="smaller">Carte fournie gracieusement par <a href="http://www.geodesix.com/">Geodesix</a>.</p> |
97 | {else} |
98 | <p>Le moteur de carte n'a pas été installé sur cette version de plat/al. Veuillez contacter <a href="http://www.geodesix.com/">Geodesix</a>.</p> |
99 | {/if} |
100 | <p class="descr">Pour toute question, problème ou suggestion tu peux envoyer un mail à <a href="mailto:geoloc@staff.polytechnique.org">geoloc@staff.polytechnique.org</a></p> |
101 | |
102 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |