{include file="clearheader.html"} {$speed_unit_type = ConfigHelper::getConfig('phpui.speed_unit_type', 1000)} {$speed_unit_aggregation_threshold = ConfigHelper::getConfig('phpui.speed_unit_aggregation_threshold', 5)} {$cols = 3} {if !empty($showavg)} {$cols = $cols + 2} {/if} {if !empty($showmax)} {$cols = $cols + 2} {/if}

{$layout.pagetitle}

LMS {$layout.lmsv} @ {$layout.hostname}
{$smarty.now|date_format:"%A, %x"}
{t a=$layout.logname}Created by: $a{/t}

{foreach $stats as $nodeid => $nodestats} {if $nodeid} {/if} {if $showavg} {/if} {if $showmax} {/if} {if $showavg} {/if} {if $showmax} {/if} {cycle values="white,grey" print=false} {foreach $nodestats as $stat} {if $showavg} {/if} {if $showmax} {/if} {if $showavg} {/if} {if $showmax} {/if} {foreachelse} {/foreach} {if $showavg} {/if} {if $showmax} {/if} {if $showavg} {/if} {if $showmax} {/if}
{$nodenames[$nodeid]}
{trans("Day")} {trans("Download")} {trans("Avg. download speed")} {trans("Max. download speed")} {trans("Upload")} {trans("Avg. upload speed")} {trans("Max. upload speed")}
{$stat.date|date_format:"%d.%m.%Y (%A)"} {$stat.download|string_format:"%.2f"} {$stat.downloadunit} {convert_to_units($stat.downavg * $speed_unit_type, $speed_unit_aggregation_threshold, $speed_unit_type)}/s {convert_to_units($stat.downmax * $speed_unit_type, $speed_unit_aggregation_threshold, $speed_unit_type)}/s {$stat.upload|string_format:"%.2f"} {$stat.uploadunit} {convert_to_units($stat.upavg * $speed_unit_type, $speed_unit_aggregation_threshold, $speed_unit_type)}/s {convert_to_units($stat.upmax * $speed_unit_type, $speed_unit_aggregation_threshold, $speed_unit_type)}/s
{trans("No such stats for selected period.")}
{trans("Total:")} {$listdata[$nodeid].download|string_format:"%.2f"} {$listdata[$nodeid].downloadunit|default:"KB"} {convert_to_units($listdata[$nodeid].downavg * $speed_unit_type, $speed_unit_aggregation_threshold, $speed_unit_type)}/s {convert_to_units($listdata[$nodeid].downmax * $speed_unit_type, $speed_unit_aggregation_threshold, $speed_unit_type)}/s {$listdata[$nodeid].upload|string_format:"%.2f"} {$listdata[$nodeid].uploadunit|default:"KB"} {convert_to_units($listdata[$nodeid].upavg * $speed_unit_type, $speed_unit_aggregation_threshold, $speed_unit_type)}/s {convert_to_units($listdata[$nodeid].upmax * $speed_unit_type, $speed_unit_aggregation_threshold, $speed_unit_type)}/s
{/foreach} {include file="clearfooter.html"}