= 1) { $quota = array( 'type' => 'tb', 'select_tb' => ' selected', 'data' => $tmp['tb'], ); } elseif (($tmp['gb'] >= 1) and ($tmp['gb'] < $base)) { $quota = array( 'type' => 'gb', 'select_gb' => ' selected', 'data' => $tmp['gb'], ); } elseif (($tmp['mb'] >= 1) and ($tmp['mb'] < $base)) { $quota = array( 'type' => 'mb', 'select_mb' => ' selected', 'data' => $tmp['mb'], ); } }//end if if ($bill_data['bill_type'] == 'cdr') { $data = $bill_data['bill_cdr']; $tmp['kbps'] = ($data / $base); $tmp['mbps'] = ($data / $base / $base); $tmp['gbps'] = ($data / $base / $base / $base); if ($tmp['gbps'] >= 1) { $cdr = array( 'type' => 'gbps', 'select_gbps' => ' selected', 'data' => $tmp['gbps'], ); } elseif (($tmp['mbps'] >= 1) and ($tmp['mbps'] < $base)) { $cdr = array( 'type' => 'mbps', 'select_mbps' => ' selected', 'data' => $tmp['mbps'], ); } elseif (($tmp['kbps'] >= 1) and ($tmp['kbps'] < $base)) { $cdr = array( 'type' => 'kbps', 'select_kbps' => ' selected', 'data' => $tmp['kbps'], ); } }//end if ?>

Bill Properties

Billed Ports

There are no ports assigned to this bill

Add Port