$html .= " <td>" . $history['in'] . "</td>"; $html .= " </tr>"; $html .= " <tr>"; $html .= " <th>Outbound</th>"; $html .= " <td>:</td>"; $html .= " <td>" . $history['out'] . "</td>"; $html .= " </tr>"; $html .= " <tr>"; $html .= " <th>Allowed</th>"; $html .= " <td>:</td>"; $html .= " <td>" . $history['allowed'] . "</td>"; $html .= " </tr>"; $html .= " <tr>"; $html .= " <th>Overusage</th>"; $html .= " <td>:</td>"; $html .= " <td>" . $history['overusage'] . "</td>"; $html .= " </tr>"; $html .= "</table>"; $html .= "<tcpdf method=\"AddPage\" params=\"" . $landscape . "\" />"; $html .= "<h2>Bitrate Graph overview</h2>"; $html .= "<p></p>"; $html .= graphOverviewBitrate($bill_id, $history); $html .= "<tcpdf method=\"AddPage\" params=\"" . $landscape . "\" />"; $html .= "<h2>Transfer Graph overview</h2>"; $html .= "<p></p>"; $html .= graphOverviewTransfer($bill_id, $history); $html .= "<tcpdf method=\"AddPage\" params=\"" . $portret . "\" />"; $html .= "<h2>Detailed transfer overview</h2>"; $html .= "<p></p>"; $html .= transferOverview($bill_id, $history);
$res .= " <td style=\"text-align: center;\"><span class=\"badge badge-info\"><strong>" . $tot['out'] . "</strong></span></td>"; $res .= " <td style=\"text-align: center;\"><span class=\"badge badge-inverse\"><strong>" . $tot['tot'] . "</strong></span></td>"; $res .= " <td></td>"; $res .= " </tr>"; $res .= " </tbody>"; $res .= " </table>"; return $res; } if ($active['billing'] == "active") { $graph = $bi; } elseif ($active['24hour'] == "active") { $graph = $di; } elseif ($active['monthly'] == "active") { $graph = $mi; } elseif ($active['detail'] == "active") { $graph = transferOverview($bill_id, $unixfrom, $unixto); } elseif ($active['previous'] == "active") { $graph = $li; } /** ?> <div class="row" style="margin-bottom: 15px;"> <div class="col-md-6 well info_box"> <div id="title"><i class="oicon-information"></i> 账单概述</div> <table class="table table-striped table-bordered table-condensed table-rounded"> <tr> <th style="width: 125px;">账单周期</th> <td style="width: 5px;">:</td> <td><?php echo($fromtext." to ".$totext); ?></td> </tr> <tr>