diff options
Diffstat (limited to 'config/lightsquid')
40 files changed, 2915 insertions, 53 deletions
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##: <b>##DATE## </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## </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 Binary files differnew file mode 100755 index 00000000..e2672c20 --- /dev/null +++ b/config/lightsquid/tpl/novopf/images/datetime.png diff --git a/config/lightsquid/tpl/novopf/images/flag_red.png b/config/lightsquid/tpl/novopf/images/flag_red.png Binary files differnew file mode 100755 index 00000000..e8a602da --- /dev/null +++ b/config/lightsquid/tpl/novopf/images/flag_red.png diff --git a/config/lightsquid/tpl/novopf/images/graph.png b/config/lightsquid/tpl/novopf/images/graph.png Binary files differnew file mode 100755 index 00000000..9051fbc6 --- /dev/null +++ b/config/lightsquid/tpl/novopf/images/graph.png diff --git a/config/lightsquid/tpl/novopf/images/groups.png b/config/lightsquid/tpl/novopf/images/groups.png Binary files differnew file mode 100755 index 00000000..d2cfc00d --- /dev/null +++ b/config/lightsquid/tpl/novopf/images/groups.png diff --git a/config/lightsquid/tpl/novopf/images/printer.png b/config/lightsquid/tpl/novopf/images/printer.png Binary files differnew file mode 100755 index 00000000..a350d187 --- /dev/null +++ b/config/lightsquid/tpl/novopf/images/printer.png diff --git a/config/lightsquid/tpl/novopf/images/users.png b/config/lightsquid/tpl/novopf/images/users.png Binary files differnew file mode 100755 index 00000000..e2e2f36a --- /dev/null +++ b/config/lightsquid/tpl/novopf/images/users.png 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> </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"> </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> </th> + <th> </th> + <th align="right" nowrap="true">##TOTAL##</th> + <th colspan=2> </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"> </th> + <th align="right"> </th> + <th align="right" nowrap="true">##TOTAL##</th> + <th align="right"> </th> + <th align="right"> </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"> </td> + <td align="right" nowrap="true"> </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> </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##: <b>##DATE## </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## </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 Binary files differnew file mode 100755 index 00000000..e2672c20 --- /dev/null +++ b/config/lightsquid/tpl/novosea/images/datetime.png diff --git a/config/lightsquid/tpl/novosea/images/flag_red.png b/config/lightsquid/tpl/novosea/images/flag_red.png Binary files differnew file mode 100755 index 00000000..e8a602da --- /dev/null +++ b/config/lightsquid/tpl/novosea/images/flag_red.png diff --git a/config/lightsquid/tpl/novosea/images/graph.png b/config/lightsquid/tpl/novosea/images/graph.png Binary files differnew file mode 100755 index 00000000..9051fbc6 --- /dev/null +++ b/config/lightsquid/tpl/novosea/images/graph.png diff --git a/config/lightsquid/tpl/novosea/images/groups.png b/config/lightsquid/tpl/novosea/images/groups.png Binary files differnew file mode 100755 index 00000000..d2cfc00d --- /dev/null +++ b/config/lightsquid/tpl/novosea/images/groups.png diff --git a/config/lightsquid/tpl/novosea/images/printer.png b/config/lightsquid/tpl/novosea/images/printer.png Binary files differnew file mode 100755 index 00000000..a350d187 --- /dev/null +++ b/config/lightsquid/tpl/novosea/images/printer.png diff --git a/config/lightsquid/tpl/novosea/images/users.png b/config/lightsquid/tpl/novosea/images/users.png Binary files differnew file mode 100755 index 00000000..e2e2f36a --- /dev/null +++ b/config/lightsquid/tpl/novosea/images/users.png 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> </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"> </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> </th> + <th> </th> + <th align="right" nowrap="true">##TOTAL##</th> + <th colspan=2> </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"> </th> + <th align="right"> </th> + <th align="right" nowrap="true">##TOTAL##</th> + <th align="right"> </th> + <th align="right"> </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"> </td> + <td align="right" nowrap="true"> </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> </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> |