From 1806ee02f591fef12a8466aec4fcaeb32581e7e5 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 4 Apr 2007 10:07:29 +0000 Subject: [PATCH] Remove old pages git-svn-id: http://www.observium.org/svn/observer/trunk@37 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/downinterfaces.php | 117 ---------------------------------- 1 file changed, 117 deletions(-) delete mode 100644 html/pages/downinterfaces.php diff --git a/html/pages/downinterfaces.php b/html/pages/downinterfaces.php deleted file mode 100644 index 350c487de..000000000 --- a/html/pages/downinterfaces.php +++ /dev/null @@ -1,117 +0,0 @@ - -$type

"); - -if($_GET['format'] == "rows") { -echo(""); -echo(" - - - - - - - - - - - - "); -} else { -#echo("
Last ChangedHostnameInterfaceDescriptionTypeNotes
"); -} -$i = 1; - - while($data = mysql_fetch_array($query)) { - unset($class); - $iid = $data[iid]; - $did = $data[did]; - $hostname = $data[hostname]; - $lastchange = $data[changed]; - $up = $data[up]; - $up_admin = $data[ip_admin]; - $ifname = fixifname($data[ifname]); - $ifnamelong = $ifname; - $hostnamelong = $data[hostname]; - $ifalias = $data[ifalias]; - - $hostname = str_replace(".enta.net","",$hostname); - -unset($colour); - - - if($ifalias == "") { $ifalias = "* Unlabelled *"; } - - $ifalias = str_replace(" [","|",$ifalias); - $ifalias = str_replace("] (","|",$ifalias); - $ifalias = str_replace(" (","||",$ifalias); - $ifalias = str_replace("]","|",$ifalias); - $ifalias = str_replace(")","|",$ifalias); - list($ifalias,$type,$notes) = explode("|", $ifalias); - - if( strpos($ifalias,': ')) { - list($class,$ifalias) = split(": ",$ifalias,2); - } - if($class == "") { - if($ifalias == "* Unlabelled *") { - $class = "unlabelled"; } - else { - $class = "unknown"; } - } - $class = $class . "cell"; - $ifname = makeshortif($ifname); - $class = strtolower($class); - - if($_GET['format'] == "rows") { - - echo(" - - - - - - - - - - - - "); - - } else { - - - echo("
- $hostname
- $ifname
- $ifalias
- $type
- $notes -
"); - - -# echo(" -# "); -# if ($i < 6) { -# $i++; -# } else { -# $i=1; -# echo(""); -# } - } - - } - -echo("
$lastchange$hostnamelong$ifnamelong$ifalias$type$notes
-# $ifalias
-# $type $notes

-# $hostname
-# $ifname
"); -?>