-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathonu.php
More file actions
34 lines (34 loc) · 1.17 KB
/
Copy pathonu.php
File metadata and controls
34 lines (34 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<div align="left" style="padding: 10px"><a href="?page=olt&olt=<?php echo $ip; ?>"><img width="16" src="images/back.png"> Карточка OLT</a></div>
<?php
echo "<div style=\"padding: 10px\">";
include 'onu_sensors.php';
?>
</div>
</div>
<div align="center">
<?php
$olt = $ip;
if ($include == NULL) {
if ($fdb == "show") {
$self = $_SERVER['PHP_SELF'];
#include 'get_fdb_by_snmp.php';
include 'get_fdb_by_telnet.php';
} else {
if ($lat == 0) {
echo "Onu не указана на карте";
} else {
echo "<a href=\"index.php?page=onu&olt=$olt&mac=$mac&maptype=heremap\">Here Map</a> ";
echo "<a href=\"index.php?page=onu&olt=$olt&mac=$mac&maptype=heresat\">Here Sat</a> ";
echo "<a href=\"index.php?page=onu&olt=$olt&mac=$mac&maptype=osm\">OpenStreet</a> ";
echo "<a href=\"index.php?page=onu&olt=$olt&mac=$mac\">Yandex Maps</a>";
echo "<div align=\"center\">";
echo "<div id=\"map\" style=\"width:600px; height:400px\"></div>";
echo "</div>";
}
echo "<br/><a href=\"index.php?page=location&olt=$olt&mac=$mac\">Указать координаты</a><br/><br/>";
}
} else {
include "$include";
}
?>
</div>