include_once 'ressources/class.ldap.inc'; include_once 'ressources/class.users.menus.inc'; include_once 'ressources/class.squid.inc'; include_once 'ressources/class.ssl.certificate.inc'; if (posix_getuid() == 0) { die; } $user = new usersMenus(); if ($user->AsSquidAdministrator == false) { $tpl = new templates(); echo "<script>alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');</script>"; die; exit; } if (isset($_GET["whitelist-list"])) { zlist(); exit; } if (isset($_GET["website_ssl_wl"])) { whitelist_add(); exit; } if (isset($_GET["website_ssl_eble"])) { whitelist_enabled(); exit; } if (isset($_GET["website_ssl_del"])) { whitelist_del(); exit; } table();
include_once('ressources/class.templates.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.squid.inc'); include_once('ressources/class.status.inc'); include_once('ressources/class.artica.graphs.inc'); $users=new usersMenus(); if(!$users->AsWebStatisticsAdministrator){die("no rights");} if(isset($_GET["js"])){js();exit;} if(isset($_GET["list"])){zlist();die();} if(isset($_GET["today-zoom"])){today_zoom_js();exit;} if(isset($_GET["today-zoom-popup"])){today_zoom_popup();exit;} if(isset($_GET["today-zoom-popup-history"])){today_zoom_popup_history();exit;} if(isset($_GET["today-zoom-popup-history-list"])){today_zoom_popup_history_list();exit;} if(isset($_GET["today-zoom-popup-members"])){today_zoom_popup_members();exit;} if(isset($_GET["today-zoom-popup-member-list"])){today_zoom_popup_members_list();exit;} if(isset($_GET["statistics-days-left-status"])){left_status();exit;} if($GLOBALS["VERBOSE"]){echo "->PAGE()<br>\n";}