exit; } if (isset($_GET["EnableKUpdateUtility"])) { SaveEnable(); exit; } if (isset($_GET["UseProxyServer"])) { SaveConnx(); exit; } if (isset($_GET["products"])) { products(); exit; } if (isset($_POST["KasperskyAntiVirus_7_0_0124_1325"])) { SaveProducts(); exit; } js(); function js() { $page = CurrentPageName(); $tpl = new templates(); $title = $tpl->_ENGINE_parse_body("{APP_KASPERSKY_UPDATE_UTILITY}"); echo "YahooWin3(570,'{$page}?popup=yes','{$title}');"; } function SaveEnable() { $sock = new sockets(); $sock->SET_INFO("EnableKUpdateUtility", $_GET["EnableKUpdateUtility"]); }
include_once('ressources/class.ini.inc'); $users=new usersMenus(); if(!$users->AsSystemAdministrator){ $tpl=new templates(); $ERROR_NO_PRIVS=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}"); echo "alert('$ERROR_NO_PRIVS');";return; } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["index"])){index();exit;} if(isset($_GET["settings"])){settings();exit;} if(isset($_GET["EnableKUpdateUtility"])){SaveEnable();exit;} if(isset($_GET["UseProxyServer"])){SaveConnx();exit;} if(isset($_GET["products"])){products();exit;} if(isset($_POST["KasperskyAntiVirus_7_0_0124_1325"])){SaveProducts();exit;} js(); function js(){ $page=CurrentPageName(); $tpl=new templates(); $title=$tpl->_ENGINE_parse_body("{APP_KASPERSKY_UPDATE_UTILITY}"); echo "YahooWin3(570,'$page?popup=yes','$title');"; } function SaveEnable(){ $sock=new sockets(); $sock->SET_INFO("EnableKUpdateUtility",$_GET["EnableKUpdateUtility"]);