force sync from /var/www/html/panel: 2025-09-08T20:36:30Z

This commit is contained in:
auto-sync 2025-09-08 16:36:30 -04:00
commit 4f717c9ee8
18119 changed files with 2566034 additions and 0 deletions

View file

@ -0,0 +1,109 @@
{if !isset($sid)}
{if !isset($smarty.get.refresh) OR $smarty.get.refresh == on}
<meta http-equiv="refresh" content="3; URL=index.php?site=servertraffic" />
{/if}
<table align="center" style="width:50%" class="border" cellpadding="1" cellspacing="0">
<tr>
<td style="width:100%" class="thead" colspan="3">{$lang['instancetraffic']}</td>
</tr>
<tr>
<td style="width:33%" class="thead">{$lang['description']}</td>
<td style="width:33%" class="thead">{$lang['incoming']}</td>
<td style="width:33%" class="thead">{$lang['outgoing']}</td>
</tr>
<tr>
<td class="green1">{$lang['packetstransfered']}</td>
<td class="green1 center">{$hostinfo['connection_packets_received_total']}</td>
<td class="green1 center">{$hostinfo['connection_packets_sent_total']}</td>
</tr>
<tr>
<td class="green2">{$lang['bytestransfered']}</td>
<td class="green2 center">{$hostinfo['connection_bytes_received_total']}</td>
<td class="green2 center">{$hostinfo['connection_bytes_sent_total']}</td>
</tr>
<tr>
<td class="green1">{$lang['bandwidthlastsecond']}</td>
<td class="green1 center">{$hostinfo['connection_bandwidth_received_last_second_total']} /s</td>
<td class="green1 center">{$hostinfo['connection_bandwidth_sent_last_second_total']} /s</td>
</tr>
<tr>
<td class="green2">{$lang['bandwidthlastminute']}</td>
<td class="green2 center">{$hostinfo['connection_bandwidth_received_last_minute_total']} /s</td>
<td class="green2 center">{$hostinfo['connection_bandwidth_sent_last_minute_total']} /s</td>
</tr>
<tr>
<td class="green1">{$lang['filetransferbandwidth']}</td>
<td class="green1 center">{$hostinfo['connection_filetransfer_bandwidth_received']} /s</td>
<td class="green1 center">{$hostinfo['connection_filetransfer_bandwidth_sent']} /s</td>
</tr>
<tr>
<td colspan="3">
{if !isset($smarty.get.refresh) OR $smarty.get.refresh == on}
<a href="index.php?site=servertraffic&amp;refresh=off">{$lang['stoprefresh']}</a>
{else}
<a href="index.php?site=servertraffic&amp;refresh=on">{$lang['autorefresh']}</a>
{/if}
</td>
</tr>
</table>
{else}
{if isset($permoverview['b_virtualserver_info_view']) AND empty($permoverview['b_virtualserver_info_view'])}
<table align="center" style="width:50%" class="border" cellpadding="1" cellspacing="0">
<tr>
<td class="thead">{$lang['error']}</td>
</tr>
<tr>
<td class="green1">{$lang['nopermissions']}</td>
</tr>
</table>
{else}
{if !isset($smarty.get.refresh) OR $smarty.get.refresh == on}
<meta http-equiv="refresh" content="3; URL=index.php?site=servertraffic&amp;sid={$sid}" />
{/if}
<table align="center" style="width:50%" class="border" cellpadding="1" cellspacing="0">
<tr>
<td style="width:100%" class="thead" colspan="3">{$lang['virtualtraffic']}</td>
</tr>
<tr>
<td style="width:33%" class="thead">{$lang['description']}</td>
<td style="width:33%" class="thead">{$lang['incoming']}</td>
<td style="width:33%" class="thead">{$lang['outgoing']}</td>
</tr>
<tr>
<td class="green1">{$lang['packetstransfered']}</td>
<td class="green1 center">{$serverinfo['connection_packets_received_total']}</td>
<td class="green1 center">{$serverinfo['connection_packets_sent_total']}</td>
</tr>
<tr>
<td class="green2">{$lang['bytestransfered']}</td>
<td class="green2 center">{$serverinfo['connection_bytes_received_total']}</td>
<td class="green2 center">{$serverinfo['connection_bytes_sent_total']}</td>
</tr>
<tr>
<td class="green1">{$lang['bandwidthlastsecond']}</td>
<td class="green1 center">{$serverinfo['connection_bandwidth_received_last_second_total']} /s</td>
<td class="green1 center">{$serverinfo['connection_bandwidth_sent_last_second_total']} /s</td>
</tr>
<tr>
<td class="green2">{$lang['bandwidthlastminute']}</td>
<td class="green2 center">{$serverinfo['connection_bandwidth_received_last_minute_total']} /s</td>
<td class="green2 center">{$serverinfo['connection_bandwidth_sent_last_minute_total']} /s</td>
</tr>
<tr>
<td class="green1">{$lang['filetransferbandwidth']}</td>
<td class="green1 center">{$serverinfo['connection_filetransfer_bandwidth_received']} /s</td>
<td class="green1 center">{$serverinfo['connection_filetransfer_bandwidth_sent']} /s</td>
</tr>
<tr>
<td colspan="3">
{if !isset($smarty.get.refresh) OR $smarty.get.refresh == on}
<a href="index.php?site=servertraffic&amp;sid={$sid}&amp;refresh=off">{$lang['stoprefresh']}</a>
{else}
<a href="index.php?site=servertraffic&amp;sid={$sid}&amp;refresh=on">{$lang['autorefresh']}</a>
{/if}
</td>
</tr>
</table>
{/if}
{/if}