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

Billed Ports

"); echo(""); while ($port = mysql_fetch_array($ports_array)) { 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:
"); ?>