} header("Pragma: no-cache"); header("Expires: 0"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-cache, must-revalidate"); include_once 'ressources/class.templates.inc'; include_once 'ressources/class.ldap.inc'; include_once 'ressources/class.tcpip.inc'; include_once dirname(__FILE__) . '/ressources/class.main_cf.inc'; include_once dirname(__FILE__) . '/ressources/class.ldap.inc'; include_once dirname(__FILE__) . "/ressources/class.sockets.inc"; include_once dirname(__FILE__) . "/ressources/class.pdns.inc"; include_once dirname(__FILE__) . '/ressources/class.system.network.inc'; include_once dirname(__FILE__) . '/ressources/class.squid.inc'; if (isset($_GET["service-status"])) { ServiceStatus(); exit; } if (isset($_POST["HyperCacheStoreID"])) { HyperCacheStoreID(); exit; } if (isset($_GET["websites-js"])) { websites_js(); exit; } if (isset($_GET["websites-popup"])) { websites_popup(); exit; } // --hypercachestoreid
include_once(dirname(__FILE__) . '/ressources/class.ldap.inc'); include_once(dirname(__FILE__) . "/ressources/class.sockets.inc"); include_once(dirname(__FILE__) . "/ressources/class.pdns.inc"); include_once(dirname(__FILE__) . '/ressources/class.system.network.inc'); include_once(dirname(__FILE__) . '/ressources/class.squid.inc'); $user=new usersMenus(); if($user->AsSquidAdministrator==false){ $tpl=new templates(); echo FATAL_ERROR_SHOW_128("{ERROR_NO_PRIVS}"); die();exit(); } if(isset($_GET["status"])){status();exit;} if(isset($_POST["SquidEnforceRules"])){Save();exit;} if(isset($_GET["service-status"])){ServiceStatus();exit;} tabs(); function tabs(){ $tpl=new templates(); $page=CurrentPageName(); $array["status"]='{enforce_rules}'; $array["rules"]='{rules}'; $array["mirror"]='{mirror}'; $array["whitelist"]='{whitelist}'; $array["downloader-event"]='{downloader_events}'; while (list ($num, $ligne) = each ($array) ){