diff --git a/pandora_console/include/class/Map.interface.php b/pandora_console/include/class/Map.interface.php new file mode 100644 index 0000000000..ab5dc11e65 --- /dev/null +++ b/pandora_console/include/class/Map.interface.php @@ -0,0 +1,30 @@ + diff --git a/pandora_console/include/class/Networkmap2.class.php b/pandora_console/include/class/Networkmap2.class.php new file mode 100644 index 0000000000..acc6160d2a --- /dev/null +++ b/pandora_console/include/class/Networkmap2.class.php @@ -0,0 +1,72 @@ +id = $id; + $this->loadDB(); + $this->requires_js = array(); + $this->requires_js[] = "include/javascript/d3.3.5.14.js"; + } + + public function show() { + foreach ($this->requires_js as $js) { + echo "" . "\n"; + } + + ?> + +
+ + +
+ + print_js_init(); + } + + public function print_js_init() { + echo "

Networkmap

"; + ?> + + $this->id)); + + $this->type = $row['type']; + $this->subtype = $row['subtype']; + } +} +?>