aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/bandwidthd/bandwidthd.inc11
-rw-r--r--config/freeradius2/freeradius.inc21
-rw-r--r--config/freeradius2/freeradius.xml2
-rw-r--r--config/freeradius2/freeradius_view_config.php7
-rw-r--r--config/imspector/imspector.inc8
-rw-r--r--config/lcdproc-dev/lcdproc.inc2
-rw-r--r--config/lcdproc/lcdproc.inc2
-rw-r--r--config/lightsquid/lightsquid.inc97
-rw-r--r--config/lightsquid/lightsquid.xml197
-rwxr-xr-xconfig/lightsquid/tpl/novopf/bigfiles.html72
-rwxr-xr-xconfig/lightsquid/tpl/novopf/day_detail.html108
-rwxr-xr-xconfig/lightsquid/tpl/novopf/graph.html54
-rwxr-xr-xconfig/lightsquid/tpl/novopf/group_detail.html134
-rwxr-xr-xconfig/lightsquid/tpl/novopf/images/datetime.pngbin0 -> 882 bytes
-rwxr-xr-xconfig/lightsquid/tpl/novopf/images/flag_red.pngbin0 -> 665 bytes
-rwxr-xr-xconfig/lightsquid/tpl/novopf/images/graph.pngbin0 -> 541 bytes
-rwxr-xr-xconfig/lightsquid/tpl/novopf/images/groups.pngbin0 -> 632 bytes
-rwxr-xr-xconfig/lightsquid/tpl/novopf/images/printer.pngbin0 -> 731 bytes
-rwxr-xr-xconfig/lightsquid/tpl/novopf/images/users.pngbin0 -> 654 bytes
-rwxr-xr-xconfig/lightsquid/tpl/novopf/index.html164
-rwxr-xr-xconfig/lightsquid/tpl/novopf/month_detail.html95
-rwxr-xr-xconfig/lightsquid/tpl/novopf/print.css119
-rwxr-xr-xconfig/lightsquid/tpl/novopf/screen.css143
-rwxr-xr-xconfig/lightsquid/tpl/novopf/topsites.html75
-rwxr-xr-xconfig/lightsquid/tpl/novopf/user_detail.html98
-rwxr-xr-xconfig/lightsquid/tpl/novopf/user_month.html83
-rwxr-xr-xconfig/lightsquid/tpl/novopf/user_time.html111
-rwxr-xr-xconfig/lightsquid/tpl/novopf/whousesite.html86
-rwxr-xr-xconfig/lightsquid/tpl/novosea/bigfiles.html72
-rwxr-xr-xconfig/lightsquid/tpl/novosea/day_detail.html108
-rwxr-xr-xconfig/lightsquid/tpl/novosea/graph.html54
-rwxr-xr-xconfig/lightsquid/tpl/novosea/group_detail.html134
-rwxr-xr-xconfig/lightsquid/tpl/novosea/images/datetime.pngbin0 -> 882 bytes
-rwxr-xr-xconfig/lightsquid/tpl/novosea/images/flag_red.pngbin0 -> 665 bytes
-rwxr-xr-xconfig/lightsquid/tpl/novosea/images/graph.pngbin0 -> 541 bytes
-rwxr-xr-xconfig/lightsquid/tpl/novosea/images/groups.pngbin0 -> 632 bytes
-rwxr-xr-xconfig/lightsquid/tpl/novosea/images/printer.pngbin0 -> 731 bytes
-rwxr-xr-xconfig/lightsquid/tpl/novosea/images/users.pngbin0 -> 654 bytes
-rwxr-xr-xconfig/lightsquid/tpl/novosea/index.html164
-rwxr-xr-xconfig/lightsquid/tpl/novosea/month_detail.html95
-rwxr-xr-xconfig/lightsquid/tpl/novosea/print.css119
-rwxr-xr-xconfig/lightsquid/tpl/novosea/screen.css133
-rwxr-xr-xconfig/lightsquid/tpl/novosea/topsites.html75
-rwxr-xr-xconfig/lightsquid/tpl/novosea/user_detail.html98
-rwxr-xr-xconfig/lightsquid/tpl/novosea/user_month.html83
-rwxr-xr-xconfig/lightsquid/tpl/novosea/user_time.html111
-rwxr-xr-xconfig/lightsquid/tpl/novosea/whousesite.html86
-rw-r--r--config/nmap/nmap.inc8
-rw-r--r--config/nut/nut.inc6
-rw-r--r--config/open-vm-tools_2/open-vm-tools.inc8
-rw-r--r--config/openbgpd/openbgpd.inc2
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.inc21
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.xml1
-rw-r--r--config/pfblockerng/pfblockerng.inc6
-rw-r--r--config/pfblockerng/pfblockerng.xml4
-rwxr-xr-xconfig/postfix/postfix.inc3
-rw-r--r--config/sarg/sarg.inc2
-rwxr-xr-xconfig/sarg/sarg_realtime.php2
-rw-r--r--config/siproxd/siproxd.inc6
-rw-r--r--config/siproxd/siproxd.xml2
-rw-r--r--config/squidGuard/squidguard_configurator.inc12
-rw-r--r--config/sudo/sudo.inc11
-rw-r--r--config/suricata/suricata_defs.inc9
-rw-r--r--config/varnish3/varnish.inc2
64 files changed, 3007 insertions, 119 deletions
diff --git a/config/bandwidthd/bandwidthd.inc b/config/bandwidthd/bandwidthd.inc
index b7ef3bbd..ac5cc116 100644
--- a/config/bandwidthd/bandwidthd.inc
+++ b/config/bandwidthd/bandwidthd.inc
@@ -31,18 +31,17 @@
// Check pfSense version
$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
switch ($pfs_version) {
- case "1.2":
- case "2.0":
- define('PKG_BANDWIDTHD_BASE', '/usr/local/bandwidthd');
- define('PKG_BANDWIDTHD_RUNTIME_LIBRARY_ENV', '');
- break;
case "2.1":
define('PKG_BANDWIDTHD_BASE', '/usr/pbi/bandwidthd-' . php_uname("m") . '/bandwidthd');
define('PKG_BANDWIDTHD_RUNTIME_LIBRARY_ENV', '');
break;
- default:
+ case "2.2":
define('PKG_BANDWIDTHD_BASE', '/usr/pbi/bandwidthd-' . php_uname("m") . '/local/bandwidthd');
define('PKG_BANDWIDTHD_RUNTIME_LIBRARY_ENV', 'LD_LIBRARY_PATH=/usr/pbi/bandwidthd-' . php_uname("m") . '/local/lib');
+ break;
+ default:
+ define('PKG_BANDWIDTHD_BASE', '/usr/local/bandwidthd');
+ define('PKG_BANDWIDTHD_RUNTIME_LIBRARY_ENV', '');
}
// End: Check pfSense version
diff --git a/config/freeradius2/freeradius.inc b/config/freeradius2/freeradius.inc
index 00076816..76da6213 100644
--- a/config/freeradius2/freeradius.inc
+++ b/config/freeradius2/freeradius.inc
@@ -48,15 +48,18 @@ require_once("services.inc");
// Check pfSense version
$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
-define('FREERADIUS_BASE', '/usr/pbi/freeradius-' . php_uname("m"));
+if ($pfs_version == "2.1" || $pfs_version == "2.2")
+ define('FREERADIUS_BASE', '/usr/pbi/freeradius-' . php_uname("m"));
+else
+ define('FREERADIUS_BASE', '/usr/local');
$bash_path = FREERADIUS_BASE . "/bin/bash";
-if ($pfs_version == "2.1") {
- define('FREERADIUS_LIB', FREERADIUS_BASE . '/lib');
- define('FREERADIUS_ETC', FREERADIUS_BASE . '/etc');
-} else {
+if ($pfs_version == "2.2") {
define('FREERADIUS_LIB', FREERADIUS_BASE . '/local/lib');
define('FREERADIUS_ETC', FREERADIUS_BASE . '/local/etc');
+} else {
+ define('FREERADIUS_LIB', FREERADIUS_BASE . '/lib');
+ define('FREERADIUS_ETC', FREERADIUS_BASE . '/etc');
}
// Check freeradius lib version
@@ -65,11 +68,11 @@ if ($pfs_version == "2.1") {
$libfiles = scandir(FREERADIUS_LIB);
foreach ($libfiles as $libfile){
if (preg_match("/freeradius-/",$libfile))
- $frlib=FREERADIUS_BASE . "/lib/{$libfile}";
+ $frlib=FREERADIUS_LIB . '/' . $libfile;
}
}
if ($frlib == ""){
- log_error("freeRADIUS - No freeradius lib found on ".FREERADIUS_BASE."/lib");
+ log_error("freeRADIUS - No freeradius lib found on ".FREERADIUS_LIB);
}
function freeradius_deinstall_command() {
@@ -92,7 +95,9 @@ function freeradius_install_command() {
@symlink(FREERADIUS_ETC . "/raddb", "/usr/local/etc/raddb");
if (!file_exists("/var/log/radutmp")) { exec("touch /var/log/radutmp"); }
if (!file_exists("/var/log/radwtmp")) { exec("touch /var/log/radwtmp"); }
- exec("chown -R root:wheel " . FREERADIUS_ETC . "/raddb && chown -R root:wheel {$frlib} && chown -R root:wheel /var/log/radacct");
+ exec("chown -R root:wheel " . FREERADIUS_ETC . "/raddb /var/log/radacct");
+ if (file_exists($frlib))
+ exec("chown -R root:wheel {$frlib}");
// creating a backup file of the original policy.conf no matter if user checked this or not
if (!file_exists(FREERADIUS_ETC . "/raddb/policy.conf.backup")) {
diff --git a/config/freeradius2/freeradius.xml b/config/freeradius2/freeradius.xml
index 8cef9430..16a4875c 100644
--- a/config/freeradius2/freeradius.xml
+++ b/config/freeradius2/freeradius.xml
@@ -45,7 +45,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>freeradius</name>
- <version>2.2.0</version>
+ <version>1.6.12</version>
<title>FreeRADIUS: Users</title>
<include_file>/usr/local/pkg/freeradius.inc</include_file>
<menu>
diff --git a/config/freeradius2/freeradius_view_config.php b/config/freeradius2/freeradius_view_config.php
index b2959783..0095b009 100644
--- a/config/freeradius2/freeradius_view_config.php
+++ b/config/freeradius2/freeradius_view_config.php
@@ -33,10 +33,13 @@
require("guiconfig.inc");
// Check to find out on which system the package is running
-if (substr(trim(file_get_contents("/etc/version")),0,3) == "2.1") {
+$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
+if ($pfs_version == "2.1") {
define('RADDB', '/usr/pbi/freeradius-' . php_uname("m") . '/etc/raddb');
-} else {
+} else if ($pfs_version == "2.1") {
define('RADDB', '/usr/pbi/freeradius-' . php_uname("m") . '/local/etc/raddb');
+} else {
+ define('RADDB', '/usr/local/etc/raddb');
}
// End of system check
diff --git a/config/imspector/imspector.inc b/config/imspector/imspector.inc
index 89fbda2b..7853e627 100644
--- a/config/imspector/imspector.inc
+++ b/config/imspector/imspector.inc
@@ -35,8 +35,12 @@
require_once("service-utils.inc");
/* IMSpector */
+ $pf_version=substr(trim(file_get_contents("/etc/version")),0,3);
+ if ($pf_version == "2.1" || $pf_version == "2.2")
+ define('IMSPECTOR_ETC', "/usr/pbi/imspector-" . php_uname("m") . "/local/etc/imspector");
+ else
+ define('IMSPECTOR_ETC', "/usr/local/etc/imspector");
define('IMSPECTOR_RCFILE', '/usr/local/etc/rc.d/imspector.sh');
- define('IMSPECTOR_ETC', "/usr/pbi/imspector-" . php_uname("m") . "/local/etc/imspector");
define('IMSPECTOR_CONFIG', IMSPECTOR_ETC . '/imspector.conf');
function imspector_warn ($msg) { syslog(LOG_WARNING, "imspector: {$msg}"); }
@@ -542,4 +546,4 @@ function imspector_do_xmlrpc_sync($sync_to_ip, $password) {
}
}
-?> \ No newline at end of file
+?>
diff --git a/config/lcdproc-dev/lcdproc.inc b/config/lcdproc-dev/lcdproc.inc
index fed2e7dc..ebe3cc57 100644
--- a/config/lcdproc-dev/lcdproc.inc
+++ b/config/lcdproc-dev/lcdproc.inc
@@ -33,7 +33,7 @@
/* LCDproc */
define('LCDPROC_RCFILE', '/usr/local/etc/rc.d/lcdproc.sh');
$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
- if (($pfs_version == "2.2") && is_dir('/usr/pbi/lcdproc-' . php_uname('m'))) {
+ if ($pfs_version == "2.1" || $pfs_version == "2.2") {
define('LCDPROC_CONFIG', '/usr/pbi/lcdproc-' . php_uname('m') . '/local/etc/LCDd.conf');
} else {
define('LCDPROC_CONFIG','/usr/local/etc/LCDd.conf');
diff --git a/config/lcdproc/lcdproc.inc b/config/lcdproc/lcdproc.inc
index 321328bc..d4b4856a 100644
--- a/config/lcdproc/lcdproc.inc
+++ b/config/lcdproc/lcdproc.inc
@@ -34,7 +34,7 @@
define('LCDPROC_RCFILE', '/usr/local/etc/rc.d/lcdproc.sh');
define('LCDPROC_CLIENT', '/tmp/lcdclient.sh');
$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
- if (($pfs_version == "2.2") && is_dir('/usr/pbi/lcdproc-' . php_uname('m'))) {
+ if ($pfs_version == "2.1" || $pfs_version == "2.2") {
define('LCDPROC_CONFIG', '/usr/pbi/lcdproc-' . php_uname('m') . '/local/etc/LCDd.conf');
} else {
define('LCDPROC_CONFIG','/usr/local/etc/LCDd.conf');
diff --git a/config/lightsquid/lightsquid.inc b/config/lightsquid/lightsquid.inc
index 054713a1..503e9cf3 100644
--- a/config/lightsquid/lightsquid.inc
+++ b/config/lightsquid/lightsquid.inc
@@ -41,15 +41,15 @@ else update_log("File 'squid.inc' not found.");
$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
switch ($pfs_version) {
- case "1.2":
- case "2.0":
- define('LIGHTSQUID_BASE','/usr/local');
- break;
case "2.1":
define('LIGHTSQUID_BASE', '/usr/pbi/lightsquid-' . php_uname("m"));
break;
- default:
+ case "2.2":
define('LIGHTSQUID_BASE', '/usr/pbi/lightsquid-' . php_uname("m") . '/local');
+ break;
+ default:
+ define('LIGHTSQUID_BASE','/usr/local');
+ break;
}
define ('CMD_PKGDELETE', 'pkg_delete lightsquid-1.7.1');
@@ -63,7 +63,7 @@ define('LS_CONFIGPATH', LIGHTSQUID_BASE . '/etc/lightsquid');
define('LS_CONFIGFILE', 'lightsquid.cfg');
define('LS_CONFIGFILE_DIST', 'lightsquid.cfg.dist');
define('LS_WWWPATH', LIGHTSQUID_BASE . '/www/lightsquid');
-define('LS_TEMPLATEPATH', LIGHTSQUID_BASE . '/www/lightsquid/tpl');
+define('LS_TEMPLATEPATH', '/usr/local/www/lightsquid/tpl');
define('LS_LANGPATH', LIGHTSQUID_BASE . '/share/lightsquid/lang');
define('LS_REPORTPATH', '/var/lightsquid/report');
@@ -115,6 +115,8 @@ define('LS_XML_SHEDULERTIME', 'lightsquid_refreshsheduler_time');
define('LS_XML_SQUID_SHEDULERTIME', 'lightsquid_squidrotatelog_sheduler_time');
function lightsquid_install() {
+ global $pfs_version;
+
update_log("lightsquid_install: started");
// create lightsquid report catalog
@@ -123,34 +125,29 @@ function lightsquid_install() {
mwexec("/bin/mkdir -p " . LS_REPORTPATH);
}
- // install templates
- $lstpl_file = "/var/tmp/lightsquid_tpl.tbz";
- if (file_exists($lstpl_file)) {
- mwexec("/usr/bin/tar zxvf $lstpl_file -C " . LS_TEMPLATEPATH);
- update_log("lightsquid_install: Install templates from $lstpl_file");
- }
-
- # check perl
- $perl_path = '/usr/bin/perl';
+ if ($pfs_version == "2.1" || $pfs_version == "2.2") {
+ # check perl
+ $perl_path = '/usr/bin/perl';
- /* Clean up a bad perl link. */
- ls_cleanup_bad_link($perl_path);
+ /* Clean up a bad perl link. */
+ ls_cleanup_bad_link($perl_path);
- if (!file_exists("/usr/bin/perl")) {
- if (is_executable('/usr/local/bin/perl')) {
- symlink('/usr/local/bin/perl', '/usr/bin/perl');
- } elseif (is_executable(LIGHTSQUID_BASE . '/bin/perl')) {
- symlink(LIGHTSQUID_BASE . '/bin/perl', '/usr/bin/perl');
+ if (!file_exists("/usr/bin/perl")) {
+ if (is_executable('/usr/local/bin/perl')) {
+ symlink('/usr/local/bin/perl', '/usr/bin/perl');
+ } elseif (is_executable(LIGHTSQUID_BASE . '/bin/perl')) {
+ symlink(LIGHTSQUID_BASE . '/bin/perl', '/usr/bin/perl');
+ }
+ }
+ if (!is_dir('/usr/local/lib/perl5') && is_dir(LIGHTSQUID_BASE . '/lib/perl5')) {
+ symlink(LIGHTSQUID_BASE . '/lib/perl5', '/usr/local/lib/perl5');
+ }
+ if (!is_dir('/usr/local/etc/lightsquid') && is_dir(LS_CONFIGPATH)) {
+ symlink(LS_CONFIGPATH, '/usr/local/etc/lightsquid');
+ }
+ if (!is_dir('/usr/local/www/lightsquid') && is_dir(LS_WWWPATH)) {
+ symlink(LS_WWWPATH, '/usr/local/www/lightsquid');
}
- }
- if (!is_dir('/usr/local/lib/perl5') && is_dir(LIGHTSQUID_BASE . '/lib/perl5')) {
- symlink(LIGHTSQUID_BASE . '/lib/perl5', '/usr/local/lib/perl5');
- }
- if (!is_dir('/usr/local/etc/lightsquid') && is_dir(LS_CONFIGPATH)) {
- symlink(LS_CONFIGPATH, '/usr/local/etc/lightsquid');
- }
- if (!is_dir('/usr/local/www/lightsquid') && is_dir(LS_WWWPATH)) {
- symlink(LS_WWWPATH, '/usr/local/www/lightsquid');
}
update_log("lightsquid_install: stopped");
@@ -167,16 +164,18 @@ function lightsquid_deinstall() {
}
function lightsquid_resync() {
- global $config;
+ global $config, $pfs_version;
$tm = '';
$tm_squid = '';
- # check perl
- if (!file_exists("/usr/bin/perl"))
- mwexec("ln -s /usr/local/bin/perl /usr/bin/perl");
+ if ($pfs_version == "2.1" || $pfs_version == "2.2") {
+ # check perl
+ if (!file_exists("/usr/bin/perl"))
+ mwexec("ln -s /usr/local/bin/perl /usr/bin/perl");
- // Fixup library path so GD can find its libraries for graphs.
- mwexec("/sbin/ldconfig -m " . LIGHTSQUID_BASE . "/lib/");
+ // Fixup library path so GD can find its libraries for graphs.
+ mwexec("/sbin/ldconfig -m " . LIGHTSQUID_BASE . "/lib/");
+ }
// create lightsquid report catalog
if (!file_exists(LS_REPORTPATH)) {
@@ -193,7 +192,9 @@ function lightsquid_resync() {
// variables for update
$lsconf_var[LS_VAR_CFGPATH] = "\"" . LS_CONFIGPATH . "\"";
- $lsconf_var[LS_VAR_LOGPATH] = "\"" . LS_SQUIDLOGPATH . "\"";
+ if (isset($config['installedpackages']['squid']['config'][0])) {
+ $lsconf_var[LS_VAR_LOGPATH] = "\"" . LS_SQUIDLOGPATH . "\"";
+ }
$lsconf_var[LS_VAR_TPLPATH] = "\"" . LS_TEMPLATEPATH . "\"";
$lsconf_var[LS_VAR_LANGPATH] = "\"" . LS_LANGPATH . "\"";
$lsconf_var[LS_VAR_REPORTPATH] = "\"" . LS_REPORTPATH . "\"";
@@ -438,14 +439,16 @@ function refresh_full() {
update_log("refresh_full: execute command '$cmd'");
mwexec_bg("$cmd $log_name");
// parse access.log.x
- for ($i=0; $i<100; $i++) {
- $lg = LS_SQUIDLOG . ".$i";
- if (file_exists(LS_SQUIDLOGPATH . "/$lg")) {
- update_log("refresh_full: execute command '$cmd $lg'");
- mwexec_bg("$cmd $lg");
- } else
- // really go <= 10 cycles
- break;
+ if (isset($config['installedpackages']['squid']['config'][0])) {
+ for ($i=0; $i<100; $i++) {
+ $lg = LS_SQUIDLOG . ".$i";
+ if (file_exists(LS_SQUIDLOGPATH . "/$lg")) {
+ update_log("refresh_full: execute command '$cmd $lg'");
+ mwexec_bg("$cmd $lg");
+ } else
+ // really go <= 10 cycles
+ break;
+ }
}
update_log("refresh_full: stop");
}
@@ -471,4 +474,4 @@ function ls_cleanup_bad_link($link) {
}
}
-?> \ No newline at end of file
+?>
diff --git a/config/lightsquid/lightsquid.xml b/config/lightsquid/lightsquid.xml
index 63eaabe4..19ba4512 100644
--- a/config/lightsquid/lightsquid.xml
+++ b/config/lightsquid/lightsquid.xml
@@ -46,7 +46,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>lightsquid</name>
- <version>1.8.2 pkg v.2.35</version>
+ <version>2.39</version>
<title>Services: Proxy Reports (LightSquid, SQStat) -> Settings</title>
<category>Status</category>
<include_file>/usr/local/pkg/lightsquid.inc</include_file>
@@ -77,11 +77,6 @@
<item>https://packages.pfsense.org/packages/config/lightsquid/lightsquid.inc</item>
</additional_files_needed>
<additional_files_needed>
- <prefix>/var/tmp/</prefix>
- <chmod>0755</chmod>
- <item>https://files.pfsense.org/packages/All/lightsquid_tpl.tbz</item>
- </additional_files_needed>
- <additional_files_needed>
<prefix>/usr/local/www/sqstat/</prefix>
<chmod>0644</chmod>
<item>https://packages.pfsense.org/packages/config/lightsquid/sqstat.class.php</item>
@@ -101,6 +96,196 @@
<chmod>0644</chmod>
<item>https://packages.pfsense.org/packages/config/lightsquid/zhabascript.js</item>
</additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/bigfiles.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/day_detail.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/graph.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/group_detail.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/images/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/images/datetime.png</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/images/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/images/flag_red.png</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/images/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/images/graph.png</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/images/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/images/groups.png</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/images/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/images/printer.png</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/images/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/images/users.png</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/index.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/month_detail.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/print.css</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/screen.css</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/topsites.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/user_detail.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/user_month.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/user_time.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novopf/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/whousesite.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/bigfiles.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/day_detail.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/graph.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/group_detail.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/images/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/images/datetime.png</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/images/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/images/flag_red.png</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/images/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/images/graph.png</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/images/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/images/groups.png</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/images/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/images/printer.png</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/images/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/images/users.png</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/index.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/month_detail.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/print.css</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/screen.css</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/topsites.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/user_detail.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/user_month.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/user_time.html</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/lightsquid/tpl/novosea/</prefix>
+ <chmod>0444</chmod>
+ <item>https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/whousesite.html</item>
+ </additional_files_needed>
<fields>
<field>
<fielddescr>Language</fielddescr>
diff --git a/config/lightsquid/tpl/novopf/bigfiles.html b/config/lightsquid/tpl/novopf/bigfiles.html
new file mode 100755
index 00000000..138d4181
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/bigfiles.html
@@ -0,0 +1,72 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Big Files Report</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body background="" bgcolor="white" text="black">
+ <center>
+ <table class=title>
+ <tbody>
+ <TR class=title>
+ <TH><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></TH>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </TR>
+ <tr>
+ <th colspan="2" align="center"><h2>##MSG_BIG_FILE_DOWNLOAD_REPORT##</h2></th>
+ </tr>
+ <tr>
+ <th colspan="2" align="center"><h3>##MSG_DATE##: ##DATE##</h3></th>
+ </tr>
+<!-- HIDE reportuser start-->
+ <tr>
+ <th colspan="2" align="center"><h3>##MSG_USER##: ##REPORTUSER##</h3></th>
+ </tr>
+<!-- HIDE reportuser end-->
+ <tr>
+ <td colspan="2">
+ <table width="100%" class=stat>
+ <tbody>
+ <tr class=stat1>
+ <th>##MSG_NUM##</th>
+ <th>##MSG_TIME##</th>
+ <th>##MSG_USER##</th>
+ <th>##MSG_SIZE##</th>
+ <th>##MSG_URL##</th>
+ </tr>
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+ <!-- VARIABLE total bgcolor="E5EFF4" -->
+
+<!-- [[ bigfile start-->
+ <tr ##ROWATTR##>
+ <td align="left" >##BFILENUM##</td>
+ <td align="left" >##BFILETIME##</td>
+ <td align="left" ><A HREF="##BFILEUSER_L##">##BFILEUSER_B##</A></td>
+ <td align="right" nowrap="true">##BFILESIZE##</td>
+ <td align="right" >##BFILELINK##</td>
+ </tr>
+<!-- ]] bigfile end-->
+
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novopf/day_detail.html b/config/lightsquid/tpl/novopf/day_detail.html
new file mode 100755
index 00000000..6c432ba0
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/day_detail.html
@@ -0,0 +1,108 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Day detail</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <!-- Title -->
+ <table class=title>
+ <tbody>
+ <tr class=title>
+ <th><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan="2"><h2>##MSG_DATE##:&nbsp;<b>##DATE##&nbsp;</h2></td>
+ </tr>
+ <tr>
+ <td colspan="2"><h3><A HREF="##TOPSITESURL_L##">##TOPSITESURL_B##</A> ##MSG_REPORT##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2"><h3><A HREF="##BIGFILESURL_L##">##BIGFILESURL_B##</A> ##MSG_REPORT##</h3></td>
+ </tr>
+
+ <!-- Statistic data -->
+ <tr>
+ <td colspan="2">
+ <table width=100% class=stat>
+ <tbody>
+ <!-- HIDE overuser start-->
+ <tr>
+ <td colspan="11">##OVERMSG##</td>
+ </tr>
+ <!-- HIDE overuser end-->
+
+ <tr class=stat1>
+ <th>##MSG_NUM##</th>
+ <!-- HIDE timereport start-->
+ <th>##MSG_TIME_REPORT##</th>
+ <!-- HIDE timereport end-->
+ <th>##MSG_USER##</th>
+ <!-- HIDE realname start-->
+ <th>##MSG_REALNAME##</th>
+ <!-- HIDE realname end-->
+ <th>##MSG_CONNECT##</th>
+ <!-- HIDE putpost start-->
+ <th>##MSG_PUTPOST##</th>
+ <!-- HIDE putpost end-->
+ <th>##MSG_BYTES##</th>
+ <th>%</th>
+ <!-- HIDE group start -->
+ <th>##MSG_GROUP##</th>
+ <!-- HIDE group end -->
+ </tr>
+
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+
+ <!-- VARIABLE !putpostnormalattr color="black" -->
+ <!-- VARIABLE !putpostwarningattr color="red" -->
+
+ <!-- VARIABLE putpostnormalattr </> -->
+ <!-- VARIABLE putpostwarningattr <img src="get.cgi?png=flag_red" border="0" title="Graph Report"> -->
+
+ <!-- [[ user start-->
+ <tr ##ROWATTR##>
+ <td align="right">##USERNUM##</td>
+ <!-- HIDE timereport start-->
+ <td align="center"><A HREF="##TIMEURL_L##"><img src="get.cgi?png=datetime" border="0" title="Graph Report"></A></td>
+ <!-- HIDE timereport end-->
+ <td align="left"><A HREF="##USERURL_L##">##USERURL_B##</A></td>
+ <!-- HIDE realname start-->
+ <td align="left" nowrap="true">##REALNAME##</td>
+ <!-- HIDE realname end-->
+ <td align="right" nowrap="true">##USERCONNECT##</td>
+ <!-- HIDE putpost start-->
+ <td align="right" nowrap="true">##USERPUTPOST####OVERPUTPOSTATTR##</td>
+ <!-- HIDE putpost end-->
+ <td align="right" nowrap="true">##USERBYTES##</td>
+ <td align="right">##USERPERCENT##%</td>
+ <!-- HIDE group start -->
+ <td align="left"><a HREF="##USERGROUPURL_L##">##USERGROUPURL_B##</a></td>
+ <!-- HIDE group end -->
+ </tr>
+ <!-- ]] user end-->
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novopf/graph.html b/config/lightsquid/tpl/novopf/graph.html
new file mode 100755
index 00000000..4490f4d3
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/graph.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Graphics</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class="title">
+ <tbody>
+ <tr class=title>
+ <th align="center"><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><h3>##MSG_WORK_PERIOD##: ##WORKPERIOD##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><h3>##MODE##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <img src="##GRAPHICSURL##" border="0" title="Graphics" usemap="#bars">
+ <map name="bars">
+<!-- [[ imagemap start-->
+ <area href="##MAPURL##" shape="rect" coords="##MAPCOORD##">
+<!-- ]] imagemap end-->
+ </map>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+<!-- HIDE warning start -->
+ <center>##MSG_WARNING##, ##MSG_RECOMENDATION## $##VARNAME##=##VARVALUE##*(1024*1024*1024);</center>
+<!-- HIDE warning end -->
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novopf/group_detail.html b/config/lightsquid/tpl/novopf/group_detail.html
new file mode 100755
index 00000000..79b62db3
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/group_detail.html
@@ -0,0 +1,134 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Day detail - Group Mode</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class=title>
+ <tbody>
+ <tr class=title>
+ <th align="center"><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><h3>##MSG_DATE##: ##DATE##&nbsp;</h3></td>
+ </tr>
+<!-- HIDE dayinfo start-->
+ <tr>
+ <td colspan="2"><A HREF="##TOPSITESURL_L##">##TOPSITESURL_B##</A><h3>##MSG_REPORT##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2"><A HREF="##BIGFILESURL_L##">##BIGFILESURL_B##</A><h3>##MSG_REPORT##</h3></td>
+ </tr>
+<!-- HIDE dayinfo end -->
+ </tbody>
+ </table>
+ </center>
+
+ <center>
+ <table>
+ <tbody>
+ <tr>
+ <td>
+ <table width="100%" class=stat>
+ <tbody>
+ <tr width="100%" class=stat1>
+ <th>##MSG_NUM##</th>
+<!-- HIDE timereport start-->
+ <th>##MSG_TIME_REPORT##</th>
+<!-- HIDE timereport end-->
+ <th>##MSG_USER##</th>
+<!-- HIDE realname start-->
+ <th>##MSG_REALNAME##</th>
+<!-- HIDE realname end-->
+ <th>##MSG_CONNECT##</th>
+ <th>##MSG_BYTES##</th>
+ <th>%</th>
+ </tr>
+
+<!-- [[ groupstart start-->
+ <tr>
+ <td colspan="7"><A name="##GROUPSTARTURL_L##">##GROUPSTARTURL_B##</A></td>
+ </tr>
+<!-- ]] groupstart end-->
+
+<!-- VARIABLE oddattr bgcolor="white" -->
+<!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+
+<!-- [[ user start-->
+ <tr ##ROWATTR##>
+ <td>##USERNUM##</td>
+<!-- HIDE timereport start-->
+ <td><A HREF="##TIMEURL_L##"><img src="get.cgi?png=datetime" border="0" title="Graph Report"></A></td>
+<!-- HIDE timereport end-->
+ <td><A HREF="##USERURL_L##">##USERURL_B##</A></td>
+<!-- HIDE realname start-->
+ <td align="right" nowrap="true">##REALNAME##</td>
+<!-- HIDE realname end-->
+ <td align="right">##USERCONNECT##</td>
+ <td align="right">##USERBYTES##</td>
+ <td align="right">##USERPERCENT##%</td>
+ </tr>
+<!-- ]] user end-->
+
+<!-- [[ groupend start-->
+ <tr>
+ <td colspan="3"></td>
+<!-- HIDE timereport start-->
+ <td></td>
+<!-- HIDE timereport end-->
+<!-- HIDE realname start-->
+ <td></td>
+<!-- HIDE realname end-->
+ <td align="right">##GROUPENDBYTES##</td>
+ <td align="right">##GROUPENDPERCENT##%</td>
+ </tr>
+<!-- ]] groupend end-->
+
+ </tbody>
+ </table>
+ </td>
+
+ <!-- Rigth Column -->
+ <td style="width: 20%; vertical-align: top; text-align: center;">
+ <table width="100%" class=sites>
+ <tbody>
+ <tr>
+ <th class=sites align="right">##MSG_NUM##</th>
+ <th class=sites>##MSG_GROUP##</th>
+ <th class=sites align="right">##MSG_BYTES##</th>
+ <th class=sites align="right">%</th>
+ </tr>
+
+<!-- [[ grouplist start-->
+ <tr ##GROUPROWATTR##>
+ <td class=sites border="0" align="right">##GROUPLISTNUM##</td>
+ <td class=sites><A HREF="##GROUPLISTNAMEURL_L##">##GROUPLISTNAMEURL_B##</A></td>
+ <td class=sites align="right">##GROUPLISTBYTES##</td>
+ <td class=sites align="right">##GROUPLISTPERCENT##</td>
+ </tr>
+<!-- ]] grouplist end-->
+
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+ </body>
+</html>
diff --git a/config/lightsquid/tpl/novopf/images/datetime.png b/config/lightsquid/tpl/novopf/images/datetime.png
new file mode 100755
index 00000000..e2672c20
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/images/datetime.png
Binary files differ
diff --git a/config/lightsquid/tpl/novopf/images/flag_red.png b/config/lightsquid/tpl/novopf/images/flag_red.png
new file mode 100755
index 00000000..e8a602da
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/images/flag_red.png
Binary files differ
diff --git a/config/lightsquid/tpl/novopf/images/graph.png b/config/lightsquid/tpl/novopf/images/graph.png
new file mode 100755
index 00000000..9051fbc6
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/images/graph.png
Binary files differ
diff --git a/config/lightsquid/tpl/novopf/images/groups.png b/config/lightsquid/tpl/novopf/images/groups.png
new file mode 100755
index 00000000..d2cfc00d
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/images/groups.png
Binary files differ
diff --git a/config/lightsquid/tpl/novopf/images/printer.png b/config/lightsquid/tpl/novopf/images/printer.png
new file mode 100755
index 00000000..a350d187
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/images/printer.png
Binary files differ
diff --git a/config/lightsquid/tpl/novopf/images/users.png b/config/lightsquid/tpl/novopf/images/users.png
new file mode 100755
index 00000000..e2e2f36a
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/images/users.png
Binary files differ
diff --git a/config/lightsquid/tpl/novopf/index.html b/config/lightsquid/tpl/novopf/index.html
new file mode 100755
index 00000000..5680866c
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/index.html
@@ -0,0 +1,164 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+
+<HTML>
+<HEAD>
+ <META name="robots" content="noindex,nofollow">
+ <META name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <META http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <TITLE>LightSquid :: Index</TITLE>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</HEAD>
+
+<BODY>
+ <CENTER>
+ <!-- Title -->
+ <TABLE class=title>
+ <TBODY>
+ <TR class=title>
+ <TH><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></TH>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </TR>
+ <TR>
+ <TD colspan="2"><h2>##MSG_WORK_PERIOD##: ##WORKPERIOD##</h2></TD>
+ </TR>
+
+ <TR>
+ <TD align="center" colspan="2">
+ <!-- Calendar -->
+ <TABLE class=calendar>
+ <TBODY>
+ <TR class=calendar>
+ <TH colspan="12">##MSG_CALENDAR##</TH>
+ </TR>
+ <TR>
+ <!-- VARIABLE yearselected bgcolor="#BBCCEE" -->
+ <!-- [[ year start-->
+ <TD colspan="##YEARCOLSPAN##" ##YEARSELECTED##>
+ <a href="##YEARURL_L##">##YEARURL_B##</a><br>
+ </TD>
+ <!-- ]] year end-->
+ </TR>
+ <TR>
+ <!-- VARIABLE monthselected bgcolor="#BBCCEE" -->
+ <!-- [[ month start-->
+ <TD ##MONTHSELECTED##><a href="##MONTHURL_L##">##MONTHURL_B##</a></TD>
+ <!-- ]] month end-->
+ </TR>
+ </TBODY>
+ </TABLE>
+ </TD>
+ </TR>
+
+ <!-- Statistic data -->
+ <TR><TD></TD></TR>
+ <TR><TD>
+ <TABLE width="100%" class=stat>
+ <TBODY>
+ <TR class=stat1>
+ <TH>##MSG_DATE##</TH>
+ <!-- HIDE group start -->
+ <TH>##MSG_GROUP##</TH>
+ <!-- HIDE group end -->
+ <TH>##MSG_USERS##</TH>
+ <!-- HIDE oversize start -->
+ <TH>##MSG_OVERSIZE##</TH>
+ <!-- HIDE oversize end -->
+ <TH>##MSG_BYTES##</TH>
+ <TH>##MSG_AVERAGE##</TH>
+ <TH>##MSG_HIT%##</TH>
+ </TR>
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+ <!-- VARIABLE sundayattr bgcolor="beige" -->
+ <!-- VARIABLE saturdayattr bgcolor="#F0EFC7" -->
+
+ <!-- [[ day start-->
+ <TR ##DAYATTR##>
+ <TD align="center"><A HREF="##DAYDATE_L##">##DAYDATE_B##</A></TD>
+ <!-- HIDE group start -->
+ <TD align="center"><A HREF="##DAYGROUP_L##">##DAYGROUP_B##</A></TD>
+ <!-- HIDE group end -->
+ <TD align="center">##DAYUSERS##</TD>
+
+ <!-- HIDE oversize start-->
+ <TD align="center"><A HREF="##DAYOVERUSERS_L##">##DAYOVERUSERS_B##</A></TD>
+ <!-- HIDE oversize end-->
+ <TD align="right" nowrap="true">##DAYBYTES##</TD>
+ <TD align="right">##DAYAVERAGE##</TD>
+ <TD align="right">##DAYCACHEHIT##%</TD>
+ </TR>
+ <!-- ]] day end-->
+
+ <!-- Summary -->
+ <TR class=total>
+ <TD align="left">##MSG_TOTAL_AVERAGE##:</Td>
+ <!-- HIDE group start -->
+ <TD>&nbsp</TD>
+ <!-- HIDE group end -->
+ <TD align="center">##USERAVERAGE##</TD>
+ <!-- HIDE oversize start-->
+ <TD align="center">##OVERUSERAVERAGE##</TD>
+ <!-- HIDE oversize end -->
+ <TD align="right"><A HREF="##TOTAL_L##">##TOTAL_B##</A></TD>
+ <TD align="right">##TOTALAVERAGE##</TD>
+ <TD align="right">##AVERAGEHIT##%</TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </TD>
+
+ <TD style="width: 20%; vertical-align: top; text-align: center;">
+ <!-- Popular sites -->
+ <TABLE width="100%" class="sites">
+ <TBODY>
+ <TR>
+ <TH colspan="2" class="sites">##MSG_TOP_SITES##</TH>
+ </TR>
+ <TR>
+ <TD class="sites"><A HREF="##TOP_YEAR_L##">##TOP_YEAR_B##</A></TD>
+ <!-- HIDE monthtop start -->
+ <TD class="sites"><A HREF="##TOP_MONTH_L##">##TOP_MONTH_B##</A></TD>
+ </TR>
+
+ <TR>
+ <TH colspan="2" class="sites">##MSG_TOTAL##</TH>
+ </TR>
+ <TR>
+ <TD class="sites"><A HREF="##TOTAL_YEAR_L##">##TOTAL_YEAR_B##</A></TD>
+ <TD nowrap="nowrap" class="sites">
+ <A HREF="##TOTAL_MONTH_L##">##TOTAL_MONTH_B##</A>
+ <!-- HIDE graph start -->
+ <A HREF="##MONTH_GRAPH_L##"><img src="get.cgi?png=graph" border="0" title="Graph Report"></A>
+ <!-- HIDE graph end -->
+ </TD>
+ </TR>
+
+ <TR>
+ <TH colspan="2" class="sites">##MSG_GROUP##</TH>
+ </TR>
+ <TR>
+ <TD class="sites"><A HREF="##GROUP_YEAR_L##">##GROUP_YEAR_B##</A></TD>
+ <TD class="sites"><A HREF="##GROUP_MONTH_L##">##GROUP_MONTH_B##</TD>
+ <!-- HIDE monthtop end -->
+ </TR>
+ </TBODY>
+ </TABLE>
+ </TD>
+ </TR>
+
+ <!-- Footer -->
+ <TR><TD></TD></TR>
+ <TR>
+ <TD colspan="2">
+ ##COPYRIGHT##
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </CENTER>
+</BODY>
+</HTML>
diff --git a/config/lightsquid/tpl/novopf/month_detail.html b/config/lightsquid/tpl/novopf/month_detail.html
new file mode 100755
index 00000000..ec637367
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/month_detail.html
@@ -0,0 +1,95 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Whole Month User Report</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class="title">
+ <tbody>
+ <tr class="title">
+ <th align="center"><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td align="center" colspan=2><h3>##MSG_WHOLE## ##WHOLEPERIOD##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><h3>##MSG_WORK_PERIOD##: ##DATE##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table width="100%" class=stat>
+ <tbody>
+ <tr class="stat1">
+ <th>##MSG_NUM##</th>
+<!-- HIDE timereport start-->
+ <th>##MSG_TIME_REPORT##</th>
+<!-- HIDE timereport end-->
+<!-- HIDE graphreport start-->
+ <th>##MSG_GRAPH_REPORT##</th>
+<!-- HIDE graphreport end-->
+<!-- HIDE monthreport start-->
+ <th>##MSG_MONTH##</th>
+<!-- HIDE monthreport end-->
+ <th>##MSG_USER##</th>
+<!-- HIDE realname start-->
+ <th>##MSG_REALNAME##</th>
+<!-- HIDE realname end-->
+ <th>##MSG_CONNECT##</th>
+ <th>##MSG_BYTES##</th>
+ <th>%</th>
+ <th>##MSG_CUMULATIVE##</th>
+ </tr>
+
+ <tr>
+ <td></td>
+ </tr>
+
+<!-- VARIABLE oddattr bgcolor="white" -->
+<!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+
+<!-- [[ user start-->
+ <tr ##ROWATTR##>
+ <td border="0" align="right"><font size="-1">##USERNUM##</font></td>
+<!-- HIDE timereport start-->
+ <td align="center"><A HREF="##TIMEURL_L##"><img src="get.cgi?png=datetime" border="0" title="Graph Report"></A></td>
+<!-- HIDE timereport end-->
+<!-- HIDE graphreport start-->
+ <td align="center"><A HREF="##GRAPHURL_L##"><img src="get.cgi?png=graph" border="0" title="Graph Report"></A></td>
+<!-- HIDE graphreport end-->
+<!-- HIDE monthreport start-->
+ <td align="center"><A HREF="##USERMONTHURL_L##">##USERMONTHURL_B##</A></td>
+<!-- HIDE monthreport end-->
+ <td ><A HREF="##USERURL_L##">##USERURL_B##</A></td>
+<!-- HIDE realname start-->
+ <td align="right" nowrap="true"><font size="-1">##REALNAME##</font></td>
+<!-- HIDE realname end-->
+ <td align="right"><font size="-1">##USERCONNECT##</font></td>
+ <td align="right"><font size="-1">##USERBYTES##</font></td>
+ <td align="right"><font size="-1">##USERPERCENT##%</font></td>
+ <td align="right"><font size="-1">##ALLUSERTOTAL##</font></td>
+ </tr>
+<!-- ]] user end-->
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novopf/print.css b/config/lightsquid/tpl/novopf/print.css
new file mode 100755
index 00000000..ce7ac422
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/print.css
@@ -0,0 +1,119 @@
+.noprint {
+ display: none;
+}
+
+.print0 {
+ width: 0;
+ margin: 0;
+ padding: 0;
+}
+
+body {
+ margin: 0;
+ padding: 0;
+ color: black;
+ background: white;
+ font-family: verdana, arial, sans-serif;
+ font-size: 100%;
+ font-weight: normal;
+}
+
+img {
+ border: 0;
+}
+
+a, a:visited {
+ color: black;
+ text-decoration: none;
+ border: 0;
+}
+
+div.page {
+ margin: 0 1em 0 1em;
+}
+
+h1 {
+ margin: 0;
+ padding: 0;
+ font-size: 50%;
+ text-align: right;
+ color: black;
+ background: white;
+ border-bottom: 1px solid black;
+}
+
+h1 a, h1 a:visited, h1 a:hover {
+ color: white;
+ text-decoration: none;
+ border: 0;
+}
+
+h2 {
+ font-size: 110%;
+ text-align: left;
+ font-weight: bold;
+}
+
+div.periodselector {
+ display: none;
+}
+
+div.monthselector {
+ display: inline;
+}
+
+form.yearselector {
+ display: inline;
+}
+
+div.side {
+ display: none;
+}
+
+div.main {
+ width: 100%;
+}
+
+table {
+ margin: auto;
+ border-collapse: collapse;
+ width: 100%;
+ text-align: center;
+ font-size: 80%;
+}
+
+th {
+ padding: 0.2em;
+ border: 1px solid black;
+ text-align: center;
+ color: black;
+ background: lightgray;
+}
+
+td {
+ padding: 0.2em;
+ border: 1px solid black;
+}
+
+tr.total {
+ border-top: 3px double black;
+ font-weight: bold;
+}
+
+tr.odd {
+ background: white;
+}
+
+tr.even {
+ background: #EFF2FF;
+}
+
+tr.sunday {
+ background: #FFEFFF;
+}
+
+div.copyright {
+ margin: 0.5em;
+ padding: 0.5em;
+ text-align: center;
+}
diff --git a/config/lightsquid/tpl/novopf/screen.css b/config/lightsquid/tpl/novopf/screen.css
new file mode 100755
index 00000000..65001246
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/screen.css
@@ -0,0 +1,143 @@
+img {
+ border: 0;
+ vertical-align: middle;
+}
+
+a {
+ color: #697896;
+ font-weight: bold;
+ text-decoration: none;
+}
+a.img, a.img:hover {
+ border: 0;
+}
+
+a.selected {
+ border: 1px solid #A8C5D3;
+ background: #dbe2ff;
+}
+
+a:visited {
+ font-weight: bold;
+ color: #697896;
+}
+
+h1.title {
+ margin: 0;
+ font-size: 120%;
+ text-align: center;
+ color: white;
+}
+
+
+h2 {
+ margin: 0;
+ font-size: 110%;
+ text-align: center;
+}
+
+h3 {
+ margin: 0;
+ font-size: 100%;
+ text-align: center;
+}
+
+table {
+ border-collapse: collapse;
+ margin: auto;
+ text-align: center;
+ font-size: "90%";
+ border-color: "white";
+ width: "90%";
+}
+
+table.title {
+ border-collapse: collapse;
+ margin: auto;
+ text-align: center;
+ color: #777777;
+ width: 100%;
+}
+
+table.calendar {
+ border-collapse: collapse;
+ margin: auto;
+ text-align: center;
+ width: "33%";
+ background: white;
+ color: #535F77;
+ border: 1px solid #BDBDBD;
+}
+
+table.stat {
+ border-collapse: collapse;
+ border: 1px solid #BDBDBD;
+ margin: auto;
+ text-align: center;
+ width: "100%";
+ color: #535F77;
+}
+
+table.sites {
+ border-collapse: collapse;
+ border: 1px solid #BDBDBD;
+ margin: auto;
+ text-align: left;
+ width: "100%";
+ color: #535F77;
+ background: white;
+}
+
+th.title {
+ border: 1px solid #BDBDBD;
+ background: #990000;
+}
+
+th.sites {
+ text-align: center;
+ background: #BDBDBD;
+ border: 1px solid #BDBDBD;
+ font-size: 90%;
+}
+
+tr.title {
+ border: 1px solid #BDBDBD;
+ background: #990000;
+ color: white;
+}
+
+tr.calendar {
+ border: 1px solid #BDBDBD;
+ color: #535F77;
+ background: #BDBDBD;
+}
+
+tr.stat1 {
+ background: #BDBDBD;
+ border: 1px solid #BDBDBD;
+}
+
+tr.total {
+ font-weight: bold;
+ background: #EFEFEF;
+ border: 1px solid #BDBDBD;
+}
+
+tr.footer {
+ background: #990000;
+ color: white;
+}
+
+td.sites {
+ text-align: left;
+ border: 1px solid #BDBDBD;
+ text-align: center;
+}
+
+tr.ls {
+ border: 1px solid #BDBDBD;
+}
+
+tr.dataarea {
+ background: #E7E7E7;
+}
diff --git a/config/lightsquid/tpl/novopf/topsites.html b/config/lightsquid/tpl/novopf/topsites.html
new file mode 100755
index 00000000..cfc3c781
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/topsites.html
@@ -0,0 +1,75 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Top Site</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class=title>
+ <tbody>
+ <tr class=title>
+ <th><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan=2><h2>##MSG_TOP_SITES##</h2></td>
+ </tr>
+ <tr>
+ <td colspan=2><h3>##MSG_WORK_PERIOD##: ##DATE##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2">
+
+ <table width="100%" class="stat">
+ <tbody>
+ <!-- VARIABLE selectedattr bgcolor="#BBCCEE" -->
+ <tr class=stat1>
+ <th>¹</th>
+ <th></th>
+ <th align="left">##MSG_ACCESSED_SITE##</th>
+ <th ##SORTCONNECTATTR##><A HREF="##SORTCONNECTURL_L##">##SORTCONNECTURL_B##</A></th>
+ <th ##SORTBYTESATTR##><A HREF="##SORTBYTESURL_L##">##SORTBYTESURL_B##</A></th>
+ <th>%</th>
+ </tr>
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+
+<!-- [[ site start-->
+ <tr ##ROWATTR##>
+ <td align="center"><font size="-1"><font size="-1">##SITENUM##</font></font></td>
+ <td align="left"><A HREF="##SITEURLWHO_L##">##SITEURLWHO_B##</A></td>
+ <td align="left"><A HREF="##SITEURL_L##">##SITEURL_B##</A></td>
+ <td align="right"><font size="-1">##SITECONNECT##</font></td>
+ <td align="right"><font size="-1">##SITEBYTES##</font></td>
+ <td align="right"><font size="-1">##SITEPERCENT##%</font></td>
+ </tr>
+<!-- ]] site end-->
+ <tr class="total">
+ <td colspan="4" align="left">##MSG_TOTAL##</td>
+ <td align="right">##TOTAL##</td>
+ <td class="noprint">&nbsp;</td>
+ </tr>
+ </tbody>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novopf/user_detail.html b/config/lightsquid/tpl/novopf/user_detail.html
new file mode 100755
index 00000000..b3a7b168
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/user_detail.html
@@ -0,0 +1,98 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: User Detail</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class=title>
+ <tbody>
+ <tr class=title>
+ <th><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan="2"><h3>##MSG_USER##: ##USER##</h3></td>
+ </tr>
+<!-- HIDE group start -->
+ <tr>
+ <td colspan="2">##MSG_GROUP##: ##GROUP##</td>
+ </tr>
+<!-- HIDE group end -->
+ <tr>
+ <td colspan="2">##MSG_DATE##: ##WORKPERIOD##</td>
+ </tr>
+<!-- HIDE timereport start-->
+ <tr>
+ <td colspan="2" align="center" >-= <A HREF="##TIMEURL_L##"><img src="get.cgi?png=datetime" border="0" title="Graph Report"></A> =-</td>
+ </tr>
+<!-- HIDE timereport end-->
+ <tr>
+ <td colspan="2"><A HREF="##BIGFILESURL_L##">##BIGFILESURL_B##</A></td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table width="100%" class=stat>
+ <tbody>
+ <tr class=total>
+ <th align="left" >##MSG_TOTAL##</th>
+ <th>&nbsp</th>
+ <th>&nbsp</th>
+ <th align="right" nowrap="true">##TOTAL##</th>
+ <th colspan=2>&nbsp;</th>
+ </tr>
+
+ <tr class=stat1>
+ <th>##MSG_NUM##</th>
+ <th>##MSG_ACCESSED_SITE##</th>
+ <th>##MSG_CONNECT##</th>
+ <th>##MSG_BYTES##</th>
+ <th>##MSG_CUMULATIVE##</th>
+ <th>%</th>
+ </tr>
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+<!-- [[ site start-->
+ <tr ##ROWATTR##>
+ <td align="center">##NUM##</td>
+ <td align="left"><A HREF="##SITEURL_L##">##SITEURL_B##</A></td>
+ <td align="right" nowrap="true">##SITECONNECT##</td>
+ <td align="right" nowrap="true">##SITEBYTES##</td>
+ <td align="right" nowrap="true">##SITETOTAL##</td>
+ <td align="right" nowrap="true">##SITEPERCENT##%</td>
+ </tr>
+<!-- ]] site end-->
+
+ <tr class=total>
+ <th align="left" >##MSG_TOTAL##</th>
+ <th align="right">&nbsp;</th>
+ <th align="right">&nbsp;</th>
+ <th align="right" nowrap="true">##TOTAL##</th>
+ <th align="right">&nbsp;</th>
+ <th align="right">&nbsp;</th>
+ </tr>
+ </tbody>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novopf/user_month.html b/config/lightsquid/tpl/novopf/user_month.html
new file mode 100755
index 00000000..de7d8cab
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/user_month.html
@@ -0,0 +1,83 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<HTML>
+<HEAD>
+ <META name="robots" content="noindex,nofollow">
+ <META name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <META http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <TITLE>LightSquid :: User Month detail</TITLE>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</HEAD>
+
+<BODY background="" bgcolor="white" text="black">
+
+ <center>
+ <table class="title">
+ <tbody>
+ <tr class="title">
+ <th align="center"><a href="index.cgi"><h1 class="title">##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><h3>##MSG_USER##: ##USER##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><h3>##MSG_WORK_PERIOD##: ##WORKPERIOD##</h3></td>
+ </tr>
+ <tr>
+ <TD colspan="2" align="center">##MSG_TOTAL##: ##TOTALBYTES##</TD>
+ </tr>
+ <tr>
+<!-- HIDE graphreport start-->
+ <td colspan="2" align="center"><A HREF="##GRAPHURL_L##"><img src="get.cgi?png=graph" border="0" title="Graph Report">
+<!-- HIDE graphreport end-->
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table width="100%" class="stat">
+ <tbody>
+ <TR class="stat1">
+ <TH>##MSG_DATE##</TH>
+ <TH>##MSG_BYTES##</TH>
+ <TH>##MSG_WEEKSUM##</th>
+ <TH>##MSG_CUMULATIVE##</th>
+ </TR>
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+ <!-- VARIABLE sundayattr bgcolor="bisque" -->
+ <!-- VARIABLE nooversizedattr color="black" -->
+ <!-- VARIABLE oversizedattr color="red" -->
+
+ <!-- [[ day start-->
+ <TR ##DAYATTR##>
+ <TD align="center"><FONT size="-1"><A HREF="##DAYDATE_L##">##DAYDATE_B##</A></FONT></TD>
+ <TD align="right" nowrap="true"><FONT size="-1" ##OVERSIZEATTR##>##DAYBYTES##</FONT></TD>
+ <td align="right" nowrap="true">##WEEKSUM##</td>
+ <td align="right" nowrap="true"><font size="-2">##DAYCUMULATIVE##</font></td>
+ </TR>
+ <!-- ]] day end-->
+
+ <TR class="total">
+ <TD align="center">##MSG_TOTAL##</TD>
+ <TD align="right" nowrap="true"><FONT size="-1">##TOTALBYTES##</FONT></TD>
+ <td align="right" nowrap="true">&nbsp</td>
+ <td align="right" nowrap="true">&nbsp</td>
+ </TR>
+ </tbody>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </TBODY>
+ </TABLE>
+ </CENTER>
+</BODY>
+</HTML>
diff --git a/config/lightsquid/tpl/novopf/user_time.html b/config/lightsquid/tpl/novopf/user_time.html
new file mode 100755
index 00000000..14183006
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/user_time.html
@@ -0,0 +1,111 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: User Detail by TIME </title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class=title>
+ <tbody>
+ <tr class=title>
+ <th><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan="2"><h3>##MSG_USER##: ##USER##</h3></td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><h3>##MSG_DATE##: ##WORKPERIOD##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table width="100%" class=stat>
+ <tbody>
+ <tr class="stat1">
+ <th>##MSG_NUM##</th>
+ <th>##MSG_ACCESSED_SITE##</th>
+ <th>00</th>
+ <th>01</th>
+ <th>02</th>
+ <th>03</th>
+ <th>04</th>
+ <th>05</th>
+ <th>06</th>
+ <th>07</th>
+ <th>08</th>
+ <th>09</th>
+ <th>10</th>
+ <th>11</th>
+ <th>12</th>
+ <th>13</th>
+ <th>14</th>
+ <th>15</th>
+ <th>16</th>
+ <th>17</th>
+ <th>18</th>
+ <th>19</th>
+ <th>20</th>
+ <th>21</th>
+ <th>22</th>
+ <th>23</th>
+ <th>##MSG_TOTAL##</th>
+ </tr>
+
+<!-- VARIABLE oddattr bgcolor="white" -->
+<!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+<!-- VARIABLE totalattr bgcolor=#E5EFF4 -->
+
+<!-- [[ site start-->
+ <tr ##ROWATTR##>
+ <td align="center">##NUM##</td>
+ <td align="left">##URL##</td>
+ <td align="center"><font size="-1">##T00##</font></td>
+ <td align="center"><font size="-1">##T01##</font></td>
+ <td align="center"><font size="-1">##T02##</font></td>
+ <td align="center"><font size="-1">##T03##</font></td>
+ <td align="center"><font size="-1">##T04##</font></td>
+ <td align="center"><font size="-1">##T05##</font></td>
+ <td align="center"><font size="-1">##T06##</font></td>
+ <td align="center"><font size="-1">##T07##</font></td>
+ <td align="center"><font size="-1">##T08##</font></td>
+ <td align="center"><font size="-1">##T09##</font></td>
+ <td align="center"><font size="-1">##T10##</font></td>
+ <td align="center"><font size="-1">##T11##</font></td>
+ <td align="center"><font size="-1">##T12##</font></td>
+ <td align="center"><font size="-1">##T13##</font></td>
+ <td align="center"><font size="-1">##T14##</font></td>
+ <td align="center"><font size="-1">##T15##</font></td>
+ <td align="center"><font size="-1">##T16##</font></td>
+ <td align="center"><font size="-1">##T17##</font></td>
+ <td align="center"><font size="-1">##T18##</font></td>
+ <td align="center"><font size="-1">##T19##</font></td>
+ <td align="center"><font size="-1">##T20##</font></td>
+ <td align="center"><font size="-1">##T21##</font></td>
+ <td align="center"><font size="-1">##T22##</font></td>
+ <td align="center"><font size="-1">##T23##</font></td>
+ <td align="right" nowrap="true"><font size="-1">##URLSIZE##</font></td>
+ </tr>
+ <!-- ]] site end-->
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novopf/whousesite.html b/config/lightsquid/tpl/novopf/whousesite.html
new file mode 100755
index 00000000..ffd288f4
--- /dev/null
+++ b/config/lightsquid/tpl/novopf/whousesite.html
@@ -0,0 +1,86 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Who Use Site report</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class=title>
+ <tbody>
+ <tr class=title>
+ <th><a href="index.cgi"><h1 class="title">##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <th colspan="2"><h2>##MSG_USER_WHO_USE_SITE##<br>##SITE##</h2></th>
+ </tr>
+ <tr>
+ <td colspan=2><b>##MSG_WORK_PERIOD##: ##DATE##</b></td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table width="100%" class=stat>
+ <tbody>
+ <tr class=stat1>
+ <th align="left" >##MSG_USER##</th>
+<!-- HIDE realname start-->
+ <th>##MSG_REALNAME##</th>
+<!-- HIDE realname end-->
+ <th>##MSG_CONNECT##</th>
+ <th>##MSG_SIZE##</th>
+ <!-- HIDE daylist start -->
+ <th>##MSG_DAYLIST##</th>
+ <!-- HIDE daylist end -->
+ </tr>
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+<!-- [[ who start-->
+ <tr ##ROWATTR##>
+ <td align="left" >##WHOUSER##</td>
+<!-- HIDE realname start-->
+ <td align="right" nowrap="true">##REALNAME##</td>
+<!-- HIDE realname end-->
+ <td align="right">##WHOCONNECT##</td>
+ <td align="right">##WHOSIZE##</td>
+ <!-- HIDE daylist start -->
+ <td align="right"><A HREF="##USEDAYURL_L##">##USEDAYURL_B##</A></td>
+ <!-- HIDE daylist end -->
+ </tr>
+ <!-- ]] who end-->
+
+ <tr class=total>
+ <th align="left">##MSG_TOTAL##</th>
+<!-- HIDE realname start-->
+ <td>&nbsp</td>
+<!-- HIDE realname end-->
+ <th align="right">##TOTALCONNECT##</th>
+ <th align="right">##TOTAL##</th>
+ <!-- HIDE daylist start -->
+ <th></th>
+ <!-- HIDE daylist end -->
+ </tr>
+ </tbody>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </td>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novosea/bigfiles.html b/config/lightsquid/tpl/novosea/bigfiles.html
new file mode 100755
index 00000000..138d4181
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/bigfiles.html
@@ -0,0 +1,72 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Big Files Report</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body background="" bgcolor="white" text="black">
+ <center>
+ <table class=title>
+ <tbody>
+ <TR class=title>
+ <TH><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></TH>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </TR>
+ <tr>
+ <th colspan="2" align="center"><h2>##MSG_BIG_FILE_DOWNLOAD_REPORT##</h2></th>
+ </tr>
+ <tr>
+ <th colspan="2" align="center"><h3>##MSG_DATE##: ##DATE##</h3></th>
+ </tr>
+<!-- HIDE reportuser start-->
+ <tr>
+ <th colspan="2" align="center"><h3>##MSG_USER##: ##REPORTUSER##</h3></th>
+ </tr>
+<!-- HIDE reportuser end-->
+ <tr>
+ <td colspan="2">
+ <table width="100%" class=stat>
+ <tbody>
+ <tr class=stat1>
+ <th>##MSG_NUM##</th>
+ <th>##MSG_TIME##</th>
+ <th>##MSG_USER##</th>
+ <th>##MSG_SIZE##</th>
+ <th>##MSG_URL##</th>
+ </tr>
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+ <!-- VARIABLE total bgcolor="E5EFF4" -->
+
+<!-- [[ bigfile start-->
+ <tr ##ROWATTR##>
+ <td align="left" >##BFILENUM##</td>
+ <td align="left" >##BFILETIME##</td>
+ <td align="left" ><A HREF="##BFILEUSER_L##">##BFILEUSER_B##</A></td>
+ <td align="right" nowrap="true">##BFILESIZE##</td>
+ <td align="right" >##BFILELINK##</td>
+ </tr>
+<!-- ]] bigfile end-->
+
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novosea/day_detail.html b/config/lightsquid/tpl/novosea/day_detail.html
new file mode 100755
index 00000000..6c432ba0
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/day_detail.html
@@ -0,0 +1,108 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Day detail</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <!-- Title -->
+ <table class=title>
+ <tbody>
+ <tr class=title>
+ <th><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan="2"><h2>##MSG_DATE##:&nbsp;<b>##DATE##&nbsp;</h2></td>
+ </tr>
+ <tr>
+ <td colspan="2"><h3><A HREF="##TOPSITESURL_L##">##TOPSITESURL_B##</A> ##MSG_REPORT##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2"><h3><A HREF="##BIGFILESURL_L##">##BIGFILESURL_B##</A> ##MSG_REPORT##</h3></td>
+ </tr>
+
+ <!-- Statistic data -->
+ <tr>
+ <td colspan="2">
+ <table width=100% class=stat>
+ <tbody>
+ <!-- HIDE overuser start-->
+ <tr>
+ <td colspan="11">##OVERMSG##</td>
+ </tr>
+ <!-- HIDE overuser end-->
+
+ <tr class=stat1>
+ <th>##MSG_NUM##</th>
+ <!-- HIDE timereport start-->
+ <th>##MSG_TIME_REPORT##</th>
+ <!-- HIDE timereport end-->
+ <th>##MSG_USER##</th>
+ <!-- HIDE realname start-->
+ <th>##MSG_REALNAME##</th>
+ <!-- HIDE realname end-->
+ <th>##MSG_CONNECT##</th>
+ <!-- HIDE putpost start-->
+ <th>##MSG_PUTPOST##</th>
+ <!-- HIDE putpost end-->
+ <th>##MSG_BYTES##</th>
+ <th>%</th>
+ <!-- HIDE group start -->
+ <th>##MSG_GROUP##</th>
+ <!-- HIDE group end -->
+ </tr>
+
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+
+ <!-- VARIABLE !putpostnormalattr color="black" -->
+ <!-- VARIABLE !putpostwarningattr color="red" -->
+
+ <!-- VARIABLE putpostnormalattr </> -->
+ <!-- VARIABLE putpostwarningattr <img src="get.cgi?png=flag_red" border="0" title="Graph Report"> -->
+
+ <!-- [[ user start-->
+ <tr ##ROWATTR##>
+ <td align="right">##USERNUM##</td>
+ <!-- HIDE timereport start-->
+ <td align="center"><A HREF="##TIMEURL_L##"><img src="get.cgi?png=datetime" border="0" title="Graph Report"></A></td>
+ <!-- HIDE timereport end-->
+ <td align="left"><A HREF="##USERURL_L##">##USERURL_B##</A></td>
+ <!-- HIDE realname start-->
+ <td align="left" nowrap="true">##REALNAME##</td>
+ <!-- HIDE realname end-->
+ <td align="right" nowrap="true">##USERCONNECT##</td>
+ <!-- HIDE putpost start-->
+ <td align="right" nowrap="true">##USERPUTPOST####OVERPUTPOSTATTR##</td>
+ <!-- HIDE putpost end-->
+ <td align="right" nowrap="true">##USERBYTES##</td>
+ <td align="right">##USERPERCENT##%</td>
+ <!-- HIDE group start -->
+ <td align="left"><a HREF="##USERGROUPURL_L##">##USERGROUPURL_B##</a></td>
+ <!-- HIDE group end -->
+ </tr>
+ <!-- ]] user end-->
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novosea/graph.html b/config/lightsquid/tpl/novosea/graph.html
new file mode 100755
index 00000000..4490f4d3
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/graph.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Graphics</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class="title">
+ <tbody>
+ <tr class=title>
+ <th align="center"><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><h3>##MSG_WORK_PERIOD##: ##WORKPERIOD##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><h3>##MODE##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <img src="##GRAPHICSURL##" border="0" title="Graphics" usemap="#bars">
+ <map name="bars">
+<!-- [[ imagemap start-->
+ <area href="##MAPURL##" shape="rect" coords="##MAPCOORD##">
+<!-- ]] imagemap end-->
+ </map>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+<!-- HIDE warning start -->
+ <center>##MSG_WARNING##, ##MSG_RECOMENDATION## $##VARNAME##=##VARVALUE##*(1024*1024*1024);</center>
+<!-- HIDE warning end -->
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novosea/group_detail.html b/config/lightsquid/tpl/novosea/group_detail.html
new file mode 100755
index 00000000..79b62db3
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/group_detail.html
@@ -0,0 +1,134 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Day detail - Group Mode</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class=title>
+ <tbody>
+ <tr class=title>
+ <th align="center"><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><h3>##MSG_DATE##: ##DATE##&nbsp;</h3></td>
+ </tr>
+<!-- HIDE dayinfo start-->
+ <tr>
+ <td colspan="2"><A HREF="##TOPSITESURL_L##">##TOPSITESURL_B##</A><h3>##MSG_REPORT##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2"><A HREF="##BIGFILESURL_L##">##BIGFILESURL_B##</A><h3>##MSG_REPORT##</h3></td>
+ </tr>
+<!-- HIDE dayinfo end -->
+ </tbody>
+ </table>
+ </center>
+
+ <center>
+ <table>
+ <tbody>
+ <tr>
+ <td>
+ <table width="100%" class=stat>
+ <tbody>
+ <tr width="100%" class=stat1>
+ <th>##MSG_NUM##</th>
+<!-- HIDE timereport start-->
+ <th>##MSG_TIME_REPORT##</th>
+<!-- HIDE timereport end-->
+ <th>##MSG_USER##</th>
+<!-- HIDE realname start-->
+ <th>##MSG_REALNAME##</th>
+<!-- HIDE realname end-->
+ <th>##MSG_CONNECT##</th>
+ <th>##MSG_BYTES##</th>
+ <th>%</th>
+ </tr>
+
+<!-- [[ groupstart start-->
+ <tr>
+ <td colspan="7"><A name="##GROUPSTARTURL_L##">##GROUPSTARTURL_B##</A></td>
+ </tr>
+<!-- ]] groupstart end-->
+
+<!-- VARIABLE oddattr bgcolor="white" -->
+<!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+
+<!-- [[ user start-->
+ <tr ##ROWATTR##>
+ <td>##USERNUM##</td>
+<!-- HIDE timereport start-->
+ <td><A HREF="##TIMEURL_L##"><img src="get.cgi?png=datetime" border="0" title="Graph Report"></A></td>
+<!-- HIDE timereport end-->
+ <td><A HREF="##USERURL_L##">##USERURL_B##</A></td>
+<!-- HIDE realname start-->
+ <td align="right" nowrap="true">##REALNAME##</td>
+<!-- HIDE realname end-->
+ <td align="right">##USERCONNECT##</td>
+ <td align="right">##USERBYTES##</td>
+ <td align="right">##USERPERCENT##%</td>
+ </tr>
+<!-- ]] user end-->
+
+<!-- [[ groupend start-->
+ <tr>
+ <td colspan="3"></td>
+<!-- HIDE timereport start-->
+ <td></td>
+<!-- HIDE timereport end-->
+<!-- HIDE realname start-->
+ <td></td>
+<!-- HIDE realname end-->
+ <td align="right">##GROUPENDBYTES##</td>
+ <td align="right">##GROUPENDPERCENT##%</td>
+ </tr>
+<!-- ]] groupend end-->
+
+ </tbody>
+ </table>
+ </td>
+
+ <!-- Rigth Column -->
+ <td style="width: 20%; vertical-align: top; text-align: center;">
+ <table width="100%" class=sites>
+ <tbody>
+ <tr>
+ <th class=sites align="right">##MSG_NUM##</th>
+ <th class=sites>##MSG_GROUP##</th>
+ <th class=sites align="right">##MSG_BYTES##</th>
+ <th class=sites align="right">%</th>
+ </tr>
+
+<!-- [[ grouplist start-->
+ <tr ##GROUPROWATTR##>
+ <td class=sites border="0" align="right">##GROUPLISTNUM##</td>
+ <td class=sites><A HREF="##GROUPLISTNAMEURL_L##">##GROUPLISTNAMEURL_B##</A></td>
+ <td class=sites align="right">##GROUPLISTBYTES##</td>
+ <td class=sites align="right">##GROUPLISTPERCENT##</td>
+ </tr>
+<!-- ]] grouplist end-->
+
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+ </body>
+</html>
diff --git a/config/lightsquid/tpl/novosea/images/datetime.png b/config/lightsquid/tpl/novosea/images/datetime.png
new file mode 100755
index 00000000..e2672c20
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/images/datetime.png
Binary files differ
diff --git a/config/lightsquid/tpl/novosea/images/flag_red.png b/config/lightsquid/tpl/novosea/images/flag_red.png
new file mode 100755
index 00000000..e8a602da
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/images/flag_red.png
Binary files differ
diff --git a/config/lightsquid/tpl/novosea/images/graph.png b/config/lightsquid/tpl/novosea/images/graph.png
new file mode 100755
index 00000000..9051fbc6
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/images/graph.png
Binary files differ
diff --git a/config/lightsquid/tpl/novosea/images/groups.png b/config/lightsquid/tpl/novosea/images/groups.png
new file mode 100755
index 00000000..d2cfc00d
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/images/groups.png
Binary files differ
diff --git a/config/lightsquid/tpl/novosea/images/printer.png b/config/lightsquid/tpl/novosea/images/printer.png
new file mode 100755
index 00000000..a350d187
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/images/printer.png
Binary files differ
diff --git a/config/lightsquid/tpl/novosea/images/users.png b/config/lightsquid/tpl/novosea/images/users.png
new file mode 100755
index 00000000..e2e2f36a
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/images/users.png
Binary files differ
diff --git a/config/lightsquid/tpl/novosea/index.html b/config/lightsquid/tpl/novosea/index.html
new file mode 100755
index 00000000..cf68c86d
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/index.html
@@ -0,0 +1,164 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+
+<HTML>
+<HEAD>
+ <META name="robots" content="noindex,nofollow">
+ <META name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <META http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <TITLE>LightSquid :: Index</TITLE>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</HEAD>
+
+<BODY>
+ <CENTER>
+ <!-- Title -->
+ <TABLE class=title>
+ <TBODY>
+ <TR class=title>
+ <TH><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></TH>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </TR>
+ <TR>
+ <TD colspan="2"><h2>##MSG_WORK_PERIOD##: ##WORKPERIOD##</h2></TD>
+ </TR>
+
+ <TR>
+ <TD align="center" colspan="2">
+ <!-- Calendar -->
+ <TABLE class=calendar>
+ <TBODY>
+ <TR>
+ <TH colspan="12">##MSG_CALENDAR##</TH>
+ </TR>
+ <TR class=calendar>
+ <!-- VARIABLE yearselected bgcolor="#BBCCEE" -->
+ <!-- [[ year start-->
+ <TD colspan="##YEARCOLSPAN##" ##YEARSELECTED##>
+ <a href="##YEARURL_L##">##YEARURL_B##</a><br>
+ </TD>
+ <!-- ]] year end-->
+ </TR>
+ <TR>
+ <!-- VARIABLE monthselected bgcolor="#BBCCEE" -->
+ <!-- [[ month start-->
+ <TD ##MONTHSELECTED##><a href="##MONTHURL_L##">##MONTHURL_B##</a></TD>
+ <!-- ]] month end-->
+ </TR>
+ </TBODY>
+ </TABLE>
+ </TD>
+ </TR>
+
+ <!-- Statistic data -->
+ <TR><TD></TD></TR>
+ <TR><TD>
+ <TABLE width="100%" class=stat>
+ <TBODY>
+ <TR class=stat1>
+ <TH>##MSG_DATE##</TH>
+ <!-- HIDE group start -->
+ <TH>##MSG_GROUP##</TH>
+ <!-- HIDE group end -->
+ <TH>##MSG_USERS##</TH>
+ <!-- HIDE oversize start -->
+ <TH>##MSG_OVERSIZE##</TH>
+ <!-- HIDE oversize end -->
+ <TH>##MSG_BYTES##</TH>
+ <TH>##MSG_AVERAGE##</TH>
+ <TH>##MSG_HIT%##</TH>
+ </TR>
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+ <!-- VARIABLE sundayattr bgcolor="beige" -->
+ <!-- VARIABLE saturdayattr bgcolor="#F0EFC7" -->
+
+ <!-- [[ day start-->
+ <TR ##DAYATTR##>
+ <TD align="center"><A HREF="##DAYDATE_L##">##DAYDATE_B##</A></TD>
+ <!-- HIDE group start -->
+ <TD align="center"><A HREF="##DAYGROUP_L##">##DAYGROUP_B##</A></TD>
+ <!-- HIDE group end -->
+ <TD align="center">##DAYUSERS##</TD>
+
+ <!-- HIDE oversize start-->
+ <TD align="center"><A HREF="##DAYOVERUSERS_L##">##DAYOVERUSERS_B##</A></TD>
+ <!-- HIDE oversize end-->
+ <TD align="right" nowrap="true">##DAYBYTES##</TD>
+ <TD align="right">##DAYAVERAGE##</TD>
+ <TD align="right">##DAYCACHEHIT##%</TD>
+ </TR>
+ <!-- ]] day end-->
+
+ <!-- Summary -->
+ <TR class=total>
+ <TD align="left">##MSG_TOTAL_AVERAGE##:</Td>
+ <!-- HIDE group start -->
+ <TD>&nbsp</TD>
+ <!-- HIDE group end -->
+ <TD align="center">##USERAVERAGE##</TD>
+ <!-- HIDE oversize start-->
+ <TD align="center">##OVERUSERAVERAGE##</TD>
+ <!-- HIDE oversize end -->
+ <TD align="right"><A HREF="##TOTAL_L##">##TOTAL_B##</A></TD>
+ <TD align="right">##TOTALAVERAGE##</TD>
+ <TD align="right">##AVERAGEHIT##%</TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </TD>
+
+ <TD style="width: 20%; vertical-align: top; text-align: center;">
+ <!-- Popular sites -->
+ <TABLE width="100%" class="sites">
+ <TBODY>
+ <TR>
+ <TH colspan="2" class="sites">##MSG_TOP_SITES##</TH>
+ </TR>
+ <TR>
+ <TD class="sites"><A HREF="##TOP_YEAR_L##">##TOP_YEAR_B##</A></TD>
+ <!-- HIDE monthtop start -->
+ <TD class="sites"><A HREF="##TOP_MONTH_L##">##TOP_MONTH_B##</A></TD>
+ </TR>
+
+ <TR>
+ <TH colspan="2" class="sites">##MSG_TOTAL##</TH>
+ </TR>
+ <TR>
+ <TD class="sites"><A HREF="##TOTAL_YEAR_L##">##TOTAL_YEAR_B##</A></TD>
+ <TD nowrap="nowrap" class="sites">
+ <A HREF="##TOTAL_MONTH_L##">##TOTAL_MONTH_B##</A>
+ <!-- HIDE graph start -->
+ <A HREF="##MONTH_GRAPH_L##"><img src="get.cgi?png=graph" border="0" title="Graph Report"></A>
+ <!-- HIDE graph end -->
+ </TD>
+ </TR>
+
+ <TR>
+ <TH colspan="2" class="sites">##MSG_GROUP##</TH>
+ </TR>
+ <TR>
+ <TD class="sites"><A HREF="##GROUP_YEAR_L##">##GROUP_YEAR_B##</A></TD>
+ <TD class="sites"><A HREF="##GROUP_MONTH_L##">##GROUP_MONTH_B##</TD>
+ <!-- HIDE monthtop end -->
+ </TR>
+ </TBODY>
+ </TABLE>
+ </TD>
+ </TR>
+
+ <!-- Footer -->
+ <TR><TD></TD></TR>
+ <TR>
+ <TD colspan="2">
+ ##COPYRIGHT##
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </CENTER>
+</BODY>
+</HTML>
diff --git a/config/lightsquid/tpl/novosea/month_detail.html b/config/lightsquid/tpl/novosea/month_detail.html
new file mode 100755
index 00000000..ec637367
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/month_detail.html
@@ -0,0 +1,95 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Whole Month User Report</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class="title">
+ <tbody>
+ <tr class="title">
+ <th align="center"><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td align="center" colspan=2><h3>##MSG_WHOLE## ##WHOLEPERIOD##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><h3>##MSG_WORK_PERIOD##: ##DATE##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table width="100%" class=stat>
+ <tbody>
+ <tr class="stat1">
+ <th>##MSG_NUM##</th>
+<!-- HIDE timereport start-->
+ <th>##MSG_TIME_REPORT##</th>
+<!-- HIDE timereport end-->
+<!-- HIDE graphreport start-->
+ <th>##MSG_GRAPH_REPORT##</th>
+<!-- HIDE graphreport end-->
+<!-- HIDE monthreport start-->
+ <th>##MSG_MONTH##</th>
+<!-- HIDE monthreport end-->
+ <th>##MSG_USER##</th>
+<!-- HIDE realname start-->
+ <th>##MSG_REALNAME##</th>
+<!-- HIDE realname end-->
+ <th>##MSG_CONNECT##</th>
+ <th>##MSG_BYTES##</th>
+ <th>%</th>
+ <th>##MSG_CUMULATIVE##</th>
+ </tr>
+
+ <tr>
+ <td></td>
+ </tr>
+
+<!-- VARIABLE oddattr bgcolor="white" -->
+<!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+
+<!-- [[ user start-->
+ <tr ##ROWATTR##>
+ <td border="0" align="right"><font size="-1">##USERNUM##</font></td>
+<!-- HIDE timereport start-->
+ <td align="center"><A HREF="##TIMEURL_L##"><img src="get.cgi?png=datetime" border="0" title="Graph Report"></A></td>
+<!-- HIDE timereport end-->
+<!-- HIDE graphreport start-->
+ <td align="center"><A HREF="##GRAPHURL_L##"><img src="get.cgi?png=graph" border="0" title="Graph Report"></A></td>
+<!-- HIDE graphreport end-->
+<!-- HIDE monthreport start-->
+ <td align="center"><A HREF="##USERMONTHURL_L##">##USERMONTHURL_B##</A></td>
+<!-- HIDE monthreport end-->
+ <td ><A HREF="##USERURL_L##">##USERURL_B##</A></td>
+<!-- HIDE realname start-->
+ <td align="right" nowrap="true"><font size="-1">##REALNAME##</font></td>
+<!-- HIDE realname end-->
+ <td align="right"><font size="-1">##USERCONNECT##</font></td>
+ <td align="right"><font size="-1">##USERBYTES##</font></td>
+ <td align="right"><font size="-1">##USERPERCENT##%</font></td>
+ <td align="right"><font size="-1">##ALLUSERTOTAL##</font></td>
+ </tr>
+<!-- ]] user end-->
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novosea/print.css b/config/lightsquid/tpl/novosea/print.css
new file mode 100755
index 00000000..ce7ac422
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/print.css
@@ -0,0 +1,119 @@
+.noprint {
+ display: none;
+}
+
+.print0 {
+ width: 0;
+ margin: 0;
+ padding: 0;
+}
+
+body {
+ margin: 0;
+ padding: 0;
+ color: black;
+ background: white;
+ font-family: verdana, arial, sans-serif;
+ font-size: 100%;
+ font-weight: normal;
+}
+
+img {
+ border: 0;
+}
+
+a, a:visited {
+ color: black;
+ text-decoration: none;
+ border: 0;
+}
+
+div.page {
+ margin: 0 1em 0 1em;
+}
+
+h1 {
+ margin: 0;
+ padding: 0;
+ font-size: 50%;
+ text-align: right;
+ color: black;
+ background: white;
+ border-bottom: 1px solid black;
+}
+
+h1 a, h1 a:visited, h1 a:hover {
+ color: white;
+ text-decoration: none;
+ border: 0;
+}
+
+h2 {
+ font-size: 110%;
+ text-align: left;
+ font-weight: bold;
+}
+
+div.periodselector {
+ display: none;
+}
+
+div.monthselector {
+ display: inline;
+}
+
+form.yearselector {
+ display: inline;
+}
+
+div.side {
+ display: none;
+}
+
+div.main {
+ width: 100%;
+}
+
+table {
+ margin: auto;
+ border-collapse: collapse;
+ width: 100%;
+ text-align: center;
+ font-size: 80%;
+}
+
+th {
+ padding: 0.2em;
+ border: 1px solid black;
+ text-align: center;
+ color: black;
+ background: lightgray;
+}
+
+td {
+ padding: 0.2em;
+ border: 1px solid black;
+}
+
+tr.total {
+ border-top: 3px double black;
+ font-weight: bold;
+}
+
+tr.odd {
+ background: white;
+}
+
+tr.even {
+ background: #EFF2FF;
+}
+
+tr.sunday {
+ background: #FFEFFF;
+}
+
+div.copyright {
+ margin: 0.5em;
+ padding: 0.5em;
+ text-align: center;
+}
diff --git a/config/lightsquid/tpl/novosea/screen.css b/config/lightsquid/tpl/novosea/screen.css
new file mode 100755
index 00000000..dbaf4566
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/screen.css
@@ -0,0 +1,133 @@
+img {
+ border: 0;
+ vertical-align: middle;
+}
+
+a {
+ color: #697896;
+ font-weight: bold;
+ text-decoration: none;
+}
+a.img, a.img:hover {
+ border: 0;
+}
+
+a.selected {
+ border: 1px solid #A8C5D3;
+ background: #dbe2ff;
+}
+
+a:visited {
+ font-weight: bold;
+ color: #697896;
+}
+
+h1.title {
+ margin: 0;
+ font-size: 120%;
+ text-align: center;
+ color: white;
+}
+
+
+h2 {
+ margin: 0;
+ font-size: 110%;
+ text-align: center;
+}
+
+h3 {
+ margin: 0;
+ font-size: 100%;
+ text-align: center;
+}
+
+table {
+ border-collapse: collapse;
+ margin: auto;
+ text-align: center;
+ font-size: "90%";
+ border-color: "white";
+ width: "90%";
+}
+
+table.title {
+ border-collapse: collapse;
+ margin: auto;
+ text-align: center;
+ color: #535F77;
+ width: 100%;
+}
+
+table.calendar {
+ border-collapse: collapse;
+ margin: auto;
+ text-align: center;
+ width: "33%";
+ background: white;
+ color: #535F77;
+ border: 1px solid #A8C5D3;
+}
+
+table.stat {
+ border-collapse: collapse;
+ border: 1px solid #A8C5D3;
+ margin: auto;
+ text-align: center;
+ width: "100%";
+ color: #535F77;
+}
+
+table.sites {
+ border-collapse: collapse;
+ border: 1px solid #A8C5D3;
+ margin: auto;
+ text-align: left;
+ width: "100%";
+ color: #535F77;
+}
+
+th.title {
+ border: 1px solid #005B7A;
+ background: #7788aa;
+}
+
+th.sites {
+ text-align: center;
+ background: #e0eaef;
+ border: 1px solid #A8C5D3;
+ font-size: 90%;
+}
+
+tr.title {
+ border: 1px solid #7788AA;
+ background: #7788AA;
+ color: white;
+}
+
+tr.calendar {
+ border: 1px solid #A8C5D3;
+ color: #535F77;
+ background: #F5F5F5;
+}
+
+tr.stat1 {
+ background: #e0eaef;
+ border: 1px solid #A8C5D3;
+}
+
+tr.total {
+ font-weight: bold;
+ background: #E5EFF4;
+ border: 1px solid #A8C5D3;
+}
+
+td.sites {
+ text-align: left;
+ border: 1px solid #A8C5D3;
+ text-align: center;
+}
+
+tr.ls {
+ border: 1px solid #A8C5D3;
+}
diff --git a/config/lightsquid/tpl/novosea/topsites.html b/config/lightsquid/tpl/novosea/topsites.html
new file mode 100755
index 00000000..cfc3c781
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/topsites.html
@@ -0,0 +1,75 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Top Site</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class=title>
+ <tbody>
+ <tr class=title>
+ <th><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan=2><h2>##MSG_TOP_SITES##</h2></td>
+ </tr>
+ <tr>
+ <td colspan=2><h3>##MSG_WORK_PERIOD##: ##DATE##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2">
+
+ <table width="100%" class="stat">
+ <tbody>
+ <!-- VARIABLE selectedattr bgcolor="#BBCCEE" -->
+ <tr class=stat1>
+ <th>¹</th>
+ <th></th>
+ <th align="left">##MSG_ACCESSED_SITE##</th>
+ <th ##SORTCONNECTATTR##><A HREF="##SORTCONNECTURL_L##">##SORTCONNECTURL_B##</A></th>
+ <th ##SORTBYTESATTR##><A HREF="##SORTBYTESURL_L##">##SORTBYTESURL_B##</A></th>
+ <th>%</th>
+ </tr>
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+
+<!-- [[ site start-->
+ <tr ##ROWATTR##>
+ <td align="center"><font size="-1"><font size="-1">##SITENUM##</font></font></td>
+ <td align="left"><A HREF="##SITEURLWHO_L##">##SITEURLWHO_B##</A></td>
+ <td align="left"><A HREF="##SITEURL_L##">##SITEURL_B##</A></td>
+ <td align="right"><font size="-1">##SITECONNECT##</font></td>
+ <td align="right"><font size="-1">##SITEBYTES##</font></td>
+ <td align="right"><font size="-1">##SITEPERCENT##%</font></td>
+ </tr>
+<!-- ]] site end-->
+ <tr class="total">
+ <td colspan="4" align="left">##MSG_TOTAL##</td>
+ <td align="right">##TOTAL##</td>
+ <td class="noprint">&nbsp;</td>
+ </tr>
+ </tbody>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novosea/user_detail.html b/config/lightsquid/tpl/novosea/user_detail.html
new file mode 100755
index 00000000..b3a7b168
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/user_detail.html
@@ -0,0 +1,98 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: User Detail</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class=title>
+ <tbody>
+ <tr class=title>
+ <th><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan="2"><h3>##MSG_USER##: ##USER##</h3></td>
+ </tr>
+<!-- HIDE group start -->
+ <tr>
+ <td colspan="2">##MSG_GROUP##: ##GROUP##</td>
+ </tr>
+<!-- HIDE group end -->
+ <tr>
+ <td colspan="2">##MSG_DATE##: ##WORKPERIOD##</td>
+ </tr>
+<!-- HIDE timereport start-->
+ <tr>
+ <td colspan="2" align="center" >-= <A HREF="##TIMEURL_L##"><img src="get.cgi?png=datetime" border="0" title="Graph Report"></A> =-</td>
+ </tr>
+<!-- HIDE timereport end-->
+ <tr>
+ <td colspan="2"><A HREF="##BIGFILESURL_L##">##BIGFILESURL_B##</A></td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table width="100%" class=stat>
+ <tbody>
+ <tr class=total>
+ <th align="left" >##MSG_TOTAL##</th>
+ <th>&nbsp</th>
+ <th>&nbsp</th>
+ <th align="right" nowrap="true">##TOTAL##</th>
+ <th colspan=2>&nbsp;</th>
+ </tr>
+
+ <tr class=stat1>
+ <th>##MSG_NUM##</th>
+ <th>##MSG_ACCESSED_SITE##</th>
+ <th>##MSG_CONNECT##</th>
+ <th>##MSG_BYTES##</th>
+ <th>##MSG_CUMULATIVE##</th>
+ <th>%</th>
+ </tr>
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+<!-- [[ site start-->
+ <tr ##ROWATTR##>
+ <td align="center">##NUM##</td>
+ <td align="left"><A HREF="##SITEURL_L##">##SITEURL_B##</A></td>
+ <td align="right" nowrap="true">##SITECONNECT##</td>
+ <td align="right" nowrap="true">##SITEBYTES##</td>
+ <td align="right" nowrap="true">##SITETOTAL##</td>
+ <td align="right" nowrap="true">##SITEPERCENT##%</td>
+ </tr>
+<!-- ]] site end-->
+
+ <tr class=total>
+ <th align="left" >##MSG_TOTAL##</th>
+ <th align="right">&nbsp;</th>
+ <th align="right">&nbsp;</th>
+ <th align="right" nowrap="true">##TOTAL##</th>
+ <th align="right">&nbsp;</th>
+ <th align="right">&nbsp;</th>
+ </tr>
+ </tbody>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novosea/user_month.html b/config/lightsquid/tpl/novosea/user_month.html
new file mode 100755
index 00000000..de7d8cab
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/user_month.html
@@ -0,0 +1,83 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<HTML>
+<HEAD>
+ <META name="robots" content="noindex,nofollow">
+ <META name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <META http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <TITLE>LightSquid :: User Month detail</TITLE>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</HEAD>
+
+<BODY background="" bgcolor="white" text="black">
+
+ <center>
+ <table class="title">
+ <tbody>
+ <tr class="title">
+ <th align="center"><a href="index.cgi"><h1 class="title">##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><h3>##MSG_USER##: ##USER##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><h3>##MSG_WORK_PERIOD##: ##WORKPERIOD##</h3></td>
+ </tr>
+ <tr>
+ <TD colspan="2" align="center">##MSG_TOTAL##: ##TOTALBYTES##</TD>
+ </tr>
+ <tr>
+<!-- HIDE graphreport start-->
+ <td colspan="2" align="center"><A HREF="##GRAPHURL_L##"><img src="get.cgi?png=graph" border="0" title="Graph Report">
+<!-- HIDE graphreport end-->
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table width="100%" class="stat">
+ <tbody>
+ <TR class="stat1">
+ <TH>##MSG_DATE##</TH>
+ <TH>##MSG_BYTES##</TH>
+ <TH>##MSG_WEEKSUM##</th>
+ <TH>##MSG_CUMULATIVE##</th>
+ </TR>
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+ <!-- VARIABLE sundayattr bgcolor="bisque" -->
+ <!-- VARIABLE nooversizedattr color="black" -->
+ <!-- VARIABLE oversizedattr color="red" -->
+
+ <!-- [[ day start-->
+ <TR ##DAYATTR##>
+ <TD align="center"><FONT size="-1"><A HREF="##DAYDATE_L##">##DAYDATE_B##</A></FONT></TD>
+ <TD align="right" nowrap="true"><FONT size="-1" ##OVERSIZEATTR##>##DAYBYTES##</FONT></TD>
+ <td align="right" nowrap="true">##WEEKSUM##</td>
+ <td align="right" nowrap="true"><font size="-2">##DAYCUMULATIVE##</font></td>
+ </TR>
+ <!-- ]] day end-->
+
+ <TR class="total">
+ <TD align="center">##MSG_TOTAL##</TD>
+ <TD align="right" nowrap="true"><FONT size="-1">##TOTALBYTES##</FONT></TD>
+ <td align="right" nowrap="true">&nbsp</td>
+ <td align="right" nowrap="true">&nbsp</td>
+ </TR>
+ </tbody>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </TBODY>
+ </TABLE>
+ </CENTER>
+</BODY>
+</HTML>
diff --git a/config/lightsquid/tpl/novosea/user_time.html b/config/lightsquid/tpl/novosea/user_time.html
new file mode 100755
index 00000000..14183006
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/user_time.html
@@ -0,0 +1,111 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: User Detail by TIME </title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class=title>
+ <tbody>
+ <tr class=title>
+ <th><a href="index.cgi"><h1 class=title>##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <td colspan="2"><h3>##MSG_USER##: ##USER##</h3></td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><h3>##MSG_DATE##: ##WORKPERIOD##</h3></td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table width="100%" class=stat>
+ <tbody>
+ <tr class="stat1">
+ <th>##MSG_NUM##</th>
+ <th>##MSG_ACCESSED_SITE##</th>
+ <th>00</th>
+ <th>01</th>
+ <th>02</th>
+ <th>03</th>
+ <th>04</th>
+ <th>05</th>
+ <th>06</th>
+ <th>07</th>
+ <th>08</th>
+ <th>09</th>
+ <th>10</th>
+ <th>11</th>
+ <th>12</th>
+ <th>13</th>
+ <th>14</th>
+ <th>15</th>
+ <th>16</th>
+ <th>17</th>
+ <th>18</th>
+ <th>19</th>
+ <th>20</th>
+ <th>21</th>
+ <th>22</th>
+ <th>23</th>
+ <th>##MSG_TOTAL##</th>
+ </tr>
+
+<!-- VARIABLE oddattr bgcolor="white" -->
+<!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+<!-- VARIABLE totalattr bgcolor=#E5EFF4 -->
+
+<!-- [[ site start-->
+ <tr ##ROWATTR##>
+ <td align="center">##NUM##</td>
+ <td align="left">##URL##</td>
+ <td align="center"><font size="-1">##T00##</font></td>
+ <td align="center"><font size="-1">##T01##</font></td>
+ <td align="center"><font size="-1">##T02##</font></td>
+ <td align="center"><font size="-1">##T03##</font></td>
+ <td align="center"><font size="-1">##T04##</font></td>
+ <td align="center"><font size="-1">##T05##</font></td>
+ <td align="center"><font size="-1">##T06##</font></td>
+ <td align="center"><font size="-1">##T07##</font></td>
+ <td align="center"><font size="-1">##T08##</font></td>
+ <td align="center"><font size="-1">##T09##</font></td>
+ <td align="center"><font size="-1">##T10##</font></td>
+ <td align="center"><font size="-1">##T11##</font></td>
+ <td align="center"><font size="-1">##T12##</font></td>
+ <td align="center"><font size="-1">##T13##</font></td>
+ <td align="center"><font size="-1">##T14##</font></td>
+ <td align="center"><font size="-1">##T15##</font></td>
+ <td align="center"><font size="-1">##T16##</font></td>
+ <td align="center"><font size="-1">##T17##</font></td>
+ <td align="center"><font size="-1">##T18##</font></td>
+ <td align="center"><font size="-1">##T19##</font></td>
+ <td align="center"><font size="-1">##T20##</font></td>
+ <td align="center"><font size="-1">##T21##</font></td>
+ <td align="center"><font size="-1">##T22##</font></td>
+ <td align="center"><font size="-1">##T23##</font></td>
+ <td align="right" nowrap="true"><font size="-1">##URLSIZE##</font></td>
+ </tr>
+ <!-- ]] site end-->
+ </tbody>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/lightsquid/tpl/novosea/whousesite.html b/config/lightsquid/tpl/novosea/whousesite.html
new file mode 100755
index 00000000..ffd288f4
--- /dev/null
+++ b/config/lightsquid/tpl/novosea/whousesite.html
@@ -0,0 +1,86 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- LightSquid TPL v1.7 -->
+<html>
+<head>
+ <meta name="robots" content="noindex,nofollow">
+ <meta name="generator" content="LightSquid - http://lightsquid.sf.net">
+ <meta http-equiv="Content-Type" content="text/html; charset=##MSG_CODEPAGE##">
+ ##META##
+ <title>LightSquid :: Who Use Site report</title>
+ <link rel="stylesheet" media="screen" href="get.cgi?css=screen" type="text/css">
+ <link rel="stylesheet" media="print" href="get.cgi?css=print" type="text/css">
+</head>
+
+<body>
+ <center>
+ <table class=title>
+ <tbody>
+ <tr class=title>
+ <th><a href="index.cgi"><h1 class="title">##MSG_HEADER##</h1></a></th>
+ <TH width="5%"><a href="/"><h1 class=title>Home</h1></a></TH>
+ </tr>
+ <tr>
+ <th colspan="2"><h2>##MSG_USER_WHO_USE_SITE##<br>##SITE##</h2></th>
+ </tr>
+ <tr>
+ <td colspan=2><b>##MSG_WORK_PERIOD##: ##DATE##</b></td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <table width="100%" class=stat>
+ <tbody>
+ <tr class=stat1>
+ <th align="left" >##MSG_USER##</th>
+<!-- HIDE realname start-->
+ <th>##MSG_REALNAME##</th>
+<!-- HIDE realname end-->
+ <th>##MSG_CONNECT##</th>
+ <th>##MSG_SIZE##</th>
+ <!-- HIDE daylist start -->
+ <th>##MSG_DAYLIST##</th>
+ <!-- HIDE daylist end -->
+ </tr>
+
+ <!-- VARIABLE oddattr bgcolor="white" -->
+ <!-- VARIABLE evenattr bgcolor="#F5F5F5" -->
+<!-- [[ who start-->
+ <tr ##ROWATTR##>
+ <td align="left" >##WHOUSER##</td>
+<!-- HIDE realname start-->
+ <td align="right" nowrap="true">##REALNAME##</td>
+<!-- HIDE realname end-->
+ <td align="right">##WHOCONNECT##</td>
+ <td align="right">##WHOSIZE##</td>
+ <!-- HIDE daylist start -->
+ <td align="right"><A HREF="##USEDAYURL_L##">##USEDAYURL_B##</A></td>
+ <!-- HIDE daylist end -->
+ </tr>
+ <!-- ]] who end-->
+
+ <tr class=total>
+ <th align="left">##MSG_TOTAL##</th>
+<!-- HIDE realname start-->
+ <td>&nbsp</td>
+<!-- HIDE realname end-->
+ <th align="right">##TOTALCONNECT##</th>
+ <th align="right">##TOTAL##</th>
+ <!-- HIDE daylist start -->
+ <th></th>
+ <!-- HIDE daylist end -->
+ </tr>
+ </tbody>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ ##COPYRIGHT##
+ </td>
+ </td>
+ </tbody>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/config/nmap/nmap.inc b/config/nmap/nmap.inc
index f66f6be9..632d4b2d 100644
--- a/config/nmap/nmap.inc
+++ b/config/nmap/nmap.inc
@@ -32,14 +32,14 @@ function nmap_install() {
$destination_file = "/usr/local/share/nmap/nmap-mac-prefixes";
$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
switch ($pfs_version) {
- case "1.2":
- case "2.0":
- return null;
case "2.1":
$source_file = "/usr/pbi/nmap-" . php_uname("m") . "/share/nmap/nmap-mac-prefixes";
break;
- default:
+ case "2.2":
$source_file = "/usr/pbi/nmap-" . php_uname("m") . "/local/share/nmap/nmap-mac-prefixes";
+ break;
+ default:
+ return null;
}
/* Only copy the file if it doesn't exist */
if (file_exists($source_file) && !file_exists($destination_file)) {
diff --git a/config/nut/nut.inc b/config/nut/nut.inc
index aa0bbe13..9ba942ab 100644
--- a/config/nut/nut.inc
+++ b/config/nut/nut.inc
@@ -36,10 +36,10 @@
define('NUT_RCFILE', '/usr/local/etc/rc.d/nut.sh');
$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
- if ($pfs_version == "2.0") {
- define('NUT_DIR','/usr/local/etc/nut');
- } else {
+ if ($pfs_version == "2.1" || $pfs_version == "2.2") {
define('NUT_DIR', '/usr/pbi/nut-' . php_uname("m") . '/etc/nut');
+ } else {
+ define('NUT_DIR','/usr/local/etc/nut');
}
function nut_notice ($msg) { syslog(LOG_NOTICE, "nut: {$msg}"); return; }
diff --git a/config/open-vm-tools_2/open-vm-tools.inc b/config/open-vm-tools_2/open-vm-tools.inc
index 5235acde..e36b3e8e 100644
--- a/config/open-vm-tools_2/open-vm-tools.inc
+++ b/config/open-vm-tools_2/open-vm-tools.inc
@@ -16,7 +16,11 @@ function open_vm_tools_install() {
unlink_if_exists("/boot/kernel/vmmemctl.ko");
unlink_if_exists("/boot/kernel/vmxnet.ko");
- $openvmtools_path = "/usr/pbi/open-vm-tools-" . php_uname("m");
+ $pfs_version=substr(trim(file_get_contents("/etc/version")),0,3);
+ if ($pfs_version == "2.1" || $pfs_version == "2.2")
+ $openvmtools_path = "/usr/pbi/open-vm-tools-" . php_uname("m");
+ else
+ $openvmtools_path = "/usr/local";
// won't copy this either for now, some sequences of loading/unloading of the module will kernel panic.
//exec("cp $openvmtools_path/local/lib/vmware-tools/modules/drivers/vmmemctl.ko /boot/kernel/");
@@ -141,4 +145,4 @@ EOF;
}
-?> \ No newline at end of file
+?>
diff --git a/config/openbgpd/openbgpd.inc b/config/openbgpd/openbgpd.inc
index 907f6b8c..c625cff8 100644
--- a/config/openbgpd/openbgpd.inc
+++ b/config/openbgpd/openbgpd.inc
@@ -33,7 +33,7 @@ require_once("service-utils.inc");
define('PKG_BGPD_CONFIG_BASE', '/var/etc/openbgpd');
$pf_version=substr(trim(file_get_contents("/etc/version")),0,3);
-if ($pf_version > 2.0)
+if ($pf_version == "2.1" || $pf_version == "2.2")
define('PKG_BGPD_BIN', '/usr/pbi/openbgpd-' . php_uname("m") . '/sbin');
else
define('PKG_BGPD_BIN','/usr/local/sbin');
diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc
index 16ccb6a4..9488119e 100755
--- a/config/openvpn-client-export/openvpn-client-export.inc
+++ b/config/openvpn-client-export/openvpn-client-export.inc
@@ -44,17 +44,20 @@ $current_openvpn_version_rev = "03";
function openvpn_client_export_install() {
global $current_openvpn_version;
- conf_mount_rw();
- $tarpath = "/usr/local/pkg/openvpn-client-export-{$current_openvpn_version}.tgz";
- $phpfile = "vpn_openvpn_export.php";
- $ovpndir = "/usr/local/share/openvpn";
- $workdir = "{$ovpndir}/client-export";
- if (!is_dir($workdir))
- mkdir($workdir, 0777, true);
+ $pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
+ if ($pfs_version == "2.1" || $pfs_version == "2.2") {
+ conf_mount_rw();
+ $tarpath = "/usr/local/pkg/openvpn-client-export-{$current_openvpn_version}.tgz";
+ $ovpndir = "/usr/local/share/openvpn";
+ $workdir = "{$ovpndir}/client-export";
- exec("/usr/bin/tar zxf {$tarpath} -C {$ovpndir}");
- conf_mount_ro();
+ if (!is_dir($workdir))
+ mkdir($workdir, 0777, true);
+
+ exec("/usr/bin/tar zxf {$tarpath} -C {$ovpndir}");
+ conf_mount_ro();
+ }
}
function openvpn_client_export_deinstall() {
diff --git a/config/openvpn-client-export/openvpn-client-export.xml b/config/openvpn-client-export/openvpn-client-export.xml
index 42a3c327..47ad4744 100755
--- a/config/openvpn-client-export/openvpn-client-export.xml
+++ b/config/openvpn-client-export/openvpn-client-export.xml
@@ -28,6 +28,7 @@
<prefix>/usr/local/pkg/</prefix>
<chmod>077</chmod>
<item>https://files.pfsense.org/packages/openvpn-client-export/openvpn-client-export-2.3.6.tgz</item>
+ <do_not_add_to_port/>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/www/</prefix>
diff --git a/config/pfblockerng/pfblockerng.inc b/config/pfblockerng/pfblockerng.inc
index 18e22871..26eeb5e5 100644
--- a/config/pfblockerng/pfblockerng.inc
+++ b/config/pfblockerng/pfblockerng.inc
@@ -2422,10 +2422,8 @@ function pfblockerng_php_install_command() {
// Remove previously used CC folder location if exists
@rmdir_recursive("{$pfb['dbdir']}/cc");
- # Uncompress Country Code File and delete Archive after extraction.
- @rename("{$pfb['dbdir']}/countrycodes.tar.bz2", "{$pfb['ccdir']}/countrycodes.tar.bz2");
- exec("cd {$pfb['ccdir']}; /usr/bin/tar -jxvf {$pfb['ccdir']}/countrycodes.tar.bz2");
- unlink_if_exists("{$pfb['ccdir']}/countrycodes.tar.bz2");
+ # Uncompress Country Code File
+ exec("/usr/bin/tar -jx -C {$pfb['ccdir']} -f {$pfb['dbdir']}/countrycodes.tar.bz2");
# Download MaxMind Files and Create Country Code files and Build Continent XML Files
update_output_window(gettext("Downloading MaxMind Country Databases. This may take a minute..."));
exec("/bin/sh /usr/local/pkg/pfblockerng/geoipupdate.sh all >> {$pfb['geolog']} 2>&1");
diff --git a/config/pfblockerng/pfblockerng.xml b/config/pfblockerng/pfblockerng.xml
index 6f7e34ec..67deab8d 100644
--- a/config/pfblockerng/pfblockerng.xml
+++ b/config/pfblockerng/pfblockerng.xml
@@ -49,7 +49,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>pfblockerng</name>
- <version>1.0</version>
+ <version>1.08</version>
<title>pfBlockerNG: General Settings</title>
<include_file>/usr/local/pkg/pfblockerng/pfblockerng.inc</include_file>
<menu>
@@ -493,4 +493,4 @@
$pfb['save'] = TRUE;
sync_package_pfblockerng();
</custom_php_resync_config_command>
-</packagegui> \ No newline at end of file
+</packagegui>
diff --git a/config/postfix/postfix.inc b/config/postfix/postfix.inc
index e2b5c7df..fd0832ba 100755
--- a/config/postfix/postfix.inc
+++ b/config/postfix/postfix.inc
@@ -766,6 +766,8 @@ MASTEREOF2;
}
if (!file_exists("/etc/mail/aliases"))
touch("/etc/mail/aliases");
+ if (!file_exists("/etc/aliases"))
+ @symlink("/etc/mail/aliases", "/etc/aliases");
exec("/usr/local/bin/newaliases");
postfix_start();
@@ -846,6 +848,7 @@ function postfix_php_deinstall_command() {
sync_package_postfix();
conf_mount_rw();
unlink_if_exists("/usr/local/etc/rc.d/postfix.sh");
+ unlink_if_exists("/etc/aliases");
conf_mount_ro();
}
diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc
index 2788dab9..ce2617e1 100644
--- a/config/sarg/sarg.inc
+++ b/config/sarg/sarg.inc
@@ -32,7 +32,7 @@
*/
/* ========================================================================== */
$pf_version=substr(trim(file_get_contents("/etc/version")),0,3);
-if ($pf_version > 2.0){
+if ($pf_version == "2.1" || $pf_version == "2.2"){
// Function to get squidGuard directory
// each squidGuard version has a different directory
diff --git a/config/sarg/sarg_realtime.php b/config/sarg/sarg_realtime.php
index c5d926e5..f7618d1a 100755
--- a/config/sarg/sarg_realtime.php
+++ b/config/sarg/sarg_realtime.php
@@ -28,7 +28,7 @@
*/
$pf_version=substr(trim(file_get_contents("/etc/version")),0,3);
-if ($pf_version > 2.0)
+if ($pf_version == "2.1" || $pf_version == "2.2")
define('SARG_DIR', '/usr/pbi/sarg-' . php_uname("m"));
else
define('SARG_DIR', '/usr/local');
diff --git a/config/siproxd/siproxd.inc b/config/siproxd/siproxd.inc
index d9830fb2..e873e08d 100644
--- a/config/siproxd/siproxd.inc
+++ b/config/siproxd/siproxd.inc
@@ -33,10 +33,10 @@ require_once("service-utils.inc");
// Check to find out on which system the package is running
$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
-if ($pfs_version == "2.0") {
- define('SIPROXD', '/usr/local');
-} else {
+if ($pfs_version == "2.1" || $pfs_version == "2.2") {
define('SIPROXD', '/usr/pbi/siproxd-' . php_uname("m"));
+} else {
+ define('SIPROXD', '/usr/local');
}
// End of system check
diff --git a/config/siproxd/siproxd.xml b/config/siproxd/siproxd.xml
index 8b1b5856..455fca9c 100644
--- a/config/siproxd/siproxd.xml
+++ b/config/siproxd/siproxd.xml
@@ -37,7 +37,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>siproxdsettings</name>
- <version>0.8.0_2 pkg v1.0.2</version>
+ <version>1.0.3</version>
<title>siproxd: Settings</title>
<include_file>/usr/local/pkg/siproxd.inc</include_file>
<aftersaveredirect>/pkg_edit.php?xml=siproxd.xml&amp;id=0</aftersaveredirect>
diff --git a/config/squidGuard/squidguard_configurator.inc b/config/squidGuard/squidguard_configurator.inc
index 551ca542..99907451 100644
--- a/config/squidGuard/squidguard_configurator.inc
+++ b/config/squidGuard/squidguard_configurator.inc
@@ -121,7 +121,7 @@ define('REDIRECT_URL_ARGS', '&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u');
# ------------------------------------------------------------------------------
-if ($pf_version > 2.0) {
+if ($pf_version == "2.0" || $pf_version == "2.2") {
if (file_exists('/usr/pbi/squidguard-squid3-' . php_uname("m")))
define('SQUIDGUARD_LOCALBASE', '/usr/pbi/squidguard-squid3-' . php_uname("m"));
else
@@ -129,10 +129,12 @@ if ($pf_version > 2.0) {
} else
define('SQUIDGUARD_LOCALBASE','/usr/local');
-if (!defined('SQUID_LOCALBASE') && ($pf_version > 2.0))
- define('SQUID_LOCALBASE', '/usr/pbi/squid-' . php_uname("m"));
-elseif (!defined('SQUID_LOCALBASE'))
- define('SQUID_LOCALBASE','/usr/local');
+if (!defined('SQUID_LOCALBASE')) {
+ if ($pf_version == "2.0" || $pf_version == "2.2")
+ define('SQUID_LOCALBASE', '/usr/pbi/squid-' . php_uname("m"));
+ else
+ define('SQUID_LOCALBASE','/usr/local');
+}
define('SQUID_CONFIGFILE', SQUID_LOCALBASE . '/etc/squid/squid.conf');
define('TMP_DIR', '/var/tmp');
diff --git a/config/sudo/sudo.inc b/config/sudo/sudo.inc
index a8107029..1c07984d 100644
--- a/config/sudo/sudo.inc
+++ b/config/sudo/sudo.inc
@@ -31,11 +31,6 @@ require_once("config.inc");
global $pfs_version;
$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
switch ($pfs_version) {
- case "1.2":
- case "2.0":
- define('SUDO_BASE','/usr/local');
- define('SUDO_LIBEXEC_DIR', '/usr/local/libexec/sudo');
- break;
case "2.1":
// Hackish way to detect if someone manually did pkg_add rather than use pbi.
if (is_dir('/usr/pbi/sudo-' . php_uname("m"))) {
@@ -46,7 +41,7 @@ switch ($pfs_version) {
define('SUDO_LIBEXEC_DIR', '/usr/local/libexec/sudo');
}
break;
- default:
+ case "2.2":
define('SUDO_BASE','/usr/local');
// Hackish way to detect if someone manually did pkg_add rather than use pbi.
if (is_dir('/usr/pbi/sudo-' . php_uname("m"))) {
@@ -54,6 +49,10 @@ switch ($pfs_version) {
} else {
define('SUDO_LIBEXEC_DIR', '/usr/local/libexec/sudo');
}
+ break;
+ default:
+ define('SUDO_BASE','/usr/local');
+ define('SUDO_LIBEXEC_DIR', '/usr/local/libexec/sudo');
}
define('SUDO_CONFIG_DIR', SUDO_BASE . '/etc');
diff --git a/config/suricata/suricata_defs.inc b/config/suricata/suricata_defs.inc
index 7758a9f0..5467f88c 100644
--- a/config/suricata/suricata_defs.inc
+++ b/config/suricata/suricata_defs.inc
@@ -58,9 +58,14 @@ $suricata_package_version = "Suricata {$config['installedpackages']['package'][g
if (!defined('SURICATA_PKG_VER'))
define('SURICATA_PKG_VER', $suricata_package_version);
+$pf_version=substr(trim(file_get_contents("/etc/version")),0,3);
// Define the PBI base directory
-if (!defined('SURICATA_PBI_BASEDIR'))
- define('SURICATA_PBI_BASEDIR', '/usr/pbi/suricata-' . php_uname("m") . '/');
+if (!defined('SURICATA_PBI_BASEDIR')) {
+ if ($pf_version == "2.1" || $pf_version == "2.2")
+ define('SURICATA_PBI_BASEDIR', '/usr/pbi/suricata-' . php_uname("m") . '/');
+ else
+ define('SURICATA_PBI_BASEDIR', '/usr/local/');
+}
// Define the PBI binary wrapper directory
if (!defined('SURICATA_PBI_BINDIR'))
diff --git a/config/varnish3/varnish.inc b/config/varnish3/varnish.inc
index 50b37990..5df8052b 100644
--- a/config/varnish3/varnish.inc
+++ b/config/varnish3/varnish.inc
@@ -35,7 +35,7 @@
$shortcut_section = "varnish";
$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
-if (is_dir('/usr/pbi/varnish-' . php_uname("m"))) {
+if ($pfs_version == "2.1" || $pfs_version == "2.2") {
define('VARNISH_LOCALBASE', '/usr/pbi/varnish-' . php_uname("m"));
} else {
define('VARNISH_LOCALBASE','/usr/local');