$user = new usersMenus(); if ($user->AsSquidAdministrator == false) { $tpl = new templates(); echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');"; die; exit; } if (isset($_GET["infos"])) { infos(); exit; } if (isset($_POST["xrescan"])) { rescan(); exit; } kav4proxy_license_js(); function kav4proxy_license_delete() { $sock = new sockets(); $datas = base64_decode($sock->getFrameWork('cmd.php?Kav4ProxyLicenseDelete&type=' . $_GET["license-type"])); } function kav4proxy_license_js() { $page = CurrentPageName(); $tpl = new templates(); $title = $tpl->_ENGINE_parse_body('{APP_KAV4PROXY}::{license_info}'); $t = time(); $html = "\n\tfunction Kav4ProxyLicenseStart{$t}(){\n\t\tYahooWin5('650','{$page}?infos=yes','{$title}');\n\t}\n\tKav4ProxyLicenseStart{$t}();\n"; echo $html; } function infos()
die();exit(); } include_once ("ressources/jpgraph-3/src/jpgraph.php"); include_once ("ressources/jpgraph-3/src/jpgraph_pie.php"); include_once ("ressources/jpgraph-3/src/jpgraph_pie3d.php"); if(isset($_GET["update-kav"])){apply_kavupdate();exit;} if(isset($_GET["update-kav-now"])){apply_kavupdate_perform();exit;} if(isset($_GET["update-kav-popup"])){apply_kavupdate_popup();exit;} if(isset($_GET["update-kav-logs"])){apply_kavupdate_logs();exit;} if(isset($_GET["kav-license"])){echo kav4proxy_license_js();exit;} if(isset($_GET["Kav4proxy-license-popup"])){echo kav4proxy_license_popup();exit;} if(isset($_GET["Kav4proxy-license-delete"])){echo kav4proxy_license_delete();exit;} if(isset($_GET["kav4proxy-license-iframe"])){echo kav4proxy_license_iframe();exit;} if( isset($_POST['upload']) ){kav4proxy_license_upload();exit();} $user=new usersMenus(); if($user->SQUID_INSTALLED==false){header('location:users.index.php');exit();} if($user->AsSquidAdministrator==false){header('location:users.index.php');exit();} if(isset($_GET["reactivate-squid"])){reactivate_squid();exit;} if(isset($_GET["ajaxmenu"])){main_switch();exit;} if(isset($_GET["main"])){main_switch();exit;} if(isset($_GET["fqdncache_size"])){main_save_array();exit;}