Bill Properties
"); echo('
Name
Billing Day
Monthly Quota
GB
CDR with 95th
Kbps
Type
'); echo("
"); $ports = dbFetchRows("SELECT * FROM `bill_ports` AS B, `ports` AS P, `devices` AS D WHERE B.bill_id = ? AND P.interface_id = B.port_id AND D.device_id = P.device_id", array($bill_data['bill_id'])); if (is_array($ports)) { echo("

Billed Ports

"); echo(""); foreach ($ports as $port) { if ($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; } echo(""); echo(""); } echo("
"); echo(generate_device_link($port) . " - " . generate_port_link($port)); if ($port['ifAlias']) { echo(" - " . $port['ifAlias']); } echo(""); echo("
"); echo("
"); } echo("

Add Port

"); echo("
Device:
Interface:
"); ?>