diff --git a/html/pages/device/health/cpm.inc.php b/html/pages/device/health/cpm.inc.php
index 8298000a1..8c993c751 100644
--- a/html/pages/device/health/cpm.inc.php
+++ b/html/pages/device/health/cpm.inc.php
@@ -20,17 +20,17 @@
echo("
");
- $daily_graph = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cempMemPool&from=$day&to=$now&width=211&height=100";
- $daily_url = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cempMemPool&from=$day&to=$now&width=400&height=150";
+ $daily_graph = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cpmCPU&from=$day&to=$now&width=211&height=100";
+ $daily_url = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cpmCPU&from=$day&to=$now&width=400&height=150";
- $weekly_graph = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cempMemPool&from=$week&to=$now&width=211&height=100";
- $weekly_url = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cempMemPool&from=$week&to=$now&width=400&height=150";
+ $weekly_graph = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cpmCPU&from=$week&to=$now&width=211&height=100";
+ $weekly_url = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cpmCPU&from=$week&to=$now&width=400&height=150";
- $monthly_graph = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cempMemPool&from=$month&to=$now&width=211&height=100";
- $monthly_url = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cempMemPool&from=$month&to=$now&width=400&height=150";
+ $monthly_graph = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cpmCPU&from=$month&to=$now&width=211&height=100";
+ $monthly_url = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cpmCPU&from=$month&to=$now&width=400&height=150";
- $yearly_graph = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cempMemPool&from=$year&to=$now&width=211&height=100";
- $yearly_url = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cempMemPool&from=$year&to=$now&width=400&height=150";
+ $yearly_graph = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cpmCPU&from=$year&to=$now&width=211&height=100";
+ $yearly_url = "graph.php?id=" . $proc['cpmCPU_id'] . "&type=cpmCPU&from=$year&to=$now&width=400&height=150";
echo("', LEFT);\" onmouseout=\"return nd();\">
");
diff --git a/html/pages/device/interface.inc.php b/html/pages/device/interface.inc.php
index 7f7522b9f..b61fb18cd 100644
--- a/html/pages/device/interface.inc.php
+++ b/html/pages/device/interface.inc.php
@@ -3,6 +3,8 @@
$interface_query = mysql_query("select * from interfaces WHERE interface_id = '".$_GET['opta']."'");
$interface = mysql_fetch_array($interface_query);
+ $port_details = 1;
+
$hostname = $device['hostname'];
$hostid = $device['interface_id'];
$ifname = $interface['ifDescr'];
@@ -22,9 +24,6 @@ $interface = mysql_fetch_array($interface_query);
$inf = fixifName($ifname);
$bg="#ffffff";
-# echo("");
-# include("includes/device-header.inc");
-# echo("
");
$show_all = 1;
diff --git a/html/pages/logon.inc b/html/pages/logon.inc
index f197cf9d3..ed7609bd1 100644
--- a/html/pages/logon.inc
+++ b/html/pages/logon.inc
@@ -20,6 +20,9 @@
+
+
+ Remember Me
");
diff --git a/includes/common.php b/includes/common.php
index 40fae3b69..ed51635a5 100644
--- a/includes/common.php
+++ b/includes/common.php
@@ -2,6 +2,10 @@
## Common Functions
+function mres($string) { // short function wrapper because the real one is stupidly long and ugly. aestetics.
+ return mysql_real_escape_string($string);
+}
+
function getifhost($id) {
$sql = mysql_query("SELECT `device_id` from `interfaces` WHERE `interface_id` = '$id'");
$result = @mysql_result($sql, 0);
diff --git a/includes/functions.php b/includes/functions.php
index be87a847c..4f59b0cb3 100755
--- a/includes/functions.php
+++ b/includes/functions.php
@@ -55,10 +55,6 @@ function only_alphanumeric( $string )
}
-function mres($string) { // short function wrapper because the real one is stupidly long and ugly. aestetics.
- return mysql_real_escape_string($string);
-}
-
function validate_hostip($host) {
}