55 lines
1.7 KiB
Smarty
55 lines
1.7 KiB
Smarty
$header
|
|
<article>
|
|
<header>
|
|
<h2>
|
|
<img src="templates/{$theme}/assets/img/icons/traffic_big.png" alt="{$lng['menue']['traffic']['traffic']}" />
|
|
{$lng['menue']['traffic']['traffic']}
|
|
</h2>
|
|
</header>
|
|
|
|
<form action="{$linker->getLink(array('section' => 'traffic'))}" method="post" enctype="application/x-www-form-urlencoded">
|
|
<fieldset>
|
|
<table class="full hl" id="datatable">
|
|
<thead>
|
|
<tr>
|
|
<th>{$lng['traffic']['month']}</td>
|
|
<th>{$lng['traffic']['ftp']}</th>
|
|
<th>{$lng['traffic']['http']}</th>
|
|
<th>{$lng['traffic']['mail']}</th>
|
|
<th>{$lng['customer']['traffic']}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
$traffic
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td>{$lng['traffic']['months']['total']}</td>
|
|
<td>{$traffic_complete['ftp']}</td>
|
|
<td>{$traffic_complete['http']}</td>
|
|
<td>{$traffic_complete['mail']}</td>
|
|
<td></td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
|
|
</fieldset>
|
|
</form>
|
|
|
|
<div id="charts" class="hidden">
|
|
<if !\Froxlor\Settings::IsInList('panel.customer_hide_options','traffic.http')>
|
|
<h3>HTTP {$lng['admin']['traffic']} ({$lng['traffic']['months']['total']} {$traffic_complete['http']})</h3>
|
|
<div id="httpchart" class="trafficchart"></div>
|
|
</if>
|
|
<if !\Froxlor\Settings::IsInList('panel.customer_hide_options','traffic.ftp')>
|
|
<h3>FTP {$lng['admin']['traffic']} ({$lng['traffic']['months']['total']} {$traffic_complete['ftp']})</h3>
|
|
<div id="ftpchart" class="trafficchart"></div>
|
|
</if>
|
|
<if !\Froxlor\Settings::IsInList('panel.customer_hide_options','traffic.mail')>
|
|
<h3>Mail {$lng['admin']['traffic']} ({$lng['traffic']['months']['total']} {$traffic_complete['mail']})</h3>
|
|
<div id="mailchart" class="trafficchart"></div>
|
|
</if>
|
|
</div>
|
|
</article>
|
|
$footer
|