#!/usr/bin/perl -w

# soucast userap modulu pro QoS na klfree debian
# ==============================================
# tento skript vygeneruje html stranku podle statistik qosu z counter.pl a
# 

use UserapCommon;
use UserapParser;
use UserapHtml;


# ==================================================================
#       M A I N
# ==================================================================


my $conf_data = UserapParser::loadConfig();
my $nicks = UserapParser::loadNicks();
my $rc = UserapParser::loadUserLimits();
my (undef, $if_total, undef, $sum_hour, $sum_total, $sysclass) = UserapParser::loadStats();
UserapHtml::genHtml($conf_data, $nicks,$rc, $if_total, $sum_hour, $sum_total, $sysclass, "/var/www/test.html");

    
# ==================================================================

