Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Map Pane..

Decoded Output download

<!DOCTYPE html>
<html>

<head>



    <meta charset="utf-8" />
    <title>Map Panel & Lampu</title>
    <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
    <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
    <style>
        body {
            margin: 0;
            padding: 0;
        }

        #map {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 100%;
        }
    </style>
</head>

<body>
<?php $id=$_GET['id']; ?>
    <div id="map"></div>
<script src="leaflet-src.js"></script>
<script type="text/javascript" src="dist/leaflet.ajax.js"></script>
<script src="spin.js"></script>
<script src="leaflet.spin.js"></script>
      <script type="text/javascript">
	  var m= L.map('map').setView([-5.1478036504745255,119.42012756104154], 13);

var mopt = {
    url: 'https://api.mapbox.com/styles/v1/mapbox/streets-v11/tiles/256/{z}/{x}/{y}?access_token=pk.eyJ1Ijoicnlhbjkzc3AiLCJhIjoiY2pkMDJxZ2xpMGxjYTJxbzRtd3EzZnRzcCJ9.WsRQpljGbYjxw7za2_cPtA',
    options: {attribution:'  <a href="#">PJU Makassar</a>  <a href="https://www.mapbox.com/map-feedback/">Mapbox</a>  <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}
  };
var mq=L.tileLayer(mopt.url,mopt.options);

mq.addTo(m);


var greenIcon = new L.Icon({
  iconUrl: 'https://cdn.rawgit.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-green.png',
  shadowUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png',
  iconSize: [25, 41],
  iconAnchor: [12, 41],
  popupAnchor: [1, -34],
  shadowSize: [41, 41]
});

//L.marker([51.5, -0.09], {icon: greenIcon}).addTo(m);




function popUp(f,l){
    var out = [];
    if (f.properties){
        for(key in f.properties){
            out.push(key+": "+f.properties[key]);
        }
        l.bindPopup(out.join("<br />"));
    }
}
var jsonTest = new L.GeoJSON.AJAX(["https://tholabulilmi.info/apps/datasurvey/geojson.php?idpanel=<?php echo $id; ?>","https://tholabulilmi.info/apps/datasurvey/geojsonpl.php?idpanel=<?php echo $id; ?>"],{onEachFeature:popUp}).addTo(m);
</script>
</body>

</html>

Did this file decode correctly?

Original Code

<!DOCTYPE html>
<html>

<head>



    <meta charset="utf-8" />
    <title>Map Panel & Lampu</title>
    <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
    <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
    <style>
        body {
            margin: 0;
            padding: 0;
        }

        #map {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 100%;
        }
    </style>
</head>

<body>
<?php $id=$_GET['id']; ?>
    <div id="map"></div>
<script src="leaflet-src.js"></script>
<script type="text/javascript" src="dist/leaflet.ajax.js"></script>
<script src="spin.js"></script>
<script src="leaflet.spin.js"></script>
      <script type="text/javascript">
	  var m= L.map('map').setView([-5.1478036504745255,119.42012756104154], 13);

var mopt = {
    url: 'https://api.mapbox.com/styles/v1/mapbox/streets-v11/tiles/256/{z}/{x}/{y}?access_token=pk.eyJ1Ijoicnlhbjkzc3AiLCJhIjoiY2pkMDJxZ2xpMGxjYTJxbzRtd3EzZnRzcCJ9.WsRQpljGbYjxw7za2_cPtA',
    options: {attribution:'  <a href="#">PJU Makassar</a>  <a href="https://www.mapbox.com/map-feedback/">Mapbox</a>  <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}
  };
var mq=L.tileLayer(mopt.url,mopt.options);

mq.addTo(m);


var greenIcon = new L.Icon({
  iconUrl: 'https://cdn.rawgit.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-green.png',
  shadowUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png',
  iconSize: [25, 41],
  iconAnchor: [12, 41],
  popupAnchor: [1, -34],
  shadowSize: [41, 41]
});

//L.marker([51.5, -0.09], {icon: greenIcon}).addTo(m);




function popUp(f,l){
    var out = [];
    if (f.properties){
        for(key in f.properties){
            out.push(key+": "+f.properties[key]);
        }
        l.bindPopup(out.join("<br />"));
    }
}
var jsonTest = new L.GeoJSON.AJAX(["https://tholabulilmi.info/apps/datasurvey/geojson.php?idpanel=<?php echo $id; ?>","https://tholabulilmi.info/apps/datasurvey/geojsonpl.php?idpanel=<?php echo $id; ?>"],{onEachFeature:popUp}).addTo(m);
</script>
</body>

</html>

Function Calls

None

Variables

$id None

Stats

MD5 25fddfa9a59169c4088eefa4581973c3
Eval Count 0
Decode Time 83 ms