<?php include 'bin/load_system.php'; include 'class/locations.php'; include 'class/geolocation.php'; $locations = new locations_class(); die($locations->fill_geolocations()); ?>
<?php include 'bin/load_system.php'; include 'class/locations.php'; include 'class/geolocation.php'; $locations = new locations_class(); //die( $locations->fill_geolocations()); $lat = 52; $lng = 13; $distance = 50; //var_dump($lat.' '.$lng.' '.$distance); $founded = $locations->get_distance($lat, $lng, $distance); echo "result: "; var_dump($founded); die; ?>