$device[hostname]");
if($device[location] != "") { $locationhtml = $device[location]; }
$type = strtolower($device['os']);
if(file_exists("../images/os/$type" . ".gif")){ $image = "
"; }
if ($device['os'] == "IOS") {
echo ("
$image
$device[hardware]
$device[os] $device[version]
$device[features]
$locationhtml
Up " . formatUptime($device[uptime]) ."");
} else {
echo ("$image $device[os] $device[version] ($device[features])
$locationhtml
Up " . formatUptime($device[uptime]) ."
");
}
if($_GET['page'] == 'device') {
if($_GET['graphs'] == 'yes') {
echo("
Hide Graphs
");
} else {
echo("
Show Graphs
");
}
}
?>