<% include("language.html") if _SESSION["logined"] ~= nil then local statistic = c_GetServerStatistic() local outstr = "" outstr = outstr..""..LANG["str_server_runtime"]..""..formatDay(statistic["running_time"], LANG["str_label_days"])..""; outstr = outstr..""..LANG["str_current_session"]..""..statistic["current_session"]..""; outstr = outstr..""..LANG["str_highest_session"]..""..statistic["max_session"]..""; outstr = outstr..""..LANG["str_24hour_session"]..""..statistic["last24hour_session"]..""; outstr = outstr..""..LANG["str_avg_sessionlen"]..""..formatTime(statistic["session_averagesec"])..""; outstr = outstr..""..LANG["str_longest_session"]..""..formatTime(statistic["session_maxsec"])..""; outstr = outstr..""..LANG["str_total_session"]..""..statistic["total_session"]..""; outstr = outstr.." "; outstr = outstr..""..LANG["str_download_speed"]..""..formatSpeed(statistic["down_speed"])..""; outstr = outstr..""..LANG["str_avg_downspeed"]..""..formatSpeed(statistic["down_averagespeed"])..""; outstr = outstr..""..LANG["str_total_download"]..""..formatSize(statistic["down_bytes"])..""; outstr = outstr..""..LANG["str_total_downfile"]..""..statistic["down_files"].." files"; outstr = outstr.." "; outstr = outstr..""..LANG["str_upload_speed"]..""..formatSpeed(statistic["up_speed"])..""; outstr = outstr..""..LANG["str_avg_upspeed"]..""..formatSpeed(statistic["up_averagespeed"])..""; outstr = outstr..""..LANG["str_total_upload"]..""..formatSize(statistic["up_bytes"])..""; outstr = outstr..""..LANG["str_total_upfile"]..""..statistic["up_files"].." files"; print(outstr) end %>