From 170a7c6339e042c8278baf5302bfdaeef54b019b Mon Sep 17 00:00:00 2001 From: dvserg Date: Thu, 16 Dec 2010 07:55:20 +0300 Subject: Log view changed --- config/squidGuard/squidguard_log.php | 140 +++++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 config/squidGuard/squidguard_log.php (limited to 'config/squidGuard/squidguard_log.php') diff --git a/config/squidGuard/squidguard_log.php b/config/squidGuard/squidguard_log.php new file mode 100644 index 00000000..fe70fa10 --- /dev/null +++ b/config/squidGuard/squidguard_log.php @@ -0,0 +1,140 @@ + + + + + +
+ + + + + + + + +
+ +
+
+ + + + + + + +
+ +| "; + foreach ($tab_array as $ta) { + $bl = $ta[1] ? "" : ""; + $br = $ta[1] ? "" : ""; + echo "$bl{$ta[0]}$br | "; + } + echo ""; +?> +
+
" ; + break; + case "fconf": if (function_exists("squidguard_conflist")) + $cont = squidguard_conflist( ); + else $cont = "Function 'squidguard_conflist' not found."; + echo "
" ; + break; + case "flog": if (function_exists( "squidguard_logrep" )) echo squidguard_logrep( SQUIDGUARD_LOGDIR . '/squidGuard.log', 50, false ); + break; + case "fgui": if (function_exists( "squidguard_logrep" )) echo squidguard_logrep( SQUIDGUARD_LOGDIR . SQUIDGUARD_CONFLOGFILE, 50, false ); + break; + case "blocked": + default: if (function_exists( "squidguard_logrep" )) echo squidguard_logrep( SQUIDGUARD_LOGDIR . '/' . SQUIDGUARD_LOGFILE, 50, false ); + break; + } +?> +
+
+
+
+ + + + + + \ No newline at end of file -- cgit v1.2.3