Changeset 34 for trunk/client/inc
- Timestamp:
- Mar 19, 2010, 5:04:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/inc/javascript.php
r2 r34 48 48 49 49 function googlemaps(){ 50 global $dbi,$prefix,$id_comune,$googlemaps,$op,$gkey ;50 global $dbi,$prefix,$id_comune,$googlemaps,$op,$gkey,$lang; 51 51 # recupera gli inidirizzi 52 52 $id_sede=$_GET['id_sede']; … … 55 55 $sql = mysql_query("select indirizzo from ".$prefix."_ele_sede where id_sede='$id_sede'", $dbi); 56 56 list($indirizzo)=mysql_fetch_row($sql); 57 $indirizzocomune="$indirizzo , $comune ";57 $indirizzocomune="$indirizzo , $comune , $lang"; 58 58 # javascript per mappa 59 59 $jsmaps =" … … 63 63 64 64 65 <script src=\"http://maps.google.com/maps?file=api& v=2&key=$gkey\"65 <script src=\"http://maps.google.com/maps?file=api&v=2&key=$gkey\" 66 66 type=\"text/javascript\"></script> 67 67 <script src=\"http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-msw&key=$gkey\"
Note:
See TracChangeset
for help on using the changeset viewer.