Ejemplo n.º 1
0
        $name = $location->get_name();
        $desc = $location->get_desc();
        $latitude = str_replace(',', '.', floatval($location->get_lat()));
        $longitude = str_replace(',', '.', floatval($location->get_lon()));
        $zoom = 4;
        $cou = strtolower($location->get_country());
        $location = $location->get_location();
    }
    // Insert related sensor
    if ($sensor_id != '') {
        Locations::insert_related_sensor($conn, $locations_id, $sensor_id);
        Util::memcacheFlush();
    }
    // Delete related sensor
    if ($delete_id != '') {
        Locations::delete_related_sensor($conn, $locations_id, $delete_id);
        Util::memcacheFlush();
    }
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title> <?php 
echo _("OSSIM Framework");
?>
 </title>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
	<meta http-equiv="Pragma" content="no-cache"/>