Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/umedia3/ |
Upload File : |
<? include ("./inc/config.inc.php"); //html_start(); ?><html> <head> <style> body { margin: 0 0 0 0; } </style> <title>Gmap display (uMedia)</title> <script src="http://maps.google.com/maps?file=api&v=2&sensor=false&key=<? echo barcodeval_get("webpage-o-gmapapiurl");?>" type="text/javascript"></script> <script type="text/javascript"> function createMarker(point,html) { var marker = new GMarker(point); GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(html); }); return marker; } <? $s=tmq("select * from dc_coverage where mid='$mid' "); $r=tmq_fetch_array($s); ?> function initialize() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map_canvas")); var center = new GLatLng(<? echo $r[f3]?>); map.setCenter(center, 15); map.setUIToDefault(); var point1 = new GLatLng(<? echo $r[f3]?>); var marker = createMarker(point1,'<? echo addslashes(marc_gettitle($mid));?>') map.addOverlay(marker); } else { document.write("Sorry, your browse not support Google Maps"); //alert("Sorry, your browse not support Google Maps"); } } </script> </head> <body onload="initialize()" onunload="GUnload()"> <div id="map_canvas" style="width: 475px; height: 390px"></div> </body> </html>