{include file="header.html"}
{box title="Filter"}

{if $bar=='hour'}{/if}{t}Last hour{/t}{if $bar=='hour'}{/if} / {if $bar=='day'}{/if}{t}Last day{/t}{if $bar=='day'}{/if} / {if $bar=='month'}{/if}{t}Last 30 days{/t}{if $bar=='month'}{/if} / {if $bar=='year'}{/if}{t}Last year{/t}{if $bar=='year'}{/if} / {if $bar=='all'}{/if}{t}All{/t}{if $bar=='all'}{/if}

{/box}
{if $download || $upload}
{box title="Download"} {section name=download loop=$download.name} {/section}
{$download.name[download]|truncate:32:"..."} {img src="redpx.gif" height="16" width=$download.bar[download] style="border-width: 1pt; border-color: #000000;"} {$download.data[download]|string_format:"%.2f"} {$download.unit[download]} ({$download.avg[download]|string_format:"%.2f"} kbit/s)

{t}Total:{/t} {$download.sum.data|string_format:"%.2f "}{$download.sum.unit} ({$download.avgsum|string_format:"%.2f"} kbit/s)

{/box}
  {box title="Upload"} {section name=upload loop=$upload.name} {/section}
{$upload.name[upload]|truncate:32:"..."} {img src="bluepx.gif" height="16" width=$upload.bar[upload] border="1"} {$upload.data[upload]|string_format:"%.2f"} {$upload.unit[upload]} ({$upload.avg[upload]|string_format:"%.2f"} kbit/s)

{t}Total:{/t} {$upload.sum.data|string_format:"%.2f "}{$upload.sum.unit} ({$upload.avgsum|string_format:"%.2f"} kbit/s)

{/box}
{else} {box title="Network Statistics"}

 

{t}No such data for selected period.{/t}

 

{/box} {/if}
{include file="footer.html"}