Exemple #1
0
    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;
}
if (isset($_GET["download-debug"])) {
    download_debug();
    exit;
}
js();
function js()
{
    header("content-type: application/x-javascript");
    $page = CurrentPageName();
Exemple #2
0
	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();
	$YahooWin=2;
	if(isset($_GET["YahooWin"])){$YahooWin=$_GET["YahooWin"];$YahooWinUri="&YahooWin={$_GET["YahooWin"]}";}
	$title=$tpl->_ENGINE_parse_body("{HotSpot} V3");
	$html="
	var YahooWinx=$YahooWin;
	if(YahooWinx==2){