403Webshell
Server IP : 80.241.246.6  /  Your IP : 216.73.216.188
Web Server : Apache/2.4.25 (Debian)
System : Linux kharagauli 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User : www-data ( 33)
PHP Version : 7.0.33-0+deb9u12
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/kharagauli1/moduls/weather/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/kharagauli1/moduls/weather/google_find_string.html
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
Zip Code:
<input type="text" name="address" id="zip"/>
<input type="button" id="bSubmit" value="Submit"/>
&nbsp;
<div id="map_canvas"></div>

<script type="text/javascript">
   function initialize() {

            
            
           

       var data="Sample";
       var title="Title";
        var latitude = null;
        var longitude = null;
       var addresscity=document.getElementById("zip").value;
        var geocoder = new google.maps.Geocoder();
       geocoder.geocode({ 'address': addresscity }, function (results, status) {
                if (status == google.maps.GeocoderStatus.OK) {
                    latitude = results[0].geometry.location.lat();
                    longitude = results[0].geometry.location.lng();
                 var myLatlng = new google.maps.LatLng(latitude, longitude);
                    var mapOptions = {
                 center: new google.maps.LatLng(latitude, longitude),
                  zoom: 8,
                 mapTypeId: google.maps.MapTypeId.ROADMAP
               
             };
                      var infoWindow = new google.maps.InfoWindow();
             var map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);
                 var bluePin = new google.maps.MarkerImage('http://maps.google.com/mapfiles/ms/micons/blue-dot.png',
                new google.maps.Size(32, 32),
                new google.maps.Point(0, 0),
                new google.maps.Point(14, 35));
                 var pinShadow = new google.maps.MarkerImage('http://maps.google.com/mapfiles/ms/micons/msmarker.shadow.png',
                new google.maps.Size(59, 32),
                new google.maps.Point(0, 0),
                new google.maps.Point(14, 35));
                 var marker = new google.maps.Marker({
                     position: myLatlng,
                     icon: bluePin,
                     shadow: pinShadow,
                     map: map,
                     title:title
                 });
                 (function (marker, data) {
                     google.maps.event.addListener(marker, 'click', function (e) {
                         infoWindow.setContent(data);
                         infoWindow.open(map, marker);
                     });
                 })(marker, data);
             
         }
       }); 
       }
document.getElementById("bSubmit").addEventListener('click',initialize);


</script>

Youez - 2016 - github.com/yon3zu
LinuXploit