

Nextrek
@ 1061
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
<!DOCTYPE html> <html lang="<?php echo $lang; ?>"> <head> <meta content="width=device-width, initial-scale=1.0" name="viewport" user-scalable=no> <link rel="stylesheet" href="css/maps-style.css" media="all"/> <script src="https://code.jquery.com/jquery-1.10.2.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> <script src="js/formcheck.js"></script> <script src="js/maps-google.js"></script> <script src="lang/lang.js"></script> <script src="js/cookie/jquery.cookie.js"></script> <script> $('html').attr("lang", parent.document.documentElement.lang); </script> </head> <body id="map-body"> <input id="pac-input" class="controls" type="text" placeholder="Search Box"> <script>$('#pac-input').attr("placeholder", getText("Cerca", document.documentElement.lang));</script> <div id="map"></div> <script> var node = document.createElement("SCRIPT"); node.async = true; node.defer = true; if(document.documentElement.lang != "it-it") node.src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDUqBLxMo-RgdekbpMbRUQRxr9ZyXXBdWY&language=en&libraries=places&callback=initAutocomplete"; else node.src = "https://maps.googleapis.com/maps/api/js?key=AIzaSyDUqBLxMo-RgdekbpMbRUQRxr9ZyXXBdWY&language=it&libraries=places&callback=initAutocomplete"; document.getElementById("map-body").appendChild(node); </script> <!--script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDUqBLxMo-RgdekbpMbRUQRxr9ZyXXBdWY&language=<?php echo $_SERVER['REQUEST_URI'] ?>&libraries=places&callback=initAutocomplete"> </script--> </body> </html> |