mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Major updates on the road to 0.7
git-svn-id: http://www.observium.org/svn/observer/trunk@492 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -35,11 +35,20 @@
|
||||
list(,$circuit) = preg_split("/[\{\}]/", $interface['ifAlias']);
|
||||
list(,$notes) = preg_split("/[\(\)]/", $interface['ifAlias']);
|
||||
list(,$speed) = preg_split("/[\[\]]/", $interface['ifAlias']);
|
||||
|
||||
$customer = trim($customer);
|
||||
|
||||
if ($customer == $prev_customer) {
|
||||
unset($customer);
|
||||
} else {
|
||||
if(isset($prev_customer)) {
|
||||
echo("<tr bgcolor='$bg_colour'><td></td><td colspan=6>
|
||||
<img src='http://observer2.as8681.net/graph.php?cust=".rawurlencode($customer)."&type=customer_bits&from=1256573330&to=-300s&width=215&height=100'>
|
||||
<img src='http://observer2.as8681.net/graph.php?cust=".rawurlencode($customer)."&type=customer_bits&from=1256573330&to=-300s&width=215&height=100'>
|
||||
<img src='http://observer2.as8681.net/graph.php?cust=".rawurlencode($customer)."&type=customer_bits&from=1256573330&to=-300s&width=215&height=100'>
|
||||
<img src='http://observer2.as8681.net/graph.php?cust=".rawurlencode($customer)."&type=customer_bits&from=1256573330&to=-300s&width=215&height=100'>
|
||||
</td></tr>");
|
||||
}
|
||||
|
||||
if(is_integer($customers/2)) { $bg_colour = $list_colour_a; } else { $bg_colour = $list_colour_b; }
|
||||
$customers++;
|
||||
$prev_customer = $customer;
|
||||
|
Reference in New Issue
Block a user