Minor updates for ADSL services Updates to Sort::MAsort() Move core OSB items under application/ Moved ACCOUNT functions under application Minor updates to task
74 lines
2.1 KiB
PHP
74 lines
2.1 KiB
PHP
<!-- //@todo To translate -->
|
|
<table class="box-full">
|
|
<tr>
|
|
<td class="head" colspan="3">Service Details</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<tr>
|
|
<td style="width: 40%;">Service Number</td>
|
|
<td style="width: 60%;" class="data"><?php echo $so->display('service_number'); ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Service Address</td>
|
|
<td class="data"><?php echo $so->display('service_address'); ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Contract Term</td>
|
|
<td class="data"><?php echo $so->display('contract_term'); ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Connect Date</td>
|
|
<td class="data"><?php echo $so->display('service_connect_date'); ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Contract End Date</td>
|
|
<td class="data"><?php echo $so->contract_date_end(); ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Service Username</td>
|
|
<td class="data"><?php echo $so->display('service_username'); ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Service Password</td>
|
|
<td class="data"><?php #echo $so->display('service_password'); ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Service IP</td>
|
|
<td class="data"><?php echo $so->ipaddress(); ?></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td style="vertical-align: top;" colspan="2">
|
|
<table>
|
|
<tr>
|
|
<td style="width: 40%;">Traffic Used This Month</td>
|
|
<td style="width: 60%;" class="data"><?php echo $so->traffic_month(null); ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Traffic Used Last Month</td>
|
|
<td class="data"><?php echo $so->traffic_lastmonth(); ?></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3">
|
|
<table>
|
|
<tr>
|
|
<td>View Daily Traffic for Month</td>
|
|
<td><?php echo Form::open(); echo Form::select('month',array_merge(array(''),$so->get_traffic_months()),(isset($_POST['month']) ? $_POST['month'] : '')); echo Form::submit('submit',_('Show'),array('class'=>'form_button')); echo Form::close(); ?></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2"><?php echo $so->graph_traffic(isset($_POST['month']) ? $_POST['month'] : ''); ?></td>
|
|
<td><?php echo $so->table_traffic(isset($_POST['month']) ? $_POST['month'] : ''); ?></td>
|
|
</tr>
|
|
</table>
|