exit; } if (isset($_GET["options"])) { options(); exit; } if (isset($_POST["EnableArticaHotSpot"])) { SaveEnable(); exit; } if (isset($_POST["ArticaHotSpotPort"])) { EnableArticaHotSpot(); exit; } if (isset($_POST["EnableArticaHotSpotCAS"])) { EnableArticaHotSpotCAS(); exit; } if (isset($_GET["terme-of-use"])) { echo terme_of_use(); exit; } if (isset($_POST["USETERMSTEXT"])) { xSaveOptions(); exit; } if (isset($_POST["USELDAP"])) { xSaveOptions(); exit; } if (isset($_GET["add-freeweb-js"])) {
$usersmenus=new usersMenus(); if(!$usersmenus->AsHotSpotManager){ $tpl=new templates(); $alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}'); echo "alert('$alert');"; die(); } if(isset($_GET["status"])){status();exit;} if(isset($_GET["cas"])){cas_auth();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["options"])){options();exit;} if(isset($_POST["EnableArticaHotSpot"])){SaveEnable();exit;} if(isset($_POST["ArticaHotSpotPort"])){EnableArticaHotSpot();exit;} if(isset($_POST["EnableArticaHotSpotCAS"])){EnableArticaHotSpotCAS();exit;} if(isset($_GET["terme-of-use"])){echo terme_of_use();exit;} if(isset($_POST["USETERMSTEXT"])){xSaveOptions();exit;} if(isset($_POST["USELDAP"])){xSaveOptions();exit;} if(isset($_GET["add-freeweb-js"])){add_freeweb_js();exit;} if(isset($_GET["radius"])){radius_config();exit;} if(isset($_POST["RAD_SERVER"])){xSaveOptions();exit;} if(isset($_GET["hostspot-status"])){services_status();exit;} js(); function js(){ header("content-type: application/x-javascript"); $page=CurrentPageName(); $tpl=new templates();